Bug#630589: reproducible crash after connecting to a running iceweasel
Mike Hommey
mh at glandium.org
Wed Jun 15 13:23:47 UTC 2011
On Wed, Jun 15, 2011 at 02:34:43PM +0200, Vincent Lefevre wrote:
> Package: iceweasel
> Version: 3.5.19-2
> Severity: important
>
> To reproduce the crash:
> 1. Run iceweasel.
> 2. Run a second instance on some URL. The URL is opened, but this
> second instance crashes (making scripts using iceweasel fail to
> behave correctly).
>
> This crash *always* occurs under these conditions.
>
> ypig:~> iceweasel -g http://localhost/
> GNU gdb (GDB) 7.2-debian
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/lib/iceweasel/firefox-bin...(no debugging symbols found)...done.
> (gdb) run
> Starting program: /usr/lib/iceweasel/firefox-bin http://localhost/
> [Thread debugging using libthread_db enabled]
> Unable to create nspr log file '~/.mozprofile/nspr.log'
>
> Program received signal SIGSEGV, Segmentation fault.
> getenv (name=0x7fffe59b09cf "LGRIND") at getenv.c:84
> 84 getenv.c: No such file or directory.
> in getenv.c
This is most likely the same thing as bug 487785, but due to an addition
that was made after the fix for that bug.
Can you try the following patch:
diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
index c797770..6b899c2 100644
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -2580,7 +2580,7 @@ XRE_main(int argc, char* argv[], const nsXREAppData* aAppData)
}
// Suppress atk-bridge init at startup, it works after GNOME 2.24.2
- PR_SetEnv("NO_AT_BRIDGE=1");
+ SaveToEnv("NO_AT_BRIDGE=1");
#endif
#ifndef WINCE
Mike
More information about the pkg-mozilla-maintainers
mailing list