Closed Bug 407229 Opened 17 years ago Closed 17 years ago

Breakpad fails to send on Fedora F8

Categories

(Toolkit :: Crash Reporting, defect, P2)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cbook, Assigned: ted)

References

Details

(Keywords: relnote)

Attachments

(2 files, 1 obsolete file)

While trying to verify Bug 392919 and a testcrash the Crashreporter was launched and had all information included but when i try to send the crash report i get the error message "Crash Report Submission failed"

console output :

(gecko:3086): Gtk-WARNING **: Unable to locate theme engine in
module_path: "nodoka",
Gtk-Message: Failed to load module "gnomebreakpad":
libgnomebreakpad.so: cannot open shared object file: No such file or
directory

(crashreporter:3106): Gtk-WARNING **: Unable to locate theme engine in
module_path: "nodoka",
Gtk-Message: Failed to load module "gnomebreakpad":
libgnomebreakpad.so: cannot open shared object file: No such file or
directory


and the breakpad log :
[Thu 06 Dec 2007 03:58:53 PM PST] Crash report submission failed:
[Thu 06 Dec 2007 03:59:49 PM PST] Crash report submission failed:
[Thu 06 Dec 2007 04:01:08 PM PST] Crash report submission failed:
Flags: blocking1.9?
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Looks like we (intentionally) set the library path when we run Firefox, but that screws up the crashreporter's attempt to load libcurl.
Assignee: nobody → ted.mielczarek
We do set LD_LIBRARY_PATH, but according to "man dlopen" that shouldn't affect loading libcurl from the default location...

exporting LD_DEBUG=1 into the environment might help debug
So libcurl.so.4 loads libssl3.so, which gets loaded from the firefox dir, which then fails because our NSS doesn't match the system NSS that it's looking for.  We'll need to unset LD_LIBRARY_PATH before launching the crashreporter client.
Status: NEW → ASSIGNED
Also, just FYI, it's LD_DEBUG=libs.  But you can do "LD_DEBUG=help ls".  Truly we're living in the future!
This works for me.
Attachment #292442 - Flags: review?(benjamin)
Comment on attachment 292442 [details] [diff] [review]
unset LD_LIBRARY_PATH before launching crashreporter

I'd like to sneak this into beta2 if we still can... otherwise we'll probably not get any useful bug reports on Linux from it.
Attachment #292442 - Flags: review?(benjamin)
Attachment #292442 - Flags: review+
Attachment #292442 - Flags: approvalM10?
Attachment #292442 - Flags: approvalM10?
Attachment #292442 - Flags: approvalM10+
Attachment #292442 - Flags: approval1.9+
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Apparently this make the "Restart" button fail to work.  I think we should hack things so we try to run the "firefox" script instead of the "firefox-bin" binary.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I've tested this and it WFM.  I can submit and restart without problems.
Attachment #292621 - Flags: review?(benjamin)
Comment on attachment 292621 [details] [diff] [review]
modify first restart arg to remove -bin

Do we want to do this for Mac as well? I don't think we do.
Attachment #292621 - Flags: review?(benjamin) → review-
As far as I can tell, this is worse in 3.0b2 (on Ubuntu Gutsy).  The crash report still fails every time, and now the restart button also doesn't work.
Jeffrey: you're probably seeing the problem described in bug 407748.  Please read there for a solution.
Attached patch but not on macSplinter Review
Fixed.
Attachment #292621 - Attachment is obsolete: true
Attachment #294253 - Flags: review?(benjamin)
Comment on attachment 294253 [details] [diff] [review]
but not on mac

Unified diff, please (with context!)?
Attachment #294253 - Flags: review?(benjamin) → review+
Checked in.
Status: REOPENED → RESOLVED
Closed: 17 years ago17 years ago
Resolution: --- → FIXED
Verified FIXED using:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2008011504 Minefield/3.0b3pre

[mozilla@localhost ~]$ lsb_release -dc
Description:    Fedora release 8 (Werewolf)
Codename:       Werewolf

[mozilla@localhost submitted]$ pwd
/home/mozilla/.mozilla/firefox/Crash Reports/submitted
[mozilla@localhost submitted]$ ls -l
total 8
-rw-rw-r-- 1 mozilla mozilla 188 2008-01-14 20:28 bp-20cbbb38-c3b0-11dc-9e76-001a4bd46e84.txt

(Too much info, I know...)
Status: RESOLVED → VERIFIED
Other apps will likely have similar issues (bug 392327).
You need to log in before you can comment on or make changes to this bug.