[Mono-bugs] [Bug 605033] New: program crashes if the App.conf contains the <sharedListeners> section.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 12 02:36:01 EDT 2010



           Summary: program crashes if the  App.conf contains the
                    <sharedListeners> section.
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: 64bit
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: matrixcruiser at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
           Blocker: No

Description of Problem:
Any program crashes (Segmentation Fault) if the <sharedListeners> section is
presented in the App.config (even if when no one listener is in the section)
and the program try to create any TraceSource instance.

Steps to reproduce the problem:
1. Create any program which creates TraceSource instance (for example just
simple console application containing just the 'Main(...)' method containing
one line: TraceSource ts = new TraceSource ("any name");
2. Create App.Config for this program containing <sharedListeners> section
(does not matter whether this section is empty <sharedListeners/> or it
contains any listeners inside.
3. Execute the program.


1. Unpack & Open AppConfigTest solution
2. Look at really simple Main.cs and App.config files
3. Build and execute

Actual Results:
A program crashes (Segmentation Fault)

Expected Results:
Program shall not crash.

How often does this happen? 

Additional Information:
A program will NOT crash if there is NOT created any instance of the
TraceSource in somewhere in the program code, OR if the <sharedListeners>
section is not presented in the App.config file.

I tested this on Snow Leopard OS 10.6 and mono version as follows:

$ mono --version
Mono JIT compiler version 2.6.3 (tarball Wed Mar 10 18:18:12 MST 2010)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
    TLS:           normal
    GC:            Included Boehm (with typed GC)
    SIGSEGV:       normal
    Notification:  Thread + polling
    Architecture:  x86
    Disabled:      none

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

More information about the mono-bugs mailing list