How to debug a mozilla based binary application ?
Komodo Edit crashed on my system , and i tried to debug it , added '-g' option inside komodo script,
And i got:
[New Thread 0xa80c2b70 (LWP 5102)] [New Thread 0xa78c1b70 (LWP 5107)]
Program received signal SIGSEGV, Segmentation fault.
0xa97e1f10 in ?? () from /usr/lib/librsvg-2.so.2
(gdb) bt
#0 0xa97e1f10 in ?? () from /usr/lib/librsvg-2.so.2
#1 0x00000000 in ?? ()
(gdb) c
Continuing.
Operation not permitted
Is there any way to find out the real problem here ? I wanted to know where that last string 'Operation开发者_开发知识库 not permitted' come from , but how ? Many thanks !
added '-g' option inside komodo script,
When you say this, do you mean that you passed -g
as a command-line argument?
If so, that won't work. -g
(or -ggdb
) needs to be passed to gcc
, during compilation of Komodo Edit, so that debugging symbols are included in the output.
精彩评论