2.43 - Crash when changing canvas size with "^^" characters

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

2.43 - Crash when changing canvas size with "^^" characters

Post by Dstruct »

1. start XnView 2.43
2. load a picture
3. open "canvas size" dialog
4. add "^^" characters in front of the "widh" value
5. click "OK" button

Result: XnView crashes (see attached screencast).

Code: Select all

Name der fehlerhaften Anwendung: xnview.exe, Version: 2.43.0.0, Zeitstempel: 0x59e85f6e
Name des fehlerhaften Moduls: xnview.exe, Version: 2.43.0.0, Zeitstempel: 0x59e85f6e
Ausnahmecode: 0xc0000094
Fehleroffset: 0x001133f0
ID des fehlerhaften Prozesses: 0xe44
Startzeit der fehlerhaften Anwendung: 0x01d35f3e75239e1e
Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\XnView\xnview.exe
Pfad des fehlerhaften Moduls: C:\Program Files (x86)\XnView\xnview.exe
Berichtskennung: 1858bf1a-cb32-11e7-8ee9-0019d1262458
Expected: XnView doesn't crash. "Width" input field shouldn't accept "^^" characters at all.
Attachments
xnview.exe.2580.rar
Dump
(124.01 KiB) Downloaded 56 times
Screencast
Screencast
User avatar
omniplex
Posts: 127
Joined: Thu Feb 10, 2011 1:52 pm
Location: Hamburg
Contact:

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by omniplex »

FWIW 2.40 also crashes, but admittedly I'd never try ^^ in a width field obviously expecting some number. :bugconfirmed:
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by Dstruct »

This happened to me very often by mistake:

1. inserting text into an image (there I was using ^^ to highlight stuff in the picture)
2. change canvas size afterwards (and obviously entering ^^ by mistake there)


or vice versa.

I never understood why XnView crashes. Now I know why.
User avatar
xnview
Author of XnView
Posts: 34096
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by xnview »

if you enter ^^ before the number, 0 will be used because field can't be converted in number. But i have no crash here
Pierre.
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by Dstruct »

Can you test it with the attached image? Seems to crash always with this one.
Attachments
Image for testing
Image for testing
Black.png (160 Bytes) Viewed 2033 times
User avatar
xnview
Author of XnView
Posts: 34096
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by xnview »

not here :(
Pierre.
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by Dstruct »

Mmh,

the dump file also doesn't help?
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by Dstruct »

Maybe you can send me a debug version?
User avatar
xnview
Author of XnView
Posts: 34096
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by xnview »

Dstruct wrote:Maybe you can send me a debug version?
yes i'll send you a version
Pierre.
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by Dstruct »

Cool, thanks!
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by Dstruct »

Did you send it already? Nothing received here yet.
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by Dstruct »

Bump
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by Dstruct »

Still crashing in 2.44
User avatar
xnview
Author of XnView
Posts: 34096
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by xnview »

ok, i'll fix it for next version
Pierre.
Dstruct
Posts: 229
Joined: Fri May 02, 2008 9:27 am

Re: 2.43 - Crash when changing canvas size with "^^" characters

Post by Dstruct »

Wow, thanks!
Post Reply