pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

firefox2.0.0.1 dumps core...



I have been running firefox2.0 along firefox1.5.0.7 for quite a while;
the former was designed to be compatible with the latter, installing
everything under firefox2. After the latest bunch of security fixes
for firefox I decided to update. I thought it would be just a matter
of removing firefox2, leaving firefox1.5.0.7 in place - it being the
package all the Gnome packages depend on.

The new firefox2.0.0.1 has been created to replace firefox1.5.0.7,
using the latter's destination paths etc. Removing 1.5.0.7 lege artis
would have lead to recompilation of quite a lot, so I forced it and
installed firefox2.0.0.1. It dumps core on me. I had to go back to
1.5.0.7 and 2.0 (I had them saved with pkg_tarup).

I then had a look at the Makefile and saw the MOZILLA variable; I
rebuilt firefox2 with MOZILLA set to firefox2 and installed it (just
normal make install). The component registration at the end failed:

=> Automatic manual page handling
=> Running POST-INSTALL script actions
[1]   Segmentation fault (core dumped) LD_LIBRARY_PATH=...
[1]   Segmentation fault (core dumped) LD_LIBRARY_PATH=...
=> Registering installation for firefox2-2.0.0.1
firefox2-2.0.0.1 requires installed package Xft2-2.1.7nb2
firefox2-2.0.0.1 requires installed package cairo-1.2.4nb3
firefox2-2.0.0.1 requires installed package gtk2+-2.10.6
firefox2-2.0.0.1 requires installed package jpeg-6bnb3
firefox2-2.0.0.1 requires installed package libIDL-0.8.7
firefox2-2.0.0.1 requires installed package png-1.2.12

No wonder under gdb I get (no symbols):

......................................
Program received signal SIGSEGV, Segmentation fault.
0xbbaf954c in nsXPTCStubBase::Sentinel4 () from
/usr/pkg/lib/firefox2/libxpcom_core.so
(gdb) bt
#0  0xbbaf954c in nsXPTCStubBase::Sentinel4 () from
/usr/pkg/lib/firefox2/libxpcom_core.so
#1  0x00000001 in ?? ()
#2  0x00000000 in ?? ()
(gdb) quit

The relevant part of ktruss output is as follows:
....................................................
4946      1 firefox-bin
__stat30("/usr/pkg/lib/firefox2/components/xpcom_base.xpt", 0x80aff08)
= 0
 4946      1 firefox-bin
open("/usr/pkg/lib/firefox2/components/xpcom_base.xpt", 0, 0x124) = 9
 4946      1 firefox-bin read(0x9, 0x80be000, 0xafc) = 2812
      "XPCOM\nTypeLib\r\n\^Z\^A\^B\0\^T\0\0\n\M-|\0\0\0"\0\0\^BQ\M^@\0\0\0\0"
 4946      1 firefox-bin close(0x9)               = 0
 4946      1 firefox-bin
__stat30("/usr/pkg/lib/firefox2/components/xpcom_ds.xpt", 0x80aff08) =
0
 4946      1 firefox-bin
open("/usr/pkg/lib/firefox2/components/xpcom_ds.xpt", 0, 0x124) = 9
 4946      1 firefox-bin read(0x9, 0x80c2000, 0x2549) = 9545
      "XPCOM\nTypeLib\r\n\^Z\^A\^B\08\0\0%I\0\0\0"\0\0\^FA\M^@\0\0\0\0\0\0\0"
 4946      1 firefox-bin close(0x9)               = 0
 4946      1 firefox-bin SIGSEGV caught handler=0x805e450 mask=0x0 code=0x6
 4946      1 firefox-bin
unlink("/home/ci/.mozilla/firefox/xab5dano.default/lock") = 0
 4946      1 firefox-bin __sigaction_sigtramp(0xb, 0x8062b64, 0,
0xbb1a241c, 0x2) = 0
 4946      1 firefox-bin __sigprocmask14(0x3, 0xbb225600, 0) = 0
 4946      1 firefox-bin getpid()                 = 4946, 15430
 4946      1 firefox-bin kill(0x1352, 0xb)        = 0
 4946      1 firefox-bin SIGSEGV SIG_DFL

This is on:
# uname -a
NetBSD lisa 4.99.6 NetBSD 4.99.6 (LISA.MPACPI) #0: Sat Dec 16 22:35:43
GMT 2006  root@lisa:/usr/src/sys/arch/i386/compile/LISA.MPACPI i386

Any ideas? (meanwhile back to firefix2.0).

Thanks,

Chavdar Ivanov



Home | Main Index | Thread Index | Old Index