Re: beagle-search 0.2.18 segfault
- From: "Joe Shaw" <joe joeshaw org>
- To: "Frederik Himpe" <fhimpe telenet be>
- Cc: dashboard-hackers gnome org
- Subject: Re: beagle-search 0.2.18 segfault
- Date: Thu, 6 Sep 2007 16:06:01 -0400
Hi,
On 9/6/07, Frederik Himpe <fhimpe telenet be> wrote:
> Program received signal SIG35, Real-time event 35.
Hmm, looks like you'll also have to add:
handle SIG35 nostop noprint
to gdb before you run "continue". We're looking for SIGSEGV.
Also, because Beagle is multi-threaded, we need the backtraces for all
the threads: "thread apply all bt" rather than just "bt"
> I am not sure if it would help installing certain debug packages,
Probably not, since most of this code is autogenerated by Mono. What
probably would be useful though is the following code. It should
print out a Mono stack trace to the console from which you ran
beagle-search (not the gdb console):
define mono_stack
set $mono_thread = mono_thread_current ()
if ($mono_thread == 0x00)
printf "No mono thread associated with this thread\n"
else
set $ucp = malloc (4096)
call (void) getcontext ($ucp)
call (void) mono_print_thread_dump ($ucp)
call (void) free ($ucp)
end
end
Then from the gdb prompt you can run "mono_stack".
Thanks,
Joe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]