Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2004 17:36:28 -0500 (EST)
From:      Jonathan Lennox <lennox@cs.columbia.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61695: Mozilla with linuxpluginwrapper SEGV-loops at shutdown
Message-ID:  <200401212236.i0LMaSrt080449@cnr.cs.columbia.edu>
Resent-Message-ID: <200401212240.i0LMeFdm060606@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61695
>Category:       ports
>Synopsis:       Mozilla with linuxpluginwrapper SEGV-loops at shutdown
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 21 14:40:14 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Lennox
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
Columbia University Computer Science
>Environment:
System: FreeBSD cnr.cs.columbia.edu 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Tue Jan 13 16:38:08 EST 2004 lennox@cnr.cs.columbia.edu:/usr/obj/usr/src/sys/CNR i386

	
>Description:
        If I've visited a web page that uses flash, then when I shut down
mozilla, it spins in an infinite loop of SEGV/sigreturn.  Running ktrace on
the mozilla-bin process shows an infinite loop of the following:

 80229 mozilla-bin PSIG  SIGSEGV caught handler=0x28178a80 mask=0x0 code=0xc
 80229 mozilla-bin CALL  sigreturn(0xbfbfe2a0)
 80229 mozilla-bin RET   sigreturn JUSTRETURN

This forces the load average up to 1.00 plus whatever else is going on on
the system.  The only way to stop the process is with kill -9.

If I remove /etc/libmap.conf, this does not occur (since the flash plugin
doesn't load.)

The following relevant ports are installed:
linux-flashplugin-6.0r79    (www/linux-flashplugin6)
linuxpluginwrapper-20040111 (www/linuxpluginwrapper)
mozilla-gtk2-1.6_1          (www/mozilla-gtk2)

All ports were built locally.  The variable CPUTYPE?=athlon-xp is set in
/etc/make.conf.  

Mozilla was built with the make options "WITHOUT_XFT=1
WITH_OPTIMIZED_CFLAGS=1".

/etc/libmap.conf is from the www/linuxpluginwrapper port, and has the Id
string $Id: libmap.conf-FreeBSD5.x,v 1.2 2003/12/18 18:00:00 nork Exp $

>How-To-Repeat:
Install the above-mentioned ports, and the /etc/libmap.conf file.

Start mozilla.  Visit a web page that uses flash (e.g.,
http://www.macromedia.com/).

Quit mozilla.  Watch your load average hit 1.  Use ktrace to attach to the
mozilla-bin process, and watch the loop of segfaults.

>Fix:

Unknown.

As a workaround: remove /etc/libmap.conf.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401212236.i0LMaSrt080449>