Date: Thu, 19 May 2016 18:01:50 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 209599] SIGSEGV in regression test suite on java/openjdk8 Message-ID: <bug-209599-8522-wIJ2NaECwC@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-209599-8522@https.bugs.freebsd.org/bugzilla/> References: <bug-209599-8522@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209599 openjdk@getsnappy.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |openjdk@getsnappy.com --- Comment #10 from openjdk@getsnappy.com --- That's really interesting. It seems that if MappedByteBuffer is using Unsa= fe operations to load a truncated file into memory that a SEGV would be expect= ed.=20 I wonder how this generates an internal error on other Operating Systems. I saw a comment in the test that windows throws an error when you try to trun= cate a file that has an open MappedByteBuffer, maybe FreeBSD should as well. try { fc.truncate(TRUNCATED_FILE_SIZE); truncated =3D true; } catch (IOException ioe) { // probably on Windows where a file cannot be truncated when // there is a file mapping. truncated =3D false; } --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209599-8522-wIJ2NaECwC>