Bug 8241 - crash when using --debug=gdb
Summary: crash when using --debug=gdb
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: GC ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-11-06 06:04 UTC by Roope Kangas
Modified: 2013-05-23 12:08 UTC (History)
4 users (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Roope Kangas 2012-11-06 06:04:48 UTC
I got this while running load tests on our game server with mono sgen 3.0.0. 

Native stacktrace:

        mono-sgen() [0x498441]
        mono-sgen() [0x4ec2df]
        mono-sgen() [0x41c217]
        /lib64/libpthread.so.0(+0xf500) [0x7f4457d72500]
        /lib64/libc.so.6(memcpy+0xa0) [0x7f4457a590f0]
        mono-sgen() [0x4ace34]
        mono-sgen() [0x4ae45f]
        mono-sgen() [0x4c6782]
        mono-sgen(mono_xdebug_flush+0x1e) [0x4c695e]
        mono-sgen() [0x4c6af5]
        mono-sgen() [0x41e261]
        mono-sgen() [0x41f9e2]
        mono-sgen() [0x4203cd]
        mono-sgen() [0x49a12b]
        mono-sgen() [0x49abdd]
        [0x41628186]

Debug info and track trace are attached.
Comment 1 Roope Kangas 2012-11-06 06:13:49 UTC
I had MONO_GC_DEBUG=1, it seems I cannot start the server with that option set. Maybe I am doing something wrong.
Comment 2 Roope Kangas 2012-11-06 06:29:51 UTC
Ok, actually the problem seems to be --debug=gdb which I had on the commandline. not MONO_GC_DEBUG=1.
Comment 3 Zoltan Varga 2012-11-06 13:27:29 UTC
Does this happen when not using sgen ?
Comment 4 Roope Kangas 2012-11-07 04:24:09 UTC
Ok, wtf. now I find this very hard to reproduce... :(
Comment 5 Rodrigo Kumpera 2013-05-23 12:08:35 UTC
Please file a new bug if you can reproduce it again.