Sebastian Moors wrote:
> Hey Gabriel,
>
> Gabriel M. Beddingfield wrote:
>   
>> 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?
>>   
>>     
>  And more interesting:  It happens only if 
> i start hydrogen
> without commandline arguments or with hydrogen --driver null . It 
>
>   

After a fast look in main.cpp it turned out that there is no "--driver 
null" , so it is feasible why it is the same as "hydrogen" without 
arguments :)
- Sebastian

-------------------------------------------------------------------------
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

Reply via email to