Page 1 of 1
XnViewMP 0.50
Posted: Tue Jun 12, 2012 11:11 am
by svlasov
- "Auto image size" upon "/" key doesn't work anymore. Works fine on version 0.39.
- Crashes when changing images too fast. E.g. if I scroll with wheel (mouse wheel set to next/previous) or PgUp/Down quick enough.
Code: Select all
## MyPreviewThread :: ERROR : 0 (0xac49db0)
m_stopCondition.wakeOne()
m_loadCondition.wait()
## threadFinished to cache 2 /media/images/img1.png (/media/images/img1.png) (0xac49db0)
MyPreviewThread :: stop()
A /media/images/img4.png (3166 900)
A /media/images/img3.png (2930 754)
##ADD to cache 2 /media/images/img1.png
P /media/images/img3.png (2930 754)
P /media/images/img1.png (2100 664)
##REMOVE from cache 1 /media/images/img3.png (2930 754)
/media/images/img1.png (2100 664)
MyPreviewThread :: stop()
A /media/images/img1.png (2100 664)
##ADD to cache 2 /media/images/img2.png
P /media/images/img1.png (2100 664)
P /media/images/img2.png (2100 664)
setCurrentFilename </media/images/img3.png>
BITAMP VIEW 1 2930 754 2930 754 100.000000 100.000000
### resetViewport (ac03798) ==> 1311 829 (2930 754) 1619 0
SIZE : 0 78 (-1)
SIZE : 0 61 (-1)
SIZE : 0 78 (-1)
SIZE : 0 61 (-1)
SIZE : 0 78 (-1)
SIZE : 0 61 (-1)
SIZE : 0 78 (-1)
SIZE : 0 61 (-1)
##START cache 2 /media/images/img4.png
/media/images/img1.png (2100 664)
/media/images/img2.png (2100 664)
MyPreviewThread :: stop()
MyPreviewThread :: set
###### LOAD BITMAP </media/images/img4.png>
PNG READ INFO
########################################
############### UPDATE MENU ############
########################################
MyPreviewThread :: stop()
m_stopCondition.wait()
### crack
*** glibc detected *** /opt/XnViewMP/XnView: double free or corruption (!prev): 0x0ac51110 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x6cbe1)[0xb4dc0be1]
/lib/i386-linux-gnu/libc.so.6(+0x6e50b)[0xb4dc250b]
/lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0xb4dc569d]
/opt/XnViewMP/XnView[0x844264c]
/opt/XnViewMP/XnView[0x8456745]
/opt/XnViewMP/XnView[0x8458058]
/opt/XnViewMP/XnView[0x8442167]
/opt/XnViewMP/XnView[0x8442498]
/opt/XnViewMP/XnView[0x844571e]
/opt/XnViewMP/XnView[0x82154ee]
/opt/XnViewMP/XnView[0x8080367]
/opt/XnViewMP/XnView[0x829b144]
/opt/XnViewMP/lib/libQtCore.so.4(+0x72b7d)[0xb5d41b7d]
/lib/i386-linux-gnu/libpthread.so.0(+0x5e99)[0xb5cbbe99]
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb4e259ee]
Ubuntu 11.04 i386.
Re: XnViewMP 0.50
Posted: Tue Jun 12, 2012 11:43 am
by xnview
svlasov wrote:
- "Auto image size" upon "/" key doesn't work anymore. Works fine on version 0.39.
Which mode doesn't work??
[*] Crashes when changing images too fast. E.g. if I scroll with wheel (mouse wheel set to next/previous) or PgUp/Down quick enough.
Ubuntu 11.04 i386.
If you go slowly, no crash?
Re: XnViewMP 0.50
Posted: Wed Jun 13, 2012 3:23 am
by bencahill
I'm just trying out this software today, and am utterly impressed with its speed, even on my slower computer. Thanks for all the hard work!
I'm experiencing what sounds like the same issue, namely crashing with the "*** glibc detected *** /opt/xnviewmp/XnView: double free or corruption (out)" error when doing certain things fast. I've experienced the problem on three separate actions, although I can only remember one right now: changing the amount of info displayed with the thumbnails (i.e. Thumbnail, Thumbnail + Labels, etc.).
I can do some more testing, but would like to know what info would be most helpful to you first. I'm off to bed for today.

Re: XnViewMP 0.50
Posted: Wed Jun 13, 2012 7:42 am
by xnview
bencahill wrote:
I can do some more testing, but would like to know what info would be most helpful to you first. I'm off to bed for today.

yes if you have a way to reproduce the crash...
Re: XnViewMP 0.50
Posted: Wed Jun 13, 2012 12:47 pm
by svlasov
xnview wrote:svlasov wrote:
- "Auto image size" upon "/" key doesn't work anymore. Works fine on version 0.39.
Which mode doesn't work??
To my understanding pressing the "/" key should switch between different "Fit image to window ..." modes but it does nothing. For example if the image size is bigger than the window size and the image is scaled to actual size (1:1) then by pressing "/" in version 0.39 the image would get scaled to fit the window, in 0.50 version xNview doesn't react to "/" key at all.
[*] Crashes when changing images too fast. E.g. if I scroll with wheel (mouse wheel set to next/previous) or PgUp/Down quick enough.
Ubuntu 11.04 i386.
If you go slowly, no crash?
Yes, it doesn't crash if I switch images slowly. Looks like a race condition when freeing memory twice after it's been freed already.
Re: XnViewMP 0.50
Posted: Wed Jun 13, 2012 2:12 pm
by xnview
svlasov wrote:
[*] Crashes when changing images too fast. E.g. if I scroll with wheel (mouse wheel set to next/previous) or PgUp/Down quick enough.
Ubuntu 11.04 i386.
If you go slowly, no crash?
Yes, it doesn't crash if I switch images slowly. Looks like a race condition when freeing memory twice after it's been freed already.
I can't reproduce, with a clean xnview.ini? Only picture files in this folder? JPEG?
Re: XnViewMP 0.50
Posted: Wed Jun 13, 2012 2:49 pm
by svlasov
xnview wrote:
I can't reproduce, with a clean xnview.ini? Only picture files in this folder? JPEG?
Only PNGs in the dir. I removed ~/.xnviewmp which was recreated again, still crashes.
Re: XnViewMP 0.50
Posted: Wed Jun 13, 2012 2:58 pm
by xnview
svlasov wrote:xnview wrote:
I can't reproduce, with a clean xnview.ini? Only picture files in this folder? JPEG?
Only PNGs in the dir. I removed ~/.xnviewmp which was recreated again, still crashes.
could you send me some samples of png that you have?
Re: XnViewMP 0.50
Posted: Wed Jun 13, 2012 3:50 pm
by svlasov
xnview wrote:
could you send me some samples of png that you have?
Attached.
Re: XnViewMP 0.50
Posted: Wed Jun 13, 2012 6:23 pm
by xnview
Ok, please try to download the package again (a problem in first build)...
Re: XnViewMP 0.50
Posted: Thu Jun 14, 2012 9:28 am
by svlasov
xnview wrote:Ok, please try to download the package again (a problem in first build)...
Thanks! No more crashes

Re: XnViewMP 0.50
Posted: Thu Jun 14, 2012 9:46 am
by svlasov
Found another bug. For some images in the View mode they look horizontally flipped, but fine in the Browser mode. As an example it happens also for png icons that come with XnView.
Re: XnViewMP 0.50
Posted: Thu Jun 14, 2012 11:18 am
by xnview
svlasov wrote:Found another bug. For some images in the View mode they look horizontally flipped, but fine in the Browser mode. As an example it happens also for png icons that come with XnView.
yes right... only on linux...