FS#46619 - [glib2] version 2.46 cause Oracle java to fail
Attached to Project:
Arch Linux
Opened by Ondrej Fafejta (fafi) - Friday, 09 October 2015, 08:25 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 10 October 2015, 17:46 GMT
Opened by Ondrej Fafejta (fafi) - Friday, 09 October 2015, 08:25 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 10 October 2015, 17:46 GMT
|
Details
Description:
When I upgraded g2lib to version 2.46 intellij idea can not run. see log file in attachment. # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f532099dbe0, pid=5416, tid=139996006450944 When I downgraded g2lib to version 2.44 all works fine. Additional info: * package version(s) glib2-2.46.0-2 oracle jdk 8u60-1 - installed from aur https://aur.archlinux.org/packages/jdk/ Steps to reproduce: * upgrade g2lib to version 2.46 * execute ./idea.sh |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Saturday, 10 October 2015, 17:46 GMT
Reason for closing: Fixed
Additional comments about closing: 2.46.0-3, in testing.
Saturday, 10 October 2015, 17:46 GMT
Reason for closing: Fixed
Additional comments about closing: 2.46.0-3, in testing.
#0 0x00007fef024795f8 in raise () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fee91337700 (LWP 1504))]
(gdb) bt
#0 0x00007fef024795f8 in raise () from /usr/lib/libc.so.6
#1 0x00007fef0247aa7a in abort () from /usr/lib/libc.so.6
#2 0x00007fef01d8c915 in os::abort(bool) () from /usr/lib/jvm/java-8-jdk/jre/lib/amd64/server/libjvm.so
#3 0x00007fef01f2a103 in VMError::report_and_die() () from /usr/lib/jvm/java-8-jdk/jre/lib/amd64/server/libjvm.so
#4 0x00007fef01f2a5ae in crash_handler(int, siginfo*, void*) () from /usr/lib/jvm/java-8-jdk/jre/lib/amd64/server/libjvm.so
#5 <signal handler called>
#6 0x00007fef01d8297a in os::print_hex_dump(outputStream*, unsigned char*, unsigned char*, int) () from /usr/lib/jvm/java-8-jdk/jre/lib/amd64/server/libjvm.so
#7 0x00007fef01f285e9 in VMError::report(outputStream*) () from /usr/lib/jvm/java-8-jdk/jre/lib/amd64/server/libjvm.so
#8 0x00007fef01f29cfa in VMError::report_and_die() () from /usr/lib/jvm/java-8-jdk/jre/lib/amd64/server/libjvm.so
#9 0x00007fef01d91e3f in JVM_handle_linux_signal () from /usr/lib/jvm/java-8-jdk/jre/lib/amd64/server/libjvm.so
#10 0x00007fef01d886f3 in signalHandler(int, siginfo*, void*) () from /usr/lib/jvm/java-8-jdk/jre/lib/amd64/server/libjvm.so
#11 <signal handler called>
#12 0x00007fee6d9d5be0 in ?? ()
#13 0x00007fef02c0a579 in __nptl_deallocate_tsd.part.4 () from /usr/lib/libpthread.so.0
#14 0x00007fef02c0b658 in start_thread () from /usr/lib/libpthread.so.0
#15 0x00007fef0252f13d in clone () from /usr/lib/libc.so.6
(gdb)
Id Target Id Frame
33 Thread 0x7feecc919700 (LWP 1496) 0x00007fef02c11428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
32 Thread 0x7fee6e48c700 (LWP 1510) 0x00007fef02c13fad in read () from /usr/lib/libpthread.so.0
31 Thread 0x7feecc203700 (LWP 1501) 0x00007fef02c11428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
30 Thread 0x7feecc515700 (LWP 1500) 0x00007fef02c11428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
29 Thread 0x7feecc616700 (LWP 1499) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
28 Thread 0x7feeccc1c700 (LWP 1493) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
27 Thread 0x7feecca1a700 (LWP 1495) 0x00007fef02c11428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
26 Thread 0x7fee91b4a700 (LWP 1502) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
25 Thread 0x7feeec6ad700 (LWP 1488) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
24 Thread 0x7feeccb1b700 (LWP 1494) 0x00007fef02c132d7 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
23 Thread 0x7feecdcfc700 (LWP 1489) 0x00007fef02c11428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
22 Thread 0x7feecc818700 (LWP 1497) 0x00007fef01dda584 in PhaseChaitin::elide_copy(Node*, int, Block*, Node_List&, Node_List&, bool) () from /usr/lib/jvm/java-8-jdk/jre/lib/amd64/server/libjvm.so
21 Thread 0x7feeec7ae700 (LWP 1487) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
20 Thread 0x7feeedbfc700 (LWP 1485) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
19 Thread 0x7feecd021700 (LWP 1492) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
18 Thread 0x7feecd122700 (LWP 1491) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
17 Thread 0x7feeeddfe700 (LWP 1483) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
16 Thread 0x7fef00188700 (LWP 1481) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
15 Thread 0x7feeedcfd700 (LWP 1484) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
14 Thread 0x7feecc717700 (LWP 1498) 0x00007fef02c11428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
13 Thread 0x7fef02fec700 (LWP 1478) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
12 Thread 0x7feeedafb700 (LWP 1486) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
11 Thread 0x7fee90f3b700 (LWP 1506) 0x00007fef02c11428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
10 Thread 0x7feeedeff700 (LWP 1482) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
9 Thread 0x7fef00289700 (LWP 1480) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
8 Thread 0x7fee90f02700 (LWP 1507) 0x00007fef0252618d in poll () from /usr/lib/libc.so.6
7 Thread 0x7fef0038a700 (LWP 1479) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
6 Thread 0x7fef02fee700 (LWP 1477) 0x00007fef02c0c70d in pthread_join () from /usr/lib/libpthread.so.0
5 Thread 0x7feecd223700 (LWP 1490) 0x00007fef02c11428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
4 Thread 0x7fee6e58d700 (LWP 1509) 0x00007fef02c1107f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
3 Thread 0x7fee908dd700 (LWP 1508) 0x00007fef02c11428 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
2 Thread 0x7fee91438700 (LWP 1503) 0x00007fef0252618d in poll () from /usr/lib/libc.so.6
* 1 Thread 0x7fee91337700 (LWP 1504) 0x00007fef024795f8 in raise () from /usr/lib/libc.so.6
(gdb)
Time travelling to 8-Oct worked for me.
https://wiki.archlinux.org/index.php/Arch_Rollback_Machine#Time_travel
I do.
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
I've downloaded jdk7 from oracle website.
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
It looks like an issue with oracle jdk.
LD_PRELOAD=/lib/libglib-2.0.so idea.sh
http://pkgbuild.com/~heftig/glib2-2.46.0-2-x86_64.pkg.tar.xz
Starting idea with command below works perfectly (tested with glib2 2.46.0-2)
LD_PRELOAD=/lib/libglib-2.0.so idea.sh
It is a different package than the "normal" glib2-2.46.0-2
package http://pkgbuild.com/~heftig/glib2-2.46.0-2-x86_64.pkg.tar.xz
works perfectly.
Thanks for fast bug fix.