View Issue Details

IDProjectCategoryView StatusLast Update
0002324GNUnetregex librarypublic2012-11-05 18:34
ReporterChristian Grothoff Assigned Tomaxsz  
PrioritylowSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4Fixed in Version0.9.4 
Summary0002324: out-of memory error during test
DescriptionI'm getting a crash in 'malloc' when running 'make check' in the regex directory. I'm not always getting it, only once in a billion times (but I've seen it twice now, first during a buildbot run). The system has 2 GB of RAM (it's a VM), so that should suffice for virtually all reasonable regex uses. I suspect that the bug is non-deterministic as you generate random regexes for testing. I'm attaching a screenshot of the regex (qemu text mode doesn't make cut & paste easy...).

This is during a call to 'test_random (150,200,25) at test_regex_eval_api.c:146.
TagsNo tags attached.
Attached Files
gdbinfo.png (11,529 bytes)   
gdbinfo.png (11,529 bytes)   
crashdump.png (21,256 bytes)   
crashdump.png (21,256 bytes)   

Activities

maxsz

2012-06-04 12:13

reporter   ~0006002

This was caused by a leak, but this is an old implementation that is soon to be replaced by a new one.

maxsz

2012-06-04 15:34

reporter   ~0006003

Replaced by new code.

Issue History

Date Modified Username Field Change
2012-05-07 22:58 Christian Grothoff New Issue
2012-05-07 22:58 Christian Grothoff Status new => assigned
2012-05-07 22:58 Christian Grothoff Assigned To => maxsz
2012-05-07 22:58 Christian Grothoff File Added: gdbinfo.png
2012-05-07 22:58 Christian Grothoff File Added: crashdump.png
2012-05-27 23:55 Christian Grothoff Priority normal => low
2012-06-04 12:13 maxsz Note Added: 0006002
2012-06-04 15:34 maxsz Note Added: 0006003
2012-06-04 15:34 maxsz Status assigned => resolved
2012-06-04 15:34 maxsz Fixed in Version => Git master
2012-06-04 15:34 maxsz Resolution open => fixed
2012-06-06 11:22 Christian Grothoff Fixed in Version Git master => 0.9.4
2012-06-06 11:22 Christian Grothoff Target Version => 0.9.4
2012-11-05 18:34 Christian Grothoff Status resolved => closed