Bug 2185402 - [abrt] lynx: memcpy(): lynx killed by SIGABRT
Summary: [abrt] lynx: memcpy(): lynx killed by SIGABRT
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lynx
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukáš Zaoral
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:5aee192b3a147ab8459a17b311c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-08 22:42 UTC by samuong
Modified: 2023-05-12 04:11 UTC (History)
6 users (show)

Fixed In Version: lynx-2.9.0-dev.12.1.fc39 lynx-2.9.0-dev.10.2.fc38.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-03 12:55:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (32.04 KB, text/plain)
2023-04-08 22:42 UTC, samuong
no flags Details
File: open_fds (211 bytes, text/plain)
2023-04-08 22:42 UTC, samuong
no flags Details
File: environ (3.31 KB, text/plain)
2023-04-08 22:42 UTC, samuong
no flags Details
File: maps (3.96 KB, text/plain)
2023-04-08 22:42 UTC, samuong
no flags Details
File: proc_pid_status (1.38 KB, text/plain)
2023-04-08 22:42 UTC, samuong
no flags Details
File: os_info (756 bytes, text/plain)
2023-04-08 22:42 UTC, samuong
no flags Details
File: cpuinfo (2.70 KB, text/plain)
2023-04-08 22:42 UTC, samuong
no flags Details
File: core_backtrace (5.17 KB, text/plain)
2023-04-08 22:42 UTC, samuong
no flags Details
File: dso_list (895 bytes, text/plain)
2023-04-08 22:42 UTC, samuong
no flags Details
File: mountinfo (3.62 KB, text/plain)
2023-04-08 22:42 UTC, samuong
no flags Details
File: limits (1.29 KB, text/plain)
2023-04-08 22:42 UTC, samuong
no flags Details

Description samuong 2023-04-08 22:42:27 UTC
Description of problem:
Seems easily reproducible, just type `lynx https://doc.rust-lang.org/std/env/index.html` into a terminal and press enter.

Version-Release number of selected component:
lynx-2.9.0-dev.10.2.fc38.3

Additional info:
reporter:       libreport-2.17.9
type:           CCpp
journald_cursor: s=a908f16ea18c414396e903934774848a;i=12bd0f;b=d54c1482083548519cc1efa1ab6a227c;m=61e3fd071;t=5f8dad50d08f0;x=f95d3745554408a1
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/run-r176cf5a1177b44efafe15b2eeb909a22.scope
reason:         lynx killed by SIGABRT
executable:     /usr/bin/lynx
package:        lynx-2.9.0-dev.10.2.fc38.3
uid:            1000
cmdline:        lynx godoc.org/net/http
runlevel:       N 5
rootdir:        /
comment:        Seems easily reproducible, just type `lynx https://doc.rust-lang.org/std/env/index.html` into a terminal and press enter.
kernel:         6.2.9-300.fc38.x86_64
backtrace_rating: 4
crash_function: memcpy

Truncated backtrace:
Thread no. 1 (12 frames)
 #7 memcpy at /usr/include/bits/string_fortified.h:29
 #8 fill_addrinfo at ../WWW/Library/Implementation/../../../WWW/Library/Implementation/HTTCP.c:1522
 #9 really_getaddrinfo at ../WWW/Library/Implementation/../../../WWW/Library/Implementation/HTTCP.c:1599
 #10 setup_nsl_fork at ../WWW/Library/Implementation/../../../WWW/Library/Implementation/HTTCP.c:819
 #11 HTGetAddrInfo at ../WWW/Library/Implementation/../../../WWW/Library/Implementation/HTTCP.c:1649
 #12 HTDoConnect at ../WWW/Library/Implementation/../../../WWW/Library/Implementation/HTTCP.c:1917
 #13 HTLoadHTTP at ../WWW/Library/Implementation/../../../WWW/Library/Implementation/HTTP.c:934
 #14 HTLoad at ../WWW/Library/Implementation/../../../WWW/Library/Implementation/HTAccess.c:706
 #15 HTLoadDocument at ../WWW/Library/Implementation/../../../WWW/Library/Implementation/HTAccess.c:945
 #16 HTLoadAbsolute at ../WWW/Library/Implementation/../../../WWW/Library/Implementation/HTAccess.c:1130
 #17 getfile.constprop.0 at /usr/src/debug/lynx-2.9.0-dev.10.2.fc38.3.x86_64/src/LYGetFile.c:810
 #18 mainloop at /usr/src/debug/lynx-2.9.0-dev.10.2.fc38.3.x86_64/src/LYMainLoop.c:5869

