[Lazarus] RE : RE : RE:FPC_REQUIRES_PROPER_ALIGNMENTdefinedonSolariscausescrash in lazarus

Ludo Brands ludo.brands at free.fr
Tue Jul 5 16:01:51 CEST 2011



> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x40c50070 (LWP 2095)]
> 0x005b0e8c in TREGEXPR__REGNEXT (P=0x4c697f22 <Address 
> 0x4c697f22 out of 
> bounds>, this=0x41916ba0)
>      at synregexpr.pas:2785
> 2785      offset := PRENextOff (p + REOpSz)^; //###0.933 inlined NEXT
> (gdb) bt
> #0  0x005b0e8c in TREGEXPR__REGNEXT (P=0x4c697f22 <Address 0x4c697f22 
> out of bounds>, this=0x41916ba0)
>      at synregexpr.pas:2785
> #1  0x005acfa0 in TREGEXPR__TAIL (P=0x41697f22 #11, 
> VAL=0x41697f4c '', 
> this=0x41916ba0) at synregexpr.pas:1471
> #2  0x005adc88 in TREGEXPR__PARSEBRANCH (FLAGP=1, this=0x41916ba0) at 
> synregexpr.pas:1832
> #3  0x005ad8dc in TREGEXPR__PARSEREG (PAREN=0, FLAGP=1, 
> this=0x41916ba0) 
> at synregexpr.pas:1756
> #4  0x005ad584 in TREGEXPR__COMPILEREGEXPR (EXP=0x41e92ac0 'Unit 
> "[a-z_0-9]+" not used in [a-z_0-9]+',

This is one of the many "use char^ as pointer^" in synregexpr I refered to
in my previous message. Turn of the message icons to compile the program. 
Running the program from inside the IDE hits this point, even with message
icons turned off. Why??

Ludo





More information about the Lazarus mailing list