qBit 3.1.9 exe runtime error

Windows specific questions, problems.
fusk

qBit 3.1.9 exe runtime error

Post by fusk »

Is there anything i can do to fix this, and how do i even diagnose it when the error is so vage. It just says "runtime error qbittorrent.exe, requested to close in an unusual way" and the program crashes.
Over the past 2 days it has happened 5 times, and just now 2 times in less than 10 min.
Last edited by fusk on Fri Mar 14, 2014 8:04 pm, edited 1 time in total.
fusk

Re: qBit 3.1.9 exe runtime error

Post by fusk »

it just keeps crashing again & again & again, around 10 crashes to day.
sledgehammer_999
Administrator
Administrator
Posts: 2444
Joined: Sun Jan 23, 2011 1:17 pm

Re: qBit 3.1.9 exe runtime error

Post by sledgehammer_999 »

Can you download and run it through "windbg"? Then do a
!analyze -v
in the command box.
sledgehammer_999
Administrator
Administrator
Posts: 2444
Joined: Sun Jan 23, 2011 1:17 pm

Re: qBit 3.1.9 exe runtime error

Post by sledgehammer_999 »

Ok let me expand on this.

1. WinDbg and select File->Open executable. Select qbittorrent.exe
2. A new subwindow will open.
3. In the main windows select Debug->Go and qbt will start
4. Now you will have to wait until the crash happens.
5. After that, in the subwindow you will be able to input commands(at the bottom).
6. Issue "!analyze -v" and hopefully some useful info will be presented.
fusk

Re: qBit 3.1.9 exe runtime error

Post by fusk »

"3. In the main windows select Debug->Go and qbt will start" It didn't start so i just started it manually.
sledgehammer_999
Administrator
Administrator
Posts: 2444
Joined: Sun Jan 23, 2011 1:17 pm

Re: qBit 3.1.9 exe runtime error

Post by sledgehammer_999 »

qbt needs to run from inside the debugger.
Why didn't it start? Does the subwidows show something?
If you start it manually from outside the debugger, then attach to it from windbg(file->attach to a process...)
fusk

Re: qBit 3.1.9 exe runtime error

Post by fusk »

This is there before i press go, but after i've choosen the exe.

