- 论坛徽章:
- 0
|
程序运行一段时间后出现segmentation fault (core dumped)意外中止了
网上查资料后找到了错误的地方
可是不知道怎么修改
go@ubuntu:~/larbin/larbin-2.6.3$ gdb ./larbin core
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/go/larbin/larbin-2.6.3/larbin...(no debugging symbols found)...done.
[New LWP 14056]
[New LWP 14057]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff4f000000
Core was generated by `./larbin'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000409f57 in html::parseContent(int) ()
(gdb) where
#0 0x0000000000409f57 in html::parseContent(int) ()
#1 0x000000000040a3e8 in html::endInput() ()
#2 0x000000000040ae6a in checkAll() ()
#3 0x0000000000402f33 in main ()
(gdb)
|
|