[Pidgin] #13252: Pidgin main thread hangs after starting application and on initial call to libpurple.dll!wpurple_close on 2.7.9.0 (Win)

Pidgin trac at pidgin.im
Fri Feb 11 09:16:03 EST 2011


#13252: Pidgin main thread hangs after starting application and on initial call to
libpurple.dll!wpurple_close on 2.7.9.0 (Win)
------------------------+---------------------------------------------------
 Reporter:  fastCode04  |        Owner:           
     Type:  defect      |       Status:  new      
Milestone:              |    Component:  libpurple
  Version:  2.7.9       |   Resolution:           
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by Sebbe):

 I get the following stack in Process Hacker:


 {{{
 0, ntkrnlpa.exe!KiDeliverApc+0x111
 1, ntkrnlpa.exe!KeRemoveQueueEx+0x988
 2, ntkrnlpa.exe!KeDelayExecutionThread+0x5cc
 3, ntkrnlpa.exe!KeWaitForMutexObject+0x393
 4, afd.sys+0x23268
 5, afd.sys+0x233d6
 6, ntkrnlpa.exe!IofCallDriver+0x64
 7, ntkrnlpa.exe!RtlCompareUnicodeStrings+0x96a
 8, ntkrnlpa.exe!RtlEqualUnicodeString+0x7f8
 9, ntkrnlpa.exe!IoGetIrpExtraCreateParameter+0x22f
 10, ntkrnlpa.exe!ObGetObjectType+0xb7c
 11, ntkrnlpa.exe!NtClose+0x4e
 12, ntkrnlpa.exe!ZwYieldExecution+0xb56
 13, ntdll.dll!KiFastSystemCallRet
 14, MSWSOCK.DLL+0x2c13
 15, WS2_32.DLL!closesocket+0x4a
 16, libpurple.dll!wpurple_close+0x21
 17, libpurple.dll!purple_upnp_get_public_ip+0x10b
 18, libglib-2.0-0.dll!g_source_get_current_time+0xfe
 19, libglib-2.0-0.dll!g_main_context_dispatch+0x19b
 20, libglib-2.0-0.dll!g_main_context_prepare+0x8b5
 21, libglib-2.0-0.dll!g_main_loop_run+0x164
 22, libgtk-win32-2.0-0.dll!gtk_main+0xa0
 23, pidgin.dll!pidgin_main+0x4c8
 24, pidgin.exe+0x21b6
 25, pidgin.exe+0x2fc9
 26, pidgin.exe+0x10a7
 27, pidgin.exe+0x1123
 28, kernel32.dll!BaseThreadInitThunk+0x12
 29, ntdll.dll!RtlInitializeExceptionChain+0x63
 30, ntdll.dll!RtlInitializeExceptionChain+0x36
 }}}


 Output from TinyKD:

 {{{
 0: kd> !process 0 7 pidgin.exe
 *** ERROR: Module load completed but symbols could not be loaded for
 LiveKdD.SYS
 PROCESS 85f893a0  SessionId: 1  Cid: 15d0    Peb: 7ffd9000  ParentCid:
 0bf8
     DirBase: beac53e0  ObjectTable: a39e4840  HandleCount: 425.
     Image: pidgin.exe
     VadRoot 88f27120 Vads 376 Clone 0 Private 12525. Modified 288617.
 Locked 0.
     DeviceMap 9bc7fc00
     Token                             c7057030
     ElapsedTime                       2 Days 16:54:21.298
     UserTime                          00:00:07.550
     KernelTime                        00:00:07.425
     QuotaPoolUsage[PagedPool]         0
     QuotaPoolUsage[NonPagedPool]      0
     Working Set Sizes (now,min,max)  (13092, 50, 345) (52368KB, 200KB,
 1380KB)
     PeakWorkingSetSize                15273
     VirtualSize                       298 Mb
     PeakVirtualSize                   310 Mb
     PageFaultCount                    10343975
     MemoryPriority                    BACKGROUND
     BasePriority                      8
     CommitCharge                      15420
     Job                               86167118

         THREAD 8839b030  Cid 15d0.0210  Teb: 7ffdf000 Win32Thread:
 fbbeddd8 WAIT: (Executive) KernelMode Non-Alertable
             9b457bc4  NotificationEvent
         IRP List:
             86019d28: (0006,01d8) Flags: 00000404  Mdl: 00000000
         Not impersonating
         DeviceMap                 9bc7fc00
         Owning Process            85f893a0       Image:         pidgin.exe
         Attached Process          N/A            Image:         N/A
         Wait Start TickCount      15615686       Ticks: 6324
 (0:00:01:38.655)
         Context Switch Count      3330642
         UserTime                  00:24:29.576
         KernelTime                00:08:23.306
         Win32 Start Address 0x00401110
         Stack Init 9b457fd0 Current 9b457a70 Base 9b458000 Limit 9b455000
 Call 0
         Priority 10 BasePriority 8 UnusualBoost 0 ForegroundBoost 2
 IoPriority 2 PagePriority 5
         ChildEBP RetAddr  Args to Child
         9b457a88 82e70b25 8839b030 00000000 807ca120 nt!KiSwapContext+0x26
 (FPO: [Uses EBP] [0,0,4])
         9b457ac0 82e6f423 8839b0f0 8839b030 9b457bc4 nt!KiSwapThread+0x266
         9b457ae8 82e692cf 8839b030 8839b0f0 00000000
 nt!KiCommitThreadWait+0x1df
         9b457b64 9004a268 9b457bc4 00000000 00000000
 nt!KeWaitForSingleObject+0x393
         9b457be0 9004a3d6 86019d28 868e5558 9b457c08
 afd!AfdCleanupCore+0x6bd (FPO: [Non-Fpo])
         9b457bf0 82e3e4bc 868e5558 86019d28 86b9fc98 afd!AfdDispatch+0x125
 (FPO: [Non-Fpo])
         9b457c08 8305df30 855cfde8 86b9fc80 00000001 nt!IofCallDriver+0x63
         9b457c48 83024c9e 85f893a0 86b9fc98 00000001 nt!IopCloseFile+0x2f3
         9b457c94 830477f2 85f893a0 a39e4840 8839b030
 nt!ObpDecrementHandleCount+0x139
         9b457cdc 83048ff2 a39e4840 86653750 85f893a0
 nt!ObpCloseHandleTableEntry+0x203
         9b457d0c 8304916a 85f893a0 8839b001 0022edb4
 nt!ObpCloseHandle+0x7f
         9b457d28 82e4544a 000003a8 0022ee10 76e564f4 nt!NtClose+0x4e
         9b457d28 76e564f4 000003a8 0022ee10 76e564f4
 nt!KiFastCallEntry+0x12a (FPO: [0,3] TrapFrame @ 9b457d34)
 WARNING: Frame IP not in any known module. Following frames may be wrong.
         0022ee10 00000000 00000000 00000000 00000000 0x76e564f4

 0: kd> !irp 86019d28
 Irp is active with 4 stacks 4 is current (= 0x86019e04)
  No Mdl: No System Buffer: Thread 8839b030:  Irp stack trace.
      cmd  flg cl Device   File     Completion-Context
  [  0, 0]   0  0 00000000 00000000 00000000-00000000

                         Args: 00000000 00000000 00000000 00000000
  [  0, 0]   0  0 00000000 00000000 00000000-00000000

                         Args: 00000000 00000000 00000000 00000000
  [  0, 0]   0  0 00000000 00000000 00000000-00000000

                         Args: 00000000 00000000 00000000 00000000
 >[ 12, 0]   0  0 868e5558 86b9fc98 00000000-00000000
                \Driver\AFD
                         Args: 00000000 00000000 00000000 00000000
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13252#comment:10>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list