Closed Bug 269595 Opened 21 years ago Closed 21 years ago

crash while saving an image when the window with the image is closed before saving

Categories

(Toolkit :: Downloads API, defect)

1.7 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 235453

People

(Reporter: chris, Assigned: bugs)

References

()

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041112 Firefox/1.0 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041112 Firefox/1.0 When a new window (no tab) with an image I want to save is closed before I complete the save process (clicking "Save") firefox crashes. Reproducible: Always Steps to Reproduce: 1. Go to a Gallery (like www.open-server.de/~chkorn/images/images.py) 2. Choose a image and open it IN A NEW window 3. Do a right-click on the image and choose "Save Image As..." 4. Close the Window with the image via CTRL+W (closing via pressing the X doesn't work for me) 5. Click "Save" in the Save Image window Actual Results: Firefox crashes Expected Results: No Crash and/or window not closable via CTRL+W (should also avoid the crash)
Reported Error on exit: Segmentation fault
another information i forget: i have the XFCE desktop environment and i'm using it's "auto-focus" feature. without this feature it normally isn't possible to highlight the browserwindow and to close it via CTRL+W. (AFAIK)
Version: unspecified → 1.0 Branch
I've been able to reproduce this, using xfce without having the autofocus feature enabled.
is this an official mozilla.org build? if so, do you have components/talkback ?
no it isn't. it's a "homemade" version from gentoo linux.
please ask your homemaker to build with --enable-debug or --enable-debugger-info-modules
Attached file gdb's output.
ok. i now added gdb's and firefox' debugging output. HTH
don't forget to type |where| or |backtrace| or |bt| into gdb, so that we can have a stack trace :).
here this is the backtrace (it's also in my output file): 0xb7620046 in nanosleep () from /lib/libc.so.6
that's *one* stack frame. backtraces are generally going to have at least 10, of which the top five will be useless.
i swear this was the only output from gdb's "bt" command i got. i tried it at least 15 times. or do i have to do something different than "gdb /usr/lib/MozillaFirefox/firefox-bin PID" and typing "bt"?
i always suggest: ./firefox -g -d gdb run bt
ahhhhhhhh ok. sorry. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 7804)] 0xb700b1bc in ?? () (gdb) bt #0 0xb700b1bc in ?? () #1 0xb70d8654 in ?? () #2 0xbfffca8c in ?? () #3 0xbfffc974 in ?? () #4 0xb7f1d449 in XPTC_InvokeByIndex () from /usr/lib/MozillaFirefox/libxpcom.so Previous frame identical to this frame (corrupt stack?)
Duping to similar bug 235453 . *** This bug has been marked as a duplicate of 235453 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: