Reply to topic  [ 1 post ] 
pause triggers segmentation violation interrupt 
Author Message
Yorick Guru

Joined: Wed Nov 24, 2004 12:51 pm
Posts: 97
Location: Observatoire de Lyon (France)
Post pause triggers segmentation violation interrupt
The pause function triggers a segmentation violation interrupt when it appears in a file which is included immediately. For instance, write a file bug.i with:
Code:
pause,1;
then do:
Code:
include, "bug.i", 1;
or
Code:
require, "bug.i";
although the latter only works once (because, as expected, the file is only included the first time). This bug occurs for all versions of Yorick I've tested (2.1.04, 2.1.05 and 2.1.06) on Linux and on Darwin. With a recent Yorick version, you can get the bug simply with:
Code:
include, ["pause, 1;"], 1;


Mon May 10, 2010 10:14 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.