[Kde-bindings] debugging a korundum program after a crash

Richard Dale rdale at foton.es
Mon Mar 30 11:11:01 UTC 2009


On Monday 30 March 2009 10:38:57 Stefano Crocco wrote:
> My korundum4 program is randomly crashing. By 'crashing', I don't mean it's
> raising an exception which isn't caught, but that it's crashing at the C++
> level. This could mean I just found a bug in qtruby or korundum but it's
> much more likely that it simply means my program is doing something it
> shouldn't.
>
> If my program raised an exception, I could simply look at the line where
> the exception was raised and from there follow the program flow and try to
> understand what's wrong. Of course, with a C++-level crash, I can't do
> that, since the backtrace only contains calls to qt/kde/smoke/qtruby/ruby
> internal functions.
>
> Do you have any advice on how to proceed?
Post the C++ backtrace on the mailing list in case that gives a clue about the 
cause. Try to make the smallest program that is possible that reproduces the 
crash. Does it still crash if you turn off garbage collection with 
'GC.disable'?

-- Richard



More information about the Kde-bindings mailing list