Bug 2587 - Runtime crash after running http server for a few hours. (2.10.6)
Summary: Runtime crash after running http server for a few hours. (2.10.6)
Alias: None
Product: Runtime
Classification: Mono
Component: GC ()
Version: unspecified
Hardware: Other Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-12-20 17:31 UTC by pooop828
Modified: 2017-07-07 19:04 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description pooop828 2011-12-20 17:31:10 UTC
My program which is running an http server with http://webserver.codeplex.com/ is serving 2000 requests every 5 minutes. It crashes after a few hours with no abnormal behavior.

Native stacktrace:

        mono() [0x48efc6]
        mono() [0x4e2d9f]
        mono() [0x4171c9]
        /lib/libpthread.so.0(+0xef60) [0x7fa9f507cf60]
        mono(mono_gc_wbarrier_set_field+0) [0x586010]
        mono() [0x58be11]
        mono() [0x579e9b]
        mono() [0x5ab634]
        mono() [0x5ecb5e]
        /lib/libpthread.so.0(+0x68ba) [0x7fa9f50748ba]
        /lib/libc.so.6(clone+0x6d) [0x7fa9f4ddc02d]

Debug info from gdb:

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

Is there any way I can get more information that I can provide?
Comment 1 pooop828 2011-12-20 17:53:51 UTC
How can I get a backtrace? I have tried a few things with gdb but gdb is crashing the program.
Comment 2 Rodrigo Kumpera 2012-04-22 23:00:45 UTC
Install mono debug symbols, this should give us enough information to move forward.
Comment 3 Ludovic Henry 2017-07-07 19:04:02 UTC
If you can still reproduce with latest mono version, please feel free to reopen the bug. Thank you.