https://bugzilla.novell.com/show_bug.cgi?id=400103
Summary: App Hangs on Exit Product: Mono: Runtime Version: unspecified Platform: i686 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: JIT AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: mono-bugs@lists.ximian.com Found By: --- Ubuntu 8.04 P4 1GB RAM Mono 1.9.1 Myapp.exe generally runs fine under mono. On occasion, it will hang when it should exit. When this happened last, I fired up gdb. I didn't see any user-serviceable parts inside, so I thought I might pass it on. Here's what I got: gdb ./myapp.exe 10994 GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... "/usr/local/src/myco/proj/Myapp/bin/Debug/Myapp.exe": not in executable format: File format is ambiguous Attaching to process 10994 Reading symbols from /usr/local/bin/mono...done. Reading symbols from /usr/lib/libgthread-2.0.so.0...done. Loaded symbols for /usr/lib/libgthread-2.0.so.0 Reading symbols from /lib/tls/i686/cmov/librt.so.1...done. Loaded symbols for /lib/tls/i686/cmov/librt.so.1 Reading symbols from /usr/lib/libglib-2.0.so.0...done. Loaded symbols for /usr/lib/libglib-2.0.so.0 Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libdl.so.2 Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 0x402c0940 (LWP 10994)] [New Thread 0x40fa9b90 (LWP 10999)] [New Thread 0x40e88b90 (LWP 10995)] Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0 Reading symbols from /lib/tls/i686/cmov/libm.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libm.so.6 Reading symbols from /lib/tls/i686/cmov/libc.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libc.so.6 Reading symbols from /lib/libselinux.so.1...done. Loaded symbols for /lib/libselinux.so.1 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/libpcre.so.3...done. Loaded symbols for /usr/lib/libpcre.so.3 Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2 Reading symbols from /lib/tls/i686/cmov/libnsl.so.1...done. Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1 Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2 Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2 Reading symbols from /usr/lib/libX11.so.6...done. Loaded symbols for /usr/lib/libX11.so.6 Reading symbols from /usr/lib/libxcb-xlib.so.0...done. Loaded symbols for /usr/lib/libxcb-xlib.so.0 Reading symbols from /usr/lib/libxcb.so.1...done. Loaded symbols for /usr/lib/libxcb.so.1 Reading symbols from /usr/lib/libXau.so.6...done. Loaded symbols for /usr/lib/libXau.so.6 Reading symbols from /usr/lib/libXdmcp.so.6...done. Loaded symbols for /usr/lib/libXdmcp.so.6 Reading symbols from /usr/local/lib/libgdiplus.so...done. Loaded symbols for /usr/local/lib/libgdiplus.so Reading symbols from /usr/lib/libfreetype.so.6...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /usr/lib/libXrender.so.1...done. Loaded symbols for /usr/lib/libXrender.so.1 Reading symbols from /usr/lib/libtiff.so.4...done. Loaded symbols for /usr/lib/libtiff.so.4 Reading symbols from /usr/lib/libjpeg.so.62...done. Loaded symbols for /usr/lib/libjpeg.so.62 Reading symbols from /usr/lib/libungif.so.4...done. Loaded symbols for /usr/lib/libungif.so.4 Reading symbols from /usr/lib/libpng12.so.0...done. Loaded symbols for /usr/lib/libpng12.so.0 Reading symbols from /usr/lib/libexif.so.12...done. Loaded symbols for /usr/lib/libexif.so.12 Reading symbols from /usr/lib/libfontconfig.so.1...done. Loaded symbols for /usr/lib/libfontconfig.so.1 Reading symbols from /usr/lib/libexpat.so.1...done. Loaded symbols for /usr/lib/libexpat.so.1 Reading symbols from /usr/lib/libgtk-x11-2.0.so.0...done. Loaded symbols for /usr/lib/libgtk-x11-2.0.so.0 Reading symbols from /usr/lib/libgdk_pixbuf-2.0.so.0...done. Loaded symbols for /usr/lib/libgdk_pixbuf-2.0.so.0 Reading symbols from /usr/lib/libgdk-x11-2.0.so.0...done. Loaded symbols for /usr/lib/libgdk-x11-2.0.so.0 Reading symbols from /usr/lib/libpangocairo-1.0.so.0...done. Loaded symbols for /usr/lib/libpangocairo-1.0.so.0 Reading symbols from /usr/lib/libpango-1.0.so.0...done. Loaded symbols for /usr/lib/libpango-1.0.so.0 Reading symbols from /usr/lib/libXcomposite.so.1...done. Loaded symbols for /usr/lib/libXcomposite.so.1 Reading symbols from /usr/lib/libXdamage.so.1...done. Loaded symbols for /usr/lib/libXdamage.so.1 Reading symbols from /usr/lib/libXfixes.so.3...done. Loaded symbols for /usr/lib/libXfixes.so.3 Reading symbols from /usr/lib/libatk-1.0.so.0...done. Loaded symbols for /usr/lib/libatk-1.0.so.0 Reading symbols from /usr/lib/libgobject-2.0.so.0...done. Loaded symbols for /usr/lib/libgobject-2.0.so.0 Reading symbols from /usr/lib/libgmodule-2.0.so.0...done. Loaded symbols for /usr/lib/libgmodule-2.0.so.0 Reading symbols from /usr/lib/libcairo.so.2...done. Loaded symbols for /usr/lib/libcairo.so.2 Reading symbols from /usr/lib/libXext.so.6...done. Loaded symbols for /usr/lib/libXext.so.6 Reading symbols from /usr/lib/libXinerama.so.1...done. Loaded symbols for /usr/lib/libXinerama.so.1 Reading symbols from /usr/lib/libXi.so.6...done. Loaded symbols for /usr/lib/libXi.so.6 Reading symbols from /usr/lib/libXrandr.so.2...done. Loaded symbols for /usr/lib/libXrandr.so.2 Reading symbols from /usr/lib/libXcursor.so.1...done. Loaded symbols for /usr/lib/libXcursor.so.1 Reading symbols from /usr/lib/libpangoft2-1.0.so.0...done. Loaded symbols for /usr/lib/libpangoft2-1.0.so.0 Reading symbols from /usr/lib/libpixman-1.so.0...done. Loaded symbols for /usr/lib/libpixman-1.so.0 Reading symbols from /usr/lib/libstdc++.so.6...done. Loaded symbols for /usr/lib/libstdc++.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so...done. Loaded symbols for /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so Reading symbols from /usr/local/lib/libMonoPosixHelper.so...done. Loaded symbols for /usr/local/lib/libMonoPosixHelper.so Reading symbols from /usr/local/lib/libMonoSupportW.so...done. Loaded symbols for /usr/local/lib/libMonoSupportW.so 0x400ff4c2 in __pthread_disable_asynccancel () from /lib/tls/i686/cmov/libpthread.so.0 (gdb) break Breakpoint 1 at 0x400ff4c2 (gdb) bt full #0 0x400ff4c2 in __pthread_disable_asynccancel () from /lib/tls/i686/cmov/libpthread.so.0 No symbol table info available. #1 0x400ff9a4 in read () from /lib/tls/i686/cmov/libpthread.so.0 No symbol table info available. #2 0x41a5c1d3 in ?? () from /usr/lib/libxcb.so.1 No symbol table info available. #3 0x41a5c83b in xcb_poll_for_event () from /usr/lib/libxcb.so.1 No symbol table info available. #4 0x419a9cc9 in ?? () from /usr/lib/libX11.so.6 No symbol table info available. #5 0x419a9fcf in ?? () from /usr/lib/libX11.so.6 No symbol table info available. #6 0x419aa71f in _XEventsQueued () from /usr/lib/libX11.so.6 No symbol table info available. #7 0x419939d2 in XPending () from /usr/lib/libX11.so.6 No symbol table info available. #8 0x428ba093 in ?? () No symbol table info available. #9 0x428b9e11 in ?? () No symbol table info available. #10 0x428b9d0e in ?? () No symbol table info available. #11 0x4240f484 in ?? () No symbol table info available. #12 0x42409788 in ?? () No symbol table info available. #13 0x4240800e in ?? () No symbol table info available. #14 0x42407ee8 in ?? () No symbol table info available. #15 0x42407c8f in ?? () No symbol table info available. #16 0x428b00ba in ?? () No symbol table info available. #17 0x424079fe in ?? () No symbol table info available. #18 0x42416bfc in ?? () No symbol table info available. #19 0x428afe21 in ?? () No symbol table info available. #20 0x42416b64 in ?? () No symbol table info available. #21 0x42416b0c in ?? () No symbol table info available. #22 0x428aee9d in ?? () No symbol table info available. #23 0x428aec8d in ?? () No symbol table info available. #24 0x428ae993 in ?? () No symbol table info available. #25 0x409142e7 in ?? () No symbol table info available. #26 0x409141be in ?? () No symbol table info available. #27 0x080f1feb in mono_runtime_exec_main (method=0x834b108, args=0x3be70, exc=0x0) at object.c:3093 domain = (MonoDomain *) 0x0 pa = {0x3be70} rval = <value optimized out> cinfo = (MonoCustomAttrInfo *) 0x41a6a8bc has_stathread_attribute = 0 thread = (MonoThread *) 0x34e10 __PRETTY_FUNCTION__ = "mono_runtime_exec_main" stathread_attribute = (MonoClass *) 0x8294e4c #28 0x080f33fa in mono_runtime_run_main (method=0x82443b4, argc=1, argv=0xbf8d14dc, exc=0x0) at object.c:2881 i = -1081273124 args = (MonoArray *) 0x3be70 domain = (MonoDomain *) 0x34f00 utf8_fullpath = ( gchar *) 0x8288920 "/source/myco/proj/Myapp/bin/Debug/Myapp.exe" result = <value optimized out> __PRETTY_FUNCTION__ = "mono_runtime_run_main" #29 0x0805b7d2 in mono_main (argc=1, argv=0xbf8d14d4) at driver.c:888 error = <value optimized out> assembly = (MonoAssembly *) 0x82883f8 desc = <value optimized out> method = <value optimized out> cfg = <value optimized out> domain = (MonoDomain *) 0x34f00 aname = <value optimized out> mname = 0x0 config_file = 0x0 i = <value optimized out> count = 1 enable_debugging = 1 opt = <value optimized out> action = 3 mono_graph_options = 0 mini_verbose = 0 enable_profile = 0 trace_options = 0x0 profile_options = 0x0 aot_options = 0x0 forced_version = 0x0 #30 0x0805a2f2 in main (argc=Cannot access memory at address 0x0 ) at main.c:6 No locals. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs