Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#55668 - [nss] Illegal Instruction on i686

Attached to Project: Arch Linux
Opened by Paul Gover (goverp) - Monday, 18 September 2017, 13:03 GMT
Last edited by Jan de Groot (JGC) - Monday, 16 October 2017, 07:37 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Sorry this is for the soon to be unsupported i686 version. But I'm not buying a new desktop machine just for you :-)

Hit this after most recent pacman -Suy. Seamonkey then dies with an Illegal Instruction and coredump. The coredump backtrace shows it's thrown in libfreeblpriv3.so, which is part of nss.
The version of nss in use at the time was 3.32-1.
Downgrading to my previous version 3.31-3 cured the problem.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 16 October 2017, 07:37 GMT
Reason for closing:  Fixed
Comment by Paul Gover (goverp) - Monday, 18 September 2017, 16:02 GMT
Steps to reproduce:
Start seamonkey from a command window on an i686 system - mine uses LXDE. It asks for my master password (I suspect this needs to be configured, given where it blows up), and then dies with an Illegal Instruction exception.

Other info:
Here's the traceback from the coredump.

Using host libthread_db library "/usr/lib/libthread_db.so.1".
backtraceCore was generated by `seamonkey'.
Program terminated with signal SIGILL, Illegal instruction.
#0 0xb7744cd9 in __kernel_vsyscall ()
[Current thread is 1 (Thread 0xa7ffeb40 (LWP 538))]
(gdb) backtrace
#0 0xb7744cd9 in __kernel_vsyscall ()
#1 0xb7719c12 in raise () at /usr/lib/libpthread.so.0
#2 0xb3073d4d in () at /usr/lib/seamonkey-2.46/libxul.so
#3 0xb7744cf0 in <signal handler called> ()
#4 0xa1f5be9c in swap_conditional.constprop () at /usr/lib/libfreeblpriv3.so
#5 0xa1f5c2d3 in ec_Curve25519_mul () at /usr/lib/libfreeblpriv3.so
#6 0xa1f2c719 in ec_Curve25519_pt_mul () at /usr/lib/libfreeblpriv3.so
#7 0xa1f26a28 in ec_NewKey () at /usr/lib/libfreeblpriv3.so
#8 0xa1f26bef in EC_NewKey () at /usr/lib/libfreeblpriv3.so
#9 0xa1fce08a in NSC_GenerateKeyPair () at /usr/lib/libsoftokn3.so
#10 0xb0d5ffa8 in PK11_GenerateKeyPairWithOpFlags () at /usr/lib/libnss3.so
#11 0xb0d58ecf in SECKEY_CreateECPrivateKey () at /usr/lib/libnss3.so
#12 0xb0ed25ac in ssl_CreateECDHEphemeralKeyPair () at /usr/lib/libssl3.so
#13 0xb0ed270e in ssl3_SendECDHClientKeyExchange () at /usr/lib/libssl3.so
#14 0xb0eca613 in ssl3_SendClientSecondRound () at /usr/lib/libssl3.so
#15 0xb0ecc6f6 in ssl3_HandleHandshakeMessage () at /usr/lib/libssl3.so
#16 0xb0ecfeb9 in ssl3_HandleRecord () at /usr/lib/libssl3.so
#17 0xb0ed736b in ssl3_GatherCompleteHandshake () at /usr/lib/libssl3.so
#18 0xb0ed9497 in ssl_GatherRecord1stHandshake () at /usr/lib/libssl3.so
#19 0xb0edba2a in ssl_Do1stHandshake () at /usr/lib/libssl3.so
#20 0xb0edd040 in ssl_SecureSend () at /usr/lib/libssl3.so
#21 0xb0ee0be7 in ssl_Send () at /usr/lib/libssl3.so
#22 0xb2f560e7 in () at /usr/lib/seamonkey-2.46/libxul.so
#23 0xb2f5616f in () at /usr/lib/seamonkey-2.46/libxul.so
#24 0xb15ea2fe in () at /usr/lib/seamonkey-2.46/libxul.so
#25 0xb17a9ef6 in () at /usr/lib/seamonkey-2.46/libxul.so
#26 0xb17aa17a in () at /usr/lib/seamonkey-2.46/libxul.so
#27 0xb17aa4c0 in () at /usr/lib/seamonkey-2.46/libxul.so
#28 0xb15e3297 in () at /usr/lib/seamonkey-2.46/libxul.so
#29 0xb15ebb92 in () at /usr/lib/seamonkey-2.46/libxul.so
#30 0xb15e8c3c in () at /usr/lib/seamonkey-2.46/libxul.so
#31 0xb15e921a in () at /usr/lib/seamonkey-2.46/libxul.so
#32 0xb155e188 in () at /usr/lib/seamonkey-2.46/libxul.so
#33 0xb1579f8d in () at /usr/lib/seamonkey-2.46/libxul.so
#34 0xb18533e5 in () at /usr/lib/seamonkey-2.46/libxul.so
#35 0xb183b754 in () at /usr/lib/seamonkey-2.46/libxul.so
#36 0xb183b868 in () at /usr/lib/seamonkey-2.46/libxul.so
#37 0xb15610f0 in () at /usr/lib/seamonkey-2.46/libxul.so
#38 0xb7230a07 in () at /usr/lib/libnspr4.so
#39 0xb770de56 in start_thread () at /usr/lib/libpthread.so.0
#40 0xb73922b6 in clone () at /usr/lib/libc.so.6
Comment by Jan Alexander Steffens (heftig) - Wednesday, 20 September 2017, 17:05 GMT
NSS requires SSE2. Does your CPU support SSE2?
Comment by Paul Gover (goverp) - Friday, 22 September 2017, 19:46 GMT
No, it's a Pentium III, and only does SSE. But that doesn't explain why seamonkey's worked for the last 10 years or thereabouts!
Comment by Jan Alexander Steffens (heftig) - Friday, 22 September 2017, 20:05 GMT
The requirements on NSS changed.
Comment by Jan de Groot (JGC) - Thursday, 05 October 2017, 08:40 GMT Comment by Jan de Groot (JGC) - Thursday, 05 October 2017, 20:51 GMT
Please test 3.33-2 which is in testing. You can install the package on its own, it was built in extra-i686/extra-x86_64 chroot.
Comment by Paul Gover (goverp) - Friday, 06 October 2017, 10:04 GMT
Thanks muchly.

Can't test for about a week, as I'm on holiday away from the offensive machine.

Loading...