Getting Segmentation Fault in strlen() from libc.so.1
asked Nov 03 '17
Built from source on Solaris10 using GTK.
./autogen.sh is ok
./configure --with-qt=no --with-gtk=yes completes ok
gmake completes ok
./wireshark-gtk
1. Get pango read errors
2. start up dialog opens, ugly font and progress completes.
3. Segmentation Fault and core dump
./tshark
SEGMENTATION FAULT and core dump
What is going wrong?

Can you run Wireshark under a debugger and post a stack trace?
Stack trace from 'gdb binary core' then bt (hand typed in so may be errors):
#0 0xfba9646c in strlen () from /usr/lib/libc.so.1
#1 0xfbaf1bce in _ndoprint () from /usr/lib/libc.so.1
#2 0xfbaf4d8f in vsnprintf () from /usr/lib/libc.so.1
#3 0xfbaf119c in vasprintf () from /usr/lib/libc.so.1
#4 0xfb335a51 in g_vasprintf (string=0x8046b60, format=0x8153416 "Interface found %s\n", args=0x804700c "") at gprintf.c:315
#5 0xfb316791 in g_strdup_vprintf (format=0x8153416 "Interface found %s\n", args=0x804700c "") at gstrfuncs.c:244
#6 0xfb303458 in g_logv (log_domain=0x8158328 "Capture", log_level=G_LOG_LEVEL_DEBUG, format=0x8153416 "Interface found %s\n", args=0x804700c "") at gmessages.c:516
#7 0xfb303697 in g_log (log_domain=0x8158328 "Capture", log_level=G_LOG_LEVEL_DEBUG, format=0x8153416 "Interface found %s\n", args=0x804700c "") at gmessages.c:569
#8 0x08066f62 in cb_load_interfaces (cb_info=...) at extcap.c:1648
#9 0x0806682a in extcap_foreach (argc=argc@entry=1, args=args@entry=0x8047104, cb=cb@entry=0x8066d80 <cb_load_interfaces>, cb_info=...) at extcap.c:335
#10 0x08067292 in extcap_load_interface_list () at extcap.c:1772
#11 0x08067835 in extcap_register_preferences () at extcap.c:585
#12 0x08064e01 in main (argc=1, argv=0x8047230) at main.c:2270
Cheers