Bug 26384 - links consistently segfault on any site once its configuration has been saved once
Summary: links consistently segfault on any site once its configuration has been saved...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-27 17:07 CET by Thierry Vignaud
Modified: 2020-03-31 14:54 CEST (History)
0 users

See Also:
Source RPM: links
CVE:
Status comment:


Attachments

Description Thierry Vignaud 2020-03-27 17:07:31 CET
links consistently segfault on https://github.com/numba/llvmlite/

$ gdb -q --args links  https://github.com/numba/llvmlite/
(…)
(gdb) r
(…)
Program received signal SIGSEGV, Segmentation fault.
0x000000000048abe0 in update_assoc ()
(gdb) bt
#0  0x000000000048abe0 in update_assoc ()
#1  0x000000000041e8d8 in type_rd ()
#2  0x000000000041eefa in load_config_file ()
#3  0x0000000000420054 in load_config ()
#4  0x000000000046696e in init ()
#5  0x0000000000478ec9 in select_loop ()
#6  0x000000000040756f in main ()
Comment 1 David Walser 2020-03-28 16:08:28 CET
Links upstream says if you find a bug:

Send bugreport to the following four addresses:
mikulas at twibright.com
brain at twibright.com
clock at twibright.com
perm at twibright.com
Bugreport should include how to invoke the bug, what version you have got, what operation system do you run Links, and if you know it, then also what capabilities have been compiled in Links.
If Links segfaults, then look if you got the core. If not, switch the coredump on with "ulimit -c unlimited" and segault links with the bug one more time. Then archive the core. Do not send the core as an attachment.
Comment 2 Thierry Vignaud 2020-03-30 15:01:33 CEST
Well, it's a downstream issue.
The same version works fine on Fedora…
Comment 3 Thierry Vignaud 2020-03-30 15:10:27 CEST
Humm interestingly it works with some local accounts and not with others…
Comment 4 Thierry Vignaud 2020-03-30 15:11:20 CEST
It happens when parsing ~/.links/links.cfg…
Comment 5 Thierry Vignaud 2020-03-30 15:21:16 CEST
OK, for any accounts, links will segfault on any site, providing you:
* save settings (<esp>, then <Esp> Setup>Langage>French)
* quit
* restart links

Whatever the langage is (tested with both English & French)

The same works fine on eg Fedora
Comment 6 Thierry Vignaud 2020-03-30 15:29:07 CEST
Disabling patch 23 (links-2.15-dont-have-two-assocations-with-same-label--otherwise-one-cant-override-shared-config.patch) fixes that…

This one is a very old one:

* Sat Oct 08 2005 Pixel <pixel@mandriva.com> 2.1-0.pre18.6mdk
  - don't have two assocations with same label, otherwise one can't override shared config
Comment 7 Thierry Vignaud 2020-03-30 15:44:42 CEST
links-2.14-1.mga6 was good
links-2.19-1.mga7 was broken

There's nothing standing out in the 2.15 rediff but I'll dig further…
Thierry Vignaud 2020-03-30 16:03:03 CEST

Summary: links consistently segfault on https://github.com/numba/llvmlite/ => links consistently segfault on any site once its configuration has been saved once

Comment 8 Thierry Vignaud 2020-03-31 14:54:47 CEST
Patch disabled for now

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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