Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 86432 - Update to glibc-2.3.2-4.80 breaks netscape communicator
Update to glibc-2.3.2-4.80 breaks netscape communicator
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
athlon Linux
medium Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-03-21 16:27 EST by Abramo Bagnara
Modified: 2016-11-24 09:57 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-11-05 14:40:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
gdb traceback, instruction decode, reg value, NULL pointer reference (1.34 KB, text/plain)
2004-07-29 18:00 EDT, Anil Chandiramani
no flags Details

  None (edit)
Description Abramo Bagnara 2003-03-21 16:27:40 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030314

Description of problem:
After upgrade to glibc-2.3.2-4.80 netscape give Bus Error at invocation time.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. type netscape and press enter ;-)

Actual Results:  Bus error

Expected Results:  Netscape Communicator window appears

Additional info:

A gdb session reveal that _pthread_cleanup_upto is the location of the
segmentation fault:

$ gdb /usr/lib/netscape/netscape-communicator 
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(no debugging symbols found)...
(gdb) r
Starting program: /usr/lib/netscape/netscape-communicator 
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 16384 (LWP 1388)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 1388)]
0x407f492f in __pthread_cleanup_upto () from /lib/libpthread.so.0
(gdb) c

Program received signal SIGBUS, Bus error.
0x40239f81 in kill () from /lib/libc.so.6

Kernel running is vanilla 2.4.20 but also trying with 2.4.18-27.8.0 from Redhat
Updates netscape gives the same error.
Comment 1 Jakub Jelinek 2003-03-26 12:50:58 EST
Can you please try ftp://people.redhat.com/jakub/glibc/errata/8.0/ ?
Comment 2 Abramo Bagnara 2003-03-26 16:49:34 EST
I get exactly the same results also after installing RPMS in
ftp://people.redhat.com/jakub/glibc/errata/8.0/ as you suggest.

I've also tried to reboot the machine after this test upgrade, but nothing has
Comment 3 Jakub Jelinek 2003-03-29 03:49:14 EST
One more attempt: ftp://people.redhat.com/jakub/glibc/errata/8.0/*4.80.3*
There were apparently more things needed on kernels which provide broken
AT_PLATFORM aux vector element.
Comment 4 Abramo Bagnara 2003-03-29 17:50:05 EST
Using 4.80.3 as you suggest I get the following results:

$ /usr/bin/netscape
Bus error


$ /usr/lib/netscape/netscape-communicator 


I've traced the culprit in:

$ LD_ASSUME_KERNEL=2.2.5 /usr/lib/netscape/netscape-communicator 
Bus error

Does this means this is a bug in netscape wrapper script?
Comment 5 Ulrich Drepper 2003-11-05 14:40:23 EST
The latter command line makes the runtime use a glibc with an older
ABI.  The difference is in how thread stacks are handled.  It seems
the netscape version relies on something weird in the memory layout. 
This certainly isn't guaranteed.

Given how badly the netscpae 4 code was (judging from the first
mozilla code) I am not at all surprised.  If the code without
LD_ASSUME_KERNEL works, fine, use it.  It's not worth spending time on
the other case.  Use mozilla with has much better code and actually works.

I'm closing the bug.  I don't think there is anything we should do. 
Reopen if you disagree and have a proposal for how to go forward.
Comment 6 Anil Chandiramani 2004-07-29 18:00:24 EDT
Created attachment 102306 [details]
gdb traceback, instruction decode, reg value, NULL pointer reference

This problem is reproducible with pthreaded code.
It involves attempting a longjmp from a signal handler after SIGSEGV.
It seems to depend on where the setjmp() was done i.e., not all SIGSEGV
handling cause it.
Core file is available.

Note You need to log in before you can comment on or make changes to this bug.