TextPad 5.3.1 again and again crashing on Windows 7 :-(

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
mmo
Posts: 3
Joined: Thu Mar 19, 2009 2:44 pm

TextPad 5.3.1 again and again crashing on Windows 7 :-(

Post by mmo »

I have the VERY annoying effect, that Textpad 5.3.1 which I used to know as rock-solid and never crashing over at least 10 years or so now frequently crashes under my new Windows 7 (ultimate / 32-Bit).

Alas, I can't report much notable on the circumstances. It's often after I clicked into the text (e.g. to select a word) that Win7 suddenly tells me that this application has crashed and after clicking OK Textpad (plus all unsafed work) is gone. :cry:

Any ideas or fixes? This is getting a real pain!

Michael
mmo
Posts: 3
Joined: Thu Mar 19, 2009 2:44 pm

Post by mmo »

OK - I just boiled a file that kept crashing on me down to the bare minimum so that it "reliably" crashes.

Turns out that the reason seems to be some odd combination of a link and a trailing '<' in the same line. Only if both are present I get a crash.

To reproduce this, paste the below lines into a new window and then keep selecting a word, e.g. "foo" in each line and right-click on it to open the context menu. This works fine except in the last line on which I reproducibly get a crash:
-----------------------------------
foo bar
foo bar<
http://some.domain/foo.bar
http://some.domain/foo.bar foo bar
http://some.domain/foo.bar foo bar<
-----------------------------------

Hope that helps in identifying and fixing this issue!

Michael
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post by ak47wong »

Hi Michael,

Well done for coming up with a reproducible scenario!

I can confirm the problem in TextPad 5.3.1 on Vista SP2. In your sample text, right-clicking anywhere on the last line after the URL causes TextPad to crash.

Here's the problem signature:
Problem Event Name: BEX
Application Name: TextPad.exe
Application Version: 5.3.1.0
Application Timestamp: 4a882071
Fault Module Name: TextPad.exe
Fault Module Version: 5.3.1.0
Fault Module Timestamp: 4a882071
Exception Offset: 000fbeee
Exception Code: c0000417
Exception Data: 00000000
OS Version: 6.0.6002.2.2.0.768.3
Locale ID: 3081
Additional Information 1: 3ad0
Additional Information 2: 921f1166c5411212856840eebedd15a1
Additional Information 3: 15ab
Additional Information 4: a36cbbedc573f92c4553e19d2faeba15

Andrew
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

It's not the URL that's doing it, and it's not only Vista or Windows 7.

Right-clicking on any line containing just

Code: Select all

xxx xxx xxx<
causes textPad 5.3 to crash on XP SP2.
mmo
Posts: 3
Joined: Thu Mar 19, 2009 2:44 pm

Post by mmo »

I just double checked (since I had experimented with that, too) and found:
There must be (at least) one more line following the "<".

A file containing just the single line

Code: Select all

foo bar<
does not crash. However, a file containing

Code: Select all

foo bar<

does crash, when right-clicking on one of the words. So, it's indeed apparently the "<" followed by a newline that seems the culprit.

Anyway - that seems now precise and reproducible enough to quickly locate the problem!

Michael
User avatar
helios
Posts: 711
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post by helios »

Thanks for pointing out the bug. We can reproduce it, so it will be fixed in the next maintenance upgrade.
Helios Software Solutions
Post Reply