Crashing 4.72 on Win7 64x

Posted by Dontarion on Tue 17 May 2011 04:52 AM — 14 posts, 56,000 views.

USA #0
I've reported crashing before and I found out the cause:

On Win7 64bit after 4.5 or so it would crash but worked fine on XP. I've isolated it down to checking the bold box in change colour and style for triggers. Using any other colour and style lines works fine but if you check bold when the trigger hits it crashes MUSH.

I've been chasing this bug for a long time. Finally.
Australia Forum Administrator #1
Can you paste the exact problem trigger please? I have tried on Windows 7 and it doesn't crash for me.

Template:copying
For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.


Also what font are you using? Do you have "show bold" enabled in the output configuration?
USA #2
With such a weird error, it might be easiest if you can duplicate this in a new world file and paste the whole file here. (Just make sure your username/password fields are empty, because the password isn't stored terribly securely.)
Amended on Tue 17 May 2011 08:33 AM by Twisol
Australia Forum Administrator #3
I can believe that some combination of colouring/bolding etc. combined with some other option (eg. length of line, font etc.) might do it, but I really need to reproduce it so I can test it out in the debugger.
USA #4
I tested it by turning a trigger bold and making it fire then the system crashed.

Current font: Bitstream Vera Sans Mono
Show: bold, italic, underline selected
Screen wrap is 92.

This crashing doesn't happen on my XP computer when the exact same files (entire MUSHclient folder) are copied from the XP machine to my Win7 computers. This is the second Win7 computer I've had crash with this issue.

Note: the bolding shows up on XP.

Just tested again: Made a brand new trigger and only selected bold. Tested it and sure enough crash.
Amended on Wed 18 May 2011 04:41 AM by Dontarion
Australia Forum Administrator #5
Can you paste the exact problem trigger please?

Template:copying
For advice on how to copy aliases, timers or triggers from within MUSHclient, and paste them into a forum message, please see Copying XML.


Is it a lot of trouble to copy and paste the trigger? It could be some option you are using. Whether or not it is a regular expression. And so on.

I tried again, no crash. I'm not doing anything else until I get a copy of it.

Also:

Template:summary

Please provide a summary of your world configuration:

  • Either use the scripting Immediate window (Ctrl+I) to execute: Debug ("summary")

    or

  • Install the Summary plugin (see "Summary" feature) and type "summary"

Then copy the resulting information from the output window, and paste into a Forum message.

You need version 4.55 onwards of MUSHclient to do this.

Amended on Wed 18 May 2011 06:12 AM by Nick Gammon
Australia Forum Administrator #6
Oh, and can you try another font please? Like Dina that comes with MUSHclient. I don't actually seem to have Bitstream Vera Sans Mono on my copy of Windows 7.
USA #7
Using courier, bitstream and arial it crashed. Using Dina, which wasn't installed when I installed MUSH, MUSHclient did not crash.

Like I have stated previously you can make a new trigger with regex and bold selected then trigger it. This will crash MUSHclient using the above non-Dina fonts.

Here is what you requested:

This is a regex trigger before it will crash me:
Quote:

<triggers>
<trigger
enabled="y"
match="^You try to use your left hand but it is still too numb\.$"
regexp="y"
sequence="100"
>
</trigger>
</triggers>


This is the same regex trigger after selecting bold and it will/did crash me:
Quote:

<triggers>
<trigger
enabled="y"
make_bold="y"
match="^You try to use your left hand but it is still too numb\.$"
regexp="y"
sequence="100"
>
</trigger>
</triggers>



Debug summary:
Quote:

-------------- MUSHclient summary --------------

MUSHclient version: 4.72
Compiled: Feb 5 2011.
Time now: Wednesday, May 18, 2011, 12:37 AM
Operating system: Windows 7
Libraries: Lua 5.1.4, PCRE 8.10, PNG 1.4.3, SQLite3 3.7.3, Zlib 1.2.5
World name: 'Achaea', ID: e7652573ef14a7e4c5cc1e04
-- Scripting --
Script language: Lua, enabled: yes
Scripting active: yes
Script file: C:\Achaea\MUSHclient\lua\XCore\xcore.lua
Lua sandbox is 127 characters, DLL loading allowed: yes
Scripting prefix: '/'. External editor in use: NO.
Scripting for: 0.070655 seconds.
-- Triggers, aliases, timers, variables --
** Triggers: 1216 in world file, triggers enabled: yes. [Triggers]
726 enabled, 1215 regexp, 17601 attempts, 0 matched, 0.003087 seconds.
** Aliases: 362 in world file, aliases enabled: yes. [Aliases]
362 enabled, 361 regexp, 0 attempts, 0 matched, 0.000000 seconds.
** Timers: 1 in world file, timers enabled: yes. [Timers]
0 enabled, 0 fired.
Timers checked every 0.1 seconds.
** Variables: 19. [Variables]
-- MCCP --
MCCP not active.
-- Plugins (Processing order) --
ID: c1b0e1a49f23c2f789b28423, 'Antitheft', (Lua, 0.000 s) Enabled [Tr Al Va]
ID: f9a86b675c4c314dab7a7f03, 'Elixsum', (Lua, 0.000 s) Enabled [Tr Al]
ID: 2d63e3c55b2caec463c4e891, 'PromptFix', (Lua, 0.000 s) Enabled [Tr]
ID: 2d6228d611c4bb8aa0c1d903, 'Wholist', (Lua, 0.004 s) Enabled [Tr Al Va]
ID: febc349bccf426447a802e0d, 'VadiMapperMiniWindow', (Lua, 0.001 s) Enabled [Tr Al Cb]
ID: 85f72d0e263d75df7bde6f00, 'ATCP_NJG', (Lua, 0.000 s) Enabled [Cb]
ID: 3e7dedbe37e44942dd46d264, 'GMCP_handler', (Lua, 0.010 s) Enabled [Al Cb]
ID: a80b38e2f618fbda79a6440c, 'ATCP_Mapper', (Lua, 0.015 s) Enabled [Tr Al Va Cb]
ID: 4de91eaa2624f202c4bb6835, 'ChatWindow', (Lua, 0.002 s) Enabled [Tr Va Cb]
** Plugins: 9 loaded, 9 enabled.
-- Comms --
Connect phase: 0 (Closed). NAWS wanted: NO
Received: 945 bytes (0 Kb)
Sent: 290 bytes (0 Kb)
Received 5 packets, sent 5 packets.
Total lines received: 186
This connection: Sent 0 lines, received 148 lines.
Telnet (IAC) received: DO: 0, DONT: 0, WILL: 3, WONT: 0, SB: 0 [Telnet]
-- MXP --
MXP active: NO, Pueblo mode: NO, Activated: No - never
MXP tags received: 0
MXP entities received: 0
MXP errors: 0
-- Commands --
Commands in command history: 0
Speed walking enabled: yes. Speed walking prefix: #
Command stacking enabled: yes. Command stack character: ';'
Accelerators defined: 1 [Accelerators]
-- Miniwindows --
Window: 'ScrollbarWindow4de91eaa2624f202c4bb6835', at (1257,41,1579,241), shown: yes
width: 322, height: 200, position: 7, hotspots: 5, fonts: 1, images: 0
Window: 'a80b38e2f618fbda79a6440c_mapper', at (1179,282,1579,682), shown: yes
width: 400, height: 400, position: 7, hotspots: 1, fonts: 2, images: 0
Window: 'febc349bccf426447a802e0d', at (0,0,0,0), shown: NO
width: 450, height: 335, position: 6, hotspots: 0, fonts: 1, images: 0
** Miniwindows: 3 loaded, 2 shown.
-- Output window --
Output pixels: width 1579, height: 723, font width: 7, font height: 14
can show 225 characters, wrapping at column 92, height 51 lines.
Output buffer: 210 of 500000 lines.
-- Miscellaneous --
Logging: NO, tracing: NO
** SQLite3 databases: 0
Sound buffers in use: 0

---------------------- End summary ----------------------





@Twisol: Created a new world, changed the font to arial (since Dina doesn't crash), allowed bold, made one trigger and used test trigger to make it crash. The output is too large to post so here is the pastebin: http://pastebin.com/zkSBpdAs
Amended on Wed 18 May 2011 07:19 AM by Dontarion
Australia Forum Administrator #8
We seem to be narrowing it down to the problem being displaying bold text, in certain fonts.

Can you tell me what point size you are using please?

Also, since this doesn't seem to be that widespread, can you tell me about anything "unusual" about your display setup?

For example:

  • Have you enabled anti-aliasing?
  • Have you switched to a different theme?
  • Have you gone into the Accessibility functions (or the Display configuration) and made all the text larger?
  • Are the fonts you are using downloaded from somewhere?


Personally I usually have "show bold" deselected. As a work-around you could try that.
USA #9
I haven't changed default settings with Windows: I didn't know MUSH had anti-aliasing. I've always thought this was a game side rendering feature.

The theme is the default Windows 7 theme.

I haven't used any of the accessibility features nor changed font sizes.

The font size used is generally 8 I believe but one of them started at 9 minimum.

All fonts, sans Dina, came from Microsoft Windows 7. I am liking the Dina font though.

The moment I figured out the bug I went in and replaced make bold.
Australia Forum Administrator #10
I sat down for half an hour, using MUSHclient 4.73 on Windows 7. Bold was enabled. I tried various fonts including Arial and Courier. No matter what I did, it wouldn't crash for me.

Has anyone else experienced this?
USA #11
This was on two seperate computers an HP Pavillion something another and a new Asus. They're both 64bit CPUs.
Australia Forum Administrator #12
Here's my test:



There is a trigger on the word "guard" which turns it to bold (and green). As you can see it fired and turned the word bold.

Dontarion said:

Using courier, bitstream and arial it crashed.


As you can see I was using Arial. As you can also see Bitstream is not on the list of fonts.

Still, apart from Dontarion, there are no other reports of this bug. If I could reproduce it I would be able to fix it (because I would know that changes I made actually did something).
Australia Forum Administrator #13
See this:

http://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/arial-font-not-working/df923347-16b4-48b2-b2db-e95222c33d80

That fellow fixed the problem by re-installing Arial font.