[lubuntu-users] Using Pentium 3 Machines on Lubuntu--posting from "the top"--ode to PPC <snif>

Ian Bruntlett ian.bruntlett at gmail.com
Sun May 14 19:45:53 UTC 2017


Hi All,

Regarding the Firefox crash. Using Synaptic Package manager I installed the
Firefox debug symbols package firefox-dbg.

I then ran Firefox 3 times in gdb. It consistently crashes in a function
being called by:-
/build/firefox-wWifUV/firefox-53.0.2+build1/js/src/jit/BaselineJIT.cpp:157

I've attached more detailed files to this message.

I believe that Firefox is creating object code on the fly that is not
always compatible with some 32-bit systems.

Before I can prove that I'll have to learn how to use gdb a bit better,
look at the Firefox source code first and also brush up on my assembly
language.

BW,


Ian

-- 
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/
-- Free Software page - https://sites.google.com/site/
ianbruntlett/home/free-software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20170514/d6d3e40c/attachment.html>
-------------- next part --------------
jules at verne:~$ lscpu
Architecture:          i686
CPU op-mode(s):        32-bit
Byte Order:            Little Endian
CPU(s):                1
On-line CPU(s) list:   0
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 8
Model name:            Pentium III (Coppermine)
Stepping:              6
CPU MHz:               647.186
BogoMIPS:              1294.37
Flags:                 fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pse36 mmx fxsr sse
jules at verne:~$ free -h
              total        used        free      shared  buff/cache   available
Mem:           493M         80M        247M        2.3M        164M        388M
Swap:          952M         44M        908M
jules at verne:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.2 LTS
Release:	16.04
Codename:	xenial
jules at verne:~$
-------------- next part --------------

jules at verne:/usr/lib/firefox$ less firefox.sh
jules at verne:/usr/lib/firefox$ file firefox
firefox: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=b7e07ebbac37c15d1d764c45a45ceb1710622671, stripped


jules at verne:/usr/lib/firefox$ gdb firefox
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 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 "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from firefox...Reading symbols from /usr/lib/debug//usr/lib/firefox/firefox...done.
done.
(gdb) run
Starting program: /usr/lib/firefox/firefox 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb15d7b40 (LWP 2591)]
[Thread 0xb15d7b40 (LWP 2591) exited]
[New Thread 0xb15d7b40 (LWP 2593)]
[New Thread 0xae9deb40 (LWP 2594)]
[New Thread 0xae1ddb40 (LWP 2595)]
[New Thread 0xad9dcb40 (LWP 2596)]
[New Thread 0xacfffb40 (LWP 2597)]
[New Thread 0xac7feb40 (LWP 2598)]
[New Thread 0xabffdb40 (LWP 2599)]
[New Thread 0xab7fcb40 (LWP 2600)]
[New Thread 0xaaffbb40 (LWP 2601)]
[New Thread 0xaa7fab40 (LWP 2602)]
[New Thread 0xa9affb40 (LWP 2603)]
[New Thread 0xa92feb40 (LWP 2604)]
[New Thread 0xa8afdb40 (LWP 2605)]
[New Thread 0xa80ffb40 (LWP 2606)]

Thread 1 "firefox" received signal SIGILL, Illegal instruction.
0x3b93e26c in ?? ()
(gdb) backtrace
	#0  0x3b93e26c in ?? ()
#1  0x3b9304d9 in ?? ()
#2  0xb4177dd5 in EnterBaseline (cx=0x0, cx at entry=0xad0c7000, data=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/jit/BaselineJIT.cpp:157
#3  0xb417bab7 in js::jit::EnterBaselineMethod (cx=0xad0c7000, state=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/jit/BaselineJIT.cpp:195
#4  0xb3c09930 in js::RunScript (cx=0xad0c7000, state=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/vm/Interpreter.cpp:396
#5  0xb3c09d38 in js::InternalCallOrConstruct (cx=0xad0c7000, args=..., 
    construct=js::NO_CONSTRUCT)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/vm/Interpreter.cpp:478
#6  0xb3c0a6bb in InternalCall (args=..., cx=0xad0c7000)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/vm/Interpreter.cpp:505
#7  js::Call (cx=0xad0c7000, fval=..., thisv=..., args=..., rval=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/vm/Interpreter.cpp:524
#8  0xb3eea6b0 in js::Wrapper::call (
    this=0xb5e1f11c <js::CrossCompartmentWrapper::singleton>, cx=0xad0c7000, 
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) quit
A debugging session is active.

	Inferior 1 [process 2569] will be killed.

Quit anyway? (y or n) y
jules at verne:/usr/lib/firefox$ 
-------------- next part --------------

jules at verne:/usr/lib/firefox$ gdb firefox
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 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 "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from firefox...Reading symbols from /usr/lib/debug//usr/lib/firefox/firefox...done.
done.
(gdb) run
Starting program: /usr/lib/firefox/firefox 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb15d7b40 (LWP 2851)]
[Thread 0xb15d7b40 (LWP 2851) exited]
[New Thread 0xb15d7b40 (LWP 2853)]
[New Thread 0xae9deb40 (LWP 2854)]
[New Thread 0xae1ddb40 (LWP 2855)]
[New Thread 0xad9dcb40 (LWP 2856)]
[New Thread 0xacfffb40 (LWP 2857)]
[New Thread 0xac7feb40 (LWP 2858)]
[New Thread 0xabffdb40 (LWP 2859)]
[New Thread 0xab7fcb40 (LWP 2860)]
[New Thread 0xaaffbb40 (LWP 2861)]
[New Thread 0xaa7fab40 (LWP 2862)]
[New Thread 0xa9affb40 (LWP 2863)]
[New Thread 0xa92feb40 (LWP 2864)]
[New Thread 0xa8afdb40 (LWP 2865)]
[New Thread 0xa80ffb40 (LWP 2866)]

