[Reconnoiter-devel] [reconnoiter] #285: stratcon_datastore crash on empty log files

reconnoiter trac at labs.omniti.com
Tue May 25 09:32:17 EDT 2010

#285: stratcon_datastore crash on empty log files
 Reporter:  jesus      |       Owner:  jesus   
     Type:  defect     |      Status:  new     
 Priority:  major      |   Milestone:          
Component:  stratcond  |    Severity:  annoying
 Keywords:             |  
 If you end up with empty files in your /var/log/stratcon.persist files,
 stratcond crashes.   If you run it with -D, it ends up with an error like

 mmap(0, 25)(/var/log/stratcon.persist/<ip>/<hostname>/0/<filename>) =>
 Invalid argument
 stratcond: stratcon_datastore.c:1077: build_insert_batch: Assertion`buff
 != (void *)-1' failed.

 Deleting the file appears to fix it, perhaps the stratcond code should be
 updated to handle this edge-case?

Ticket URL: <http://labs.omniti.com/trac/reconnoiter/ticket/285>
reconnoiter <https://labs.omniti.com/trac/reconnoiter>

More information about the Reconnoiter-devel mailing list