Opened 9 years ago

Closed 9 years ago

#658 closed bug (fixed)

problems using 'proc' with 'newstruct' (crash)

Reported by: kroeker@… Owned by: hannes
Priority: major Milestone: 4-1-0 and higher
Component: singular-kernel Version: 4-0-1
Keywords: proc newstruct crash Cc:

Description

Following example (newstruct+proc) crashes in recent Singular (commit 6ad94961acdca9949462eba2385b8f164a63b1bd):

newstruct("TeaseCrash", "proc boom ");

TeaseCrash bluff;
bluff;
bluff;
bluff;
bluff; // boom?
bluff;
bluff;
bluff;
bluff;
bluff;
bluff;

bluff.boom = groebner;
def nobluff = bluff;
nobluff; // boom! 

newstruct("TCrash", "proc boom, int salt");

TCrash nokidding;

nokidding; // kidding
nokidding; // kidding
nokidding; // kidding

nokidding; // boOOom! 

output:

Segment fault/Bus error occurred at 7fd145d4c000 because of 10206 (r:1413910191)
please inform the authors

Change History (2)

comment:1 Changed 9 years ago by Oleksandr

Owner: changed from somebody to hannes

comment:2 Changed 9 years ago by hannes

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.