[ragel-users] Ragel crash (searching includes?)
Diego Elio “Flameeyes” Pettenò
flameeyes at gmail.com
Mon Oct 12 11:03:44 UTC 2009
Il giorno Sun, 11/10/2009 alle 23.34 -0400, Adrian Thurston ha scritto:
>
> I can't reproduce, but I fixed a bug in this area the other day. Is
> this
> the trunk? If not could you test with it?
I can reproduce it in trunk:
==27620== Command: /home/flame/devel/repos/git/bridge/ragel/ragel/ragel
-I/media/repos/flame/.lscube/yamato/feng/../../sources/feng/src/network
-Isrc/network
-C /media/repos/flame/.lscube/yamato/feng/../../sources/feng/src/network/ragel_request_line.rl -o src/network/ragel_request_line.c
==27620==
==27620== Invalid write of size 8
==27620== at 0x434E3B: Scanner::makeIncludePathChecks(char const*,
char const*, int) (rlscan.rl:594)
==27620== by 0x433C2F: Scanner::handleInclude() (rlscan.rl:316)
==27620== by 0x434210: Scanner::processToken(int, char*, int)
(rlscan.rl:391)
==27620== by 0x434165: Scanner::token(int, char*, char*)
(rlscan.rl:483)
==27620== by 0x4340CC: Scanner::token(int) (rlscan.rl:469)
==27620== by 0x43BEC6: Scanner::do_scan() (rlscan.rl:1107)
==27620== by 0x403DAB: process(InputData&) (main.cpp:459)
==27620== by 0x40416B: main (main.cpp:555)
==27620== Address 0x5a00840 is 0 bytes after a block of size 16 alloc'd
==27620== at 0x4C2466C: operator new[](unsigned long)
(vg_replace_malloc.c:264)
==27620== by 0x434BE6: Scanner::makeIncludePathChecks(char const*,
char const*, int) (rlscan.rl:559)
==27620== by 0x433C2F: Scanner::handleInclude() (rlscan.rl:316)
==27620== by 0x434210: Scanner::processToken(int, char*, int)
(rlscan.rl:391)
==27620== by 0x434165: Scanner::token(int, char*, char*)
(rlscan.rl:483)
==27620== by 0x4340CC: Scanner::token(int) (rlscan.rl:469)
==27620== by 0x43BEC6: Scanner::do_scan() (rlscan.rl:1107)
==27620== by 0x403DAB: process(InputData&) (main.cpp:459)
==27620== by 0x40416B: main (main.cpp:555)
==27620==
==27620== Invalid write of size 8
==27620== at 0x434E7A: Scanner::makeIncludePathChecks(char const*,
char const*, int) (rlscan.rl:598)
==27620== by 0x433C2F: Scanner::handleInclude() (rlscan.rl:316)
==27620== by 0x434210: Scanner::processToken(int, char*, int)
(rlscan.rl:391)
==27620== by 0x434165: Scanner::token(int, char*, char*)
(rlscan.rl:483)
==27620== by 0x4340CC: Scanner::token(int) (rlscan.rl:469)
==27620== by 0x43BEC6: Scanner::do_scan() (rlscan.rl:1107)
==27620== by 0x403DAB: process(InputData&) (main.cpp:459)
==27620== by 0x40416B: main (main.cpp:555)
==27620== Address 0x5a00848 is 8 bytes after a block of size 16 alloc'd
==27620== at 0x4C2466C: operator new[](unsigned long)
(vg_replace_malloc.c:264)
==27620== by 0x434BE6: Scanner::makeIncludePathChecks(char const*,
char const*, int) (rlscan.rl:559)
==27620== by 0x433C2F: Scanner::handleInclude() (rlscan.rl:316)
==27620== by 0x434210: Scanner::processToken(int, char*, int)
(rlscan.rl:391)
==27620== by 0x434165: Scanner::token(int, char*, char*)
(rlscan.rl:483)
==27620== by 0x4340CC: Scanner::token(int) (rlscan.rl:469)
==27620== by 0x43BEC6: Scanner::do_scan() (rlscan.rl:1107)
==27620== by 0x403DAB: process(InputData&) (main.cpp:459)
==27620== by 0x40416B: main (main.cpp:555)
--
Diego Elio Pettenò — “Flameeyes”
http://blog.flameeyes.eu/
If you found a .asc file in this mail and know not what it is,
it's a GnuPG digital signature: http://www.gnupg.org/
More information about the ragel-users
mailing list