Bug 14698 - crash in zlib-helper.c
Summary: crash in zlib-helper.c
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-09-12 15:47 UTC by Jeffrey Stedfast
Modified: 2017-01-10 18:52 UTC (History)
6 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 NOT_REPRODUCIBLE

Description Jeffrey Stedfast 2013-09-12 15:47:51 UTC
https://gist.github.com/pjbeaman/30ce29cbc24a0a13a489

Thread 14 Crashed:
0   libsystem_kernel.dylib        	0x96b239c6 __pthread_kill + 10
1   libsystem_c.dylib             	0x91762f78 pthread_kill + 106
2   libsystem_c.dylib             	0x91753bdd abort + 167
3   libmonosgen-2.0.dylib         	0x003a7980 mono_handle_native_sigsegv + 592
4   libmonosgen-2.0.dylib         	0x003f7245 mono_arch_handle_altstack_exception + 149
5   libmonosgen-2.0.dylib         	0x00303c61 mono_sigsegv_signal_handler + 369
6   libsystem_c.dylib             	0x917b859b _sigtramp + 43
7   ???                           	0xffffffff 0 + 4294967295
8   libmonosgen-2.0.dylib         	0x00303af0 mono_sigill_signal_handler + 48
9   libMonoPosixHelper.dylib      	0x02f0b34a ReadZStream + 106 (zlib-helper.c:192)
Comment 2 Zoltan Varga 2013-09-13 09:37:52 UTC
Is this reproducible ?
Comment 3 Jeffrey Stedfast 2013-09-13 11:23:26 UTC
I could probably repro it in Xamarin Studio if I re-enable the WebRequest.Abort() call (I've disabled it because I think that is inadvertently causing this?).
Comment 4 Zoltan Varga 2013-09-13 11:38:30 UTC
Its possible that the abort call truncates the compressed input to zlib, causing this crash.
Comment 5 João Matos 2014-02-14 12:01:19 UTC
I can look into this one but I need a way to reproduce it, saving the contents of the stream that's causing it would probably be enough to repro.
Comment 6 Jeffrey Stedfast 2017-01-10 18:52:02 UTC
Closing my old bug reports that are covered in cobwebs