[PLUG] Upgrade to Xorg 7.2 broke firefox

Devin dlab00 at gmail.com
Wed Jan 3 07:22:57 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aaron Burt wrote:
> On Mon, Jan 01, 2007 at 08:19:09PM -0800, Devin wrote:
>>
>> Currently using slackware-current (from 10.2), updated Xorg to 7.2-rc3
>> via source and now I can't start firefox (2.0), mozilla (1.0.5), or
>> seamonkey (1.0.5):
>>
>> dlab at loathe ~$ firefox
>> /usr/lib/firefox/run-mozilla.sh: line 131:  5358 Segmentation fault
>>  "$prog" ${1+"$@"}
>>
>> dlab at loathe /usr/lib/firefox$ LD_LIBRARY_PATH=. gdb firefox-bin
> 
> Good debugging. Did strace give any different info?

Nothing that pops out at me, log generated with `LD_LIBRARY_PATH=.
strace -f -o log ./firefox.bin` which is available at
http://objdump.net/~dlab/ff-log.txt.gz

> Also, it's a silly thought, but did you try nohwcursor in xorg.conf?

Didn't change anything (other than hiding the cursor completely), but it
was worth a shot.

Will grab glibc sources later and compile a debug version with line
number information as I doubt this is specific to firefox/seamonkey/etc..

(gdb) i r eip
eip            0xb7ff3b30	0xb7ff3b30 <_dl_relocate_object+1584>
(gdb) disas $eip $eip+3
Dump of assembler code from 0xb7ff3b30 to 0xb7ff3b33:
0xb7ff3b30 <_dl_relocate_object+1584>:	mov    edx,DWORD PTR [esi+4]
End of assembler dump.
(gdb) i r esi
esi            0x80	128

(obviously 0x00000084 won't dereference too well)

(gdb) break *0xb7ff3b30
Breakpoint 1 at 0xb7ff3b30
(gdb) k
Kill the program being debugged? (y or n) y
(gdb) r

... complaints about missing symbols and a few new threads

Breakpoint 1, 0xb7ff3b30 in _dl_relocate_object () from /lib/ld-linux.so.2
(gdb) i r esi
esi            0x8a6a7a0	145139616

(save value for later)

(gdb) while $esi != 0x80 && $eip == 0xb7ff3b30
 >c
 >end

... "Breakpoint 1" spits out a few hundred times

(gdb) set $esi = 0x8a6a7a0
(gdb) del 1
(gdb) detach

.. and it works.. o_o

I'll play around with glibc sources when I have more time later tonight.

Thanks,
	- Devin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFm1nOHwyTl3GgmKcRAinnAJsEqffQjIDGGdur4VOhVPIrId/ZUQCfUOh7
qzE5P2kdLCAgGKUV2hIrGuU=
=iAPE
-----END PGP SIGNATURE-----



More information about the PLUG mailing list