Page 1 of 1

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

Posted: Fri Nov 17, 2017 1:02 am
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.

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

Posted: Tue Nov 21, 2017 3:22 pm
by omniplex
FWIW 2.40 also crashes, but admittedly I'd never try ^^ in a width field obviously expecting some number. :bugconfirmed:

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

Posted: Tue Nov 21, 2017 4:32 pm
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.

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

Posted: Thu Nov 23, 2017 11:56 am
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

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

Posted: Thu Nov 23, 2017 12:00 pm
by Dstruct
Can you test it with the attached image? Seems to crash always with this one.

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

Posted: Fri Nov 24, 2017 3:57 pm
by xnview
not here :(

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

Posted: Fri Nov 24, 2017 7:12 pm
by Dstruct
Mmh,

the dump file also doesn't help?

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

Posted: Tue Nov 28, 2017 6:22 pm
by Dstruct
Maybe you can send me a debug version?

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

Posted: Wed Nov 29, 2017 2:20 pm
by xnview
Dstruct wrote:Maybe you can send me a debug version?
yes i'll send you a version

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

Posted: Wed Nov 29, 2017 2:24 pm
by Dstruct
Cool, thanks!

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

Posted: Sun Dec 03, 2017 2:02 pm
by Dstruct
Did you send it already? Nothing received here yet.

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

Posted: Sun Feb 18, 2018 4:21 am
by Dstruct
Bump

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

Posted: Mon Mar 05, 2018 12:55 am
by Dstruct
Still crashing in 2.44

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

Posted: Tue Mar 06, 2018 2:49 pm
by xnview
ok, i'll fix it for next version

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

Posted: Tue Mar 06, 2018 3:33 pm
by Dstruct
Wow, thanks!