Wireshark-bugs: [Wireshark-bugs] [Bug 9132] wireshark nightly crashes analyzing rtp for phone ca

Date: Thu, 12 Sep 2013 16:04:16 +0000

Comment # 4 on bug 9132 from
I've just built a debug version of 51969 on my machine and it crashes the same
way. this is on Ubuntu 12.04.

here's a stack trace from GDB:

#0  0x00007ffff0af1425 in __GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff0af4b8b in __GI_abort () at abort.c:91
#2  0x00007ffff1315f9d in g_assertion_message ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff46f6a60 in address_to_str_buf (addr=0x5e6ae10, 
    buf=0x7fffe244d000 "\304\023\304\023\316\001\316\001\066x13 10:\002", 
    buf_len=256) at address_to_str.c:627
#4  0x00007ffff46f6575 in ep_address_to_str (addr=0x5e6ae10)
    at address_to_str.c:521
#5  0x00007ffff46f4d8c in get_addr_name (addr=0x5e6ae10) at addr_resolv.c:3011
#6  0x00000000004d0735 in rtpstream_view_selection_func (selection=0x2a21e80, 
    model=0x2b01630, path=0x5e8c6a0, path_currently_selected=0, userdata=0x0)
    at rtp_stream_dlg.c:636
#7  0x00007ffff2618468 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#8  0x00007ffff26184f8 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#9  0x00007ffff2618f22 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#10 0x00007ffff262def4 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x00007ffff2630ce0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#12 0x00007ffff15b2ca2 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff15c3d71 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff15cc099 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff15cc242 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff251a1cd in gtk_list_store_remove ()
   from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x00007ffff251a97f in gtk_list_store_clear ()
   from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#18 0x00000000004d1d55 in rtpstream_dlg_update (list_lcl=0x5848c60)
    at rtp_stream_dlg.c:1078
#19 0x000000000054b513 in rtpstream_draw (arg=0x895020) at rtp_stream.c:66
#20 0x00007ffff474d2e2 in draw_tap_listeners (draw_all=0) at tap.c:348
#21 0x000000000044e9e0 in tap_update_cb (data="" at main.c:1295
#22 0x00007ffff12f691b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff12f5d53 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff12f60a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff12f649a in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff251d42d in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#27 0x00000000004515a3 in main (argc=0, argv=0x7fffffffda70) at main.c:3196



it is asserting because the address structure that is trying to be printed is
garbage - looks uninitialized to me. perhaps valgrind would help to reproduce
this? is it possible there's a timing issue with the GUI - trying to print this
information before it is calculated (needs a lock somewhere?)


