Summary: | sys-power/nut-2.6.5-r1 - nut-scanner: segmentation fault due to calling pthread_join on an invalid thread_t id, when it is run without arguments | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lukas Sandström <luksan> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | jstein, prometheanfire |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to prevent nut-scanner segfault. |
Description
Lukas Sandström
2014-09-28 16:18:22 UTC
after the patch it still segfaults (gdb) exec /usr/bin/nut-scanner (gdb) (gdb) run Starting program: /usr/bin/nut-scanner warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Cannot load USB library (libusb-0.1) : file not found. USB search disabled. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff74121db in ?? () from /usr/lib64/libltdl.so.7 can you try 2.7.2? please test with sys-power/nut-2.7.4-r8, reopen, if the bug still exists At least here it does not segfault with sys-power/nut-2.7.4-r8: /usr/bin/nut-scanner Scanning USB bus. No start IP, skipping NUT bus (old connect method) |