View Issue Details

IDProjectCategoryView StatusLast Update
0002324GNUnetregex librarypublic2012-11-05 17:34
ReporterChristian Grothoff Assigned Tomaxsz Due Date
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 10: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 13:34

reporter   ~0006003

Replaced by new code.

Issue History

Date ModifiedUsernameFieldChange
2012-05-07 20:58Christian GrothoffNew Issue
2012-05-07 20:58Christian GrothoffStatusnew => assigned
2012-05-07 20:58Christian GrothoffAssigned To => maxsz
2012-05-07 20:58Christian GrothoffFile Added: gdbinfo.png
2012-05-07 20:58Christian GrothoffFile Added: crashdump.png
2012-05-27 21:55Christian GrothoffPrioritynormal => low
2012-06-04 10:13maxszNote Added: 0006002
2012-06-04 13:34maxszNote Added: 0006003
2012-06-04 13:34maxszStatusassigned => resolved
2012-06-04 13:34maxszFixed in Version => Git master
2012-06-04 13:34maxszResolutionopen => fixed
2012-06-06 09:22Christian GrothoffFixed in VersionGit master => 0.9.4
2012-06-06 09:22Christian GrothoffTarget Version => 0.9.4
2012-11-05 17:34Christian GrothoffStatusresolved => closed