我有一个错误的程序,当我执行时,我收到strace -e open myprogram
以下消息:
open("/etc/ld.so.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgnutls.so.28", O_RDONLY) = 3
open("/lib/librt.so.1", O_RDONLY) = 3
open("/usr/lib/libz.so.1", O_RDONLY) = 3
open("/usr/lib/libz.so.1", O_RDONLY) = 3
open("/usr/lib/libp11-kit.so.0", O_RDONLY) = 3
open("/usr/lib/libffi.so.6", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY) = 3
open("/usr/lib/libtasn1.so.6", O_RDONLY) = 3
open("/usr/lib/libnettle.so.4", O_RDONLY) = 3
open("/usr/lib/libhogweed.so.2", O_RDONLY) = 3
open("/usr/lib/libgmp.so.10", O_RDONLY) = 3
open("/lib/libpthread.so.0", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY) = 3
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=509, si_status=0, si_utime=0, si_stime=3} ---
before tls_server_init
gnutls_check_version 30105
before gnutls_global_init
open("/dev/tty", O_RDWR|O_NOCTTY|O_NONBLOCK) = 3
*** glibc detected *** /home/myprogram: free(): invalid next size (fast
): 0x01b53200 ***
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=508, si_uid=0} ---
+++ killed by SIGABRT +++
Aborted
任何想法是什么问题?