[vlc-devel] [Patches] Segfaults in settings dialog

Jean-Baptiste Kempf jb at videolan.org
Wed Nov 28 08:38:26 CET 2007


I need to check about that, I don't have really much time about that.
I didn't really checked about Win32 paths inside the preferences...
But they should be some somewhere, and if so, some IFDEF should do the trick.
If someone really know that part, please commit the simple_prefs part.

I think the preferences.cpp part is good.

On Tue, Nov 27, 2007, Andre Weber wrote :
> Hello,
> 
> here are my first patches for Videolan  -- please don't tear and feather me if something
> is wrong with it.
> 
> simple_preferences.cpp -- I have found the following problem:
> --> config_GetPsz( p_intf, "dvd" );
> returned NULL at my side...(in my private cygwin build) I don't know why ...
> and the following derefences of this nice pointer crashed videolan ... ;-)
> so did add some checking to the pointer - for me works it now...
> 
> preferences.cpp:  produced random crashes when switching the layouts, and reopening
> closing the dialog sometimes -  cause was freeing objects but forgotten to clear all references
> to it - later access to this dead pointers caused random crashes at funny locations...
> I hope my fixes are right... but some function aren't really self explaining..
> 
> 
> André
> 
> (aka Atmo)



> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel

Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/



More information about the vlc-devel mailing list