Bug 1370875 - [abrt] jwhois: __pthread_initialize_minimal_internal(): jwhois killed by SIGSEGV
Summary: [abrt] jwhois: __pthread_initialize_minimal_internal(): jwhois killed by SIGSEGV
Keywords:
Status: CLOSED DUPLICATE of bug 1364666
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:485d50927a72cb4b350e8d2d744...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-27 19:22 UTC by Eugene Marcotte
Modified: 2017-03-14 11:59 UTC (History)
21 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-14 11:59:43 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (21.58 KB, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: cgroup (276 bytes, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: core_backtrace (741 bytes, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: dso_list (895 bytes, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: environ (3.54 KB, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: exploitable (82 bytes, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: limits (1.29 KB, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: maps (4.12 KB, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: mountinfo (4.00 KB, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: namespaces (102 bytes, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: open_fds (140 bytes, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: proc_pid_status (1.09 KB, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
File: var_log_messages (28 bytes, text/plain)
2016-08-27 19:22 UTC, Eugene Marcotte
no flags Details
output of ldd libnss_wins.so.2 (487 bytes, text/plain)
2017-03-14 11:32 UTC, Eugene Marcotte
no flags Details
crashes with library paths tweaked (770 bytes, text/plain)
2017-03-14 11:41 UTC, Eugene Marcotte
no flags Details

Description Eugene Marcotte 2016-08-27 19:22:10 UTC
Description of problem:
I believe this is due to having "wins" in my /etc/nsswitch.conf.

When I do ping, whois, telnet, or other simple commands that talk to dns it seems like they all crash.

This specific example was me trying to run "whois" on one of my domains.

Version-Release number of selected component:
jwhois-4.0-46.fc24

Additional info:
reporter:       libreport-2.7.2
backtrace_rating: 3
cmdline:        whois home.emarcotte.com
crash_function: __pthread_initialize_minimal_internal
executable:     /usr/bin/jwhois
global_pid:     5634
kernel:         4.6.7-300.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 __pthread_initialize_minimal_internal at nptl-init.c:322
 #1 _init at ../sysdeps/x86_64/crti.S:72
 #2 ??
 #3 call_init at dl-init.c:58
 #5 _dl_init at dl-init.c:87
 #6 dl_open_worker at dl-open.c:564
 #7 _dl_catch_error at dl-error.c:187
 #8 _dl_open at dl-open.c:649
 #9 do_dlopen at dl-libc.c:87
 #10 _dl_catch_error at dl-error.c:187

Comment 1 Eugene Marcotte 2016-08-27 19:22:14 UTC
Created attachment 1194907 [details]
File: backtrace

Comment 2 Eugene Marcotte 2016-08-27 19:22:15 UTC
Created attachment 1194908 [details]
File: cgroup

Comment 3 Eugene Marcotte 2016-08-27 19:22:16 UTC
Created attachment 1194909 [details]
File: core_backtrace

Comment 4 Eugene Marcotte 2016-08-27 19:22:17 UTC
Created attachment 1194910 [details]
File: dso_list

Comment 5 Eugene Marcotte 2016-08-27 19:22:18 UTC
Created attachment 1194911 [details]
File: environ

Comment 6 Eugene Marcotte 2016-08-27 19:22:19 UTC
Created attachment 1194912 [details]
File: exploitable

Comment 7 Eugene Marcotte 2016-08-27 19:22:20 UTC
Created attachment 1194913 [details]
File: limits

Comment 8 Eugene Marcotte 2016-08-27 19:22:22 UTC
Created attachment 1194914 [details]
File: maps

Comment 9 Eugene Marcotte 2016-08-27 19:22:23 UTC
Created attachment 1194915 [details]
File: mountinfo

Comment 10 Eugene Marcotte 2016-08-27 19:22:24 UTC
Created attachment 1194916 [details]
File: namespaces

Comment 11 Eugene Marcotte 2016-08-27 19:22:25 UTC
Created attachment 1194917 [details]
File: open_fds

Comment 12 Eugene Marcotte 2016-08-27 19:22:26 UTC
Created attachment 1194918 [details]
File: proc_pid_status

Comment 13 Eugene Marcotte 2016-08-27 19:22:27 UTC
Created attachment 1194919 [details]
File: var_log_messages

Comment 14 Vitezslav Crhonek 2017-03-14 08:40:24 UTC
Seems to be the same issue as in rhbz#1393909. Reassigning to glibc to decide whether it's duplicate or not.

Comment 15 Florian Weimer 2017-03-14 08:55:28 UTC
(In reply to Eugene Marcotte from comment #0)
> Description of problem:
> I believe this is due to having "wins" in my /etc/nsswitch.conf.

Yes, this is fairly likely.  What's the output of this command?

ldd /lib64/libnss_wins.so.2

Comment 16 Eugene Marcotte 2017-03-14 11:32:39 UTC
Created attachment 1262866 [details]
output of ldd libnss_wins.so.2

Comment 17 Eugene Marcotte 2017-03-14 11:41:53 UTC
Created attachment 1262879 [details]
crashes with library paths tweaked

Comment 18 Eugene Marcotte 2017-03-14 11:44:37 UTC
I have since made some changes to my system (for instance moving wins after dns). Even after reverting this I can't seem to get whois to crash. I can still get ping to crash though.

The other bug mentions the samba replace library, even getting ldd to know the path to this I can't seem to convince it to not crash.

Also seems very similar to rhbz#1377729 but I'm pretty sure fedora has the fixes from samba for that one already.

Comment 19 Florian Weimer 2017-03-14 11:59:43 UTC
(In reply to Eugene Marcotte from comment #17)
> Created attachment 1262879 [details]
> crashes with library paths tweaked

ping has fscaps, so it undergoes an AT_SECURE transition during invocation, and the LD_* environment variables are ignored for security reasons.

The crash is not nice and is glibc's fault (see bug 1393909), but even if we fixed that in glibc, nss_wins would still not work due to bug 1364666.

*** This bug has been marked as a duplicate of bug 1364666 ***


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