[Bug 1851] ‘unhandled signal 11’ on newly built IcedTeaJVM for OpenJDK 6 and 7

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Fri Aug 29 15:17:34 UTC 2014


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1851

Tim Mattison <tim at mattison.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tim at mattison.org

--- Comment #6 from Tim Mattison <tim at mattison.org> ---
I am running into a similar issue on a Raspberry Pi running Raspbian Linux when
using Quartz.

The test code is:

import org.quartz.*;
import org.quartz.impl.StdSchedulerFactory;

import static org.quartz.JobBuilder.newJob;
import static org.quartz.SimpleScheduleBuilder.simpleSchedule;
import static org.quartz.TriggerBuilder.newTrigger;

public class CrashJvmWithQuartz {
    public static void main(String args[]) throws SchedulerException {
        scheduleJob();
    }

    private static void scheduleJob() throws SchedulerException {
        // Get the default scheduler
        System.out.println("1");
        Scheduler scheduler = StdSchedulerFactory.getDefaultScheduler();

        // Start the scheduler
        System.out.println("2");
        scheduler.start();

        // Create the job detail
        System.out.println("3");
        JobDetail jobDetail = newJob(TestJob.class).build();

        // Trigger the job to run every 15 seconds, forever
        System.out.println("4");
        Trigger trigger = newTrigger()
                .withIdentity("trigger", "group")
                .startNow()
                .withSchedule(simpleSchedule()
                        .withIntervalInSeconds(15)
                        .withRepeatCount(1000))
                .build();

        // Give the scheduler the job and the trigger
        System.out.println("5, schedule");
        scheduler.scheduleJob(jobDetail, trigger);
    }

    class TestJob implements Job {
        @Override
        public void execute(JobExecutionContext context) throws
JobExecutionException {
            System.out.println("Running job");
        }
    }
}

"Running job" is never printed and the application crashes after it prints out
"5".

The crash message is:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (os_linux_zero.cpp:285), pid=11115, tid=3061761136
#  fatal error: caught unhandled signal 11
#
# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32)
# Java VM: OpenJDK Zero VM (24.65-b04 mixed mode linux-arm )
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/pi/hs_err_pid11115.log
#  
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
#

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140829/1d17064f/attachment.html>


More information about the distro-pkg-dev mailing list