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: 212
Joined: Fri May 02, 2008 9:27 am

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

Postby Dstruct » Fri Nov 17, 2017 1:02 am

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 2 times
xnview243-crash.gif
Screencast

User avatar
omniplex
Posts: 125
Joined: Thu Feb 10, 2011 1:52 pm
Location: Hamburg
Contact:

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

Postby omniplex » Tue Nov 21, 2017 3:22 pm

FWIW 2.40 also crashes, but admittedly I'd never try ^^ in a width field obviously expecting some number. :bugconfirmed:

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

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

Postby Dstruct » Tue Nov 21, 2017 4:32 pm

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: 28394
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Postby xnview » Thu Nov 23, 2017 11:56 am

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: 212
Joined: Fri May 02, 2008 9:27 am

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

Postby Dstruct » Thu Nov 23, 2017 12:00 pm

Can you test it with the attached image? Seems to crash always with this one.
Attachments
Black.png
Image for testing
Black.png (160 Bytes) Viewed 79 times

User avatar
xnview
Author of XnView
Posts: 28394
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Postby xnview » Fri Nov 24, 2017 3:57 pm

not here :(
Pierre.

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

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

Postby Dstruct » Fri Nov 24, 2017 7:12 pm

Mmh,

the dump file also doesn't help?

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

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

Postby Dstruct » Tue Nov 28, 2017 6:22 pm

Maybe you can send me a debug version?

User avatar
xnview
Author of XnView
Posts: 28394
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Postby xnview » Wed Nov 29, 2017 2:20 pm

Dstruct wrote:Maybe you can send me a debug version?

yes i'll send you a version
Pierre.

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

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

Postby Dstruct » Wed Nov 29, 2017 2:24 pm

Cool, thanks!

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

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

Postby Dstruct » Sun Dec 03, 2017 2:02 pm

Did you send it already? Nothing received here yet.


Return to “Classic - Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests