[MPlayer-dev-eng] [PATCH] mplayer crash after changing preferences 2

Ерофеев Евгений kefiller at tvcom.ru
Tue Apr 28 19:41:11 CEST 2009


Hi! I was a bit ignored last time :) What about my patch?
GMPlayer crashes after changing preferences
1. Run gmplayer
2. Load movie(click "add file" button)
3. Open preference dialog by clicking the button(using "corelian" skin)
4. Change any option(for example, i checked "unicode subtitles"
checkbox), click "Ok" button
5. Click "play" button
6. Click "stop" button
7. Got crash "Mplayer interrupted by signal 11 in module: Unknown", and
2 other dialog windows
8. gdb bt log full:
(gdb) bt log full
#0 0xb70e7bd3 in ?? () from /lib/i686/libc.so.6
No symbol table info available.
#1 0x08088c68 in load_per_output_config (conf=0x94c1df0, cfg=0x864a492
"ao.", out=0x0) at mplayer.c:916
     p = <value optimized out>
#2 0x0808bfef in main (argc=1, argv=0xbf824ed4) at mplayer.c:2906
mem_ptr = <value optimized out>
opt_exit = 0
i = 0
gui_no_filename = 1
last_heartbeat = 0

This is because of NULL video_driver_list[0] variable in mplayer.c:2905
Patch simply checks it.
Sorry for my english.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer.c.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090428/b2dbe8f6/attachment.asc>


More information about the MPlayer-dev-eng mailing list