Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510222 - net-analyzer/netsniff-ng-0.5.8_rc3: crashes at startup because libpcap links against libnl-1
Summary: net-analyzer/netsniff-ng-0.5.8_rc3: crashes at startup because libpcap links ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 469176
Blocks:
  Show dependency tree
 
Reported: 2014-05-13 11:26 UTC by Benjamin Block
Modified: 2014-10-20 14:35 UTC (History)
1 user (show)

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


Attachments
emerge --info (file_510222.txt,5.10 KB, text/plain)
2014-05-13 11:28 UTC, Benjamin Block
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Block 2014-05-13 11:26:04 UTC
Netsniff-ng links among others against libnl-3, libnl-genl-3 and libpcap. But the current stable libpcap links against libnl-1 (the ebuild is slotted). So, upon starting netsniff-ng, it loads both version of libnl which in turn will cause a segfault because of the several abi-breaks between these versions.

As soon as you unmerge libnl-1 and force libpcap to link only against libnl-3 (tested with 1.5.3 of libpcap with useflag netlink enabled) this will go away.

You may want to depend on dev-libs/libnl:3 alone with slot 1.1 blocked.

Foolishly I don't have the core and strace-file left on my machine. But I can reproduce these if you want.

Reproducible: Always

Steps to Reproduce:
1. Merge current stable libpcap with netlink-useflag enabled (it should depend on dev-libs/libnl:1.1)
2. Merge net-analyzer/netsniff-ng-0.5.8_rc3
3. Run netsniff-ng
Actual Results:  
Segfault

Expected Results:  
No Segfault :)
Comment 1 Benjamin Block 2014-05-13 11:28:02 UTC
Created attachment 376814 [details]
emerge --info
Comment 2 Michael Weber (RETIRED) gentoo-dev 2014-09-01 15:55:34 UTC
Does this still persist on net-libs/libpcap-1.6* ?