mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Borisa Zivkovic (JIRA)" <>
Subject [jira] [Created] (MESOS-2905) JVM crashed when wrong master format specified
Date Mon, 22 Jun 2015 13:45:01 GMT
Borisa Zivkovic created MESOS-2905:

             Summary: JVM crashed when wrong master format specified
                 Key: MESOS-2905
             Project: Mesos
          Issue Type: Bug
          Components: general
    Affects Versions: 0.22.1
         Environment: java version "1.8.0_45" - Oracle
mesos version 0.22.1
OS ubuntu 15.04
            Reporter: Borisa Zivkovic

I am using Spark with Mesos...

I reported issue here but actually after
inspecting core dump it looks like it is Mesos problem

Basically, if I specify invalid mesos master URL it crashes JVM... for example mesos://
and mesos://abc://
will crash JVM

Looks like problem is in line 245 here

probably additional checks should be done and proper error reported instead of crashing JVM

here is relevant part of core dump

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/".
gdb where
Core was generated by `/usr/lib/jvm/java-8-oracle/bin/java -cp /home/borisa/Programs/spark-1.4.0-bin-h'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f8a245ad267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) gdb where
Undefined command: "gdb".  Try "help".
(gdb) where
#0  0x00007f8a245ad267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#1  0x00007f8a245aeeca in __GI_abort () at abort.c:89
#2  0x00007f8a23ebf6b5 in os::abort(bool) () from /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/
#3  0x00007f8a2405cda3 in VMError::report_and_die() () from /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/
#4  0x00007f8a23ec4bdf in JVM_handle_linux_signal () from /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/
#5  0x00007f8a23ebb493 in signalHandler(int, siginfo*, void*) () from /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/
#6  <signal handler called>
#7  __GI_freeaddrinfo (ai=0x998ef7a53c7f3000) at ../sysdeps/posix/getaddrinfo.c:2683
#8  0x00007f89869b4b10 in getIP () at ../../../3rdparty/libprocess/3rdparty/stout/include/stout/net.hpp:203
#9  0x00007f89869f2d9e in operator>> () at ../../../3rdparty/libprocess/src/pid.cpp:114
#10 0x00007f89869f2768 in UPID () at ../../../3rdparty/libprocess/src/pid.cpp:43
#11 0x00007f8986075108 in create () at ../../src/master/detector.cpp:245
#12 0x00007f89862768c4 in start () at ../../src/sched/sched.cpp:1515
#13 0x00007f8986a97418 in Java_org_apache_mesos_MesosSchedulerDriver_start () at ../../src/java/jni/org_apache_mesos_MesosSchedulerDriver.cpp:603

This message was sent by Atlassian JIRA

View raw message