Crash with Artweaver AWD plugin and Total Commander

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

Moderators: helmut, XnTriq, xnview

Post Reply
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Crash with Artweaver AWD plugin and Total Commander

Post by Dstruct »

Im using

- XnView 1.93.6 with the AWD Plugin 1.5.0.5 from http://www.artweaver.de/index.php?downloads_de
- Total Commander 7.03


In Total Commander I've set XnView as viewer for graphic-files and for *.awd files:

My wincmd.ini has this entries:

Code: Select all

[Lister]
textwidth=81
binwidth=75
SearchGoBack=3
BmpStartup=1
Maximized=1
Multimedia=0
RTF=1
IView=1
IViewPath=C:\Programme\XnView\xnview.exe
IviewAdditionalTypes=*.awd
HTMLasText=0
LinkBraces=0
Wrap=1
CenterBitmap=1
ShrinkBitmap=2

In XnView I've enabled "Only one instance" under Tools/Options/General/Operations.


Download these two Artweaver files:

unbenannt2a.awd (12.0 MB)
unbenannt2b.awd (12.6 MB)


-> now start Total Commander
-> select one of the files
-> hit F3 to open it in the viewer (XnView will start in the background)

-> now open XnView as standalone application
-> select both AWD files in Total Commander
-> drag'n'drop them into XnView

=> CRASH (100% reproducable):

Code: Select all

Microsoft (R) DrWtsn32
Copyright (C) 1985-2001 Microsoft Corp. Alle Rechte vorbehalten.



Anwendungsausnahme aufgetreten:
        Anwendung: C:\Programme\XnView\xnview.exe (pid=1824)
        Wann: 23.05.2008 @ 07:50:48.328
        Ausnahmenummer: c0000005 (Zugriffsverletzung)

*----> Systeminformationen <Terminalsitzungskennung> Taskliste <0> Modulliste <0000000000400000> Statusabbild für Threadkennung 0x628 <----*

eax=7ffdf000 ebx=00000000 ecx=013f0f72 edx=00000113 esi=013f0f6d edi=0012fd14
eip=03230640 esp=0012fcb0 ebp=0012fcd8 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202

Funktion: <nosymbols>
No prior disassembly possible
        03230640 ??               ???
        03230642 ??               ???
        03230644 ??               ???
        03230646 ??               ???
        03230648 ??               ???
        0323064a ??               ???
        0323064c ??               ???
        0323064e ??               ???
        03230650 ??               ???
FEHLER ->03230640 ??               ???
Error 0x00000001
        03230642 ??               ???
        03230644 ??               ???
        03230646 ??               ???
        03230648 ??               ???
        0323064a ??               ???
        0323064c ??               ???
        0323064e ??               ???
        03230650 ??               ???
        03230652 ??               ???
        03230654 ??               ???