Comment 1 samuong 2023-04-08 22:42:31 UTC
Created attachment 1956396 [details]
File: backtrace

Comment 2 samuong 2023-04-08 22:42:33 UTC
Created attachment 1956397 [details]
File: open_fds

Comment 3 samuong 2023-04-08 22:42:34 UTC
Created attachment 1956398 [details]
File: environ

Comment 4 samuong 2023-04-08 22:42:35 UTC
Created attachment 1956399 [details]
File: maps

Comment 5 samuong 2023-04-08 22:42:37 UTC
Created attachment 1956400 [details]
File: proc_pid_status

Comment 6 samuong 2023-04-08 22:42:38 UTC
Created attachment 1956401 [details]
File: os_info

Comment 7 samuong 2023-04-08 22:42:39 UTC
Created attachment 1956402 [details]
File: cpuinfo

Comment 8 samuong 2023-04-08 22:42:41 UTC
Created attachment 1956403 [details]
File: core_backtrace

Comment 9 samuong 2023-04-08 22:42:42 UTC
Created attachment 1956404 [details]
File: dso_list

Comment 10 samuong 2023-04-08 22:42:44 UTC
Created attachment 1956405 [details]
File: mountinfo

Comment 11 samuong 2023-04-08 22:42:45 UTC
Created attachment 1956406 [details]
File: limits

Comment 12 Thomas E. Dickey 2023-04-08 23:17:48 UTC
thanks - I'll have to set up fc38 (or see if I can reproduce it in rawhide).
It doesn't break with my Debian configuration...

Comment 13 Thomas E. Dickey 2023-04-08 23:22:04 UTC
(since Fedora 38's in beta, presumably rawhide is meant)

Comment 14 Thomas E. Dickey 2023-04-08 23:27:25 UTC
dev.10 is a little old, however - more than a year out of date -

https://lynx.invisible-island.net/current/CHANGES.html#v2.9.0dev.12

vs

https://lynx.invisible-island.net/current/CHANGES.html#v2.9.0dev.10

and if I'm unable to reproduce the bug with the current development version,
would suggest that Fedora upgrade.

Comment 15 Thomas E. Dickey 2023-04-09 23:52:05 UTC
I see - the key is the "fortified" stuff (will investigate).

Comment 16 Thomas E. Dickey 2023-04-10 23:36:22 UTC
simple fix - 

https://github.com/ThomasDickey/lynx-snapshots/commit/e54344bd3252108c7c113ea773b3ae9a4e72b427

which will be in the next update for lynx.
Since it's a one-liner, it might be suitable for backports.

Comment 17 Lukáš Zaoral 2023-05-03 12:09:26 UTC
Thank you for the patch, Thomas!

I've pushed the fix to Fedora 38: https://src.fedoraproject.org/rpms/lynx/c/8d97c15d80a32da1d0fda194afbdc51c724c8ffc
And I'll push an updated version of lynx to rawhide soon.

Comment 18 Fedora Update System 2023-05-03 12:25:00 UTC
FEDORA-2023-a24a64294b has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-a24a64294b

Comment 19 Fedora Update System 2023-05-03 12:52:27 UTC
FEDORA-2023-e71d0ffa86 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e71d0ffa86

Comment 20 Fedora Update System 2023-05-03 12:55:28 UTC
FEDORA-2023-e71d0ffa86 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2023-05-04 05:31:34 UTC
FEDORA-2023-a24a64294b has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-a24a64294b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-a24a64294b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 22 Fedora Update System 2023-05-12 04:11:30 UTC
FEDORA-2023-a24a64294b has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


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