Closed Bug 308285 Opened 19 years ago Closed 15 years ago

segmentation fault when selecting an executable as download action

Categories

(Core Graveyard :: File Handling, defect)

1.8 Branch
x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: lhofhansl, Unassigned)

Details

(Keywords: crash, stackwanted)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 Selecting an "Open with" executable for a mime-type causes a segmentation violation. Reproducible: Always Steps to Reproduce: 1. download a PDF file 2. when the download dialog appears check the "Open with" radio button, hit the browser button and browse to (say) /usr/bin/xpdf 3. In the "Browse" dialog hit "Open" 4. FireFox crashes Note that this only happens when you "browse" to the executable. When the full path to the executable is typed in FireFix will not crash. The log file shows this: (Gecko:3592): GLib-GObject-CRITICAL **: file gobject.c: line 1561 (g_object_ref): assertion `G_IS_OBJECT (object)' failed /usr/local/firefox/run-mozilla.sh: line 131: 3592 Segmentation fault "$prog" ${1+"$@"} The version of the linked dynamic libraries: $ ldd /usr/local/firefox/firefox-bin linux-gate.so.1 => (0xffffe000) libmozjs.so => not found libxpcom.so => not found libxpcom_core.so => not found libplds4.so => /usr/lib/libplds4.so (0xb7fad000) libplc4.so => /usr/lib/libplc4.so (0xb7fa9000) libnspr4.so => /usr/lib/libnspr4.so (0xb7f78000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7f66000) libdl.so.2 => /lib/libdl.so.2 (0xb7f62000) libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7cad000) libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7c41000) libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x4efe1000) libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7c2b000) libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x4ecc4000) libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x4ecb7000) libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4efa9000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7bef000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7bec000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7b70000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7aa9000) libm.so.6 => /lib/tls/libm.so.6 (0xb7a86000) libsmime3.so => /usr/lib/libsmime3.so (0xb7a66000) libssl3.so => /usr/lib/libssl3.so (0xb7a46000) libnss3.so => /usr/lib/libnss3.so (0xb79e3000) libsoftokn3.so => /usr/lib/libsoftokn3.so (0xb797c000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0xb7974000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4e9a0000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xb7924000) libxpcom_compat.so => not found libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb786a000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7861000) libc.so.6 => /lib/tls/libc.so.6 (0xb7737000) libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0xb7725000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4ea09000) /lib/ld-linux.so.2 (0xb7fc7000) libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xb7722000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb7719000) libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0xb7716000) libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0xb770d000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb76ff000) libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x4eccb000) libz.so.1 => /usr/lib/libz.so.1 (0xb76ee000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb76e6000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb76ce000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x4ea31000)
This did not happen with DeerPark Alpha 1 or Alpha 2
Version: unspecified → 1.5 Branch
reporter, please get a stack trace. either install a talkback enabled build or build w/ --enable-debugger-info-modules and use gdb (see the unix debugging faq)
Assignee: nobody → file-handling
Component: Download Manager → File Handling
Keywords: crash, stackwanted
Product: Firefox → Core
QA Contact: download.manager → ian
Version: 1.5 Branch → 1.8 Branch
Assignee: file-handling → nobody
QA Contact: ian → file-handling
WFM using Firefox trunk on Ubuntu 9.10.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.