Mailinglist Archive: opensuse-bugs (4644 mails)

< Previous Next >
[Bug 1045340] groupwise segfaults on kernel-default-4.4.72-18.12.2 (regression from stack gap fix?)
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 21 Jun 2017 21:45:52 +0000
  • Message-id: <bug-1045340-21960-2qmopUgyMw@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1045340
http://bugzilla.suse.com/show_bug.cgi?id=1045340#c11

--- Comment #11 from Vlastimil Babka <vbabka@xxxxxxxx> ---
(In reply to Vlastimil Babka from comment #10)
#3 0xf7afd1e2 in JavaThread::create_stack_guard_pages() () from
/opt/novell/groupwise/client/java/lib/i386/client/libjvm.so

Looks to me like this is intended to create guard pages from userspace for
non-initial threads, which AFAIK have fixed-size stacks in pthread
implementation, so probably also in java. Pthreads seem to also have guard
pages controlled by pthread_attr_setguardsize(). Neither should care or have
issues with the kernel's guard gap implementation or gap size, as long as the
extra thread stacks are not VM_GROWSDOWN.

Seems there is a bug when java VM is invoked via JNI_CreateJavaVM () from
another binary (and not the java launcher), where these guard pages for extra
threads are applied to the initial thread and its VM_GROWSDOWN stack, where it
does have issues with the larger in-kernel gap as I analyzed above.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References