Crash on image rotation (?)

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

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
dma_k
Posts: 100
Joined: Tue Apr 14, 2009 8:50 am

Crash on image rotation (?)

Post by dma_k »

Dear xnview developers,

I suffer from xnview crash when I rotate JPEG image left/right (using Ctrl-Shift-L or Ctrl-Shift-R) and then clicking on another image while rotation is being performed. The bug not so difficult to reproduce, but I have no exact steps.

I have generated a mini crash dump – perhaps this will help to narrow the problem.

Additional info:
* xnview v1.98
* Windows7 x64
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash on image rotation (?)

Post by xnview »

During rotation, i can't click on another thumb
Pierre.
User avatar
dma_k
Posts: 100
Joined: Tue Apr 14, 2009 8:50 am

Re: Crash on image rotation (?)

Post by dma_k »

xnview wrote:During rotation, i can't click on another thumb
Yes, that is true: when rotation is in progress, the program does not respond to UI events.

As I mentioned I have no reliable steps. Perhaps it is selection of image, perhaps it is view scrolling – I couldn't define the exact steps for myself as well. Sometimes I cannot catch the bug for days, sometimes I am able to crash xnview several times a day. I usually work with JPEGs created by my camera, so it does not seem to depend on the data, but rather on amount of images for rotation.

I hope that minidump will help you. Does it show the detailed stacktrace? Perhaps I can generate a stracktrace myself, if I have a symbols table (.pdb).
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash on image rotation (?)

Post by xnview »

dma_k wrote:I hope that minidump will help you. Does it show the detailed stacktrace? Perhaps I can generate a stracktrace myself, if I have a symbols table (.pdb).
No sorry the minidump can't help me. It would be great if you can find a way to reproduce it...
Pierre.
rpla
Posts: 5
Joined: Fri Dec 04, 2009 7:36 pm

Re: Crash on image rotation (?)

Post by rpla »

Hi folks,
After two years as happy user of Ubuntu (9.10 AMD64) I did migrate to Debian.
I update too XnView from 0.26 to 0.35 release.
Some fine tuning at Gnome menu command, and Xnview run without problems ...until I atempt to rotate an image, then it crash and the program window has disappeared from my screen.

I'm going to execute program from terminal to get a error message,

$ ./xnview.sh

and repeat the crash action, getting those log at terminal (final action):
...
###### LOAD BITMAP </home/user1/docs/img/img_5.jpg> 4
2 4 8 8
2 4 8
## MyView::onLoaded </home/user1/docs/img/img_5.jpg> </home/user1/docs/img/img_5.jpg> </home/user1/docs/img/img_5.jpg> (0)
## MyView::onLoaded ok
Marker : e0 14
Marker : e1 3966
Marker : ed 10828
Marker : e1 4862
Marker : e2 3158
Marker : ee 12
## BitmapLoadThread :: load 600 450
### resetViewport (1fc0aa0) ==> 413 240 (320 240) 0 0
Create Tree : File
Create Tree : Image
Create Tree : Color Profile
## MyView::onLoaded </home/user1/docs/img/img_5.jpg> </home/user1/docs/img/img_5.jpg> </home/user1/docs/img/img_5.jpg> (1)
## MyView::onLoaded ok
### resetViewport (1fc0aa0) ==> 413 240 (320 240) 0 0
### ThumbLoaderThread :: stop()
Segmentation fault

-------------
After that I guess to do some other operations, as resize, copy, rename files. I can rotate other format files as .tif or .jp2, convert format from .tif to .jpg, all them OK, but when I'm going to rotate .jpg file, XnView, fall down.

For me is very easy to reproduce the crash: it even occur when I attempt to rotate a jpg image, I did does that with the tools button.
After the button is pushed, a dialgog about the possible lose of quality is showed... as you can see :
Image

With only a diference: the cursor is not the pointer as in the image, but the 'clock' to 'wait'...
When click on 'OK' button, XnView crash.

I hope you found those information useful to catch the bug

à bientôt,
Roberto Pla
Post Reply