(gdb) print *selected_stream_fwd
$8 = {src_addr = {type = 544760141, hf = 1953260900, len = 540876897, 
    data = "" src_port = 1701536609, dest_addr = {
    type = 540024878, hf = 2019642634, len = 1953065504, 
    data = "" dest_port = 1293954675, ssrc = 544104805, 
  pt = 106 'j', 
  info_payload_type_str = 0x736d2030302e3020 <Address 0x736d2030302e3020 out of
bounds>, npackets = 1632438830, first_frame_num = 1802707064, 
  setup_frame_number = 1025537893, start_sec = 808333344, 
  start_usec = 1936531504, tag_vlan_error = 1867778606, 
  start_rel_sec = 543973748, start_rel_usec = 542135378, 
  stop_rel_sec = 1801675120, stop_rel_usec = 544437349, 
  tag_diffserv_error = 540024893, vlan_id = 8224, rtp_stats = {
    first_packet = 1667592312, first_packet_mac_addr = {type = 538978608, 
      hf = 1936673824, len = 1414668404, data = "" 
    flags = 807936048, seq_num = 12334, timestamp = 538976297, 
    first_timestamp = 1970365779, delta_timestamp = 1701015141, 
    bandwidth = 1.2027270083686294e-153, bw_history = {{
        time = 4.8240656183717448e+228, bytes = 774905966}, {
        time = 3.1042508802636612e+169, bytes = 1801678700}, {
        time = 1.9668088767813246e+243, bytes = 1869640549}, {
        time = 2.7549092282879552e+39, bytes = 724050042}, {
        time = 5.2039934476458498e-320, bytes = 289}, {
        time = 4.8914562156420441e-316, bytes = 1099688837}, {
---Type <return> to continue, or q <return> to quit---
        time = 4.8914570061470774e-316, bytes = 1237497465}, {
        time = 4.8914577966521108e-316, bytes = 1292567821}, {
        time = 4.8914585871571441e-316, bytes = 1112329421}, {
        time = 4.8914593776621775e-316, bytes = 0}, {
        time = 4.8914601681672108e-316, bytes = 93013760}, {
        time = 4.8914609586722442e-316, bytes = 93008064}, {
        time = 4.8914617491772775e-316, bytes = 214}, {
        time = 4.8914625396823109e-316, bytes = 0}, {time = 0, 
        bytes = 93008096}, {time = 5.199239350375307e-316, bytes = 50951}, {
        time = 5.1992409313853737e-316, bytes = 50952}, {
        time = 5.1845454428154717e-316, bytes = 214}, {time = 0, bytes = 13}, {
        time = 4.8914909978635113e-316, bytes = 105233872}, {
        time = 222601.008, bytes = 200}, {time = 222620.96400000001, 
        bytes = 200}, {time = 222651.193, bytes = 225}, {
        time = 5.1900283857267595e-316, bytes = 105109008}, {time = 17, 
        bytes = 81}, {time = 0, bytes = 0}, {time = 4.2983711188188449e-322, 
        bytes = 0}, {time = 17, bytes = 72}, {time = 0, bytes = 0}, {
        time = 4.1995579896505956e-322, bytes = 0}, {time = 17, bytes = 81}, {
        time = 0, bytes = 0}, {time = 3.3596463917204765e-322, bytes = 0}, {
        time = 17, bytes = 79}, {time = 0, bytes = 0}, {
        time = 4.2489645542347203e-322, bytes = 0}, {
        time = 1.1067070466843923e-321, bytes = 256}, {
        time = 4.8914641206923776e-316, bytes = 107}, {
---Type <return> to continue, or q <return> to quit---
        time = 4.8914823023081445e-316, bytes = 1099845075}, {
        time = 4.8914830928131779e-316, bytes = 1235952237}, {
        time = 4.8914838833182112e-316, bytes = 1292567820}, {
        time = 4.8914846738232445e-316, bytes = 1112329421}, {
        time = 4.8914854643282779e-316, bytes = 0}, {
        time = 4.8914862548333112e-316, bytes = 93000240}, {
        time = 4.8914870453383446e-316, bytes = 93000272}, {
        time = 4.8914878358433779e-316, bytes = 214}, {
        time = 4.8914886263484113e-316, bytes = 0}, {time = 0, 
        bytes = 93000304}, {time = 0, bytes = 92923232}, {
        time = 4.8914649111974109e-316, bytes = 92954112}, {time = 0, 
        bytes = 13}, {time = 4.8915162940245784e-316, bytes = 99004368}, {
        time = 223250.997, bytes = 81}, {time = 0, bytes = 0}, {time = 0, 
        bytes = 4049298128}, {time = 4.9406564584124654e-324, 
        bytes = 4049297920}, {time = 5.199385593806476e-316, bytes = 0}, {
        time = 6.9533442710875529e-310, bytes = 81}, {time = 0, bytes = 0}, {
        time = 0, bytes = 0}, {time = 0, bytes = 0}, {time = 0, bytes = 0}, {
        time = 0, bytes = 97}, {time = 0, bytes = 0}, {time = 0, 
        bytes = 4065453152}, {time = 4.9406564584124654e-324, 
        bytes = 4065452912}, {time = 0, bytes = 0}, {
        time = 6.9533445472757825e-310, bytes = 0}, {time = 0, bytes = 257}, {
        time = 4.891490207358478e-316, bytes = 92954080}, {
        time = 4.8915060174591449e-316, bytes = 0}, {
---Type <return> to continue, or q <return> to quit---
        time = 4.8915068079641782e-316, bytes = 1112748851}, {
        time = 4.8915352661453787e-316, bytes = 1233978048}, {
        time = 4.8915083889742449e-316, bytes = 1102425096}, {
        time = 4.891510760489345e-316, bytes = 110}, {
        time = 4.8915115509943783e-316, bytes = 50953}, {
        time = 4.8915123414994117e-316, bytes = 1166194112}, {
        time = 4.891513132004445e-316, bytes = 1108671463}, {
        time = 4.8915139225094783e-316, bytes = 1235251279}, {
        time = 4.8915147130145117e-316, bytes = 1292567819}, {
        time = 4.891515503519545e-316, bytes = 1111909990}, {
        time = 4.891531313620212e-316, bytes = 0}, {time = 0, bytes = 13}, {
        time = 4.8915415901856455e-316, bytes = 99004880}, {
        time = 223881.07000000001, bytes = 257}, {
        time = 2.1219957919534036e-314, bytes = 0}, {time = 0, bytes = 24}, {
        time = 0, bytes = 0}, {time = 1, bytes = 0}, {time = 0, bytes = 0}, {
        time = 0, bytes = 0}, {time = 6.3659873733898826e-314, bytes = 0}, {
        time = 4.2439915829186759e-314, bytes = 99005568}, {time = 0, 
        bytes = 2102908384}, {time = 0.98290196078431369, bytes = 584562132}, {
        time = 1, bytes = 4221565938}, {time = 1, bytes = 1809020013}, {
        time = 0.92619607843137253, bytes = 2127528051}, {time = 1, 
        bytes = 3978030701}, {time = 0, bytes = 0}, {
        time = 1.2648080533535912e-321, bytes = 257}, {
        time = 4.8915321041252453e-316, bytes = 92974832}, {
---Type <return> to continue, or q <return> to quit--- 
        time = 4.8915328946302787e-316, bytes = 92974864}, {
        time = 4.891533685135312e-316, bytes = 214}, {
        time = 4.8915344756403453e-316, bytes = 0}, {time = 0, 
        bytes = 92974896}, {time = 4.8915075984692116e-316, 
        bytes = 1292567817}, {time = 4.8915091794792783e-316, 
        bytes = 1166194432}, {time = 4.891536056650412e-316, bytes = 50955}, {
        time = 4.8915368471554454e-316, bytes = 115}, {
        time = 4.8915400091755788e-316, bytes = 118}, {
        time = 4.8916285457393135e-316, bytes = 214}, {
        time = 4.8916198501839467e-316, bytes = 50956}, {
        time = 4.8915439617007455e-316, bytes = 113}, {time = 0, bytes = 13}, {
        time = 4.891554238266179e-316, bytes = 99005392}, {time = 224521.198, 
        bytes = 257}, {time = 4.8915447522057788e-316, bytes = 50954}, {
        time = 4.8915455427108122e-316, bytes = 1166194272}, {
        time = 4.8915463332158455e-316, bytes = 1109477294}, {
        time = 4.8915471237208789e-316, bytes = 1234594132}, {
        time = 4.8915479142259122e-316, bytes = 1292567818}, {
        time = 4.8915487047309456e-316, bytes = 1112329421}, {
        time = 4.8915494952359789e-316, bytes = 0}, {
        time = 4.8915502857410123e-316, bytes = 92971760}, {
        time = 4.8915510762460456e-316, bytes = 92971792}, {
        time = 4.891551866751079e-316, bytes = 214}, {
        time = 4.8915526572561123e-316, bytes = 0}, {time = 0, 
---Type <return> to continue, or q <return> to quit---
        bytes = 92971824}, {time = 4.8915392186705454e-316, bytes = 92861680}, 
      {time = 0, bytes = 13}, {time = 4.8916301267493802e-316, 
        bytes = 99005904}, {time = 224841.01500000001, bytes = 257}, {
        time = 2.1219957919534036e-314, bytes = 0}, {time = 0, bytes = 24}, {
        time = 0, bytes = 0}, {time = 1, bytes = 0}, {time = 0, bytes = 0}, {
        time = 0, bytes = 0}, {time = 6.3659873733898826e-314, bytes = 0}, {
        time = 4.2439915829186759e-314, bytes = 99006336}, {time = 0, 
        bytes = 3499037912}, {time = 0.83168627450980392, bytes = 1087650300}, 
      {time = 1, bytes = 3572094878}, {time = 1, bytes = 2432588628}, {
        time = 0.79388235294117637, bytes = 1555162182}, {time = 1, 
        bytes = 3409694310}, {time = 0, bytes = 0}, {
        time = 1.2648080533535912e-321, bytes = 1025}, {
        time = 4.8908610147584991e-316, bytes = 105173312}, {
        time = 4.8915819059423461e-316, bytes = 99006976}, {
        time = 3.1829936871890069e-313, bytes = 345}, {time = 0, 
        bytes = 4041684856}, {time = 4.8908610147584991e-316, 
        bytes = 4067749376}, {time = 6.9533445817781652e-310, 
        bytes = 99006592}, {time = 2.121995791459338e-314, bytes = 23}, {
        time = 0, bytes = 200}, {time = 4.8908610147584991e-316, 
        bytes = 99006528}, {time = 4.8915787439222127e-316, bytes = 99006720}, 
      {time = 6.3659873743780139e-314, bytes = 69}, {time = 0, bytes = 200}, {
        time = 4.8908610147584991e-316, bytes = 4067749376}, {
        time = 6.9533445817781652e-310, bytes = 99006592}, {
---Type <return> to continue, or q <return> to quit---
        time = 2.121995791459338e-314, bytes = 23}, {time = 0, bytes = 200}, {
        time = 4.8908610147584991e-316, bytes = 99006592}, {
        time = 4.8915882299826129e-316, bytes = 99006464}, {
        time = 1.4853970540215366e-313, bytes = 161}, {time = 0, bytes = 200}, 
      {time = 4.8908610147584991e-316, bytes = 4067749376}, {
        time = 6.9533445817781652e-310, bytes = 99006848}, {
        time = 2.121995791459338e-314, bytes = 23}, {time = 0, bytes = 200}, {
        time = 4.8908610147584991e-316, bytes = 99006784}, {
        time = 4.8915913920027463e-316, bytes = 99006720}, {
        time = 6.3659873743780139e-314, bytes = 69}, {time = 0, bytes = 200}, {
        time = 4.8908610147584991e-316, bytes = 4067749376}, {
        time = 6.9533445817781652e-310, bytes = 99006848}, {
        time = 2.121995791459338e-314, bytes = 23}, {time = 0, bytes = 200}, {
        time = 4.8908610147584991e-316, bytes = 99006464}, {
        time = 5.1994772923903442e-316, bytes = 104989760}, {
        time = 6.5781869535239477e-313, bytes = 713}, {time = 0, bytes = 200}, 
      {time = 4.8908610147584991e-316, bytes = 4067749376}, {
        time = 6.9533445817781652e-310, bytes = 99007104}, {
        time = 2.121995791459338e-314, bytes = 23}, {time = 0, bytes = 200}, {
        time = 4.8908610147584991e-316, bytes = 99007040}, {
        time = 4.8916040400832798e-316, bytes = 99007232}, {
        time = 6.3659873743780139e-314, bytes = 69}, {time = 0, bytes = 200}, {
        time = 4.8908610147584991e-316, bytes = 4067749376}, {
---Type <return> to continue, or q <return> to quit---
        time = 6.9533445817781652e-310, bytes = 99007104}, {
        time = 2.121995791459338e-314, bytes = 23}, {time = 0, bytes = 200}, {
        time = 4.8908610147584991e-316, bytes = 99007104}, {
        time = 4.8916135261436799e-316, bytes = 105238592}, {
        time = 1.4853970540215366e-313, bytes = 161}...}, bw_start_index = 64, 
    bw_index = 0, total_bytes = 0, clock_rate = 20, 
    delta = 4.9406564584124654e-324, jitter = 0, 
    diff = 4.9054473642272348e-317, skew = 4.5483288103628484e-317, 
    sumt = 3.1620201333839779e-322, sumTS = 4.55009163658721e-317, 
    sumt2 = 5.9800520015074463e-316, sumtTS = 0, 
    time = 4.9054473642272348e-317, start_time = 4.5483683356145157e-317, 
    lastnominaltime = 3.1620201333839779e-322, 
    max_delta = 4.55009163658721e-317, max_jitter = 0, max_skew = 0, 
    mean_jitter = 4.6643117088553727e-317, max_nr = 9440576, start_seq_nr = 0, 
    stop_seq_nr = 0, total_nr = 272, sequence = 0, under = 33, cycles = 0, 
    pt = 24912, reg_pt = 29797}, problem = 70884032}


You are receiving this mail because:
  • You are watching all bug changes.