← Back to team overview

openjdk team mailing list archive

[Bug 243703] Re: SIGSEGV when trying to execute c code via jdbm library

 

this is suspicious:

$ make
cc -Wall -fpic -c  -I/usr/lib/jvm/java-6-openjdk/include/ jdbm_Database.c
jdbm_Database.c: In function 'get_handle':
jdbm_Database.c:90: warning: cast to pointer from integer of different size
jdbm_Database.c: In function 'set_handle':
jdbm_Database.c:116: warning: cast from pointer to integer of different size

also please build using openjdk-6's javac, not jikes

and please recheck with openjdk-6 6b11-2ubuntu2 from hardy-proposed

** Changed in: openjdk-6 (Ubuntu)
       Status: New => Incomplete

-- 
SIGSEGV when trying to execute c code via jdbm library
https://bugs.launchpad.net/bugs/243703
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” source package in Ubuntu: Incomplete

Bug description:
This bug occurs randomly when trying to use jdbm library from http://aurora.regenstrief.org/~schadow/dbm-java/

RELEASE ...
Description:	Ubuntu 8.04.1
Release:	8.04

sometimes, the execution works and the data is read from a gdbm-file, instead of this the following error is printed

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f85c800c389, pid=7083, tid=1102784848
#
# Java VM: OpenJDK 64-Bit Server VM (1.6.0-b10 mixed mode linux-amd64)
# Problematic frame:
# C  [libgdbm.so.3+0x3389]  _gdbm_get_bucket+0x9
#
# An error report file with more information is saved as:
# /media/sdb1/ubuntu/netbeans/gui/hs_err_pid7083.log
#
# If you would like to submit a bug report, please visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#



References