Messages in this thread | | | Date | Sat, 07 Feb 1998 19:37:39 -0500 (EST) | From | Robert Gash <> | Subject | RE: Bus Errors! |
| |
I don't notice this only with Java. I have 2.1.85 on my system, and I cannot even start Netscape v4.04 (Navigator standalone version). Every time, no matter what happens, I get a bus error, likewise v3.01 gives a bus error when attempting to start Java. I don't know why this is, but I do know there is no way I can use 4.04 on my system due to bus errors. Has anyone else had this problem with 4.04? (Attached is ldd output for netscape). I should note that that is libc 5.4.41, and I have XFree 3.3.1, with all of the X11R6.2 libs installed.
---BEGIN ldd OUTPUT--- [gashalot@gashalot]/opt/netscape$ ldd ./netscape libXt.so.6 => /usr/lib/libXt.so.6 (0x4000c000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4004f000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40057000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4006b000) libXpm.so.4 => /usr/lib/libXpm.so.4 (0x4007c000) libXext.so.6 => /usr/lib/libXext.so.6 (0x40089000) libX11.so.6 => /usr/lib/libX11.so.6 (0x40092000) libdl.so.1 => /lib/libdl.so.1 (0x4010f000) libc.so.5 => /lib/libc.so.5 (0x40112000) libm.so.5 => /lib/libm.so.5 (0x401ce000) ---END ldd OUTPUT---
On 07-Feb-98 Suman_Saraf was overheard by robert saying: | Sorry for the earlier goof up with the cd thing :-) What I was trying out | is :- | | This is a snip from man 7 signal | ---------------- | A SIGBUS is missing; this is because the 386 hardware does | not generate such a signal, but makes porting from other | architectures unnecessarily difficult. | ---------------- | Then how come netscape dumps core with a bus error on my 386 running Linux | (when I try to access a Java Enables page)?? | | I have upgraded my libc with gnumalloc() patch and now it is ok but what I | want to point out is how is a bus error generated in the 1st case on a 386 | machine when the man page says otherwise. | | And one more question: Do the later x86's generate this signal ? | | I tried this program :- | | main() | { | long l=1234; | char *c ; | int *i; | c=&l; | c++; | i=&l; | printf("%d\n",i); | printf("%d\n",*i); | i=(int *)c; | printf("%d\n",i); | printf("%d",*i); | } | | As fas as my CS theory goes , bus error occurs when I try to access an int | on an odd location. This program dumps core with a bus error on HP-UX and | Solaris and not on Linux . | | Any pointers would be greatly appreciated. | | Also I would like to know , has anyone ever come across a program on Linux | which dumps core with a SIG_BUS other than netscape ?? | | --suman | | I---------------------------------------------------------------------------- | I | I Suman Saraf http://oasis3.hss.hns.com/~suman. | I | I Satellite Networking Division, PGP: finger suman@gabbar.svrec.ernet.in. | I | I Thuraya-Mobilsat-OMC http://www.hughes-soft.com. | I | I Hughes Software Systems,Plot 31, Sector 18 , Electronic City,Gurgaon. | I | I Tel: 343703-08 Ext: 2423. | I | I | ---------------------------------------------------------------------------I | I Great operating systems have always encountered | I | I violent opposition from mediocre minds. I | I --Anonymous | I | I---------------------------------------------------------------------------- | I | | | - | To unsubscribe from this list: send the line "unsubscribe linux-kernel" in | the body of a message to majordomo@vger.rutgers.edu
robert gash -=| e-mail - gashalot@gashalot.com -=| webmaster - gashalot.com gnu.net -=| message sent on 07-Feb-98 at 19:34:25. -=| quote of the message: The best book on programming for the layman is "Alice in Wonderland"; but that's because it's the best book on anything for the layman.
-=| personal pgp information http://keys.pgp.com:11371/pks/lookup?op=get&search=0x10023641 key fingerprint = 52 8E 22 19 73 D7 DF 1A B6 5C 2F 80 1C F1 86 F4 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |