由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - Abort(coredump) ??????????????
相关主题
help for g77[转载] GDB crash
perl出错求教[转载] Trace/BPT trap(coredump)?
interview questionQuestions about Makefile
GCC 和 G++ 的区别在什么地方?[转载] 请教三个关于emacs和perl的问题
C++5.0的初级问题A tough compiler problem
Can't find library ncurses when I compile cxterm[转载] molscript and grasp
如何了解coredumpwhere is libstdc++
how to debug JNI on UnixGCC的编译?
相关话题的讨论汇总
话题: abort话题: coredump话题: __话题: lib话题: wrong
进入Unix版参与讨论
1 (共1页)
m****r
发帖数: 59
1
After compiling, I ran the program. Linux gave me this error
message and nothing else.
When I use debugger to debug, entering some function ( I
guess that contains some mistakes), the message is :
__eq__H3ZcZt18string_char_traits1ZcZt24__default_alloc_templ
ate2b1i0_RCt12basic_string3ZX01ZX11ZX21PCX01_b
(lhs=@0xbffff75c, rhs=0x804f801 "") at
../../../libstdc++/std/straits.h:125
Does this mean something wrong with standard lib file? Or I
used them wrong? Or, something else???
Please tell me why,
c*****t
发帖数: 1879
2
It' likely that the way you used the standard lib functions
wrong. For example, you tried to pass a NULL pointer to
a function which assume that is not.
You need to step through the program, or insert breaks
at various points to figure out the exact location of
erroraneous use of the lib function.

【在 m****r 的大作中提到】
: After compiling, I ran the program. Linux gave me this error
: message and nothing else.
: When I use debugger to debug, entering some function ( I
: guess that contains some mistakes), the message is :
: __eq__H3ZcZt18string_char_traits1ZcZt24__default_alloc_templ
: ate2b1i0_RCt12basic_string3ZX01ZX11ZX21PCX01_b
: (lhs=@0xbffff75c, rhs=0x804f801 "") at
: ../../../libstdc++/std/straits.h:125
: Does this mean something wrong with standard lib file? Or I
: used them wrong? Or, something else???

h******a
发帖数: 198
3
in gdb, when core dump, use where command to see the
stack

【在 c*****t 的大作中提到】
: It' likely that the way you used the standard lib functions
: wrong. For example, you tried to pass a NULL pointer to
: a function which assume that is not.
: You need to step through the program, or insert breaks
: at various points to figure out the exact location of
: erroraneous use of the lib function.

1 (共1页)
进入Unix版参与讨论
相关主题
GCC的编译?C++5.0的初级问题
漆血柜求Can't find library ncurses when I compile cxterm
[转载] ask a question.如何了解coredump
GCC 一问how to debug JNI on Unix
help for g77[转载] GDB crash
perl出错求教[转载] Trace/BPT trap(coredump)?
interview questionQuestions about Makefile
GCC 和 G++ 的区别在什么地方?[转载] 请教三个关于emacs和perl的问题
相关话题的讨论汇总
话题: abort话题: coredump话题: __话题: lib话题: wrong