[Oisf-devel] Suricata segfaults

Victor Julien victor at inliniac.net
Thu Jul 5 06:26:09 UTC 2012


On 07/05/2012 07:20 AM, Nikolay Denev wrote:
> I've updated again this morning and suricata started to segfault right immediately after initializing.
> 
> Here's a trace :
> 
> #0  StreamTcpReassembleDepthReached (p=0x804930800) at stream-tcp-reassemble.c:1518
> 1518	        return (stream->flags & STREAMTCP_STREAM_FLAG_DEPTH_REACHED) ? 1 : 0;
> [New Thread 805a2a400 (LWP 108023/SCPerfMgmtThrea)]
> [New Thread 805a2a000 (LWP 108022/SCPerfWakeupThr)]
> [New Thread 818bef000 (LWP 108021/FlowManagerThre)]
> [New Thread 818beec00 (LWP 108020/Detect12)]
> [New Thread 818bee800 (LWP 108019/Detect11)]
> [New Thread 818bee400 (LWP 108018/Detect10)]
> [New Thread 818bee000 (LWP 108017/Detect9)]
> [New Thread 818bedc00 (LWP 108016/Detect8)]
> [New Thread 818bed800 (LWP 102214/Detect7)]
> [New Thread 818bed400 (LWP 102162/Detect6)]
> [New Thread 80ccd2c00 (LWP 101019/Detect5)]
> [New Thread 80ccd2800 (LWP 101017/Detect4)]
> [New Thread 80ccd2400 (LWP 101012/Detect3)]
> [New Thread 80ccd2000 (LWP 101011/Detect2)]
> [New Thread 80ccd1c00 (LWP 101007/Detect1)]
> [New Thread 80ccd1800 (LWP 101005/RxPcapix01)]
> [New Thread 802c07400 (LWP 101237/suricata)]
> (gdb) bt
> #0  StreamTcpReassembleDepthReached (p=0x804930800) at stream-tcp-reassemble.c:1518
> #1  0x000000000050ab2b in LogFileLogWrap (tv=Variable "tv" is not available.
> ) at log-file.c:293
> #2  0x00000000004fa833 in TmThreadsSlotVarRun (tv=0x80ddc1e00, p=0x804930800, slot=Variable "slot" is not available.
> ) at tm-threads.c:508
> #3  0x00000000004faaf4 in TmThreadsSlotVar (td=0x80ddc1e00) at tm-threads.c:732
> #4  0x00000008017f42c4 in pthread_getprio () from /lib/libthr.so.3
> #5  0x0000000000000000 in ?? ()
> Cannot access memory at address 0x7fffff5fb000
> (gdb) 
> 
> Looks like related to 43c7fd758573fd135c5c50feea2b8eb2b4cef15f

Should be fixed now in 9d2e17fa98fefcadba46fc5ce0a7a3936add16d2

Cheers,
Victor


-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------






More information about the Oisf-devel mailing list