TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

segfault in #showme, simple trigger

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
moebius



Joined: 27 Jan 2005
Posts: 96

PostPosted: Sun Dec 14, 2008 12:34 pm    Post subject: segfault in #showme, simple trigger Reply with quote

found this today

Code:
> group
Your group consists of:
 [45 St] Lanius          -- [670(670)Hp 825(825)Ma 656(656)Mo] (Head of group)
 [45 Or] Panorama        -- [211(211)Hp 462(462)Ma 348(348)Mo]
 [45 So]*Bucket          -- [387(387)Hp 795(795)Ma 392(392)Mo]


Code:
#action {~^ [%0 -- [%1} {
        #showme \ [%0 -- [%1;
        #nop
}


Code:
> group
Your group consists of:
Segmentation fault


The crash disappears if you remove the backslash in the #showme, I was trying to escape the leading space so it would show up in the output.
_________________
StrangeMUD - strangemud.net:9332
Back to top
View user's profile Send private message
moebius



Joined: 27 Jan 2005
Posts: 96

PostPosted: Sun Dec 14, 2008 12:38 pm    Post subject: Reply with quote

Also happens with

Code:
#action {~^ [%0 -- [%1} {
        #showme { [%0 -- [%1};
        #nop
}


Occurs in 1.98.6 and 1.98.7, haven't tested other versions.
_________________
StrangeMUD - strangemud.net:9332
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Sun Dec 14, 2008 12:56 pm    Post subject: Reply with quote

You're creating an endless loop, same thing as with: #alias bla bla

So that's why it crashes.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group