> Hi there,
>
> Could somebody tell me why I have the following error when I try to
> dissect a wtp packet.
>
> ** ERROR **: file reassemble.c: line 739 (fragment_add_seq_work):
> assertion failed: (fd_head->len >= dfpos + fd->len)
> aborting...
> Abort (core dumped)
>
> Using gdb I could see where it core. The output is as follow :
>
> #0 0xff09c724 in _libc_kill () from /usr/lib/libc.so.1
> #1 0xff035a84 in abort () from /usr/lib/libc.so.1
> #2 0xff249448 in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
> format=0x0, args1=0x6)
> at gmessages.c:391
> #3 0xff2494e0 in g_log (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
> format=0x3e8580 "file %s: line %d (%s): assertion failed: (%s)") at
> gmessages.c:408
> #4 0x1e0088 in fragment_add_seq_work (fd_head=0x5bb244, tvb=0x5f3e30,
> offset=4,
> pinfo=0x59e360, frag_number=18, frag_data_len=1350,
> more_frags=6010392) at reassemble.c:739
> #5 0x1e0540 in fragment_add_seq (tvb=0x5f3e30, offset=4, pinfo=0x59e360,
> id=32772,
> fragment_table=0x5a1bc0, frag_number=18, frag_data_len=1350,
> more_frags=24300)
> at reassemble.c:909
> #6 0x1c71cc in dissect_wtp_common (tvb=0x5f3e30, pinfo=0x59e360,
> tree=0x0) at packet-wtp.c:610
> #7 0x1c7344 in dissect_wtp_fromudp (tvb=0x5f3e30, pinfo=0x59e360,
> tree=0x0)
> at packet-wtp.c:655
> #8 0x1fd4d8 in call_dissector_work (handle=0x4f4a98, tvb=0x5f3e30,
> pinfo=0x59e360, tree=0x0)
> at packet.c:381
> #9 0x1fe224 in call_dissector (handle=0x4f4a98, tvb=0x5f3e30,
> pinfo=0x59e360, tree=0x0)
> at packet.c:1111
> #10 0x1f9c2c in try_conversation_dissector (addr_a=0x1, addr_b=0x59e3b0,
> ptype=PT_UDP,
> port_a=49203, port_b=63629, tvb=0x5f3e30, pinfo=0x59e360, tree=0x0) at
> conversation.c:957
> #11 0x1b9844 in decode_udp_ports (tvb=0x5f3e30, offset=8, pinfo=0x59e360,
> tree=0x0,
> uh_sport=49203, uh_dport=63629) at packet-udp.c:90
> #12 0x1b9dac in dissect_udp (tvb=0x5f3dfc, pinfo=0x59e360, tree=0x0) at
> packet-udp.c:245
> #13 0x1fd4d8 in call_dissector_work (handle=0x536188, tvb=0x5f3dfc,
> pinfo=0x59e360, tree=0x0)
> at packet.c:381
> #14 0x1fd7c8 in dissector_try_port (sub_dissectors=0x0, port=17,
> tvb=0x5f3dfc, pinfo=0x59e360,
> tree=0x0) at packet.c:605
> #15 0xd34e8 in dissect_ip (tvb=0x5f3dc8, pinfo=0x59e360, tree=0x0) at
> packet-ip.c:1057
> #16 0x1fd4d8 in call_dissector_work (handle=0x4f4600, tvb=0x5f3dc8,
> pinfo=0x59e360, tree=0x0)
> at packet.c:381
>
> etc..
>
> Thanks for any hints.
>
> Syari