Re: [Mplayerplug-in-devel] gtk2 problems with latest CVS
Brought to you by:
kdekorte
From: Kevin D. <kde...@ya...> - 2004-02-27 16:55:12
|
Alex, This is interesting to me. I made the changes as you suggested and then fired up firebird 0.8 (gtk2-xft) and I got the error g_threads are already inited and then it died. So those recommendations are not going to go in. I'm guessing that maybe you have browser that uses GTK1 widgets? Kevin On Thursday 26 February 2004 08:10 pm, Alex Eskin wrote: > Hi Kevin, > > I tried the gtk2 GUI from the CVS. > In the beginning it did not work for me at all > (crash on startup and said that > g_thread_init must be called before gdk_thread_init). > I inserted g_thread_init(NULL) at plugin.cpp line 472 > (also had to link against -lgthread-2.0). > > Now the GUI works: looks great! > > But whenever I press the back button > on the browser, mozilla crashes. I am attaching the output > from valgrind. It seems that some GUI stuff does not > get killed at the right time: somebody is trying > to do g_main_loop_run even after the plugin instance has > been unloaded. This is 100% reproducible for me. > > Thanks, > > Alex > ----------output follows----------------- > > DELETE > http://a772.g.akamai.net/5/772/51/6a6313aeeecf3f/1a1a1aaa2198c627970773d806 >69d84574a8d80d3cb12453c02589f25382f668c9329e0375e8178af967e03faf187bef64d63b >aedd50bf2c91056dd644ab1e7de453c73b9cfb62cb41a6/somethingsgottagive-t_m480.mo >v File delete /tmp/mplayfsNaN5 > size: 8923110 > play: 1 > playlist: 0 > speed: 2800 > cancelled: 1 > retrieved: 0 > mms stream: 0 > cache bytes: 524288 > Actual Size: 480x260 > Play Size: 480x260 > shut called > mplayer dead > memory free > ~nsPluginInstance called > ==4759== > ==4759== pthread_mutex_unlock: mutex is not locked > ==4759== at 0x522F8B: __pthread_mutex_unlock (vg_libpthread.c:993) > ==4759== by 0x30F95D2: nsPluginInstance::~nsPluginInstance() > (plugin.cpp:232)==4759== by 0x30F8D85: > NS_DestroyPluginInstance(nsPluginInstanceBase*) (plugin.cpp:121) > ==4759== by 0x30FB9AF: NPP_Destroy (npp_gate.cpp:87) > ==4759== discard syms in /usr/lib/mozilla/plugins/mplayerplug-in.so due > to munmap() > ==4759== discard syms in /usr/X11R6/lib/libXpm.so.4.11 due to munmap() > ==4759== discard syms in /usr/lib/libgthread-2.0.so.0.200.3 due to > munmap() > ==4759== > ==4759== Jump to the invalid address stated on the next line > ==4759== at 0x55CB10: ??? > ==4759== by 0x1C81C2: g_main_context_acquire (in > /usr/lib/libglib-2.0.so.0.200.3) > ==4759== by 0x1C903C: (within /usr/lib/libglib-2.0.so.0.200.3) > ==4759== by 0x1C99CE: g_main_loop_run (in > /usr/lib/libglib-2.0.so.0.200.3) > ==4759== Address 0x55CB10 is not stack'd, malloc'd or free'd > ==4759== Warning: SIGSEGV not in user code; either from syscall kill() > ==4759== or possible Valgrind bug. This message is only shown 3 > times. > ==4759== Warning: SIGSEGV not in user code; either from syscall kill() > ==4759== or possible Valgrind bug. This message is only shown 3 > times. > ==4759== Warning: SIGSEGV not in user code; either from syscall kill() > ==4759== or possible Valgrind bug. This message is only shown 3 > times. > > > __________________________________ > Do you Yahoo!? > Get better spam protection with Yahoo! Mail. > http://antispam.yahoo.com/tools > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Mplayerplug-in-devel mailing list > Mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel |