Constant Crashes

Things you’d like to miss in the future...
admin
Site Admin
Posts: 60538
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Constant Crashes

Post by admin »

PeterH wrote:
admin wrote:pretty steep learning curve... that's what I thought, and I got pretty far without this tool the last years :wink: ... but good to know it's there.
Help me with my english, please.
Doesn't "steep learning curve" mean, that after a short time you know quite a lot?

And: I have no experience with PCs in this matter. But from my time with programming I must say, I don't know what I had done without dump analysis. As in a dump you can see a problem, without you just have to guess. (And I had dumps of 50 cm height on paper, no guessing here.)

OK - I'm often amazed about your quality of guessing. But sorry: for some kinds of complex errors, especially if you cannot reproduce, only much luck or a dump will help you.
I don't think you can compare VB to the tools from your time. :P :mrgreen: VB works on a different level of abstraction. I don't doubt that dumps can help when you know how to make the translation. But I don't and currently my interest in learning it is smaller than my interest in some other nice things.

mwb1100
Posts: 213
Joined: 19 May 2007 06:20

Re: Constant Crashes

Post by mwb1100 »

PeterH wrote: Doesn't "steep learning curve" mean, that after a short time you know quite a lot?
"Steep learning curve" doesn't mean the time to learn is short - it means it's initially very difficult, but once you get the initial learning over with learning the subsequent stuff generally goes easier.

