Wireshark-bugs: [Wireshark-bugs] [Bug 3855] Wireshark core dumps when decrypting SSL traffic wit
Date: Tue, 11 Aug 2009 07:51:54 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3855





--- Comment #2 from Matt Ball <matthew.ball@xxxxxxx>  2009-08-11 07:51:53 PDT ---
I found another core file in the ~/.wireshark directory.  This might be the
correct one:

(It looks like the coredump may have been from a call to strlen (via vfprintf)
from within ssl_debug_printf).  

Maybe the SSL debug code is trying to print out a bogus value that the Solaris
vfprintf function can't handle?

root@espanola ~/.wireshark
$ gdb /opt/csw/bin/wireshark core
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.8"...
(no debugging symbols found)
Reading symbols from /opt/csw/lib/libwiretap.so.0...(no debugging symbols
found)...done.
Loaded symbols for /opt/csw/lib/i386/libwiretap.so.0
Reading symbols from /opt/csw/lib/libwireshark.so.0...(no debugging symbols
found)...done.
Loaded symbols for /opt/csw/lib/i386/libwireshark.so.0
Reading symbols from /opt/csw/lib/pentium/libcrypto.so.0.9.8...done.
Loaded symbols for /opt/csw/lib/pentium/libcrypto.so.0.9.8
Reading symbols from /opt/csw/lib/pentium_pro/libpcre.so.0...done.
Loaded symbols for /opt/csw/lib/pentium_pro/libpcre.so.0
Reading symbols from /opt/csw/lib/pentium_pro/libbz2.so.1.0...done.
Loaded symbols for /opt/csw/lib/pentium_pro/libbz2.so.1.0
Reading symbols from /opt/csw/lib/pentium_pro/libreadline.so.5...done.
Loaded symbols for /opt/csw/lib/pentium_pro/libreadline.so.5
Reading symbols from /opt/csw/lib/libpcap.so...done.
Loaded symbols for /opt/csw/lib/i386/libpcap.so
Reading symbols from /opt/csw/lib/libgtk-x11-2.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libgtk-x11-2.0.so.0
Reading symbols from /opt/csw/lib/libgdk-x11-2.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libgdk-x11-2.0.so.0
Reading symbols from /opt/csw/lib/libatk-1.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libatk-1.0.so.0
Reading symbols from /opt/csw/lib/libgdk_pixbuf-2.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libgdk_pixbuf-2.0.so.0
Reading symbols from /opt/csw/lib/libgio-2.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libgio-2.0.so.0
Reading symbols from /opt/csw/lib/libpangocairo-1.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libpangocairo-1.0.so.0
Reading symbols from /opt/csw/lib/libpangoft2-1.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libpangoft2-1.0.so.0
Reading symbols from /opt/csw/lib/libcairo.so.2...done.
Loaded symbols for /opt/csw/lib/i386/libcairo.so.2
Reading symbols from /opt/csw/lib/libpixman-1.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libpixman-1.so.0
Reading symbols from /opt/csw/lib/libpng12.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libpng12.so.0
Reading symbols from /opt/csw/lib/libXrender.so.1...done.
Loaded symbols for /opt/csw/lib/i386/libXrender.so.1
Reading symbols from /opt/csw/lib/libX11.so.6...done.
Loaded symbols for /opt/csw/lib/i386/libX11.so.6
Reading symbols from /opt/csw/lib/libxcb-xlib.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libxcb-xlib.so.0
Reading symbols from /opt/csw/lib/libxcb.so.1...done.
Loaded symbols for /opt/csw/lib/i386/libxcb.so.1
Reading symbols from /opt/csw/lib/libXau.so.6...done.
Loaded symbols for /opt/csw/lib/i386/libXau.so.6
Reading symbols from /opt/csw/lib/libXdmcp.so.6...done.
Loaded symbols for /opt/csw/lib/i386/libXdmcp.so.6
Reading symbols from /opt/csw/lib/libpango-1.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libpango-1.0.so.0
Reading symbols from /opt/csw/lib/libfontconfig.so.1...done.
Loaded symbols for /opt/csw/lib/i386/libfontconfig.so.1
Reading symbols from /opt/csw/lib/libfreetype.so.6...done.
Loaded symbols for /opt/csw/lib/i386/libfreetype.so.6
Reading symbols from /opt/csw/lib/pentium_pro/libexpat.so.1...done.
Loaded symbols for /opt/csw/lib/pentium_pro/libexpat.so.1
Reading symbols from /opt/csw/lib/libgobject-2.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libgobject-2.0.so.0
Reading symbols from /opt/csw/lib/libgmodule-2.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libgmodule-2.0.so.0
Reading symbols from /lib/libdl.so.1...done.
Loaded symbols for /lib/libdl.so.1
Reading symbols from /opt/csw/lib/libgthread-2.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libgthread-2.0.so.0
Reading symbols from /lib/libpthread.so.1...
warning: Lowest section in /lib/libpthread.so.1 is .dynamic at 00000074
done.
Loaded symbols for /lib/libpthread.so.1
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /opt/csw/lib/libglib-2.0.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libglib-2.0.so.0
Reading symbols from /opt/csw/lib/libsunmath.so.1...done.
Loaded symbols for /opt/csw/lib/i386/libsunmath.so.1
Reading symbols from /lib/libm.so.1...done.
Loaded symbols for /lib/libm.so.1
Reading symbols from /lib/libthread.so.1...
warning: Lowest section in /lib/libthread.so.1 is .dynamic at 00000074
done.
Loaded symbols for /lib/libthread.so.1
Reading symbols from /opt/csw/lib/pentium_pro/libncurses.so.5...done.
Loaded symbols for /opt/csw/lib/pentium_pro/libncurses.so.5
Reading symbols from /opt/csw/lib/pentium_pro/libkrb5.so.3...done.
Loaded symbols for /opt/csw/lib/pentium_pro/libkrb5.so.3
Reading symbols from /opt/csw/lib/pentium_pro/libk5crypto.so.3...done.
Loaded symbols for /opt/csw/lib/pentium_pro/libk5crypto.so.3
Reading symbols from /opt/csw/lib/pentium_pro/libcom_err.so.3...done.
Loaded symbols for /opt/csw/lib/pentium_pro/libcom_err.so.3
Reading symbols from /opt/csw/lib/libgnutls.so.13...done.
Loaded symbols for /opt/csw/lib/i386/libgnutls.so.13
Reading symbols from /opt/csw/lib/libgcrypt.so.11...done.
Loaded symbols for /opt/csw/lib/i386/libgcrypt.so.11
Reading symbols from /opt/csw/lib/libgpg-error.so.0...done.
Loaded symbols for /opt/csw/lib/i386/libgpg-error.so.0
Reading symbols from /opt/csw/lib/pentium_pro/libintl.so.8...done.
Loaded symbols for /opt/csw/lib/pentium_pro/libintl.so.8
Reading symbols from /opt/csw/lib/pentium_pro/libiconv.so.2...done.
Loaded symbols for /opt/csw/lib/pentium_pro/libiconv.so.2
Reading symbols from /lib/libc.so.1...done.
Loaded symbols for /lib/libc.so.1
Reading symbols from /lib/libsocket.so.1...done.
Loaded symbols for /lib/libsocket.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /opt/csw/lib/libz.so...done.
Loaded symbols for /opt/csw/lib/i386/libz.so
Reading symbols from /usr/openwin/lib/libXext.so.0...done.
Loaded symbols for /usr/openwin/lib/libXext.so.0
Reading symbols from /opt/csw/lib/libexpat.so.0...done.
Loaded symbols for /opt/csw/lib/libexpat.so.0
Reading symbols from /opt/csw/lib/libintl.so.3...done.
Loaded symbols for /opt/csw/lib/libintl.so.3
Reading symbols from /opt/csw/lib/libiconv.so.2...done.
Loaded symbols for /opt/csw/lib/libiconv.so.2
Reading symbols from /lib/libaio.so.1...done.
Loaded symbols for /lib/libaio.so.1
Reading symbols from /lib/libmd.so.1...done.
Loaded symbols for /lib/libmd.so.1
Reading symbols from /opt/csw/lib/pentium_pro/libkrb5support.so.0...done.
Loaded symbols for /opt/csw/lib/pentium_pro/libkrb5support.so.0
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libintl.so.1...
warning: Lowest section in /lib/libintl.so.1 is .dynamic at 00000074
done.
Loaded symbols for /lib/libintl.so.1
Reading symbols from /lib/libm.so.2...done.
Loaded symbols for /lib/libm.so.2
Reading symbols from /usr/openwin/lib/libX11.so.4...done.
Loaded symbols for /usr/openwin/lib/libX11.so.4
Reading symbols from
/opt/csw/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so...done.
Loaded symbols for /opt/csw/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/openwin/sfw/lib/libXrender.so.1...done.
Loaded symbols for /usr/openwin/sfw/lib/libXrender.so.1
Reading symbols from /opt/csw/lib/pango/1.6.0/modules/pango-basic-fc.so...done.
Loaded symbols for /opt/csw/lib/pango/1.6.0/modules/pango-basic-fc.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/agentx.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/agentx.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/artnet.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/artnet.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/asn1.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/asn1.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/ciscosm.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/ciscosm.so
Reading symbols from
/opt/csw/lib/wireshark/plugins/1.0.7/coseventcomm.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/coseventcomm.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/cosnaming.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/cosnaming.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/docsis.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/docsis.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/enttec.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/enttec.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/ethercat.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/ethercat.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/gryphon.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/gryphon.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/infiniband.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/infiniband.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/irda.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/irda.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/lwres.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/lwres.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/m2m.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/m2m.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/mate.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/mate.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/opcua.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/opcua.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/opsi.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/opsi.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/parlay.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/parlay.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/pcli.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/pcli.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/profinet.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/profinet.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/rlm.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/rlm.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/rtnet.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/rtnet.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/rudp.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/rudp.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/sbus.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/sbus.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/stats_tree.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/stats_tree.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/tango.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/tango.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/unistim.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/unistim.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/v5ua.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/v5ua.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/wimax.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/wimax.so
Reading symbols from /opt/csw/lib/wireshark/plugins/1.0.7/wimaxasncp.so...done.
Loaded symbols for /opt/csw//lib/wireshark/plugins/1.0.7/wimaxasncp.so
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1

