[Mono-bugs] [Bug 682963] gstring.c:116: assertion 'val != NULL' failed

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 28 20:44:50 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=682963

https://bugzilla.novell.com/show_bug.cgi?id=682963#c3


--- Comment #3 from James Bellinger <xocotl at gmail.com> 2011-03-29 00:44:49 UTC ---
I'm on Windows, so I compiled it with Visual C++ 2008 to get you the stack
trace. Top three are due to 'assert(val != NULL);' I added to get the
breakpoint. Here are the results. I can execute commands like g_logv in the
debugger immediate window, but what parameters should I pass it?

     msvcr90d.dll!_NMSG_WRITE(int rterrnum=10)  Line 198    C
     msvcr90d.dll!abort()  Line 59 + 0x7 bytes    C
     msvcr90d.dll!_wassert(const wchar_t * expr=0x10578270, const wchar_t *
filename=0x10578290, unsigned int lineno=116)  Line 163    C
>	mono.dll!monoeg_g_string_append(GString * string=0x0243b658, const char * val=0x00000000)  Line 116 + 0x21 bytes	C
     mono.dll!monoeg_g_string_append_printf(GString * string=0x0243b658, const
char * format=0x10599070, ...)  Line 164 + 0xd bytes    C
     mono.dll!append_class_name(GString * res=0x0243b658, _MonoClass *
class=0x01374078, int include_namespace=1)  Line 87 + 0x15 bytes    C
     mono.dll!mono_type_get_desc(GString * res=0x0243b658, _MonoType *
type=0x01374104, int include_namespace=1)  Line 171 + 0x13 bytes    C
     mono.dll!mono_type_full_name(_MonoType * type=0x01374104)  Line 226 + 0xf
bytes    C
     mono.dll!mono_method_full_name(_MonoMethod * method=0x01374268, int
signature=1)  Line 753 + 0x12 bytes    C
     mono.dll!mono_debug_add_method(_MonoMethod * method=0x01374268,
_MonoDebugMethodJitInfo * jit=0x02431fe0, _MonoDomain * domain=0x011a4e60) 
Line 681 + 0xb bytes    C
     mono.dll!mono_debug_close_method(MonoCompile * cfg=0x0137b558)  Line 316 +
0x1d bytes    C
     mono.dll!mono_codegen(MonoCompile * cfg=0x0137b558)  Line 3496 + 0x9 bytes
   C
     mono.dll!mini_method_compile(_MonoMethod * method=0x01374268, unsigned int
opts=59861503, _MonoDomain * domain=0x011a4e60, int run_cctors=1, int
compile_aot=0, int parts=0)  Line 4597 + 0xc bytes    C
     mono.dll!mono_jit_compile_method_inner(_MonoMethod * method=0x01374268,
_MonoDomain * target_domain=0x011a4e60, int opt=59861503, _MonoException * *
jit_ex=0x0012e57c)  Line 4879 + 0x17 bytes    C
     mono.dll!mono_jit_compile_method_with_opt(_MonoMethod * method=0x01374268,
unsigned int opt=59861503, _MonoException * * ex=0x0012e57c)  Line 5102 + 0x15
bytes    C
     mono.dll!mono_jit_runtime_invoke(_MonoMethod * method=0x01374268, void *
obj=0x00000000, void * * params=0x00000000, MonoObject * * exc=0x0012e63c) 
Line 5300 + 0x14 bytes    C
     mono.dll!mono_runtime_invoke(_MonoMethod * method=0x01374268, void *
obj=0x00000000, void * * params=0x00000000, MonoObject * * exc=0x0012e63c) 
Line 2714 + 0x18 bytes    C
     mono.dll!mono_runtime_class_init_full(MonoVTable * vtable=0x023e9a98, int
raise_exception=0)  Line 361 + 0x11 bytes    C
     mono.dll!mono_method_to_ir(MonoCompile * cfg=0x0133d938, _MonoMethod *
method=0x0131b2f0, MonoBasicBlock * start_bblock=0x023f6630, MonoBasicBlock *
end_bblock=0x023f66d8, MonoInst * return_var=0x00000000, _GList *
dont_inline=0x0243a270, MonoInst * * inline_args=0x00000000, unsigned int
inline_offset=0, int is_virtual_call=0)  Line 8746 + 0xe bytes    C
     mono.dll!mini_method_compile(_MonoMethod * method=0x0131b2f0, unsigned int
opts=59861503, _MonoDomain * domain=0x011a4e60, int run_cctors=1, int
compile_aot=0, int parts=0)  Line 4173 + 0x21 bytes    C
     mono.dll!mono_jit_compile_method_inner(_MonoMethod * method=0x0131b2f0,
_MonoDomain * target_domain=0x011a4e60, int opt=59861503, _MonoException * *
jit_ex=0x0012f6bc)  Line 4879 + 0x17 bytes    C
     mono.dll!mono_jit_compile_method_with_opt(_MonoMethod * method=0x0131b2f0,
unsigned int opt=59861503, _MonoException * * ex=0x0012f6bc)  Line 5102 + 0x15
bytes    C
     mono.dll!mono_jit_compile_method(_MonoMethod * method=0x0131b2f0)  Line
