Got "segmentation fault " while trying to run dbus-daemon
Edison_lin-林俊翰
edison_lin at gemtek.com.tw
Mon May 18 06:52:16 PDT 2009
Thanks for your help, the attached is the result after applying strace.
Is it possible to be a library linkage problem ? Because even if I remove
all content in the main(), the process still receives SIGSEGV.
p.s. hello.strace is just a simple program which only prints a string for
comparison pusrpose.
Appreciate,
Edison Lin
----- Original Message -----
From: "Ville M. Vainio" <vivainio at gmail.com>
To: "Edison_Lin-林俊翰" <Edison_Lin at gemtek.com.tw>
Cc: <dbus at lists.freedesktop.org>
Sent: Monday, May 18, 2009 6:28 PM
Subject: Re: Got "segmentation fault " while trying to run dbus-daemon
> 2009/5/18 Edison_lin-林俊翰 <edison_lin at gemtek.com.tw>:
>
>> dbus-daemon, the console shows "segmentation fault". The strange thing
>> is,
>> I've tried to add a getchar() or printf() in the very beginning of the
>> main() of dbus-daemon to see what's going on, but there is nothing
>> happened.
>> It works like it run into a trap before entering the main() ?! The remote
>> gdb debugging shows that the SIGSEGV is received. Please give me some
>> advice
>> me if you have any idea ! Thanks a lot !
>
> Try running it on strace and attach info.
>
> --
> Ville M. Vainio
> http://tinyurl.com/vainio
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-daemon.strace
Type: application/octet-stream
Size: 181 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20090518/e7bc2869/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hello.strace
Type: application/octet-stream
Size: 1152 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20090518/e7bc2869/attachment-0001.obj
More information about the dbus
mailing list