[Bug 146147] Re: [GUTSY] firefox crashed [@XQueryExtension] [@XInitExtension] [@XextAddDisplay]

kenorb kenorb at gmail.com
Tue Jun 17 16:05:57 UTC 2008


Hi,
I've similar problem on my FreeBSD 7.0 and I think it's bug in gplflash-0.4.13 package.

Here is a dump:
#0  0x28d2bdc3 in thr_kill () from /lib/libc.so.7
#1  0x28ce1c69 in pthread_kill () from /lib/libthr.so.3
#2  0x28cdfb6b in raise () from /lib/libthr.so.3
#3  0x08064fb2 in nsProfileLock::FatalSignalHandler (signo=684616620) at nsProfileLock.cpp:206
#4  <signal handler called>
#5  0x28902c31 in XQueryExtension (dpy=0x0, name=0x2870fb09 "MIT-SHM", major_opcode=0xbfbfd024, first_event=0xbfbfd028,
    first_error=0xbfbfd02c) at QuExt.c:46
#6  0x288f34b6 in XInitExtension (dpy=0x0, name=0x2870fb09 "MIT-SHM") at InitExt.c:49
#7  0x2870f3c8 in XextAddDisplay (extinfo=0x287106c0, dpy=0x0, ext_name=0x2870fb09 "MIT-SHM", hooks=0x287102e0, nevents=1, data=0x0)
    at extutil.c:108
#8  0x287094b9 in find_display (dpy=0x0) at XShm.c:82
#9  0x28709d38 in XShmDetach (dpy=0x0, shminfo=0x9494214) at XShm.c:254
#10 0x2b6a0e00 in NPP_Destroy (instance=0x9a3b660, save=0xbfbfd17c) at plugin.c:193

dpy is NULL when XShmDetach is called and that NULL is passed through.
File: gplflash-0.4.13/plugin/plugin.c 
        if (This != NULL) {
                pthread_mutex_lock(&synchro);
                if (This->timer) {
                        XtRemoveTimeOut(This->timer);
                        This->timer = 0;
                }
                if (This->fh) {
                        XShmDetach(This->dpy, &This->segInfo); // <-- line 254

There is no any checks if This->dpy can be NULL.
On page: http://gplflash.sourceforge.net/index.php?page=devel
we read that 'GPLFlash2 is not maintained nor developed anymore', but I don't know if it's related to gplflash-0.4.13 as well.

-- 
[GUTSY] firefox crashed [@XQueryExtension] [@XInitExtension] [@XextAddDisplay]
https://bugs.launchpad.net/bugs/146147
You received this bug notification because you are a member of Mozilla
Bugs, which is a bug assignee.




More information about the Ubuntu-mozillateam-bugs mailing list