Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#21 Segmentation fault with <EMBED > files

0.91
closed-fixed
nobody
Plugin (92)
5
2004-01-15
2003-12-26
Charlie C
No

When I open a page containing the following tag:
<embed src="foo.wav" autostart=true hidden=true
loop=false volume="100">
and if file foo.wav exists, ( no matter what it's
contents are),
I get a segmentation fault (due to an access of NULL).

Have traced it to a NULL This->display in Source/ui.c

Suggest putting a test for this:
if (This->display != NULL )
{
do all the xlib stuff ;
}else
{
if (DEBUG) printf("NULL Display\n") ;
}
etc, etc, etc.

Hope this helps!!!

Charlie

Discussion

  • Logged In: NO

    Doh!
    Mozilla claims to be V1.4, although i'm fairly sure it's
    actually 1.5:
    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4; MultiZilla
    v1.5.0.3g) Gecko/20031126

    mplayerplug-in: v 1.0

     
  • Kevin DeKorte
    Kevin DeKorte
    2004-01-15

    • status: open --> closed-fixed
     
  • Kevin DeKorte
    Kevin DeKorte
    2004-01-15

    Logged In: YES
    user_id=685413

    fixed in v0.95
    check added in v1.1