[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53733] Panic/segfault when calling Java metho

From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #53733] Panic/segfault when calling Java method after forge:im[read|write]
Date: Tue, 24 Apr 2018 18:18:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Follow-up Comment #20, bug #53733 (project octave):

It seems the test program works for me -- no crash:

g++ -ggdb3 -I/usr/lib/jvm/java-9/include -I/usr/lib/jvm/jre-9/include/linux
tjava.cc -L/usr/lib/jvm/java-9-openjdk/lib/server -ljvm

LD_LIBRARY_PATH=/usr/lib/jvm/java-9/lib/server ./a.out 
VM = 0x7f726b71ed20

LD_LIBRARY_PATH=/usr/lib/jvm/java-9/lib/server gdb ./a.out 
GNU gdb (GDB) Fedora 8.1-11.fc28
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./a.out...done.
(gdb) r
Starting program: /d2/home/dima/scratch/java/a.out 
Missing separate debuginfos, use: dnf debuginfo-install
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: Loadable section ".note.gnu.property" outside of ELF segments
[New Thread 0x7fffdc51e700 (LWP 14411)]
[New Thread 0x7fffdc41c700 (LWP 14412)]
[New Thread 0x7fffdc31a700 (LWP 14413)]
[New Thread 0x7fffdc218700 (LWP 14414)]
[New Thread 0x7fffcfcfc700 (LWP 14415)]
[New Thread 0x7fffcfbfa700 (LWP 14416)]
[New Thread 0x7fffcfaf8700 (LWP 14417)]
[New Thread 0x7fffcf9f6700 (LWP 14418)]
[New Thread 0x7fffcf8f4700 (LWP 14419)]
[New Thread 0x7fffcc69c700 (LWP 14420)]
[New Thread 0x7fffcc59a700 (LWP 14421)]
[New Thread 0x7fffa83af700 (LWP 14422)]
[New Thread 0x7fffa82ad700 (LWP 14423)]
[New Thread 0x7fffa81ac700 (LWP 14424)]
[New Thread 0x7fffa17ff700 (LWP 14425)]
[New Thread 0x7fffa16fe700 (LWP 14426)]
[New Thread 0x7fffa15fd700 (LWP 14427)]
[New Thread 0x7fffa14fc700 (LWP 14428)]
[New Thread 0x7fffa13fb700 (LWP 14429)]
[New Thread 0x7fffa0ed0700 (LWP 14430)]
[New Thread 0x7fffa0dcf700 (LWP 14431)]
[New Thread 0x7fffa0cce700 (LWP 14432)]
VM = 0x7ffff7d69d20
[Thread 0x7fffa0ed0700 (LWP 14430) exited]
[Thread 0x7fffa13fb700 (LWP 14429) exited]
[Thread 0x7fffa14fc700 (LWP 14428) exited]
[Thread 0x7fffa15fd700 (LWP 14427) exited]
[Thread 0x7fffa16fe700 (LWP 14426) exited]
[Thread 0x7fffa17ff700 (LWP 14425) exited]
[Thread 0x7fffa81ac700 (LWP 14424) exited]
[Thread 0x7fffa82ad700 (LWP 14423) exited]
[Thread 0x7fffa83af700 (LWP 14422) exited]
[Thread 0x7fffcc59a700 (LWP 14421) exited]
[Thread 0x7fffcc69c700 (LWP 14420) exited]
[Thread 0x7fffcf8f4700 (LWP 14419) exited]
[Thread 0x7fffcf9f6700 (LWP 14418) exited]
[Thread 0x7fffcfaf8700 (LWP 14417) exited]
[Thread 0x7fffcfbfa700 (LWP 14416) exited]
[Thread 0x7fffcfcfc700 (LWP 14415) exited]
[Thread 0x7fffdc218700 (LWP 14414) exited]
[Thread 0x7fffdc31a700 (LWP 14413) exited]
[Thread 0x7fffdc41c700 (LWP 14412) exited]
[Thread 0x7fffdc51e700 (LWP 14411) exited]
[Thread 0x7ffff7fbe740 (LWP 14400) exited]
[Thread 0x7fffa0dcf700 (LWP 14431) exited]
[Inferior 1 (process 14400) exited normally]
Missing separate debuginfos, use: dnf debuginfo-install
java-9-openjdk-headless- libgcc-8.0.1-0.20.fc28.x86_64
libstdc++-8.0.1-0.20.fc28.x86_64 zlib-1.2.11-7.fc28.x86_64



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]