Executable search path is:
ModLoad: 00000000`00f90000 00000000`01e3b000  qbittorrent.exe
ModLoad: 00000000`77370000 00000000`77519000  ntdll.dll
ModLoad: 00000000`77550000 00000000`776d0000  ntdll32.dll
ModLoad: 00000000`74120000 00000000`7415f000  C:\Windows\SYSTEM32\wow64.dll
ModLoad: 00000000`740c0000 00000000`7411c000  C:\Windows\SYSTEM32\wow64win.dll
ModLoad: 00000000`740b0000 00000000`740b8000  C:\Windows\SYSTEM32\wow64cpu.dll
(105c.da8): Break instruction exception - code 80000003 (first chance)
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll.dll -
ntdll!CsrSetPriorityClass+0x40:
00000000`7741cb70 cc              int    3

When i press go it says this, but it doesn't start.

0:000> g
ModLoad: 00000000`77250000 00000000`7736f000  WOW64_IMAGE_SECTION
ModLoad: 00000000`76bb0000 00000000`76cc0000  WOW64_IMAGE_SECTION
ModLoad: 00000000`77250000 00000000`7736f000  NOT_AN_IMAGE
ModLoad: 00000000`77150000 00000000`7724a000  NOT_AN_IMAGE
ModLoad: 00000000`76bb0000 00000000`76cc0000  C:\Windows\syswow64\kernel32.dll
ModLoad: 00000000`75f40000 00000000`75f87000  C:\Windows\syswow64\KERNELBASE.dll
ModLoad: 00000000`720b0000 00000000`7219b000  C:\Windows\SysWOW64\dbghelp.dll
ModLoad: 00000000`76060000 00000000`7610c000  C:\Windows\syswow64\msvcrt.dll
ModLoad: 00000000`76f10000 00000000`76fb0000  C:\Windows\syswow64\ADVAPI32.dll
ModLoad: 00000000`75ec0000 00000000`75ed9000  C:\Windows\SysWOW64\sechost.dll
ModLoad: 00000000`75dd0000 00000000`75ec0000  C:\Windows\syswow64\RPCRT4.dll
ModLoad: 00000000`74f70000 00000000`74fd0000  C:\Windows\syswow64\SspiCli.dll
ModLoad: 00000000`74f60000 00000000`74f6c000  C:\Windows\syswow64\CRYPTBASE.dll
ModLoad: 00000000`75060000 00000000`75caa000  C:\Windows\syswow64\SHELL32.dll
ModLoad: 00000000`76cd0000 00000000`76d27000  C:\Windows\syswow64\SHLWAPI.dll
ModLoad: 00000000`74fd0000 00000000`75060000  C:\Windows\syswow64\GDI32.dll
ModLoad: 00000000`77050000 00000000`77150000  C:\Windows\syswow64\USER32.dll
ModLoad: 00000000`76d40000 00000000`76d4a000  C:\Windows\syswow64\LPK.dll
ModLoad: 00000000`76fb0000 00000000`7704d000  C:\Windows\syswow64\USP10.dll
ModLoad: 00000000`74230000 00000000`74255000  C:\Windows\SysWOW64\POWRPROF.dll
ModLoad: 00000000`765a0000 00000000`7673d000  C:\Windows\syswow64\SETUPAPI.dll
ModLoad: 00000000`76790000 00000000`767b7000  C:\Windows\syswow64\CFGMGR32.dll
ModLoad: 00000000`76360000 00000000`763ef000  C:\Windows\syswow64\OLEAUT32.dll
ModLoad: 00000000`76d50000 00000000`76eac000  C:\Windows\syswow64\ole32.dll
ModLoad: 00000000`76150000 00000000`76162000  C:\Windows\syswow64\DEVOBJ.dll
ModLoad: 00000000`763f0000 00000000`7646b000  C:\Windows\syswow64\COMDLG32.dll
ModLoad: 00000000`70c40000 00000000`70dde000  C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
ModLoad: 00000000`76190000 00000000`761f0000  C:\Windows\syswow64\IMM32.dll
ModLoad: 00000000`761f0000 00000000`762bc000  C:\Windows\syswow64\MSCTF.dll
ModLoad: 00000000`71a20000 00000000`71a52000  C:\Windows\SysWOW64\WINMM.dll
ModLoad: 00000000`75f90000 00000000`75fc5000  C:\Windows\syswow64\WS2_32.dll
ModLoad: 00000000`75f30000 00000000`75f36000  C:\Windows\syswow64\NSI.dll
ModLoad: 00000000`73e40000 00000000`73e7c000  C:\Windows\SysWOW64\MSWSOCK.dll
ModLoad: 00000000`75cb0000 00000000`75dd0000  C:\Windows\syswow64\CRYPT32.dll
ModLoad: 00000000`76180000 00000000`7618c000  C:\Windows\syswow64\MSASN1.dll
(105c.da8): WOW64 breakpoint - code 4000001f (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for ntdll32.dll -
ntdll32!LdrVerifyImageMatchesChecksum+0x96c:
775f103b cc              int    3


Attach to process is greyed out.
Oh wait, i just clicked "Go" again, because i was thinking maybe i choose the exe, start the process and then press go. It added this & brought qbittorrent to the front.

0:000:x86> g
ModLoad: 00000000`72280000 00000000`72300000  C:\Windows\SysWOW64\uxtheme.dll
ModLoad: 00000000`71d40000 00000000`71d53000  C:\Windows\SysWOW64\dwmapi.dll
ModLoad: 00000000`03510000 00000000`0415a000  C:\Windows\SysWOW64\shell32.dll
ModLoad: 00000000`03510000 00000000`03620000  C:\Windows\SysWOW64\kernel32.dll
ModLoad: 00000000`03510000 00000000`03610000  C:\Windows\SysWOW64\user32.dll
ModLoad: 00000000`03510000 00000000`03610000  C:\Windows\SysWOW64\user32.dll
ntdll!ZwTerminateProcess+0xa:
00000000`773c157a c3              ret

Edit:
Okay i see what's going on, when i hit "go" it start a qbittorrent process that only uses 1.2mb and has no gui, but it's there in taskmanager.
The "real" qbit doesn't pop up before i manually start the program.
Last edited by fusk on Sat Mar 15, 2014 3:58 pm, edited 1 time in total.
sledgehammer_999
Administrator
Administrator
Posts: 2444
Joined: Sun Jan 23, 2011 1:17 pm

Re: qBit 3.1.9 exe runtime error

Post by sledgehammer_999 »

When you press "go" input in the command "!analyze -v" after it has finished scrolling.
If you want to attach to process then you must not click "open executable"
fusk

Re: qBit 3.1.9 exe runtime error

Post by fusk »

0:000> !analyze -v
Last event: 1040.13dc: Exit process 0:1040, code 0
  debugger time: Sat Mar 15 16:55:23.702 2014 (UTC + 1:00)

Will try "attach to process" and see what happens.

