[hujinhe@console ~]$ lstrace ./mdord.exe
-bash: lstrace: command not found
[hujinhe@console ~]$ lstrace ./mdord.exe
-bash: lstrace: command not found
[hujinhe@console ~]$ strace ./mdord.exe
execve("./mdord.exe", ["./mdord.exe"], [/* 39 vars */]) = 0
uname({sys="Linux", node="console", ...}) = 0
brk(0) = 0x773000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95556000
access("/etc/ld.so.preload", R_OK) = 0
open("/etc/ld.so.preload", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1, ...}) = 0
mmap(NULL, 1, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0x2a95557000
close(3) = 0
munmap(0x2a95557000, 1) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=183555, ...}) = 0
mmap(NULL, 183555, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a95557000
close(3) = 0
open("/lib64/tls/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 V\340\210"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=106203, ...}) = 0
mmap(0x3788e00000, 1131384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3788e00000
mprotect(0x3788e10000, 1065848, PROT_NONE) = 0
mmap(0x3788f0f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x3788f0f000
mmap(0x3788f11000, 13176, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3788f11000
close(3) = 0
open("/lib64/tls/librt.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220,\300"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=56885, ...}) = 0
mmap(0x378dc00000, 1151216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x378dc00000
mprotect(0x378dc09000, 1114352, PROT_NONE) = 0
mmap(0x378dd08000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x378dd08000
mmap(0x378dd0a000, 61680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x378dd0a000
close(3) = 0
open("/lib64/tls/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360=\200"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=613297, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95584000
mmap(0x3788800000, 1593800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3788800000
mprotect(0x3788885000, 1049032, PROT_NONE) = 0
mmap(0x3788984000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x84000) = 0x3788984000
close(3) = 0
open("/lib64/tls/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\305Q\210"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1493186, ...}) = 0
mmap(0x3788500000, 2310056, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3788500000
mprotect(0x378862b000, 1085352, PROT_NONE) = 0
mmap(0x378872a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12a000) = 0x378872a000
mmap(0x3788730000, 16296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3788730000
close(3) = 0
open("/lib64/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\34\300"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=47016, ...}) = 0
mmap(0x378ac00000, 1091424, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x378ac00000
mprotect(0x378ac0b000, 1046368, PROT_NONE) = 0
mmap(0x378ad0a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x378ad0a000
close(3) = 0
open("/lib64/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\017"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=17943, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95585000
mmap(0x3788300000, 1056968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3788300000
mprotect(0x3788302000, 1048776, PROT_NONE) = 0
mmap(0x3788401000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x3788401000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95586000
mprotect(0x378872a000, 12288, PROT_READ) = 0
arch_prctl(ARCH_SET_FS, 0x2a955865e0) = 0
munmap(0x2a95557000, 183555) = 0
set_tid_address(0x2a95586670) = 18481
rt_sigaction(SIGRTMIN, {0x3788e05190, [], SA_RESTORER|SA_SIGINFO, 0x3788e0c420}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x3788e05210, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x3788e0c420}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION, 0, 0, 0, 0, 20bd1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 2, 0x7fbffff0c0, 35, (nil), 0}) = 0
brk(0) = 0x773000
brk(0x794000) = 0x794000
rt_sigaction(SIGFPE, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, NULL, 8) = 0
rt_sigaction(SIGILL, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, NULL, 8) = 0
rt_sigaction(SIGSEGV, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, NULL, 8) = 0
rt_sigaction(SIGABRT, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK, 0x3788e0c420}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK, 0x3788e0c420}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK, 0x3788e0c420}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK, 0x3788e0c420}, {SIG_DFL}, 8) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfff9370) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd580) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(1, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd580) = -1 ENOTTY (Inappropriate ioctl for device)
write(1, "1************ MOLECULAR DYNAMIC"..., 52) = 52
lseek(1, 0, SEEK_CUR) = 52
ftruncate(1, 52) = 0
write(1, " MOLECULES, SITES "..., 52) = 52
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfff95a0) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd7b0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(0, {st_mode=S_IFREG|0644, st_size=377, ...}) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd7b0) = -1 ENOTTY (Inappropriate ioctl for device)
read(0, " \"real dipole \"\n &DATSYS VOLM=18"..., 134) = 134
lseek(0, -118, SEEK_CUR) = 16
write(1, "0 \"real dipole \" "..., 82) = 82
read(0, " &DATSYS VOLM=18.016D-6, TEMP=19"..., 134) = 134
lseek(0, -61, SEEK_CUR) = 89
read(0, " NLRES=.FALSE., NLPUVY=.FALSE., "..., 134) = 134
lseek(0, -77, SEEK_CUR) = 146
read(0, " NLTS=.FALSE., NSSOTS=10000, DT="..., 134) = 134
lseek(0, -70, SEEK_CUR) = 210
read(0, "conf\nconf\n &DATSPE NSIT=2, NSPE="..., 134) = 134
lseek(0, -129, SEEK_CUR) = 215
write(1, " INPUT FILE : conf "..., 44) = 44
read(0, "conf\n &DATSPE NSIT=2, NSPE=256, "..., 134) = 134
lseek(0, -129, SEEK_CUR) = 220
write(1, " OUTPUT FILE : conf "..., 45) = 45
read(0, " &DATSPE NSIT=2, NSPE=256, EPS=7"..., 134) = 134
lseek(0, -89, SEEK_CUR) = 265
read(0, " SIG=0.315,0.000000,VMASS=9.0,9."..., 134) = 112
lseek(0, -77, SEEK_CUR) = 300
read(0, " CHARGE=.5,-0.5, SITE=0.00000000"..., 134) = 77
lseek(0, -22, SEEK_CUR) = 355
read(0, " 0.0,0.0,-0.050, &END\n", 134) = 22
write(1, "0CUT-OFF SET AT HALF BOX WIDTH\n", 31) = 31
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigaction(SIGSEGV, {0x478432, [], SA_RESTORER|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, 8) = 0
rt_sigaction(SIGILL, {0x478432, [], SA_RESTORER|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, 8) = 0
rt_sigaction(SIGBUS, {0x478432, [], SA_RESTORER|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGFPE, {0x478432, [], SA_RESTORER|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
futex(0x378ad0a6f0, FUTEX_WAKE, 2147483647) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
open("/proc/18481/exe", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=932288, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95557000
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\2\0>\0\1\0\0\0@/@\0\0\0"..., 8192) = 8192
lseek(3, 802816, SEEK_SET) = 802816
read(3, "\377\377\377\1\0\1x\20\f\7\10\220\1\0\0\0\0\0\0,\0\0\0"..., 8192) = 8192
lseek(3, 811008, SEEK_SET) = 811008
close(3) = 0
munmap(0x2a95557000, 8192) = 0
open("/proc/18481/exe", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=932288, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95557000
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\2\0>\0\1\0\0\0@/@\0\0\0"..., 8192) = 8192
lseek(3, 802816, SEEK_SET) = 802816
read(3, "\377\377\377\1\0\1x\20\f\7\10\220\1\0\0\0\0\0\0,\0\0\0"..., 8192) = 8192
lseek(3, 811008, SEEK_SET) = 811008
close(3) = 0
munmap(0x2a95557000, 8192) = 0
open("/proc/18481/exe", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=932288, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95557000
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\2\0>\0\1\0\0\0@/@\0\0\0"..., 8192) = 8192
lseek(3, 802816, SEEK_SET) = 802816
read(3, "\377\377\377\1\0\1x\20\f\7\10\220\1\0\0\0\0\0\0,\0\0\0"..., 8192) = 8192
lseek(3, 811008, SEEK_SET) = 811008
close(3) = 0
munmap(0x2a95557000, 8192) = 0
open("/proc/18481/exe", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=932288, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95557000
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\2\0>\0\1\0\0\0@/@\0\0\0"..., 8192) = 8192
lseek(3, 802816, SEEK_SET) = 802816
read(3, "\377\377\377\1\0\1x\20\f\7\10\220\1\0\0\0\0\0\0,\0\0\0"..., 8192) = 8192
lseek(3, 811008, SEEK_SET) = 811008
close(3) = 0
munmap(0x2a95557000, 8192) = 0
open("/proc/18481/exe", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=932288, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95557000
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\2\0>\0\1\0\0\0@/@\0\0\0"..., 8192) = 8192
lseek(3, 802816, SEEK_SET) = 802816
read(3, "\377\377\377\1\0\1x\20\f\7\10\220\1\0\0\0\0\0\0,\0\0\0"..., 8192) = 8192
lseek(3, 811008, SEEK_SET) = 811008
close(3) = 0
munmap(0x2a95557000, 8192) = 0
open("/proc/18481/exe", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0775, st_size=932288, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95557000
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\2\0>\0\1\0\0\0@/@\0\0\0"..., 8192) = 8192
lseek(3, 802816, SEEK_SET) = 802816
read(3, "\377\377\377\1\0\1x\20\f\7\10\220\1\0\0\0\0\0\0,\0\0\0"..., 8192) = 8192
lseek(3, 811008, SEEK_SET) = 811008
close(3) = 0
munmap(0x2a95557000, 8192) = 0
rt_sigaction(SIGSEGV, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, NULL, 8) = 0
rt_sigaction(SIGILL, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, NULL, 8) = 0
rt_sigaction(SIGBUS, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGFPE, {0x42100c, [], SA_RESTORER|SA_RESTART|SA_NOMASK|SA_SIGINFO, 0x3788e0c420}, NULL, 8) = 0
write(2, "forrtl: severe (174): SIGSEGV, s"..., 603forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
mdord.exe 000000000041E998 Unknown Unknown Unknown
mdord.exe 0000000000405C6A Unknown Unknown Unknown
mdord.exe 0000000000403074 Unknown Unknown Unknown
mdord.exe 000000000040302A Unknown Unknown Unknown
libc.so.6 000000378851C4BB Unknown Unknown Unknown
mdord.exe 0000000000402F6A Unknown Unknown Unknown
) = 603
exit_group(174) = ?
Process 18481 detached
[hujinhe@console ~]$
重点是像这样的语句有没有影响啊?
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfff9370) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd580) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(1, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffd580) = -1 ENOTTY (Inappropriate ioctl for device)