[x64] Crash with SWFView

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

[x64] Crash with SWFView

Post by *Sob »

First, I'm not sure if this is TC bug or plugin bug, but someone must decide that, so here it is.

1. Have 64-bit TC with clean ini, except for ThumbsInDlg=1 and install SWFView 1.3.8.1 (latest from totalcmd.net)
2. Take some swf file and try to overwrite another swf file with it
3. TC crashes on overwrite dialog while getting thumbnails from plugin:

Code: Select all

Název události problému:	APPCRASH
Název aplikace:	totalcmd64.exe
Verze aplikace:	8.0.0.1
Časové razítko aplikace:	00000000
Název chybného modulu:	KERNELBASE.dll
Verze chybného modulu:	6.1.7601.17651
Časové razítko chybného modulu:	4e21213c
Kód výjimky:	0eedfade
Posun výjimky:	000000000000cacd
Verze operačního systému:	6.1.7601.2.1.0.256.1
ID národního prostředí:	1029
Další informace 1:	f51d
Další informace 2:	f51d7596c01d3b05eeea8a16e29c12b2
Další informace 3:	eee5
Další informace 4:	eee522e70aef604a7dcc4d98e8b59ed1
The crash is in kernelbase.dll, so not clearly in TC nor in plugin. TC has no problem getting previews from other plugins and plugin has no problem opening several swf files in multiple Lister instances, it should not have problem with two previews either. So whose fault it is, I don't know.

TC 8.0 x64 beta 13, also few older betas. 32-bit version is fine.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

What method do you use to extract SWF thumbnails?
Author of Total Commander
https://www.ghisler.com
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

As described, thumbnails come from SWFView WLX plugin.

If this does not answer your question, then I don't know what you are asking about and need some hint. :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I see - when you get this, Windows ask whether you want to submit a bug report. When this happens, do NOT close that dialog. Instead, open a second copy of TC and go to the TEMP directory:
cd %TEMP%

There should be a new subfolder with the current date/time containing a .dmp file (maybe inside a CAB file). Please pack this file with zip (RAR will not work since the file is locked) and send it to beta at ghisler dot com for analyzing. Pleas also write which TC version you use at the time of the crash.
Author of Total Commander
https://www.ghisler.com
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

Crash dump is here: http://web.hisoftware.cz/sob/tmp/tccrash2.7z (using beta 14)

But it should most likely happen also if you try it yourself. I tried on four different computers with same result, it happens every time. So it must happen everywhere, I can't be so unlucky. :)

Here's test file, just in case it's content-dependent, although it doesn't seem so, it happened with all tested files so far: http://web.hisoftware.cz/sob/tmp/test.swf (just make a copy and then try to overwrite it again).
User avatar
petermad
Power Member
Power Member
Posts: 16030
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can confirm the problem.

I don't even have to overwrite one swf file with another. All I have to do is delete TC's thumbnail cache files, open a directory containing swf files and switch to thumbnail view.

Windows error report files can be downloaded at http://madsenworld.dk/tcmd/swfcrash.zip

If TC 8.0 32bit has already cached the swf files, then opening the same dir in TC 8.0 x64 doesn't cause a crash.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2Sob
Here is the analyzed crash report. The error really happens inside the plugin:
Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [F:\dn\WER1317.tmp.mdmp]
User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: srv*C:\SYMBOLS*http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows 7 Version 7600 UP Free x64
Product: WinNt, suite: SingleUserTS
Machine Name:
Debug session time: Sun Dec 25 16:45:14.000 2011 (UTC + 1:00)
System Uptime: 0 days 0:12:07.266
Process Uptime: 0 days 0:09:23.000
................................................................
.......................................
Loading unloaded module list
....
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(9c8.b50): Unknown exception - code 0eedfade (first/second chance not available)
KERNELBASE!RaiseException+0x39:
000007fe`fcf9aa7d 4881c4c8000000 add rsp,0C8h
0:004> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************

*** WARNING: Unable to verify timestamp for TOTALCMD64.EXE
*** ERROR: Module load completed but symbols could not be loaded for TOTALCMD64.EXE
*** ERROR: Symbol file could not be found. Defaulted to export symbols for Flash64_11_1_102.ocx -
GetPageUrlData failed, server returned HTTP status 404
URL requested: *****

FAULTING_IP:
KERNELBASE!RaiseException+39
000007fe`fcf9aa7d 4881c4c8000000 add rsp,0C8h

