My application crashes on calling "g_print"



Hi all,

I am using oah build of glib, and I occasionally got this crash ( from windbg "analyze -v" result) : APPLICATION_HANG

Seems that there is a problem with "malloc".  Do you have any idea why this happen?

-----------------------------------------------------------------------------------------------------------
FAULTING_IP: 
+0
00000000 ?? ???

EXCEPTION_RECORD: ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 00000000
ExceptionCode: 80000007 (Wake debugger)
ExceptionFlags: 00000000
NumberParameters: 0

BUGCHECK_STR: 80000007

DEFAULT_BUCKET_ID: APPLICATION_HANG

PROCESS_NAME: python.exe

ERROR_CODE: (NTSTATUS) 0x80000007 - {

CRITICAL_SECTION: 00cf0608 -- (!cs -s 00cf0608)

DERIVED_WAIT_CHAIN:

Dl Eid Cid WaitType
-- --- ------- --------------------------
0 171c.11d8 Critical Section

WAIT_CHAIN_COMMAND: ~0s;k;;

BLOCKING_THREAD: 000011d8

PRIMARY_PROBLEM_CLASS: APPLICATION_HANG

LAST_CONTROL_TRANSFER: from 7c92df3c to 7c92e4f4

FAULTING_THREAD: 00000000

STACK_TEXT:
0021dbf4 7c92df3c 7c93b22b 00000374 00000000 ntdll!KiFastSystemCallRet
0021dbf8 7c93b22b 00000374 00000000 00000000 ntdll!NtWaitForSingleObject+0xc
0021dc80 7c921046 00cf0608 7c930df0 00cf0608 ntdll!RtlpWaitForCriticalSection+0x132
0021dc88 7c930df0 00cf0608 02960a50 0000002c ntdll!RtlEnterCriticalSection+0x46
0021deb4 78583a58 00cf0000 00000000 0000002c ntdll!RtlAllocateHeap+0x2f0
0021ded4 028f1b4e 0000002c 0021e1f4 029103b0 msvcr90!malloc+0x79
WARNING: Stack unwind information not available. Following frames may be wrong.
0021df10 02910b06 02960a50 0021e1f4 0021e218 libglib_2_0!g_malloc+0x1e
0021e23c 028f6dc6 0021e258 0021e284 00050e4a libglib_2_0!g_win32_locale_filename_from_utf8+0xbff
0021e250 02901d65 0021e268 02960a50 0021e284 libglib_2_0!g_vasprintf+0x1a
0021e26c 02901d7b 02960a50 0021e284 02908ff3 libglib_2_0!g_strdup_vprintf+0x18
0021e2ac 026ff36e 0021e2dc 00000001 00000000 libglib_2_0!g_strdup_printf+0xe
0021e324 029948a5 01c550a0 00000000 01c650f0 vivs_core!vivs_wq_listener_constructed+0x19e [g:\code\vivs\code\trunk\sdk\vivs_core\listener\vivs_wq_listener.cpp @ 100]
0021e374 02994bd2 01c6baf8 00000001 01c650f0 libgobject_2_0!g_object_newv+0x32b
0021e3fc 029944e3 01c6baf8 02854874 0021e41c libgobject_2_0!g_object_new_valist+0x27b
0021e428 026ecbf9 00c0123e 01c55080 0021e450 libgobject_2_0!g_object_new+0x21
0021e438 026f56a8 01c55080 01c73120 00c0123e vivs_core!vivs_composer_new_listener+0x59 [g:\code\vivs\code\trunk\sdk\vivs_core\composer\vivs_composer.cpp @ 217]
0021e450 026f0f3f 01c55080 01c73120 00c0123e vivs_core!vivs_icomposer_new_listener+0x68 [g:\code\vivs\code\trunk\sdk\vivs_core\composer\vivs_icomposer.cpp @ 50]
0021e470 026f5cd2 01c5c048 00c0123e 0021e4c4 vivs_core!vivs_concert_new_listener+0xaf [g:\code\vivs\code\trunk\sdk\vivs_core\music\vivs_concert.cpp @ 924]
0021e484 026fcd9c 01c5c048 00c0123e 01c738d0 vivs_core!vivs_iconcert_new_listener+0x62 [g:\code\vivs\code\trunk\sdk\vivs_core\music\vivs_iconcert.cpp @ 112]
0021e4ac 1d1aaee2 01c526f0 01c081ec 00c0123e vivs_core!vivs_theatre_open_concert+0x26c [g:\code\vivs\code\trunk\sdk\vivs_core\music\vivs_theatre.cpp @ 310]
0021e4c8 1d1aa026 1d1a9eca 0021e4e8 00000010 _ctypes!DllCanUnloadNow+0x432e
0021e4f4 1d1a737a 026e2cfd 0021e5e0 0021e5c0 _ctypes!DllCanUnloadNow+0x3472
0021e59c 1d1a79a6 00001101 026e2cfd 0021e5d0 _ctypes!DllCanUnloadNow+0x7c6
0021e668 1d1a4566 026e2cfd 00000000 00000000 _ctypes!DllCanUnloadNow+0xdf2
0021e6c0 1e01480f 00000000 00b14a50 00000000 _ctypes+0x4566
0021e6d8 1e010a32 00d86828 00b14a50 00000000 python26!PyObject_Call+0x3f
0021e704 1e01106f 00b14a50 00adfd10 00000000 python26!PyEval_EvalCodeEx+0x822
00000000 00000000 00000000 00000000 00000000 python26!PyEval_EvalFrameEx+0x3ff


FOLLOWUP_IP:
msvcr90!malloc+79
78583a58 8bf8 mov edi,eax

SYMBOL_STACK_INDEX: 5

SYMBOL_NAME: msvcr90!malloc+79

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: msvcr90

IMAGE_NAME: msvcr90.dll

DEBUG_FLR_IMAGE_TIMESTAMP: 488ef6c5

STACK_COMMAND: ~0s ; kb

BUCKET_ID: 80000007_msvcr90!malloc+79

FAILURE_BUCKET_ID: APPLICATION_HANG_80000007_msvcr90.dll!malloc


--
look to the things around you,the immediate world around you, if you are alive,it will mean something to you ——Paul Strand


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]