Thread 1 "firefox" received signal SIGILL, Illegal instruction.
0x5a23626c in ?? ()
(gdb) backtrace
#0  0x5a23626c in ?? ()
#1  0x5a2284d9 in ?? ()
#2  0xb4177dd5 in EnterBaseline (cx=0x0, cx at entry=0xad0c7000, data=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/jit/BaselineJIT.cpp:157
#3  0xb417bab7 in js::jit::EnterBaselineMethod (cx=0xad0c7000, state=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/jit/BaselineJIT.cpp:195
#4  0xb3c09930 in js::RunScript (cx=0xad0c7000, state=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/vm/Interpreter.cpp:396
#5  0xb3c09d38 in js::InternalCallOrConstruct (cx=0xad0c7000, args=..., construct=js::NO_CONSTRUCT)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/vm/Interpreter.cpp:478
#6  0xb3c0a6bb in InternalCall (args=..., cx=0xad0c7000)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/vm/Interpreter.cpp:505
#7  js::Call (cx=0xad0c7000, fval=..., thisv=..., args=..., rval=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/vm/Interpreter.cpp:524
#8  0xb3eea6b0 in js::Wrapper::call (this=0xb5e1f11c <js::CrossCompartmentWrapper::singleton>, cx=0xad0c7000, proxy=..., 
    args=...) at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/proxy/Wrapper.cpp:165
#9  0xb3edd964 in js::CrossCompartmentWrapper::call (this=0xb5e1f11c <js::CrossCompartmentWrapper::singleton>, 
    cx=0xad0c7000, wrapper=..., args=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/proxy/CrossCompartmentWrapper.cpp:333
#10 0xb3ee5865 in js::Proxy::call (args=..., proxy=..., cx=0xad0c7000)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/proxy/Proxy.cpp:421
#11 js::proxy_Call (cx=0xad0c7000, argc=1, vp=0xbfffae68)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/proxy/Proxy.cpp:662
#12 0xb3c09e28 in js::CallJSNative (args=..., native=0xb3ee57a0 <js::proxy_Call(JSContext*, unsigned int, JS::Value*)>, 
    cx=0xad0c7000) at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/jscntxtinlines.h:239
#13 js::InternalCallOrConstruct (cx=0xad0c7000, args=..., construct=js::NO_CONSTRUCT)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/vm/Interpreter.cpp:448
#14 0xb3c0a6bb in InternalCall (args=..., cx=0xad0c7000)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/vm/Interpreter.cpp:505
#15 js::Call (cx=0xad0c7000, fval=..., thisv=..., args=..., rval=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/vm/Interpreter.cpp:524
#16 0xb3e630de in JS_CallFunctionValue (cx=0xad0c7000, obj=..., fval=..., args=..., rval=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/src/jsapi.cpp:2788
#17 0xb20d6248 in nsXPCWrappedJSClass::CallQueryInterfaceOnJSObject (this=0xa9c64970, cx=0xad0c7000, jsobjArg=0xa75265e0, 
    aIID=...) at /build/firefox-wWifUV/firefox-53.0.2+build1/js/xpconnect/src/XPCWrappedJSClass.cpp:243
#18 0xb20d7e47 in nsXPCWrappedJSClass::DelegatedQueryInterface (this=0xa9c64970, self=0xa773d900, aIID=..., 
    aInstancePtr=0xbfffb168) at /build/firefox-wWifUV/firefox-53.0.2+build1/js/xpconnect/src/XPCWrappedJSClass.cpp:525
#19 0xb20d8216 in nsXPCWrappedJS::QueryInterface (this=0xa773d900, aIID=..., aInstancePtr=0xbfffb168)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/js/xpconnect/src/XPCWrappedJS.cpp:231
#20 0xb1b968a9 in nsXPTCStubBase::QueryInterface (this=0xa7728030, aIID=..., aInstancePtr=0xbfffb168)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/xpcom/reflect/xptcall/xptcall.cpp:25
#21 0xb1b9ff92 in nsQueryInterfaceWithError::operator() (this=this at entry=0xbfffb194, aIID=..., 
    aAnswer=aAnswer at entry=0xbfffb168) at /build/firefox-wWifUV/firefox-53.0.2+build1/xpcom/glue/nsCOMPtr.cpp:27
#22 0xb1ba0040 in nsCOMPtr_base::assign_from_qi_with_error (this=this at entry=0xbfffb190, aQI=..., aIID=...)
    at /build/firefox-wWifUV/firefox-53.0.2+build1/xpcom/glue/nsCOMPtr.cpp:62
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) quit
A debugging session is active.

	Inferior 1 [process 2824] will be killed.

Quit anyway? (y or n) y


More information about the Lubuntu-users mailing list