Closed Bug 134017 Opened 22 years ago Closed 22 years ago

Core dump via seg fault when I exit page which uses flash

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dave, Assigned: rubydoo123)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020313
BuildID:    2002032808

I recently downloaded and built the mozilla 0.9.9 and 0.9.8 distributions
(mozilla-source-0.9.8.tar.gz and mozilla-source-0.9.9.tar.gz) on a linux pc
running Redhat 7.1 with the 2.4.16 kernel.  I followed the build instructions on
   http://www.mozilla.org/build/distribution.html under the UNIX section.  I
used the same options for my mozilla/.mozconfig, set the environment variables,
and executed the 
gmake -f client.mk build
 command.  Having unpacked and built mozilla in /1/mozilla, I launched the
browser with the command "/1/mozilla/dist/bin/mozilla http://www.alyssa.com". 
When the browser prompted me to download and install the flash player plugin, I
did so -- copying the plugin files to the appropriate directory:

ls /1/mozilla/dist/bin/plugins/
ShockwaveFlash.class  libflashplayer.so  libnullplugin.so

When I restarted the browser (using the same command), the page fully rendered.
 However, when I close the browser window, I get a core dump:

/1/mozilla/dist/bin/mozilla http://www.alyssa.com
/1/mozilla/dist/bin/run-mozilla.sh: line 72:  5348 Segmentation fault      (core
dumped) $prog ${1+"$@"}

Upon analyzing the core, I see the following error:

#0  __libc_free (mem=0x41beb008) at malloc.c:3036
3036
malloc.c: No such file or directory.
	in malloc.c
(gdb) bt
#0  __libc_free (mem=0x41beb008) at malloc.c:3036
#1  0x415d4215 in _IcePaAuthDataEntries () from
/1/mozilla/dist/bin/plugins/libflashplayer.so
#2  0x416e7537 in nsObjectFrame::Destroy ()

I have reproduced this behavior on several flash-enabled sites
(http://www.harley-davidson.com) with both the 0.9.8 and 0.9.9 builds.  I am
perplexed by this behavior because I can successfully download the 0.9.9 binary,
install the flash plugin, and navigate these sites trouble-free.

Since the flash player library appears to be looking for a file which doesn't
exist, maybe I have to change some LIB environment variables, or maybe I needed
to specify some --prefix-SOMETHING in my mozilla/.mozconfig file.  Since it
takes an hour to build the distribution, and seeing as how I am not intimately
familiar with the source code, I would like some help here.  I'm building the
distribution because I have some source code modifications in mind.

Thank you for your help.

Dave Sherfesee
dave@alexa.com

Reproducible: Always
Steps to Reproduce:
1.Build mozilla 0.9.9 distributions following instructions on
http://www.mozilla.org/build/distribution.html for UNIX
2.Launch mozilla and go to http://www.alyssa.com
3.Install flash player plugin and kill browser window
4.Launch mozilla and go to http://www.alyssa.com
5.Close browser window.

Actual Results:  The mozilla-bin binary dumped a core file due to a segmentation
fault:

) /1/mozilla/dist/bin/mozilla http://www.alyssa.com
/1/mozilla/dist/bin/run-mozilla.sh: line 72:  5348 Segmentation fault      (core
dumped) $prog ${1+"$@"}


Expected Results:  It should have exitted gracefully.

uname -a
Linux somehost.alexa.com 2.4.16 #1 Tue Dec 18 11:40:51 PST 2001 i686 unknown
works/loads fine for me on 0326 trunk, linux 7.1
Installation issue.  Make sure to install binaries in --prefix-XXX.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
v
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.