Euphoria Ticket #97: allocate_string_array crashes translated

I found a problem translating a program using allocate_string_array. works ok interpreted.

am using using cleanup. didn't try without. the program is calling into a dll which must be getting bad values translated vrs interpreted. haven't found a suitable win api function that takes a char to test with. may have to make a simple dll to debug the problem.

creating a shared lib as part of testing should probably be done anyway.

maybe it is similar to

Ticket #95: allocate() function crashes when cleanup paramater specified.

Details

Type: Bug Report Severity: Major Category: Translator
Assigned To: unknown Status: Fixed Reported Release: r2929
Fixed in SVN #: 2936 View VCS: 2936 Milestone:

1. Comment by mattlewis Oct 14, 2009

Yep, definitely related. The translator wasn't checking properly for an object (i.e., unknown type).

2. Comment by mattlewis Oct 14, 2009

Fixed the detection of unknown typed data passed to delete_routine().

3. Comment by ne1uno Oct 17, 2009

does now work translated w/watcom, r2943+

but oddly, a previous problem returned where the code crashes with a machine exception in the dll when interpreted. that problem predates the cleanup feature and disappeared around r2854. and still worked interpreted in r2929.

with the minGW debug compile working again it should be possible to trace into it as the dll and it's support libs are compiled w/minGW.

Search



Quick Links

User menu

Not signed in.

Misc Menu