Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2001 11:56:53 -0800 (PST)
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32508: www/flashplugin-mozilla has malloc bug
Message-ID:  <200112041956.fB4Jur699011@minya.sea.one-eyed-alien.net>

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

>Number:         32508
>Category:       ports
>Synopsis:       www/flashplugin-mozilla has malloc bug
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 04 12:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Brooks Davis
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD minya.sea.one-eyed-alien.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Nov 28 17:34:51 PST 2001 root@minya.sea.one-eyed-alien.net:/usr/obj/usr/src/sys/MINYA i386


>Description:

When leaving a page with flash on it mozilla with the
flashplugin-mozilla port installed dumps core.  The issue appears to be
a double free() which is fatal due to -current specifying A as a default
malloc option.

>How-To-Repeat:
	Set the 'A' option to malloc, install flashplugin-mozilla and
	view a page with flash on it.  Closing a window with a flash
	entity on it always generates the error though hitting back
	seems a bit hit or miss.

>Fix:

Unknown.  As a workaround I modified /usr/X11R6/bin/mozilla to:

#!/bin/sh
#
# $FreeBSD: ports/www/mozilla/files/mozilla.sh,v 1.3 2001/07/18 07:44:50 sobomax Exp $

cd /usr/X11R6/lib/mozilla
MALLOC_OPTIONS="aj" exec ./mozilla "$@"

-- Brooks
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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