Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Crashing on text

Crashing on text

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Robin Lionheart   (14 posts)  Bio
Date Tue 24 Jan 2006 03:51 AM (UTC)
Message
For some time I have used this color highlighting trigger on ifMUD:

\(to ([lL]ionheart|LH)\)|[lL]ionheart

Upon upgrading to MUSHclient 3.72, whenever this trigger goes off, MUSHclient crashes.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 24 Jan 2006 05:21 AM (UTC)

Amended on Tue 24 Jan 2006 07:55 PM (UTC) by Nick Gammon

Message
It doesn't crash when I try it, can you post the whole trigger please?

See:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4776


Also, the exact line that causes the trigger to crash.

To narrow it down to that exact trigger, you could make a separate world file, with nothing but that trigger in it, and confirm that it still crashes.

Quote:

Upon upgrading to MUSHclient 3.72 ...


Which version did you upgrade from? Maybe something introduced in an intermediate version is responsible.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Webkid   USA  (22 posts)  Bio
Date Reply #2 on Wed 25 Jan 2006 09:23 PM (UTC)
Message
I have been having trouble with v3.72 as well, so much so that I went back to using v3.70. It seems to be when a trigger changes the background text color it crashes.

Below is an example of my trigger that crashes in v3.72.


<triggers>
  <trigger
   custom_colour="17"
   enabled="y"
   keep_evaluating="y"
   match="You stop dodging and weaving around your opponent."
   regexp="y"
   repeat="y"
   sequence="100"
   other_text_colour="yellow"
   other_back_colour="darkgray"
  >
  </trigger>
</triggers>


I'm not sure if it does so in v3.71 or not, but I can try it out if need be.

-Webkid
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Wed 25 Jan 2006 09:43 PM (UTC)
Message
I tested that exact trigger, Webkid. On 3.72 it didn't crash. No problems.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Webkid   USA  (22 posts)  Bio
Date Reply #4 on Wed 25 Jan 2006 10:26 PM (UTC)

Amended on Wed 25 Jan 2006 10:29 PM (UTC) by Webkid

Message
Ok, so I just took screenshots of it crashing. I also just tried v3.71 and it didn't crash then but in v3.72 it does.

Screenshot 1(http://www.r2wk.net/files/screenshot_01.gif)
Screenshot 2(http://www.r2wk.net/files/screenshot_02.gif)
Screenshot 3(http://www.r2wk.net/files/screenshot_03.gif)

Also here(http://www.r2wk.net/files/appcompat.txt) is one of the error logs.

Hope this helps.

-Webkid
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #5 on Wed 25 Jan 2006 10:37 PM (UTC)
Message
What OS are you using? I'm using Windows XP SP2.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Webkid   USA  (22 posts)  Bio
Date Reply #6 on Wed 25 Jan 2006 11:25 PM (UTC)
Message
I'm using XP Pro with SP2.

-Webkid
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #7 on Thu 26 Jan 2006 02:17 AM (UTC)
Message
I strongly suspect this crash is related to the new feature in version 3.72:

"Added trigger option to only colour the text or background colour when colouring matched text. The default is to keep the existing behaviour, which is to colour both.".

However, your trigger colours both which should have taken the existing code path. Also, I can't reproduce it on that exact trigger.

Can you give the text that you are matching on?

For a regular expression it is unusual to have the trailing dot like that, perhaps you mean:


You stop dodging and weaving around your opponent\.


However that would not cause the crash.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #8 on Thu 26 Jan 2006 02:37 AM (UTC)
Message
OK, found it. It was indeed related to the new code for colouring only the foreground or background.

What would cause the problem was if two triggers coloured the same line, and the first one coloured it in RGB mode (ie. using "Change colour and style to ... Other"). After this, any second attempt to colour that line would cause the crash.

Thus, the single trigger you posted did not, in itself, cause the crash. You must have had another one that was evaluted earlier, that changed the colour of part of that line.

This has been fixed in version 3.73.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #9 on Thu 26 Jan 2006 03:05 AM (UTC)
Message
Version 3.73 is now available.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


32,997 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.