- 论坛徽章:
- 0
|
楼主,我这里也是同样的BUG
hnwyllmm@ubuntu:~/linux-2.6.32.63$ uname -a
Linux ubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
使用的是Ubuntu 14.04 Server版
hnwyllmm@ubuntu:~/linux-2.6.32.63$ file core
core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/home/hnwyllmm/codeless/cl.exe --yz-no-output --yz-save-dep=/home/hnwyllmm/linu'- hnwyllmm@ubuntu:~/linux-2.6.32.63$ gdb ../codeless/cl.exe core
- GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
- Copyright (C) 2014 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- >.
- Find the GDB manual and other documentation resources online at:
- <>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from ../codeless/cl.exe...done.
- [New LWP 5458]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Core was generated by `/home/hnwyllmm/codeless/cl.exe --yz-no-output --yz-save-dep=/home/hnwyllmm/linu'.
- Program terminated with signal SIGSEGV, Segmentation fault.
- #0 __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:66
- 66 ../nptl/pthread_mutex_lock.c: No such file or directory.
- (gdb) bt
- #0 __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:66
- #1 0x0000000000416fe1 in ipsc_acc_bytes (sc=0x0, index=0, val=512) at ../common/ip_sc.c:54
- #2 0x0000000000404066 in OsFileWriter::Write (this=0x12b1400, buf=0x12b1c18, count=<optimized out>) at FileWriter.cpp:106
- #3 0x0000000000402d8f in save_command_line (filename=..., my_args=..., cc_args=..., host_cc=...) at startup.cpp:86
- #4 main (argc=<optimized out>, argv=<optimized out>) at startup.cpp:215
- (gdb)
复制代码- (gdb) f 1
- #1 0x0000000000416fe1 in ipsc_acc_bytes (sc=0x0, index=0, val=512) at ../common/ip_sc.c:54
- 54 pthread_mutex_lock(&sc->lock);
- (gdb) info local
- No locals.
- (gdb) info reg
- rax 0x0 0
- rbx 0x0 0
- rcx 0xffffffffffffffff -1
- rdx 0x200 512
- rsi 0x0 0
- rdi 0x0 0
- rbp 0x200 0x200
- rsp 0x7fff0d77cf00 0x7fff0d77cf00
- r8 0x0 0
- r9 0x1 1
- r10 0x7fff0d77ccc0 140733419343040
- r11 0x2b3edc166410 47548980421648
- r12 0x0 0
- r13 0x12b1c18 19602456
- r14 0x0 0
- r15 0x0 0
- rip 0x416fe1 0x416fe1 <ipsc_acc_bytes+17>
- eflags 0x10206 [ PF IF RF ]
- cs 0x33 51
- ss 0x2b 43
- ds 0x0 0
- es 0x0 0
- fs 0x0 0
- gs 0x0 0
- (gdb)
复制代码 |
|