5127 + 0x14 bytes    C
     mono.dll!mono_compile_method(_MonoMethod * method=0x0131b2f0)  Line 565 +
0xc bytes    C
     mono.dll!common_call_trampoline(int * regs=0x0012f808, unsigned char *
code=0x018c0f5a, _MonoMethod * m=0x0131b2f0, unsigned char * tramp=0x00000000,
MonoVTable * vt=0x00000000, void * * vtable_slot=0x00000000, int
need_rgctx_tramp=0)  Line 477 + 0x9 bytes    C
     mono.dll!mono_magic_trampoline(int * regs=0x0012f808, unsigned char *
code=0x018c0f5a, void * arg=0x0131b2f0, unsigned char * tramp=0x00000000)  Line
579 + 0x1b bytes    C
     01670066()    
     mono.dll!mono_jit_runtime_invoke(_MonoMethod * method=0x0129fa40, void *
obj=0x00000000, void * * params=0x0012f914, MonoObject * * exc=0x00000000) 
Line 5465 + 0x18 bytes    C
     mono.dll!mono_runtime_invoke(_MonoMethod * method=0x0129fa40, void *
obj=0x00000000, void * * params=0x0012f914, MonoObject * * exc=0x00000000) 
Line 2714 + 0x18 bytes    C
     mono.dll!mono_runtime_exec_main(_MonoMethod * method=0x0129fa40,
_MonoArray * args=0x0179ffe0, MonoObject * * exc=0x00000000)  Line 3883 + 0x13
bytes    C
     mono.dll!mono_runtime_run_main(_MonoMethod * method=0x0129fa40, int
argc=1, char * * argv=0x01293074, MonoObject * * exc=0x00000000)  Line 3505 +
0x11 bytes    C
     mono.dll!mono_jit_exec(_MonoDomain * domain=0x011a4e60, _MonoAssembly *
assembly=0x01307af8, int argc=2, char * * argv=0x01293070)  Line 941 + 0x13
bytes    C
     mono.dll!main_thread_handler(void * user_data=0x0012feac)  Line 1000 +
0x1d bytes    C
     mono.dll!mono_main(int argc=4, char * * argv=0x01293068)  Line 1839 + 0x9
bytes    C
     mono.exe!mono_main_with_options(int argc=4, char * * argv=0x01293068) 
Line 66 + 0xd bytes    C
     mono.exe!main()  Line 87 + 0xd bytes    C
     mono.exe!__tmainCRTStartup()  Line 586 + 0x19 bytes    C
     mono.exe!mainCRTStartup()  Line 403    C
     kernel32.dll!75831194()     
     [Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]    
     ntdll.dll!770db429()     
     ntdll.dll!770db3fc()

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list