Ask Your Question
0

Getting Segmentation Fault in strlen() from libc.so.1

asked 2017-11-03 11:53:14 +0000

kevin-gmail gravatar image

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?

edit retag flag offensive close merge delete

Comments

Can you run Wireshark under a debugger and post a stack trace?

Gerald Combs gravatar imageGerald Combs ( 2017-11-07 10:45:23 +0000 )edit

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 ...(more)

kevin-gmail gravatar imagekevin-gmail ( 2017-11-07 13:16:33 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-11-07 22:01:09 +0000

Guy Harris gravatar image

What is going wrong?

Wireshark has a bug. Please file a bug on this on the Wireshark Bugzilla.

(NOTE: if Wireshark crashes, that's a bug, and should be reported on the Wireshark Bugzilla.)

edit flag offensive delete link more

Comments

Moved to Wireshark Bugzilla, number 14194.

kevin-gmail gravatar imagekevin-gmail ( 2017-11-09 13:29:55 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-11-03 11:53:14 +0000

Seen: 842 times

Last updated: Nov 07 '17