Bug 103035

Summary: Firefox crashes in File-open dialogue
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Thomas Schmidt <tschmidt>
Component: FirefoxAssignee: E-mail List <bnc-team-mozilla>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 1   
Target Milestone: Beta 2   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: strace of firefox session

Description Thomas Schmidt 2005-08-09 14:10:08 UTC
When for example going to http://inttools.suse.de/rpms/9.3-i386/ 
and choosing right-click -> save as the choose-file dialogue appears. 
When I click on "save" in this dialogue firefox crashes. 
Console message is: 
/usr/bin/firefox: line 251:  8919 Speicherzugriffsfehler  $MOZ_PROGRAM $MOZ_LANG
Comment 1 Thomas Schmidt 2005-08-09 14:10:54 UTC
Created attachment 45331 [details]
strace of firefox session
Comment 2 Thomas Schmidt 2005-08-10 09:38:40 UTC
The same happens when saving attachments from Thunderbird. 
When clicking on "save" in the file dialogue the app crashes. 
Message is: 
/usr/bin/thunderbird: line 251: 22822 Speicherzugriffsfehler  $MOZ_PROGRAM $MOZ_
                                      LANG

Both firefox and thunderbird are using the profiles that were created on SUSE
9.3 before 
upgrading to 10.0Beta1.
Comment 3 Wolfgang Rosenauer 2005-08-15 20:03:22 UTC
Could you please provide a backtrace:

LD_LIBRARY_PATH=/opt/MozillaFirefox/lib gdb /opt/MozillaFirefox/lib/firefox-bin
Comment 4 Wolfgang Rosenauer 2005-08-17 08:47:47 UTC
I don't get the filepicker at all:

Program received signal SIG33, Real-time event 33.
[Switching to Thread 1112546224 (LWP 13977)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x401a0ccc in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
#2  0x40186cdf in PR_Lock () from /usr/lib/libnspr4.so
#3  0x401870b1 in PR_WaitCondVar () from /usr/lib/libnspr4.so
#4  0x080d2907 in nsIOutputStream::nsIOutputStream ()
#5  0x4018cc5c in PR_Select () from /usr/lib/libnspr4.so
#6  0x4019e277 in start_thread () from /lib/tls/libpthread.so.0
#7  0x40ca30ce in clone () from /lib/tls/libc.so.6
#8  0x42501bb0 in ?? ()
Comment 5 Wolfgang Rosenauer 2005-08-17 12:57:31 UTC
It seems related to the NSPR separation. I have to try some things.
Comment 6 Wolfgang Rosenauer 2005-08-17 13:17:31 UTC
yes, I've checked with a build with builtin NSPR and this works for me.
I can save a download completely. Now we have to find out what's the case.
Comment 7 Thomas Schmidt 2005-08-17 13:46:39 UTC
Hi, when running in gdb I was not able to reproduce the original crash, 
it also stopped when opening the filepicker with: 

[New Thread 1116187568 (LWP 6631)]

Program received signal SIG33, Real-time event 33.
[Switching to Thread 1116187568 (LWP 6631)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x401aaccc in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/tls/libpthread.so.0
#2  0x40190cdf in PR_Lock () from /usr/lib/libnspr4.so
#3  0x401910b1 in PR_WaitCondVar () from /usr/lib/libnspr4.so
#4  0x080ec67a in nsAdoptingCString::nsAdoptingCString ()
#5  0x080ec78c in nsAdoptingCString::nsAdoptingCString ()
#6  0x40196c5c in PR_Select () from /usr/lib/libnspr4.so
#7  0x401a8277 in start_thread () from /lib/tls/libpthread.so.0
#8  0x40cad10e in clone () from /lib/tls/libc.so.6
#9  0x4287abb0 in ?? ()
(gdb) quit

but I am not trained in using gdb and do not know at all what this means ;-)
Comment 8 Wolfgang Rosenauer 2005-08-18 07:50:10 UTC
The signal interrupts the execution within gdb. That's the reason. It's not
crashed at this time.
I can't reproduce it anymore with beta2 and a new firefox build which will be on
beta3. Please try again with Firefox from beta2.
Comment 9 Thomas Schmidt 2005-08-18 11:48:26 UTC
I also cannot reproduce the crash in firefox and in thunderbird with beta2.
Comment 10 Wolfgang Rosenauer 2005-08-18 12:28:47 UTC
so somehow it seems it disappeared