[Bro-Dev] [JIRA] (BIT-979) segmentation fault in Expr::Serialize

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Mon Mar 16 12:48:00 PDT 2015

     [ https://bro-tracker.atlassian.net/browse/BIT-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Siwek updated BIT-979:
    Resolution: Fixed
        Status: Closed  (was: Open)

This may work now (I only tested the example briefly).  If not, it may not get much attention going forward anyway -- the plan is to eventually remove/replace &persistent and &synchronized.

> segmentation fault in Expr::Serialize
> -------------------------------------
>                 Key: BIT-979
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-979
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: git/master
>            Reporter: dmandelb
>            Priority: Low
>             Fix For: 2.4
>         Attachments: bbn-host-characterization.bro, test-traffic.pcap
> {noformat}
> $ gdb --args ~/opt/bro/bin/bro -C -r reps/reps/traffic-generator/test-traffic.pcap reps/bro-scripts/bbn-host-characterization.bro
> GNU gdb (GDB) 7.0.1-debian
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i486-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /home/dmandelb/opt/bro/bin/bro...done.
> (gdb) r
> Starting program: /home/dmandelb/opt/bro/bin/bro -C -r reps/reps/traffic-generator/test-traffic.pcap reps/bro-scripts/bbn-host-characterization.bro
> [Thread debugging using libthread_db enabled]
> [New Thread 0xb7b27b70 (LWP 3035)]
> [New Thread 0xb71ffb70 (LWP 3036)]
> [New Thread 0xb69feb70 (LWP 3037)]
> [New Thread 0xb5fffb70 (LWP 3038)]
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000 in ?? ()
> (gdb) bt
> #0  0x00000000 in ?? ()
> BIT-1  0x08301d14 in Expr::Serialize (this=0x8f69ce0, info=0xb60058d4) at /home/dmandelb/bro/src/Expr.cc:184
> BIT-2  0x08294b92 in Attributes::DoSerialize (this=0x8f69998, info=0xb60058d4) at /home/dmandelb/bro/src/Attr.cc:512
> BIT-3  0x083d4a63 in SerialObj::Serialize (this=0x8f69998, info=0xb60058d4) at /home/dmandelb/bro/src/SerialObj.cc:121
> BIT-4  0x08294950 in Attributes::Serialize (this=0x8f69998, info=0xb60058d4) at /home/dmandelb/bro/src/Attr.cc:487
> BIT-5  0x0835f111 in ID::DoSerialize (this=0x8f69790, info=0xb60058d4) at /home/dmandelb/bro/src/ID.cc:495
> BIT-6  0x083d4a63 in SerialObj::Serialize (this=0x8f69790, info=0xb60058d4) at /home/dmandelb/bro/src/SerialObj.cc:121
> BIT-7  0x0835e96e in ID::Serialize (this=0x8f69790, info=0xb60058d4) at /home/dmandelb/bro/src/ID.cc:311
> BIT-8  0x083d7af9 in Serializer::Serialize (this=0x85ce3f0, info=0xb60058d4, id=...) at /home/dmandelb/bro/src/Serializer.cc:111
> BIT-9  0x0839a133 in PersistenceSerializer::DoIDSerialization (this=0x85ce3f0, status=0xb60058d0, id=0x8f69790) at /home/dmandelb/bro/src/PersistenceSerializer.cc:498
> BIT-10 0x08399d06 in PersistenceSerializer::RunSerialization (this=0x85ce3f0, status=0xb60058d0) at /home/dmandelb/bro/src/PersistenceSerializer.cc:405
> BIT-11 0x083996ed in PersistenceSerializer::WriteState (this=0x85ce3f0, may_suspend=false) at /home/dmandelb/bro/src/PersistenceSerializer.cc:262
> BIT-12 0x08280a2e in done_with_network () at /home/dmandelb/bro/src/main.cc:258
> BIT-13 0x08282a2a in main (argc=5, argv=0xbffff2b4) at /home/dmandelb/bro/src/main.cc:1078
> (gdb)
> {noformat}

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list