*** wait with pending attach
Symbol search path is: *** Invalid ***
****************************************************************************
* Symbol loading may be unreliable without a symbol search path.          *
* Use .symfix to have the debugger choose a symbol path.                  *
* After setting your symbol path, use .reload to refresh symbol locations. *
****************************************************************************
Executable search path is:
ModLoad: 00000000`01060000 00000000`01f0b000  C:\Program Files (x86)\qBittorrent\qbittorrent.exe
ModLoad: 00000000`77370000 00000000`77519000  C:\Windows\SYSTEM32\ntdll.dll
ModLoad: 00000000`77550000 00000000`776d0000  ntdll.dll
ModLoad: 00000000`74120000 00000000`7415f000  C:\Windows\SYSTEM32\wow64.dll
ModLoad: 00000000`740c0000 00000000`7411c000  C:\Windows\SYSTEM32\wow64win.dll
ModLoad: 00000000`740b0000 00000000`740b8000  C:\Windows\SYSTEM32\wow64cpu.dll
ModLoad: 00000000`76bb0000 00000000`76cc0000  KERNEL32.dll
ModLoad: 00000000`75f40000 00000000`75f87000  KERNELBASE.dll
ModLoad: 00000000`720b0000 00000000`7219b000  dbghelp.dll
ModLoad: 00000000`76060000 00000000`7610c000  msvcrt.dll
ModLoad: 00000000`76f10000 00000000`76fb0000  ADVAPI32.dll
ModLoad: 00000000`75ec0000 00000000`75ed9000  SECHOST.dll
ModLoad: 00000000`75dd0000 00000000`75ec0000  RPCRT4.dll
ModLoad: 00000000`74f70000 00000000`74fd0000  SspiCli.dll
ModLoad: 00000000`74f60000 00000000`74f6c000  CRYPTBASE.dll
ModLoad: 00000000`75060000 00000000`75caa000  SHELL32.dll
ModLoad: 00000000`76cd0000 00000000`76d27000  SHLWAPI.dll
ModLoad: 00000000`74fd0000 00000000`75060000  GDI32.dll
ModLoad: 00000000`77050000 00000000`77150000  USER32.dll
ModLoad: 00000000`76d40000 00000000`76d4a000  LPK.dll
ModLoad: 00000000`76fb0000 00000000`7704d000  USP10.dll
ModLoad: 00000000`74230000 00000000`74255000  POWRPROF.dll
ModLoad: 00000000`765a0000 00000000`7673d000  SETUPAPI.dll
ModLoad: 00000000`76790000 00000000`767b7000  CFGMGR32.dll
ModLoad: 00000000`76360000 00000000`763ef000  OLEAUT32.dll
ModLoad: 00000000`76d50000 00000000`76eac000  ole32.dll
ModLoad: 00000000`76150000 00000000`76162000  DEVOBJ.dll
ModLoad: 00000000`763f0000 00000000`7646b000  COMDLG32.dll
ModLoad: 00000000`70c40000 00000000`70dde000  COMCTL32.dll
ModLoad: 00000000`76190000 00000000`761f0000  IMM32.dll
ModLoad: 00000000`761f0000 00000000`762bc000  MSCTF.dll
ModLoad: 00000000`71a20000 00000000`71a52000  WINMM.dll
ModLoad: 00000000`75f90000 00000000`75fc5000  WS2_32.dll
ModLoad: 00000000`75f30000 00000000`75f36000  NSI.dll
ModLoad: 00000000`73e40000 00000000`73e7c000  MSWSOCK.dll
ModLoad: 00000000`75cb0000 00000000`75dd0000  CRYPT32.dll
ModLoad: 00000000`76180000 00000000`7618c000  MSASN1.dll
ModLoad: 00000000`72280000 00000000`72300000  UxTheme.dll
ModLoad: 00000000`71d40000 00000000`71d53000  dwmapi.dll
ModLoad: 00000000`73cd0000 00000000`73ce7000  USERENV.dll
ModLoad: 00000000`73d50000 00000000`73d5b000  profapi.dll
ModLoad: 00000000`721f0000 00000000`72206000  CRYPTSP.dll
ModLoad: 00000000`721b0000 00000000`721eb000  RSAENH.dll
ModLoad: 00000000`741f0000 00000000`741f6000  WSHIP6.dll
ModLoad: 00000000`73d40000 00000000`73d45000  WSHTCPIP.dll
ModLoad: 00000000`72360000 00000000`723a4000  DNSAPI.dll
ModLoad: 00000000`73d70000 00000000`73d8c000  IPHLPAPI.DLL
ModLoad: 00000000`73d60000 00000000`73d67000  WINNSI.DLL
ModLoad: 00000000`72300000 00000000`72306000  rasadhlp.dll
ModLoad: 00000000`72310000 00000000`72348000  fwpuclnt.dll
ModLoad: 00000000`721a0000 00000000`721ae000  RpcRtRemote.dll
ModLoad: 00000000`71130000 00000000`711b4000  COMCTL32.dll
(c34.608): Break instruction exception - code 80000003 (first chance)
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Windows\SYSTEM32\ntdll.dll -
ntdll!DbgBreakPoint:
00000000`773c0590 cc              int    3

I guess i just let it be and hope for something to happen and then use "!analyze -v"

Edit:
Seems like when i "attach to process" it makes qbittorrent.exe stop working, i can't interact with the program, if i stop debug it closes the process as well.
Last edited by fusk on Sat Mar 15, 2014 4:15 pm, edited 1 time in total.
sledgehammer_999
Administrator
Administrator
Posts: 2444
Joined: Sun Jan 23, 2011 1:17 pm

Re: qBit 3.1.9 exe runtime error

Post by sledgehammer_999 »

[quote="fusk"]
Edit:
Seems like when i "attach to process" it makes qbittorrent.exe stop working, i can't interact with the program, if i stop debug it closes the process as well.
[/quote]

Sorry I didn't mention this. You will need to press go after you attach.
PS: What Windows version are you using?
fusk

Re: qBit 3.1.9 exe runtime error

Post by fusk »

Ah, much better, now it says "Debuggee is running..."
Win7 x64
Last edited by fusk on Sat Mar 15, 2014 4:32 pm, edited 1 time in total.
fusk

Re: qBit 3.1.9 exe runtime error

Post by fusk »

http://pastebin.com/yfbYWUpq

Crashed not long after, same thing. I/O error "not enough space" Then followed by unresponsive UI, using stop debug closed the process.
Last edited by fusk on Sat Mar 15, 2014 4:45 pm, edited 1 time in total.
sledgehammer_999
Administrator
Administrator
Posts: 2444
Joined: Sun Jan 23, 2011 1:17 pm

Re: qBit 3.1.9 exe runtime error

Post by sledgehammer_999 »

Crashed not long after, same thing. I/O error "not enough space" Then followed by unresponsive UI, using stop debug closed the process.
Did it allow you to enter !analyze -v before you stoped the debuging?
The debugger freezes the program when an exception occur so you can investigate. Probably that's the reason qbt became unresponsive.
fusk

Re: qBit 3.1.9 exe runtime error

Post by fusk »

#¤%& Forgot to do that, will catch the next one.
fusk

Re: qBit 3.1.9 exe runtime error

Post by fusk »

Okay, here we go. Think this might be the important part.

GetPageUrlData failed, server returned HTTP status 404
URL requested: http://watson.microsoft.com/StageOne/qb ... Retriage=1

FAULTING_IP:
KERNELBASE!RaiseException+58
75f4c41f c9              leave

EXCEPTION_RECORD:  ffffffffffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 0000000075f4c41f (KERNELBASE!RaiseException+0x0000000000000058)
  ExceptionCode: e06d7363 (C++ EH exception)
  ExceptionFlags: 00000001
NumberParameters: 3
  Parameter[0]: 0000000019930520
  Parameter[1]: 0000000003f7f434
  Parameter[2]: 0000000000e661a0

FAULTING_THREAD:  0000000000001068

DEFAULT_BUCKET_ID:  WRONG_SYMBOLS

PROCESS_NAME:  qbittorrent.exe

ADDITIONAL_DEBUG_TEXT: 
Use '!findthebuild' command to search for the target build information.
If the build information is available, run '!findthebuild -s ; .reload' to set symbol path and load symbols.

FAULTING_MODULE: 0000000077370000 ntdll

DEBUG_FLR_IMAGE_TIMESTAMP:  5311d18e

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

EXCEPTION_CODE: (NTSTATUS) 0xe06d7363 - <Unable to get error code text>

EXCEPTION_PARAMETER1:  0000000019930520

EXCEPTION_PARAMETER2:  0000000003f7f434

EXCEPTION_PARAMETER3:  0000000000e661a0

MOD_LIST: <ANALYSIS/>

PRIMARY_PROBLEM_CLASS:  WRONG_SYMBOLS

BUGCHECK_STR:  APPLICATION_FAULT_WRONG_SYMBOLS_ZEROED_STACK

LAST_CONTROL_TRANSFER:  from 0000000000800946 to 0000000075f4c41f

STACK_TEXT: 
WARNING: Stack unwind information not available. Following frames may be wrong.
03f7f3ec 00800946 e06d7363 00000001 00000003 KERNELBASE!RaiseException+0x58
03f7f424 007fc25f 03f7f434 00e661a0 008b14a0 qbittorrent!_CxxThrowException+0x48 [f:\dd\vctools\crt_bld\self_x86\crt\prebuild\eh\throw.cpp @ 161]
03f7f440 00132464 00200000 014c0000 00000000 qbittorrent!operator new+0x64 [f:\dd\vctools\crt_bld\self_x86\crt\src\new.cpp @ 63]
03f7f458 0012ebb7 00200000 00000000 00200000 qbittorrent!std::_Allocate<char>+0x15 [c:\program files\microsoft visual studio 9.0\vc\include\xmemory @ 43]
03f7f478 0012d04e 47f0fa58 00000000 00200000 qbittorrent!std::vector<char,std::allocator<char> >::_Insert_n+0x72 [c:\program files\microsoft visual studio 9.0\vc\include\vector @ 1173]
03f7f4b0 007c39ca 00200000 00000000 5443e020 qbittorrent!std::vector<char,std::allocator<char> >::resize+0x43 [c:\program files\microsoft visual studio 9.0\vc\include\vector @ 719]
03f7f4d4 00754228 066cb232 00000014 03f7f50c qbittorrent!libtorrent::inflate_gzip+0x4a
03f7f54c 0075e518 00000000 00f0b998 066cb232 qbittorrent!libtorrent::http_connection::callback+0x108
03f7f650 00757260 03f7f72c 00000005 3626f470 qbittorrent!libtorrent::http_connection::on_read+0x488
03f7f6c8 00745a17 00000000 00f0b998 00000022 qbittorrent!boost::asio::ssl::detail::io_op<libtorrent::http_stream,boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,libtorrent::http_connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<libtorrent::http_connection> >,boost::arg<1>,boost::arg<2> > > >::operator()+0x1f0
03f7f6dc 0074aeae 03f7f714 03f7f73c 02a4d305 qbittorrent!boost::asio::asio_handler_invoke<boost::asio::detail::binder2<boost::asio::ssl::detail::io_op<libtorrent::socks5_stream,boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,libtorrent::http_connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<libtorrent::http_connection> >,boost::arg<1>,boost::arg<2> > > >,boost::system::error_code,unsigned int> >+0x17
03f7f764 006c9aa6 0323c250 3626f438 03f7f7a8 qbittorrent!boost::asio::detail::win_iocp_socket_recv_op<boost::asio::mutable_buffers_1,boost::asio::ssl::detail::io_op<libtorrent::socks5_stream,boost::asio::ssl::detail::read_op<boost::asio::mutable_buffers_1>,boost::_bi::bind_t<void,boost::_mfi::mf2<void,libtorrent::http_connection,boost::system::error_code const &,unsigned int>,boost::_bi::list3<boost::_bi::value<boost::shared_ptr<libtorrent::http_connection> >,boost::arg<1>,boost::arg<2> > > > >::do_complete+0xee
03f7f7cc 006ca4c8 00000001 03f7f820 02a4d215 qbittorrent!boost::asio::detail::win_iocp_io_service::do_one+0x1a6
03f7f824 006bc828 02a4ddc5 00000000 03289770 qbittorrent!boost::asio::detail::win_iocp_io_service::run+0xb8
03f7f888 76bc336a 03289770 03f7f8d4 77589f72 qbittorrent!boost::asio::detail::win_thread_function+0x48
03f7f894 77589f72 03289770 75c331e5 00000000 KERNEL32!BaseThreadInitThunk+0x12
03f7f8d4 77589f45 00801a89 03289770 00000000 ntdll_77550000!RtlInitializeExceptionChain+0x63
03f7f8ec 00000000 00801a89 03289770 00000000 ntdll_77550000!RtlInitializeExceptionChain+0x36


FOLLOWUP_IP:
qbittorrent!operator new+64 [f:\dd\vctools\crt_bld\self_x86\crt\src\new.cpp @ 63]
007fc25f cc              int    3

SYMBOL_STACK_INDEX:  2

SYMBOL_NAME:  qbittorrent!operator new+64

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: qbittorrent

IMAGE_NAME:  qbittorrent.exe

STACK_COMMAND:  ~4s ; kb

BUCKET_ID:  WRONG_SYMBOLS

FAILURE_BUCKET_ID:  WRONG_SYMBOLS_e06d7363_qbittorrent.exe!operator_new

WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/qb ... Retriage=1

Followup: MachineOwner
---------

Do you want top to bottom ? http://paste.ubuntu.com/7096652/
Last edited by fusk on Sat Mar 15, 2014 5:09 pm, edited 1 time in total.
Post Reply