Given that English is often imprecise, that different people may have different meanings for idioms, and that I could certainly be using it wrong (someone correct me if that's the case), I'll just go ahead and make clear that this is what I meant in any case when I used the phrase.

PeterH
Posts: 2785
Joined: 21 Nov 2005 20:39
Location: Germany

Re: Constant Crashes

Post by PeterH »

mwb1100 wrote:
PeterH wrote: Doesn't "steep learning curve" mean, that after a short time you know quite a lot?
"Steep learning curve" doesn't mean the time to learn is short - it means it's initially very difficult, but once you get the initial learning over with learning the subsequent stuff generally goes easier.

Given that English is often imprecise, that different people may have different meanings for idioms, and that I could certainly be using it wrong (someone correct me if that's the case), I'll just go ahead and make clear that this is what I meant in any case when I used the phrase.
Steep - I had to look this up in a dictionary :oops:
Had a second look: still would say it means "to go up very fast" or so?

But whatever: you mean *slow* start - and then I understand Don a bit more trying to avoid it.
And I think he's right: if VB doesn't help him, for example by mapping VB-Statements to offsets in DLL or so, and by locating VB-variables in the dump, he might have limited advantage.

DeadSerious
Posts: 20
Joined: 05 Jan 2010 07:17

Re: Constant Crashes

Post by DeadSerious »

Okay, I only had one crash last night, while using my jpeg catalog software. Left the computer on all day today with XY open and both Firefox and IE open as well. No crashes. It seems to only happen when I'm actually doing something, and XY is in the background. It's never crashed WHILE I was using it; it's always in the background, while I'm doing something else. And so far it seems to happen with video/images. I'll try uninstalling/reinstalling (again), and maybe try turning off the preview function in XY, see if that makes any difference.

For what it's worth, the problem is NOT with my anti-virus. I had a friend who uses the same AV as I do try XY, and he has had no problems.

admin
Site Admin
Posts: 60538
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Constant Crashes

Post by admin »

DeadSerious wrote:Okay, I only had one crash last night, while using my jpeg catalog software. Left the computer on all day today with XY open and both Firefox and IE open as well. No crashes. It seems to only happen when I'm actually doing something, and XY is in the background. It's never crashed WHILE I was using it; it's always in the background, while I'm doing something else. And so far it seems to happen with video/images. I'll try uninstalling/reinstalling (again), and maybe try turning off the preview function in XY, see if that makes any difference.

For what it's worth, the problem is NOT with my anti-virus. I had a friend who uses the same AV as I do try XY, and he has had no problems.
Thanks for making that clear. This is the kind of thinking that helps me more than minidumps.

ogroeger
Posts: 92
Joined: 03 Jul 2007 07:39

Re: Constant Crashes

Post by ogroeger »

I tried to read a dump anyway. What i did was to
1. use the procdump utility from sysinternal's tools suite to create a full dump when xyplorer crashes.
2. Then i used xyplorer nearly 20 minutes until it crashed and voila: i had a dump on Windows 7.
3. Then i downloaded the debugging tools from Microsoft and installed it (see http://support.microsoft.com/kb/315263).
4. Afterwards i started the WinDbg tool, loaded the dump file and let it analyze.

This is the result:

Code: Select all

FAULTING_IP: 
+0
00000000 ??              ???

EXCEPTION_RECORD:  ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 00000000
   ExceptionCode: 80000003 (Break instruction exception)
  ExceptionFlags: 00000000
NumberParameters: 0

FAULTING_THREAD:  00000c54

DEFAULT_BUCKET_ID:  STATUS_BREAKPOINT

PROCESS_NAME:  XYplorer.exe

ERROR_CODE: (NTSTATUS) 0x80000003 - {AUSNAHME}  Haltepunkt  Im Quellprogramm wurde ein Haltepunkt erreicht.

EXCEPTION_CODE: (HRESULT) 0x80000003 (2147483651) - Mindestens ein Argument ist ung ltig.

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

PRIMARY_PROBLEM_CLASS:  STATUS_BREAKPOINT

BUGCHECK_STR:  APPLICATION_FAULT_STATUS_BREAKPOINT

LAST_CONTROL_TRANSFER:  from 7507a990 to 7507a9ea

STACK_TEXT:  
0018e94c 7507a990 83011633 0018e964 00000044 gdi32!NtGdiGetTextMetricsW+0x15
0018e9ac 75077ebb 83011633 0018eae8 0000003c gdi32!bGetTextMetricsWInternal+0x4c
0018e9d0 6fe8e076 83011633 0018eae8 040797d4 gdi32!GetTextMetricsW+0x74
0018eac0 6fe8de42 83011633 040797c8 040797d0 mshtml!GetFontMetrics+0x1c
0018eb28 6fe8dd70 018a0038 0018fac0 000004b0 mshtml!CBaseCcs::GetTextMetricsW+0x5f
0018ebe8 6fe8d89c 040796e8 0018ec38 000004b0 mshtml!CBaseCcs::GetFontWithMetrics+0x1b1
0018ec84 6fe8d6a4 040796e8 0018ed34 00000000 mshtml!CBaseCcs::MakeFont+0x1dd
0018ecb8 6fe8d5f8 040796e8 0018ed34 00000002 mshtml!CBaseCcs::Init+0x45
0018ecfc 6fe8d56d 040796e8 0018ed34 0018fac0 mshtml!CFontCache::GrabInitNewBaseCcs+0x6c
0018ed94 6ff3c5c1 70295a50 0018fac0 44f78190 mshtml!CFontCache::GetBaseCcs+0x1cc
0018edcc 6ff4ab39 0018eeac 0018fac0 06f78190 mshtml!CFontCache::GetCcs+0x43
0018ee5c 6ff4b1a8 06e9aff8 0018eeac 040c4dc0 mshtml!CLineServices::GetCcs+0xb7
0018eeec 6ff3ee70 06e9aff8 0000000d 0018ef40 mshtml!CLineServices::ChunkifyTextRun+0x922
0018ef4c 6ff3e0dc 000000a0 040c4dc0 0018ef74 mshtml!CLineServices::GleanInfoFromTheRun+0x107f
0018ef7c 74892508 06e9aff8 0000000d 0018f044 mshtml!CLineServices::FetchRun+0x17f
0018eff8 748929d6 0000000d 0000299b 0018f04c msls31!LsDestroyLine+0x6fb
0018f074 7489293f 0000000d 0000299b 00000000 msls31!LsDestroyLine+0x7f1
0018f0b0 6ff3dfa1 00000001 0000000d 0000299b msls31!LsCreateLine+0xcb
0018f200 6ff519ec 0018fac0 0000000d 06e49f20 mshtml!CLSMeasurer::LSDoCreateLine+0x127
0018f2a4 6ff52115 06e9f228 00011558 00000000 mshtml!CLSMeasurer::LSMeasure+0x34
0018f2ec 6ff51fd1 00000000 00012624 00000083 mshtml!CLSMeasurer::Measure+0x1e6
0018f310 6ff513c2 00012624 00000083 0018f4c0 mshtml!CLSMeasurer::MeasureLine+0x1c
0018f3c0 6ff535f9 06e9f000 06e3a010 00000083 mshtml!CRecalcLinePtr::MeasureLine+0x46d
0018f4a4 6ff5330b 06e9f000 0018fac0 0018f4c0 mshtml!CDisplay::RecalcLinesWithMeasurer+0x440
0018f660 6ff53235 00378598 003785d8 00000000 mshtml!CDisplay::RecalcLines+0x6b
0018f674 6ff531e8 00000001 0018fc68 06dbe668 mshtml!CDisplay::RecalcView+0x6d
0018f784 6fe5eb26 0018fac0 0018fc68 00000000 mshtml!CFlowLayout::CalcTextSize+0x43d
0018fa0c 6ff5050e 00378598 0018fc68 00000000 mshtml!CFlowLayout::CalcSizeCoreCompat+0x1045
0018fa28 6ff50587 0018fac0 0018fc68 00000000 mshtml!CFlowLayout::CalcSizeCore+0x49
0018fa64 6ff504bc 0018fac0 0018fc68 00000000 mshtml!CBodyLayout::CalcSizeCore+0xd8
0018fa9c 6ff4ce68 0018fac0 0018fc68 00000000 mshtml!CFlowLayout::CalcSizeVirtual+0x1af
0018fbd4 6fe97703 00378598 00000001 00000000 mshtml!CLayout::CalcSize+0x2b8
0018fc70 6ff3cad7 00378598 00000000 0018fcd0 mshtml!CView::EnsureSize+0xda
0018fcb4 6ff735ad 00000000 0018fd00 0000002a mshtml!CView::EnsureView+0x342
0018fcd8 6ff396f2 06f35898 00000000 0403b6b0 mshtml!CView::EnsureViewCallback+0xd3
0018fd0c 6ff239d7 00000000 6ff11e83 00000000 mshtml!GlobalWndOnMethodCall+0xff
0018fd2c 76c46238 004b052a 00000018 00000000 mshtml!GlobalWndProc+0x10c
0018fd58 76c468ea 6ff11e83 004b052a 00008002 user32!InternalCallWinProc+0x23
0018fdd0 76c47d31 00000000 6ff11e83 004b052a user32!UserCallWinProcCheckWow+0x109
0018fe30 76c48112 6ff11e83 00000001 0018fe80 user32!DispatchMessageWorker+0x3bc
0018fe40 7294a6c8 0018fe58 ffffffff 02a2207c user32!DispatchMessageA+0xf
WARNING: Stack unwind information not available. Following frames may be wrong.
0018fe80 7294a63f ffffffff 02a220a4 02a20000 msvbvm60!_vbaStrToAnsi+0x2f1
0018fec4 7294a51d 02a22174 ffffffff 00000698 msvbvm60!_vbaStrToAnsi+0x268
0018fee0 7294a4e8 02a220a0 02a22174 ffffffff msvbvm60!_vbaStrToAnsi+0x146
0018ff04 72943644 ffffffff 00000000 00000000 msvbvm60!_vbaStrToAnsi+0x111
0018ff80 0040f2da 004102d4 76d43677 7efde000 msvbvm60!ThunRTMain+0xa0
0018ff94 77349d72 7efde000 760ebd32 00000000 XYplorer+0xf2da
0018ffd4 77349d45 0040f2d0 7efde000 00000000 ntdll!__RtlUserThreadStart+0x70
0018ffec 00000000 0040f2d0 7efde000 00000000 ntdll!_RtlUserThreadStart+0x1b


STACK_COMMAND:  ~0s; .ecxr ; kb

FOLLOWUP_IP: 
mshtml!GetFontMetrics+1c
6fe8e076 85c0            test    eax,eax

SYMBOL_STACK_INDEX:  3

SYMBOL_NAME:  mshtml!GetFontMetrics+1c

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: mshtml

IMAGE_NAME:  mshtml.dll

DEBUG_FLR_IMAGE_TIMESTAMP:  4b04f118

FAILURE_BUCKET_ID:  STATUS_BREAKPOINT_80000003_mshtml.dll!GetFontMetrics

BUCKET_ID:  APPLICATION_FAULT_STATUS_BREAKPOINT_mshtml!GetFontMetrics+1c

WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/XYplorer_exe/8_80_0_1/4b3333e3/unknown/0_0_0_0/bbbbbbb4/80000003/00000000.htm?Retriage=1

Followup: MachineOwner
---------
That reads for me as if the method vbaStrToAnsi fails with an illegal argument. Makes this sense?

admin
Site Admin
Posts: 60538
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Constant Crashes

Post by admin »

ogroeger wrote:I tried to read a dump anyway. ...

That reads for me as if the method vbaStrToAnsi fails with an illegal argument. Makes this sense?
Ok, cool!, but I never call vbaStrToAnsi directly. And string conversions to ANSI happen in a million places all the time. Which reminds me to a user here (who was here only short time and never came back) who was able to tell me in which procedure and even roughly in which line the error happened! He talked a bit about how he did it but I cannot find the postings. Maybe about 1 year ago...

ogroeger
Posts: 92
Joined: 03 Jul 2007 07:39

Re: Constant Crashes

Post by ogroeger »

who was able to tell me in which procedure and even roughly in which line
I think that would only be possible when you provide a pdb file (compile with /debug:pdbonly).

admin
Site Admin
Posts: 60538
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Constant Crashes

Post by admin »

ogroeger wrote:
who was able to tell me in which procedure and even roughly in which line
I think that would only be possible when you provide a pdb file (compile with /debug:pdbonly).
I did not do anything. There was probably some degree of reengineerung involved.

admin
Site Admin
Posts: 60538
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Constant Crashes

Post by admin »

Please find DisableSHChangeNotifyRegister in the INI and set it to 1:

Code: Select all

DisableSHChangeNotifyRegister=1
Still crashes?

Pagat
Posts: 306
Joined: 09 Oct 2007 21:23
Location: Austria

Re: Constant Crashes

Post by Pagat »

admin wrote:Which reminds me to a user here (who was here only short time and never came back) who was able to tell me in which procedure and even roughly in which line the error happened! He talked a bit about how he did it but I cannot find the postings. Maybe about 1 year ago...
Almost exactly a year ago if you are refering to this thread:

http://www.xyplorer.com/xyfc/viewtopic. ... 715#p29715

admin
Site Admin
Posts: 60538
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Constant Crashes

Post by admin »

Pagat wrote:
admin wrote:Which reminds me to a user here (who was here only short time and never came back) who was able to tell me in which procedure and even roughly in which line the error happened! He talked a bit about how he did it but I cannot find the postings. Maybe about 1 year ago...
Almost exactly a year ago if you are refering to this thread:

http://www.xyplorer.com/xyfc/viewtopic. ... 715#p29715
Yep, that's the one. :D

DeadSerious
Posts: 20
Joined: 05 Jan 2010 07:17

Re: Constant Crashes

Post by DeadSerious »

admin wrote:Please find DisableSHChangeNotifyRegister in the INI and set it to 1:

Code: Select all

DisableSHChangeNotifyRegister=1
Still crashes?
Is this one for me? (Sorry, got confused. :) )

DeadSerious
Posts: 20
Joined: 05 Jan 2010 07:17

Re: Constant Crashes

Post by DeadSerious »

I also d/l the debugging tools a day or so ago. Problem is, I don't know how to create a crash dump, and don't really know how to read them, but if someone can give me some reasonably specific instructions on how to create the dump, I'll gladly send it to anyone who thinks he or she can make sense of it.

admin
Site Admin
Posts: 60538
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Constant Crashes

Post by admin »

DeadSerious wrote:
admin wrote:Please find DisableSHChangeNotifyRegister in the INI and set it to 1:

Code: Select all

DisableSHChangeNotifyRegister=1
Still crashes?
Is this one for me? (Sorry, got confused. :) )
Yep, for you (and anybody else with "constant crashes"). :)

But note that certain things (e.g. Undo) will not work anymore with this setting.

Post Reply