Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 7501] New: SIGBUS in emem_tree_insert32_array+0x94()

Date: Thu, 19 Jul 2012 01:33:47 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7501

           Summary: SIGBUS in emem_tree_insert32_array+0x94()
           Product: Wireshark
           Version: 1.8.0
          Platform: SPARC
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Dissection engine (libwireshark)
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: petr.sumbera@xxxxxxxxxx


Created attachment 8811
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8811
Test pcap file.

Build Information:
TShark 1.8.0 (SVN Rev 43431 from /trunk-1.8)

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 (32-bit) with GLib 2.28.6, with libpcap, with libz 1.2.3-T4mods,
without POSIX capabilities, without SMI, without c-ares, without ADNS, with Lua
5.1, without Python, with GnuTLS 2.8.6, with Gcrypt 1.4.5, with MIT Kerberos,
without GeoIP.

Running on SunOS 5.11, with locale en_US.UTF-8, with libpcap version 1.1.1,
with
libz 1.2.3-T4mods.

Built using Sun C 1.0

--
-bash-4.1$ /usr/sbin/tshark -r test
Bus Error (core dumped)

-bash-4.1$ pstack core
core 'core' of 27535:   /usr/sbin/tshark -r /var/tmp/test
 fcee97a4 emem_tree_insert32_array (fa814ad8, a6f862, fa814a80, 1, 172e800,
fe618000) + 94
 fd4ee9f8 dissect_reload_framing_message (965b20, ffbff44c, 0, 81, 0, fa814a80)
+ 350
 fd4ef1f0 dissect_reload_framing_heur (965b20, ffbff44c, 0, 963c00, 2,
67446698) + c
 fcef7fe0 dissector_try_heuristic (9e9050, 965b20, ffbff44c, 0, 1, fe618000) +
12c
 fd63e138 decode_tcp_ports (fef5d0f0, 965b20, ffbff44c, 0, 0, ffffffff) + 3e0
 fd63e5c8 process_tcp_payload (965ae8, 20, 0, 0, 0, 361) + 370
 fd63a5f8 desegment_tcp (965ae8, ffbff44c, 20, 1, 5a9, fa814888) + 108
 fd64135c dissect_tcp (965ae8, ffbff44c, fa814888, 0, 2, 0) + 2be0
 fcef626c call_dissector_work (fd63e77c, 965ae8, ffbff44c, 1, 1, 0) + 18c
 fcef6f24 dissector_try_uint (3e5058, 6, 965ae8, ffbff44c, 0, 0) + b0
 fd30748c dissect_ip (fef54718, 93c400, ffbff44c, 6, 0, fe021f88) + 1614
 fcef626c call_dissector_work (fd305e78, 965ab0, ffbff44c, 1, 1, 0) + 18c
 fcef6f24 dissector_try_uint (30bea8, 800, 965ab0, ffbff44c, 0, 1) + b0
 fd1b536c ethertype (fe618000, 800, 0, ffbff44c, 0, fef4e9b8) + 420
 fd69d148 dissect_vlan (965a78, ffbff44c, 18fca, 1, ffc85118, 0) + 234
 fcef626c call_dissector_work (fd69cf14, 965a78, ffbff44c, 1, 1, 0) + 18c
 fcef6f24 dissector_try_uint (30bea8, 8100, 965a78, ffbff44c, 0, 1) + b0
 fd1b536c ethertype (fe618000, 8100, 0, ffbff44c, 0, fef4e9b8) + 420
 fd1b3f5c dissect_eth_common (965a40, 0, 0, ffffffff, ffbff44c, 545e) + 8c0
 fcef626c call_dissector_work (fd1b48f4, 965a40, ffbff44c, 1, 1, 0) + 18c
 fcef6f24 dissector_try_uint (333828, 1, 965a40, ffbff44c, 0, 1) + b0
 fd1f6420 dissect_frame (fe618000, b97fcc, 0, 0, ff1affcc, 10b800) + 1044
 fcef8a78 call_dissector (fd1f53dc, 965a40, ffbff44c, 0, 0, 0) + 1b0
 fcef5fb8 dissect_packet (4000, a3ac90, 41c8, ff6983dc, 80bcc, 800005ef) + 44c
 0002ca70 load_cap_file (70a88, 0, 0, ffbff444, 0, 70510) + 11a8
 0002a310 main     (0, 70400, 0, 0, 70400, 70800) + 197c
 0001c038 _start   (0, 0, 0, 0, 0, 0) + 108

---

The same file works on intel.

The same file works on sparc with Wireshark 1.4.11.

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