https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7808
Summary: libnl3 compatibility
Product: Wireshark
Version: SVN
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Low
Component: Dissection engine (libwireshark)
AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
ReportedBy: info@xxxxxxxxxxxxxxx
Build Information:
Dumpcap 1.9.0 (SVN Rev 45376 from /trunk)
Copyright 1998-2012 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with GLib 2.32.4, with libpcap, with libz 1.2.6, with POSIX
capabilities (Linux), with libnl 3.
Running on Linux 3.2.29, with locale en_US, with libpcap version 1.3.0, with
libz 1.2.6.
Built using gcc 4.7.1.
See http://www.wireshark.org for more information.
--
gdb$ r
Starting program: dumpcap
Program received signal SIGSEGV, Segmentation fault.
-----------------------------------------------------------------------------------------------------------------------[regs]
RAX: 0x0000000000000000 RBX: 0x00007FFFF68703C0 RCX: 0x00007FFFFFFFDE08
RDX: 0x00007FFFFFFFDE08 o d I t s Z a P c
RSI: 0x00007FFFFFFFDDF8 RDI: 0x00007FFFF666080C RBP: 0x00007FFFFFFFDD50
RSP: 0x00007FFFFFFFDD30 RIP: 0x00007FFFF705B9FE
R8 : 0x00000000000000FF R9 : 0x0000000000000007 R10: 0x00007FFFFFFFDAD0
R11: 0x00007FFFF705B9E0 R12: 0x00007FFFFFFFDDF8
R13: 0x00007FFFFFFFDE08 R14: 0x00007FFFFFFFDE08 R15: 0x00007FFFF7FFE2E8
CS: 0033 DS: 0000 ES: 0000 FS: 0000 GS: 0000 SS: 002B
-----------------------------------------------------------------------------------------------------------------------[code]
=> 0x7ffff705b9fe <genl_register+30>: mov QWORD PTR [rdi+0x10],rbx
0x7ffff705ba02 <genl_register+34>: mov DWORD PTR [rdi],eax
0x7ffff705ba04 <genl_register+36>: mov rax,QWORD PTR [rbx+0x60]
0x7ffff705ba08 <genl_register+40>: mov QWORD PTR [rdi+0x8],rax
0x7ffff705ba0c <genl_register+44>: mov eax,DWORD PTR [rbx+0x58]
0x7ffff705ba0f <genl_register+47>: mov DWORD PTR [rdi+0x4],eax
0x7ffff705ba12 <genl_register+50>: lea rax,[rip+0xfffffffffffffce7]
# 0x7ffff705b700
0x7ffff705ba19 <genl_register+57>: mov QWORD PTR [rbx+0x20],rax
-----------------------------------------------------------------------------------------------------------------------------
0x00007ffff705b9fe in genl_register () from /usr/lib64/libnl-genl-3.so.200
gdb$ where
#0 0x00007ffff705b9fe in genl_register () from /usr/lib64/libnl-genl-3.so.200
#1 0x00007ffff665b716 in ?? () from /usr/lib64/libnl.so.1
#2 0x0000000000000000 in ?? ()
because
% ldd dumpcap
linux-vdso.so.1 (0x00007fffdc5b6000)
libwsutil.so => libwsutil.so (0x00007fdd8abf0000)
libpcap.so.1 => /usr/lib64/libpcap.so.1 (0x00007fdd8a980000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007fdd8a77b000)
libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fdd8a45c000)
libz.so.1 => /lib64/libz.so.1 (0x00007fdd8a247000)
libnl-genl-3.so.200 => /usr/lib64/libnl-genl-3.so.200 (0x00007fdd8a042000)
libnl-3.so.200 => /usr/lib64/libnl-3.so.200 (0x00007fdd89e29000)
libc.so.6 => /lib64/libc.so.6 (0x00007fdd89a69000)
libusb-1.0.so.0 => /usr/lib64/libusb-1.0.so.0 (0x00007fdd8985a000)
libnl.so.1 => /usr/lib64/libnl.so.1 (0x00007fdd8960a000)
libattr.so.1 => /lib64/libattr.so.1 (0x00007fdd89406000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fdd891ea000)
librt.so.1 => /lib64/librt.so.1 (0x00007fdd88fe1000)
libm.so.6 => /lib64/libm.so.6 (0x00007fdd88ce6000)
/lib64/ld-linux-x86-64.so.2 (0x00007fdd8adf8000)
open shared library libnl.so.1 (libnl 1)
% readelf -d dumpcap | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libwsutil.so]
0x0000000000000001 (NEEDED) Shared library: [libpcap.so.1]
0x0000000000000001 (NEEDED) Shared library: [libcap.so.2]
0x0000000000000001 (NEEDED) Shared library: [libglib-2.0.so.0]
0x0000000000000001 (NEEDED) Shared library: [libz.so.1]
0x0000000000000001 (NEEDED) Shared library: [libnl-genl-3.so.200]
0x0000000000000001 (NEEDED) Shared library: [libnl-3.so.200]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
i'm currently fix it with change symbolic link libnl.so.1 to libnl-3.so.200
but,no idea to fix the code
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.