Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655776 - mail-client/neomutt-20180323 with sys-libs/ncurses-6.1-r2 - neomutt segfaults on start
Summary: mail-client/neomutt-20180323 with sys-libs/ncurses-6.1-r2 - neomutt segfaults...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nicolas Bock
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ncurses-6.1
  Show dependency tree
 
Reported: 2018-05-15 05:17 UTC by Lucian Poston
Modified: 2018-06-07 10:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucian Poston 2018-05-15 05:17:13 UTC
Same linker issue with libtinfo.so.6 linked before libtinfow.so.6 as described in https://bugs.gentoo.org/651552

Tracker issue for ncurses-6.1: https://bugs.gentoo.org/652080

workaround:
LD_PRELOAD=/lib64/libtinfow.so.6 neomutt

gdb bt:
#0  0x00007ffff6d10dc8 in _nc_setupscreen_sp () from /lib64/libncursesw.so.6
#1  0x00007ffff6d0c3ff in newterm_sp () from /lib64/libncursesw.so.6
#2  0x00007ffff6d0c8f8 in newterm () from /lib64/libncursesw.so.6
#3  0x00007ffff6d081e3 in initscr () from /lib64/libncursesw.so.6
#4  0x00005555555a985b in start_curses () at main.c:145
#5  0x00005555555aa1c0 in main (argc=1, argv=0x7fffffffdde8, env=<optimized out>) at main.c:447
Comment 1 Nicolas Bock gentoo-dev 2018-06-06 12:27:48 UTC
Jason, I can't reproduce this with neomutt-99999999 or neomutt-20180512. Could you try this again? Thanks!
Comment 2 Richard Russon 2018-06-06 21:46:19 UTC
I can confirm the problem, but only for:
- version 2018-03-23
- slang (not curses)
- only for `-v` and `-h` where the UI wasn't started

It was fixed in release 2018-05-12
Commit: https://github.com/neomutt/neomutt/commit/2e179d322
Comment 3 Lucian Poston 2018-06-06 22:25:23 UTC
The issue isn't present in version 20180512 or 99999999
Comment 4 Nicolas Bock gentoo-dev 2018-06-07 10:36:37 UTC
Thanks Rich and Lucian for the additional information! I will close this ticket then. Please re-open or open a new ticket if necessary.