*----> Stack Back Trace <ERROR> Raw Stack Dump <----*
000000000012fcb0  34 87 36 7e 6c 01 11 00 - 13 01 00 00 01 00 00 00  4.6~l...........
000000000012fcc0  00 00 00 00 6d 0f 3f 01 - cd ab ba dc 00 00 00 00  ....m.?.........
000000000012fcd0  14 fd 12 00 6d 0f 3f 01 - 40 fd 12 00 16 88 36 7e  ....m.?.@.....6~
000000000012fce0  6d 0f 3f 01 6c 01 11 00 - 13 01 00 00 01 00 00 00  m.?.l...........
000000000012fcf0  00 00 00 00 e0 fd 12 00 - d8 fd 12 00 28 1e a2 00  ............(...
000000000012fd00  14 00 00 00 01 00 00 00 - 00 00 00 00 00 00 00 00  ................
000000000012fd10  10 00 00 00 00 00 00 00 - 04 fd 12 00 00 00 00 00  ................
000000000012fd20  00 00 00 00 00 00 00 00 - f4 fc 12 00 d4 f8 12 00  ................
000000000012fd30  90 fd 12 00 8f 04 39 7e - 30 88 36 7e 00 00 00 00  ......9~0.6~....
000000000012fd40  a0 fd 12 00 cd 89 36 7e - 00 00 00 00 6d 0f 3f 01  ......6~....m.?.
000000000012fd50  6c 01 11 00 13 01 00 00 - 01 00 00 00 00 00 00 00  l...............
000000000012fd60  3c 1e a2 00 01 00 00 00 - 0e 97 36 7e 24 02 0d 00  <.........6~$...
000000000012fd70  78 01 1f 00 01 00 00 02 - 30 91 4d 00 53 8e 37 7e  x.......0.M.S.7~
000000000012fd80  01 00 00 00 00 00 00 00 - 68 fd 12 00 d4 f8 12 00  ........h.......
000000000012fd90  b0 ff 12 00 8f 04 39 7e - f0 89 36 7e ff ff ff ff  ......9~..6~....
000000000012fda0  b0 fd 12 00 c7 96 36 7e - d8 fd 12 00 01 00 00 00  ......6~........
000000000012fdb0  c8 98 37 7e c4 63 52 00 - d8 fd 12 00 4c df 5a 01  ..7~.cR.....L.Z.
000000000012fdc0  00 00 00 00 c0 ff 12 00 - 00 b0 fd 7f 00 00 00 00  ................
000000000012fdd0  00 00 00 00 00 00 00 00 - 6c 01 11 00 13 01 00 00  ........l.......
000000000012fde0  01 00 00 00 00 00 00 00 - 8b 92 21 00 b9 03 00 00  ..........!.....

Same procedure with JPG files (for example) doesn't crash XnView. Looks like the AWD plugin isn't threadsafe!?
Last edited by Dstruct on Wed Jun 04, 2014 9:55 am, edited 2 times in total.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Post by Dstruct »

Reply from the Artweaver developer:
Boris Eyrich wrote:I've tried to reproduce it but without any success. From the crash dump I can see that somewhere in XnView.exe the crash occurs (somewhere by getting a window handle).

At the moment it's hard to say if this error really comes from the AWD Plug-In or if it's a general bug in the Plug-In interface of XnView.
http://www.artweaver.de/forum/viewtopic.php?p=2778#2778
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash with Artweaver AWD plugin and Total Commander

Post by xnview »

Do you have the problem only if you use TC? I've tried to open the files in xnview, and have no problem?
Pierre.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Re: Crash with Artweaver AWD plugin and Total Commander

Post by Dstruct »

xnview wrote:Do you have the problem only if you use TC? I've tried to open the files in xnview, and have no problem?
exactly.

i need to do these steps
Dstruct wrote:-> now start Total Commander
-> select one of the files
-> hit F3 to open it in the viewer (XnView will start in the background)

-> now open XnView as standalone application
-> select both AWD files in Total Commander
-> drag'n'drop them into XnView
to make it crash.



It doesn't crash if I disable "Only one instance" under Tools/Options/General/Operations.

And it also doesn't crash when not loading one image in Total Commander's Lister (which also uses XnView) before dragging those two images into XnView ...
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Crash with Artweaver AWD plugin and Total Commander

Post by xnview »

I've tried but no crash :-(
Pierre.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Post by Dstruct »

mmh,

can you try it with my ini-files?

xnview.ini
wincmd.ini
Last edited by Dstruct on Wed Jun 04, 2014 9:55 am, edited 2 times in total.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Can't reproduce, could you try to disabled option/View/Misc/Read ahead?
Pierre.
Dstruct
Posts: 233
Joined: Fri May 02, 2008 9:27 am

Post by Dstruct »

xnview wrote:Can't reproduce, could you try to disabled option/View/Misc/Read ahead?
will try it.


i've also just tried it again with this option enabled and couldn't get it reproduced immediately. but after some attempts XnView crashed ...
Post Reply