Core was generated by `wireshark'.
Program terminated with signal 11, Segmentation fault.
#0  0xfbff599c in strlen () from /lib/libc.so.1
(gdb) backtrace
#0  0xfbff599c in strlen () from /lib/libc.so.1
#1  0xfc050452 in _ndoprnt () from /lib/libc.so.1
#2  0xfc05339c in vfprintf () from /lib/libc.so.1
#3  0xfdb2f5ce in ssl_debug_printf () from /opt/csw/lib/i386/libwireshark.so.0
#4  0xfe26b750 in ?? () from /opt/csw/lib/i386/libwireshark.so.0
#5  0x080478b8 in ?? ()
#6  0x0843fba0 in ?? ()
#7  0x080478bc in ?? ()
#8  0xfc05fe9e in sscanf () from /lib/libc.so.1
#9  0x38312e30 in ?? ()
#10 0x37312e30 in ?? ()
#11 0x33333300 in ?? ()
#12 0x74680034 in ?? ()
#13 0x2f007074 in ?? ()
#14 0x6e65706f in ?? ()
#15 0x79656b2f in ?? ()
#16 0x6f622f73 in ?? ()
#17 0x726f6d77 in ?? ()
#18 0x65702e65 in ?? ()
#19 0x0018006d in ?? ()
#20 0x00000039 in ?? ()
#21 0x00000050 in ?? ()
#22 0x20746f6e in ?? ()
#23 0x74726f70 in ?? ()
#24 0x20303820 in ?? ()
#25 0x20646e61 in ?? ()
#26 0x20746f6e in ?? ()
#27 0x74726f70 in ?? ()
#28 0x20353220 in ?? ()
#29 0x20646e61 in ?? ()
#30 0x74736f68 in ?? ()
#31 0x77777720 in ?? ()
#32 0x7269772e in ?? ()
#33 0x61687365 in ?? ()
#34 0x6f2e6b72 in ?? ()
#35 0x00006772 in ?? ()
#36 0x00000029 in ?? ()
#37 0x64e0ffff in ?? ()
#38 0x65687445 in ?? ()
#39 0x74656e72 in ?? ()
#40 0x64646120 in ?? ()
#41 0x73736572 in ?? ()
#42 0x3a303020 in ?? ()
#43 0x313a3830 in ?? ()
#44 0x30303a35 in ?? ()
#45 0x3a38303a in ?? ()
#46 0x09003531 in ?? ()
#47 0x00000cff in ?? ()
#48 0x00016b81 in ?? ()
#49 0x00000000 in ?? ()


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.