EXCEPTION_RECORD: ffffffffffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 000007fefcf9aa7d (KERNELBASE!RaiseException+0x0000000000000039)
ExceptionCode: 0eedfade
ExceptionFlags: 00000001
NumberParameters: 7
Parameter[0]: 000000007209421e
Parameter[1]: 0000000003f04030
Parameter[2]: 0000000000000000
Parameter[3]: 0000000000000000
Parameter[4]: 0000000000000000
Parameter[5]: 0000000000000000
Parameter[6]: 0000000000000000

DEFAULT_BUCKET_ID: DELPHI_EXCEPTION

PROCESS_NAME: TOTALCMD64.EXE

ERROR_CODE: (NTSTATUS) 0xeedfade - <Unable to get error code text>

EXCEPTION_CODE: (Win32) 0xeedfade (250477278) - <Unable to get error code text>

EXCEPTION_PARAMETER1: 000000007209421e

EXCEPTION_PARAMETER2: 0000000003f04030

EXCEPTION_PARAMETER3: 0000000000000000

EXCEPTION_PARAMETER4: 0

MOD_LIST: <ANALYSIS/>

NTGLOBALFLAG: 0

APPLICATION_VERIFIER_FLAGS: 0

FAULTING_THREAD: 0000000000000b50

PRIMARY_PROBLEM_CLASS: DELPHI_EXCEPTION

BUGCHECK_STR: APPLICATION_FAULT_DELPHI_EXCEPTION

LAST_CONTROL_TRANSFER: from 0000000003b1a1c6 to 000007fefcf9aa7d

STACK_TEXT:
00000000`0f1cccf0 00000000`03b1a1c6 : 00000000`0f1ccdd0 00000000`03d30592 00000000`03a767d0 00000000`00000000 : KERNELBASE!RaiseException+0x39
00000000`0f1ccdc0 00000000`0f1ccdd0 : 00000000`03d30592 00000000`03a767d0 00000000`00000000 00000001`0eedfade : SWFView+0xa1c6
00000000`0f1ccdc8 00000000`03d30592 : 00000000`03a767d0 00000000`00000000 00000001`0eedfade 00000000`00000000 : 0xf1ccdd0
00000000`0f1ccdd0 00000000`03a767d0 : 00000000`00000000 00000001`0eedfade 00000000`00000000 00000000`7209421e : SWFView+0x220592
00000000`0f1ccdd8 00000000`00000000 : 00000001`0eedfade 00000000`00000000 00000000`7209421e 00000000`00000007 : 0x3a767d0


STACK_COMMAND: ~4s; .ecxr ; kb

FOLLOWUP_IP:
SWFView+a1c6
00000000`03b1a1c6 ?? ???

SYMBOL_STACK_INDEX: 1

SYMBOL_NAME: SWFView+a1c6

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: SWFView

IMAGE_NAME: SWFView.wlx64

DEBUG_FLR_IMAGE_TIMESTAMP: 4ea1ac97

FAILURE_BUCKET_ID: DELPHI_EXCEPTION_eedfade_SWFView.wlx64!Unknown

BUCKET_ID: X64_APPLICATION_FAULT_DELPHI_EXCEPTION_SWFView+a1c6

WATSON_STAGEONE_URL: http://watson.microsoft.com/StageOne/TOTALCMD64_EXE/8_0_0_1/_______0/KERNELBASE_dll/6_1_7600_16385/4a5bdfe0/eedfade/0000aa7d.htm?Retriage=1

Followup: MachineOwner
---------
Author of Total Commander
https://www.ghisler.com
Sob
Power Member
Power Member
Posts: 945
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

Thanks.

I thought so. Not from the beginning, but after petermad found out that it crashes with any thumbnail generation, my bets went to plugin problem. I don't use thumbnail view in TC much, so it didn't occur to me to try it initially.

I will forward it to plugin author.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to the Plugins forum.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply