[Bug 853313] New: GroupWise client crashes, because Java uses too small stack alignment
https://bugzilla.novell.com/show_bug.cgi?id=853313 https://bugzilla.novell.com/show_bug.cgi?id=853313#c0 Summary: GroupWise client crashes, because Java uses too small stack alignment Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: schwab@suse.com ReportedBy: vojtech@suse.com QAContact: qa-bugs@suse.de CC: matz@suse.com Found By: Beta-Customer Blocker: No The GroupWise client crashes on openSUSE 13.1 because it uses Java and Java's JIT generates code with too small stack alignment compared to what the (new) 32-bit ABI dictates. Vectorized string operations in glibc depend on the full alignment and the application segfaults. It'd be good for backwards compatibility with (arguably broken) old applications to be able to set an environment variable to use non-vectorized string operations even on modern CPUs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853313 https://bugzilla.novell.com/show_bug.cgi?id=853313#c1 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |vojtech@suse.com --- Comment #1 from Andreas Schwab <schwab@suse.com> 2013-12-09 12:29:13 CET --- This report is useless without a backtrace. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853313 https://bugzilla.novell.com/show_bug.cgi?id=853313#c2 --- Comment #2 from Michael Matz <matz@suse.com> 2013-12-09 13:37:56 UTC --- It is a known problem, though. It was discussed extensively on research@, but to my amazement indeed there was not ever a backtrace (at that time from Petr Tesarik). See the thread "Java Groupwise client crashes" from late August this year. Basically it boils down to "oracle java generates invalid JIT code, and we want a work-around in glibc via environment variables". That workaround needs to disable the sse4.2 routines. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853313 https://bugzilla.novell.com/show_bug.cgi?id=853313#c3 --- Comment #3 from Andreas Schwab <schwab@suse.com> 2013-12-09 15:11:16 CET --- Which is exactly what the glibc in 13.1 does. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853313 https://bugzilla.novell.com/show_bug.cgi?id=853313#c4 --- Comment #4 from Michael Matz <matz@suse.com> 2013-12-09 15:44:01 UTC --- The patches done for 13.1 disabled only strstr and strcasestr and only on 32bit glibc. The report here is about the 32bit ABI, so that's probably okay. It might be nice to have it disableable only via an envvar. And it might be conservatively nice to make it disableable for _all_ ifuncs that dispatch based on SSE capabilities. Just so we can ask customers to set that envvar in case they come to use with an undecipherable segfault. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853313 https://bugzilla.novell.com/show_bug.cgi?id=853313#c5 Vojtech Pavlik <vojtech@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|vojtech@suse.com | --- Comment #5 from Vojtech Pavlik <vojtech@suse.com> 2013-12-10 11:41:52 UTC --- Created an attachment (id=571103) --> (http://bugzilla.novell.com/attachment.cgi?id=571103) Stacktrace -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853313 https://bugzilla.novell.com/show_bug.cgi?id=853313#c6 --- Comment #6 from Vojtech Pavlik <vojtech@suse.com> 2013-12-10 11:43:24 UTC --- Stacktrace provided. Btw, groupwise is available for download at https://gwclient.innerweb.novell.com/client/gw802hp2linuxclient.zip and there are plenty of 64-bit machines around to try and see it segfault. No configuration needed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853313 https://bugzilla.novell.com/show_bug.cgi?id=853313#c7 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |vojtech@suse.com --- Comment #7 from Andreas Schwab <schwab@suse.com> 2013-12-11 10:58:58 CET --- Why do you think this crash is due to stack alignment??? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853313 https://bugzilla.novell.com/show_bug.cgi?id=853313#c8 --- Comment #8 from Michael Matz <matz@suse.com> 2013-12-11 13:43:11 UTC --- Yeah, this one definitely isn't. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853313 https://bugzilla.novell.com/show_bug.cgi?id=853313#c9 Vojtech Pavlik <vojtech@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|vojtech@suse.com | --- Comment #9 from Vojtech Pavlik <vojtech@suse.com> 2013-12-12 19:10:36 UTC --- Well, because when I LD_PRELOAD Petr Tesařík's aligner.so library, it stops crashing. I may have not captured the right part of the crash in the stacktrace (*) - it's a very much multithreaded application, so I'm not quite sure how signal delivery will work there. (*) Yes, I'd expect a SSE opcode there, too. Btw, which 13.1 version of glibc is supposed to fix the problem? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=853313 https://bugzilla.novell.com/show_bug.cgi?id=853313#c10 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |vojtech@suse.com --- Comment #10 from Andreas Schwab <schwab@suse.com> 2013-12-17 11:04:07 CET --- Waiting for a useful backtrace. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=853313 http://bugzilla.novell.com/show_bug.cgi?id=853313#c11 Andreas Schwab <schwab@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #11 from Andreas Schwab <schwab@suse.com> --- No answer and 13.1 is out of maintenance. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com