[Bro-Dev] #979: segmentation fault in Expr::Serialize

Bro Tracker bro at tracker.bro.org
Tue Apr 16 07:50:04 PDT 2013


#979: segmentation fault in Expr::Serialize
------------------------+---------------------
 Reporter:  dmandelb    |       Type:  Problem
   Status:  new         |   Priority:  Low
Milestone:  Bro2.2      |  Component:  Bro
  Version:  git/master  |   Keywords:
------------------------+---------------------
 {{{
 $ 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 ?? ()
 #1  0x08301d14 in Expr::Serialize (this=0x8f69ce0, info=0xb60058d4) at
 /home/dmandelb/bro/src/Expr.cc:184
 #2  0x08294b92 in Attributes::DoSerialize (this=0x8f69998,
 info=0xb60058d4) at /home/dmandelb/bro/src/Attr.cc:512
 #3  0x083d4a63 in SerialObj::Serialize (this=0x8f69998, info=0xb60058d4)
 at /home/dmandelb/bro/src/SerialObj.cc:121
 #4  0x08294950 in Attributes::Serialize (this=0x8f69998, info=0xb60058d4)
 at /home/dmandelb/bro/src/Attr.cc:487
 #5  0x0835f111 in ID::DoSerialize (this=0x8f69790, info=0xb60058d4) at
 /home/dmandelb/bro/src/ID.cc:495
 #6  0x083d4a63 in SerialObj::Serialize (this=0x8f69790, info=0xb60058d4)
 at /home/dmandelb/bro/src/SerialObj.cc:121
 #7  0x0835e96e in ID::Serialize (this=0x8f69790, info=0xb60058d4) at
 /home/dmandelb/bro/src/ID.cc:311
 #8  0x083d7af9 in Serializer::Serialize (this=0x85ce3f0, info=0xb60058d4,
 id=...) at /home/dmandelb/bro/src/Serializer.cc:111
 #9  0x0839a133 in PersistenceSerializer::DoIDSerialization
 (this=0x85ce3f0, status=0xb60058d0, id=0x8f69790) at
 /home/dmandelb/bro/src/PersistenceSerializer.cc:498
 #10 0x08399d06 in PersistenceSerializer::RunSerialization (this=0x85ce3f0,
 status=0xb60058d0) at /home/dmandelb/bro/src/PersistenceSerializer.cc:405
 #11 0x083996ed in PersistenceSerializer::WriteState (this=0x85ce3f0,
 may_suspend=false) at /home/dmandelb/bro/src/PersistenceSerializer.cc:262
 #12 0x08280a2e in done_with_network () at
 /home/dmandelb/bro/src/main.cc:258
 #13 0x08282a2a in main (argc=5, argv=0xbffff2b4) at
 /home/dmandelb/bro/src/main.cc:1078
 (gdb)
 }}}

-- 
Ticket URL: <http://tracker.bro.org/bro/ticket/979>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list