[Mono-bugs] [Bug 397665] New: mdb aborts on startup

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jun 5 16:44:29 EDT 2008


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


           Summary: mdb aborts on startup
           Product: Mono: Debugger
           Version: SVN
          Platform: x86-64
        OS/Version: RHEL 4
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: backend
        AssignedTo: martin at novell.com
        ReportedBy: joncham at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Description of Problem:
mdb aborts on startup randomly (about 1 in 4 times for me). It seems to be the
same stack trace everytime.

Steps to reproduce the problem:
1. type mdb at console
2. 


Actual Results:
[mono] ~/mono_microbench/parse_tests @ mdb
Mono Debugger
Stacktrace:


Native stacktrace:

Segmentation fault

Expected Results:
no abort

How often does this happen? 
about 1 in 4 times.

Additional Information:
I am connecting remotely from a Windows machine to a Linux machine via putty
with SSH.

[mono] ~/mono_microbench/parse_tests @ mono -V
Mono JIT compiler version 1.9 (/trunk/ r105052)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none

[mono] ~/mono_microbench/parse_tests @ mdb -V
The Mono Debugger is (C) 2003-2007 Novell, Inc.

The debugger source code is released under the terms of the GNU GPL

For more information on Mono, visit the project Web site
   http://www.go-mono.com

The debugger was written by Martin Baulig and Chris Toshok

Stack Trace:


Thread 5 (Thread 1080322400 (LWP 11664)):
#0  0x0000002a9690bc84 in term_alloc ()
   from /home/staff/jschambe/monosvn/install//lib/libmonodebuggerreadline.so
#1  0x0000002a9690d429 in term_set ()
   from /home/staff/jschambe/monosvn/install//lib/libmonodebuggerreadline.so
#2  0x0000002a9690bb57 in term_init ()
   from /home/staff/jschambe/monosvn/install//lib/libmonodebuggerreadline.so
#3  0x0000002a96900778 in el_init ()
   from /home/staff/jschambe/monosvn/install//lib/libmonodebuggerreadline.so
#4  0x0000002a968fad01 in rl_initialize ()
   from /home/staff/jschambe/monosvn/install//lib/libmonodebuggerreadline.so
#5  0x0000002a968fb014 in readline ()
   from /home/staff/jschambe/monosvn/install//lib/libmonodebuggerreadline.so
#6  0x0000002a968fa99a in mono_debugger_readline_readline ()
   from /home/staff/jschambe/monosvn/install//lib/libmonodebuggerreadline.so
#7  0x000000004023dfdc in ?? ()
#8  0x00000000009ecc90 in ?? ()
#9  0x0000000000002d90 in ?? ()
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 1078221152 (LWP 11663)):
#0  0x00000030a4f0a72f in sem_wait () from /lib64/tls/libpthread.so.0
#1  0x0000002a9614c260 in mono_debugger_server_sem_wait ()
   from /home/staff/jschambe/monosvn/install//lib/libmonodebuggerserver.so
#2  0x000000004023f59d in ?? ()
#3  0x00000000009c9670 in ?? ()
#4  0x0000000040444eb8 in ?? ()
#5  0x000000000000000d in ?? ()
#6  0x00000000009c9670 in ?? ()
#7  0x00000000009ca3e0 in ?? ()
#8  0x0000000040445030 in ?? ()
#9  0x0000000040444f20 in ?? ()
#10 0x0000002a96100640 in ?? ()
#11 0x0000002a966dcfc8 in ?? ()
#12 0x0000002a96cb8e60 in ?? ()
#13 0x0000002a966dcfc8 in ?? ()
#14 0x000000004023d8a0 in ?? ()
#15 0x0000000040445030 in ?? ()
#16 0x000000004023d830 in ?? ()
#17 0x0000000000000000 in ?? ()

Thread 3 (Thread 1075988832 (LWP 11662)):
#0  0x00000030a4f08a7a in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib64/tls/libpthread.so.0
#1  0x00000000004ee2bd in timedwait_signal_poll_cond (cond=0x7d9ef8, 
    mutex=0x7d9ed0, timeout=0x0, alertable=Variable "alertable" is not
available.
) at handles.c:1492
#2  0x00000000004ee3de in _wapi_handle_timedwait_signal_handle (handle=Variable
"handle" is not available.
) at handles.c:1572
#3  0x000000000050656c in WaitForSingleObjectEx (handle=Variable "handle" is
not available.
) at wait.c:200
#4  0x000000000047dc63 in finalizer_thread (unused=Variable "unused" is not
available.
) at gc.c:894
#5  0x000000000049d923 in start_wrapper (data=Variable "data" is not available.
) at threads.c:617
#6  0x0000000000503840 in thread_start_routine (args=Variable "args" is not
available.
) at threads.c:279
#7  0x000000000051e875 in GC_start_routine (arg=0x2a9557ce70)
    at pthread_support.c:1369
#8  0x00000030a4f06137 in start_thread () from /lib64/tls/libpthread.so.0
#9  0x00000030a46c7113 in clone () from /lib64/tls/libc.so.6

Thread 2 (Thread 1073887584 (LWP 11661)):
#0  0x00000030a4f0bb75 in __nanosleep_nocancel ()
   from /lib64/tls/libpthread.so.0
#1  0x00000000004e904a in collection_thread (unused=Variable "unused" is not
available.
) at collection.c:34
#2  0x00000030a4f06137 in start_thread () from /lib64/tls/libpthread.so.0
#3  0x00000030a46c7113 in clone () from /lib64/tls/libc.so.6

Thread 1 (Thread 182894248032 (LWP 11646)):
#0  0x00000030a4f08c6f in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib64/tls/libpthread.so.0
#1  0x00000000004ee290 in timedwait_signal_poll_cond (cond=0x7da678, 
    mutex=0x7da650, timeout=0x0, alertable=Variable "alertable" is not
available.
) at handles.c:1502
#2  0x00000000004ee3de in _wapi_handle_timedwait_signal_handle (handle=Variable
"handle" is not available.
) at handles.c:1572
#3  0x000000000050656c in WaitForSingleObjectEx (handle=Variable "handle" is
not available.
) at wait.c:200
#4  0x000000000049c225 in ves_icall_System_Threading_Thread_Join_internal (
    this=0x2a9557b1c0, ms=-1, thread=0x40e) at threads.c:1304
#5  0x000000004023d27b in ?? ()
#6  0x000000000079c9d0 in ?? ()
#7  0x000000000079c9d0 in ?? ()
#8  0x0000002a96106fc0 in ?? ()
#9  0x0000002a96105f80 in ?? ()
#10 0x0000000000000000 in ?? ()


-- 
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