View Issue Details

IDProjectCategoryView StatusLast Update
0000349LDMud 3.3Runtimepublic2005-05-15 15:02
ReporterGnomi Assigned Tolars 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformi686OSDebian GNU/LinuxOS Version3.0
Product Version3.3 
Fixed in Version3.3 
Summary0000349: Illegal use of RE_TRADITIONAL|RE_PCRE leaks some memory
DescriptionHi,

regmatch("","]",0x06000000) leaks some structures:

2005.01.19 11:00:51 --- Garbage Collection ---
2005.01.19 11:00:51 GC pass 1: Freed 1 objects.
clearing M_REF in chunk 10278180, end 1427818c
clearing M_REF in chunk 0822c000, end 0823800c
scanning chunk 10278180, end 1427818c for unref'd blocks
freeing small block 0x132806b0 (user 0x132806b8) mregex.c 197
  By object: (destructed) (not in list)
  By program: Not found at old address.
132806cc: 45 52 43 50 26 00 00 00 60 29 14 08 00 00 00 40 ERCP&...`).....@
132806dc: 00 00 00 00 5d 00 46 13 03 00 00 00 4c 00 06 12 ....].F.....L...
132806ec: 01 5d 3e 00 06 00 28 13 13 00 00 30 e7 f7 10 69 .]>...(....0ç÷.i
132806fc: 5c be 0b 0a 77 00 00 \¾..w..

freeing small block 0x134707f4 (user 0x134707fc) mregex.c 427
  By object: (destructed) (not in list)
  By program: Not found at old address.
13470810: 00 00 00 00 00 00 00 00 f4 07 47 13 0e 00 00 30 ........ô.G....0
13470820: ab ee 72 a3 58 ba f8 09 18 00 00 «îr£Xºø....

scanning chunk 0822c000, end 0823800c for unref'd blocks
2 small blocks freed
2005.01.19 11:00:52 GC freed 0 destructed objects.

Greetings,
Gnomi
TagsNo tags attached.

Activities

lars

2005-01-20 00:32

reporter   ~0000313

The problem was caused by the fact that the RE doesn't compile for traditional regexps, and the error routine didn't cleanup thoroughly enough. 3.3.661 fixes this.

Issue History

Date Modified Username Field Change
2005-01-19 05:10 Gnomi New Issue
2005-01-20 00:32 lars Status new => resolved
2005-01-20 00:32 lars Fixed in Version => 3.3
2005-01-20 00:32 lars Resolution open => fixed
2005-01-20 00:32 lars Assigned To => lars
2005-01-20 00:32 lars Note Added: 0000313
2005-05-15 15:02 lars Status resolved => closed