1

Topic: the program

Greetings! There is an aaplet written with usage Qt5, and using QtWebKit. The same program perfectly works in linux and in OSX, but is stable  in . Initially thought that a problem in broken ABI at usage MinGW-W64 QtWebKit of the assembly from the author, and decided to collect the project with usage msvc2015 - the problem remained. A question in how at usage msvc2015 to receive call stack? The moment also that I installed msvc2015 build tool in which is not present IDE and . What  can be used for the task? Thanks.

2

Re: the program

Hello, niXman, you wrote: X> a question in how at usage msvc2015 to receive call stack? X> the moment also that I installed msvc2015 build tool in which is not present IDE and . What  can be used for the task? And why not Community Edition? Then it is possible  from under Studio and to receive all  (variables, flew down, etc.)

3

Re: the program

Hello, Mr. Delphist, you wrote: MD> And why not Community Edition? Then it is possible  from under Studio and to receive all  (variables, flew down, etc.) I did not think that it is required to me . I needed to collect the project simply...

4

Re: the program

Hello, niXman, you wrote: X> a question in how at usage msvc2015 to receive call stack? Program: dbghelp API (StackWalk, etc.) interactive: windbg X> the moment also that I installed msvc2015 build tool in which is not present IDE and . What  can be used for the task? windbg

5

Re: the program

Hello, IID, you wrote: IID> windbg installed and I try to understand, as it to use %) I launch the  the program, and I see such: ModLoad: 5c8b0000 5c904000 C:\msys64\home\nixman\client\debug\Qt5Sqld.dll (468.b88): Break instruction exception - code 80000003 (first chance) eax=00000000 ebx=00000000 ecx=0c470000 edx=0008dd18 esi=fffffffe edi=00000000 eip=779d0ed4 esp=0026f43c ebp=0026f468 iopl=0 nv up ei pl zr na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000246 ntdll! LdrpDoDebuggerBreak+0x2c: 779d0ed4 cc int 3 but from this to me it is clear nothing... I look call stack and I see such: # ChildEBP RetAddr 00 0026f468 779b0fc7 ntdll! LdrpDoDebuggerBreak+0x2c 01 0026f5e4 77979eb5 ntdll! LdrpInitializeProcess+0x12ce 02 0026f634 77969889 ntdll! _LdrpInitialize+0x78 03 0026f644 00000000 ntdll! LdrInitializeThunk+0x10 it became more clear not than %) prompt , what I do not so?

6

Re: the program

Hello, niXman, you wrote: X> I look call stack and I see such: X> X> # ChildEBP RetAddr X> 00 0026f468 779b0fc7 ntdll! LdrpDoDebuggerBreak+0x2c X> 01 0026f5e4 77979eb5 ntdll! LdrpInitializeProcess+0x12ce X> 02 0026f634 77969889 ntdll! _LdrpInitialize+0x78 X> 03 0026f644 00000000 ntdll! LdrInitializeThunk+0x10 X> X> it became more clear not than %) X> prompt , what I do not so? If you run the application under a debugger, there is an automatic breakpoint as soon as the process starts. This breakpoint gives you the opportunity to set further breakpoints before the process begins executing. If you do not like it, there is usually an option in the debugger to ignore the initial default breakpoint. That? UPD. Here like more detailed about first chance exception WinDbg Kata 001: Division By Zero on App Startup

7

Re: the program

X> 00 0026f468 779b0fc7 ntdll! LdrpDoDebuggerBreak+0x2c X> 01 0026f5e4 77979eb5 ntdll! LdrpInitializeProcess+0x12ce X> prompt , what I do not so? All so. Process was initialized and  in a debugger, waits for the further instructions. Can deliver studio all the same? Or at least to take something of type OllyDbg/x64dbg

8

Re: the program

Hello, niXman, you wrote: X> greetings! X> there is an aaplet written with usage Qt5, and using QtWebKit. X> the same program perfectly works in linux and in OSX, but is stable  in . Initially thought that a problem in broken ABI at usage MinGW-W64 QtWebKit of the assembly from the author, and decided to collect the project with usage msvc2015 - the problem remained. X> a question in how at usage msvc2015 to receive call stack? X> the moment also that I installed msvc2015 build tool in which is not present IDE and . What  can be used for the task? X> thanks. http://rsdn.org/forum/flame.comp/6541534.1 the author: b0r3d0m Date: 03.09.16 x64dbg.com, ida, apimon2 windbg is sad

9

Re: the program

Hello, kov_serg, you wrote: _> windbg is sad  And it tells us  loaves, and so and gdb Here where despondency and horror.

10

Re: the program

Understood. And here in what there was a business. Collected zlib using msvc2015. How to collect - did not know, and therefore got to read win32/Makefile.msc. In this file some variants of the assembly are described: # Usage: # nmake-f win32/Makefile.msc (standard build) # nmake-f win32/Makefile.msc LOC =-DFOO (nonstandard build) # nmake-f win32/Makefile.msc LOC = "-DASMV-DASMINF" OBJA = "inffas32.obj match686.obj" (use ASM code, x86) # nmake-f win32/Makefile.msc AS=ml64 LOC = "-DASMV-DASMINF-I." OBJA = "inffasx64.obj gvmat64.obj inffas8664.obj" (use ASM code, x64) I selected what (use ASM code, x86)  that stuck thanks me into function _inflate_fast which is described in inffas32.asm. Happened access violation this line.  with  a variant (standard build) - all apprx. all thanks, the question is closed.

11

Re: the program

Hello, IID, you wrote: IID> Hello, kov_serg, you wrote: _>> windbg is sad  IID> And it tells us  loaves, and so and gdb Here where despondency and horror. Who would speak.

12

Re: the program

Hello, kov_serg, you wrote: IID>> And it tells us  loaves, and so and gdb Here where despondency and horror. _> who would speak. I consider a loaf as a shit. Absolutely sincerely.

13

Re: the program

Hello, IID, you wrote: IID> I consider a loaf as a shit. Absolutely sincerely. About what speech?

14

Re: the program

Hello, niXman, you wrote: IID>> I consider a loaf as a shit. Absolutely sincerely. X> about what speech?

15

Re: the program

Hello, IID, you wrote: IID> at first - all rather. Secondly - by the house machine - ,  only for . Thirdly - at usage  similar questions at me do not arise.

16

Re: the program

Hello, niXman, you wrote: X> at first - all rather. X> secondly - by the house machine - ,  only for . X> thirdly - at usage  similar questions at me do not arise. What for you write it to me?

17

Re: the program

Hello, IID, you wrote: IID> Hello, kov_serg, you wrote: IID>>> And it tells us  loaves, and so and gdb Here where despondency and horror. _>> who would speak. IID> I consider a loaf as a shit. Absolutely sincerely. We can consider linux as everything, it is absolute on what does not influence