On Tue, October 21, 2008 2:37 pm, Sebastian Moors wrote:
> at the moment hydrogen refuses to start here... This is not the normal
> situation, the same executable works most of the time. Furthermore it
[snip]
> my computer or run "alsaconf", everything works fine. The problem
> appeared in the past on other systems too, often after jack crashed.
> Maybe someone is able to guess why the cast failed and what went wrong
> here..
[snip]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb64166d0 (LWP 11096)]
> 0xb70af34b in __dynamic_cast () from /usr/lib/libstdc++.so.6
> (gdb) bt
> #0 0xb70af34b in __dynamic_cast () from /usr/lib/libstdc++.so.6
> #1 0x081e332a in H2Core::Sampler::makeTrackOutputQueues ()
Throwing out ideas...
If you try a dynamic_cast<> on an invalid pointer, it will segfault.
Perhaps this code got executed before __audio_output was initialized.
Also, I recall once that I was having trouble running hydrogen through the
debugger. It may have been this very segfault. I think I resolved it by
upgrading gdb to 6.8. (Sometimes, bugs can be caused by gdb -- and I
think I read something that made me suspect this was the case.) However,
I also resolved it by _not_ using a debugger, but instead using core dumps
for segfault backtraces.
Also, what was H2's output before the segfault?
Thanks,
Gabriel
--
G a b r i e l M B e d d i n g f i e l d
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel