[Oisf-devel] new segfault (decode-teredo.c:55) on last Suricata v1.4 git

Peter Manev petermanev at gmail.com
Sat Jan 26 19:16:11 UTC 2013


Hi rmkml,
What kind of test is it?
Is it just live traffic?

thanks

On Sat, Jan 26, 2013 at 6:24 PM, rmkml <rmkml at yahoo.fr> wrote:

> Hi,
> During my test, I have a new segfault on last yesterday git, please look
> gdb bt full:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7ffff5e0d700 (LWP 23221)]
> DecodeTeredo (tv=tv at entry=0x1e0434a0, dtv=dtv at entry=0x7fffe8010eb0,
>     p=p at entry=0x137c5f0, pkt=pkt at entry=0x7fffe8015ada "", len=len at entry
> =8202,
>     pq=pq at entry=0x1a4ee9b0) at decode-teredo.c:55
> 55          while (start[0] == 0x0) {
> (gdb) bt full
> #0  DecodeTeredo (tv=tv at entry=0x1e0434a0, dtv=dtv at entry=0x7fffe8010eb0,
>     p=p at entry=0x137c5f0, pkt=pkt at entry=0x7fffe8015ada "", len=len at entry
> =8202,
>     pq=pq at entry=0x1a4ee9b0) at decode-teredo.c:55
>         start = 0x7fffe8026002 ""
> #1  0x0000000000443a22 in DecodeUDP (tv=0x1e0434a0, dtv=0x7fffe8010eb0,
>     p=0x137c5f0,
>     pkt=0x7fffe8015ad2 "\200\062\033X \022\240", <incomplete sequence
> \353>,
>     len=8210, pq=0x1a4ee9b0) at decode-udp.c:85
> No locals.
> #2  0x0000000000441722 in DecodeIPV4 (tv=0x1e0434a0, dtv=0x7fffe8010eb0,
>     p=<optimized out>, pkt=0x137c006 "E", len=<optimized out>,
> pq=0x1a4ee9b0)
>     at decode-ipv4.c:534
>         rp = 0x137c5f0
> #3  0x00000000004e72e6 in DecodePcapFile (tv=0x1e0434a0, p=0x137b540,
>     data=0x7fffe8010eb0, pq=0x1a4ee9b0, postpq=<optimized out>)
>     at source-pcap-file.c:347
>         dtv = 0x7fffe8010eb0
>         curr_ts = <optimized out>
> #4  0x00000000004fac9d in TmThreadsSlotVarRun (tv=0x1e0434a0, p=0x137b540,
>     slot=0x137c5f0, slot at entry=0x1a4ee970) at tm-threads.c:542
>         SlotFunc = 0xfffffffffffefb0f
>         s = 0x1a4ee970
> #5  0x00000000004e81de in TmThreadsSlotProcessPkt (p=0x137b540,
> s=0x1a4ee970,
>     tv=0x1e0434a0) at tm-threads.h:139
>         r = TM_ECODE_OK
> #6  PcapFileCallbackLoop (user=0x7fffe80008f0 "\f", h=<optimized out>,
>     pkt=0x7fffe8000ea0 "") at source-pcap-file.c:142
>         ptv = 0x7fffe80008f0
>         p = 0x137b540
> #7  0x0000003f0521dd90 in pcap_offline_read () from /lib64/libpcap.so.1
> No symbol table info available.
> #8  0x00000000004e7e3e in ReceivePcapFileLoop (tv=0x1e0434a0,
> data=0x7fffe80008f0,
>     slot=<optimized out>) at source-pcap-file.c:180
>         packet_q_len = <optimized out>
>         ptv = 0x7fffe80008f0
>         r = <optimized out>
>         s = <optimized out>
>         __FUNCTION__ = "ReceivePcapFileLoop"
> #9  0x00000000004fda24 in TmThreadsSlotPktAcqLoop (td=0x1e0434a0)
>     at tm-threads.c:682
>         tv = 0x1e0434a0
>         s = 0xedddc80
>         r = <optimized out>
>         slot = 0x0
>         __FUNCTION__ = "TmThreadsSlotPktAcqLoop"
> #10 0x0000003a04007d14 in start_thread () from /lib64/libpthread.so.0
> No symbol table info available.
> #11 0x0000003a038f168d in clone () from /lib64/libc.so.6
> No symbol table info available.
>
> Best Regards
> Rmkml
> http://twitter.com/rmkml
> ______________________________**_________________
> Suricata IDS Devel mailing list: oisf-devel@**openinfosecfoundation.org<oisf-devel at openinfosecfoundation.org>
> Site: http://suricata-ids.org | Participate: http://suricata-ids.org/**
> participate/ <http://suricata-ids.org/participate/>
> List: https://lists.**openinfosecfoundation.org/**
> mailman/listinfo/oisf-devel<https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel>
> Redmine: https://redmine.**openinfosecfoundation.org/<https://redmine.openinfosecfoundation.org/>
>



-- 
Regards,
Peter Manev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20130126/067f589c/attachment-0002.html>


More information about the Oisf-devel mailing list