You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Marco Massenzio (JIRA)" <ji...@apache.org> on 2015/05/13 02:59:59 UTC

[jira] [Resolved] (MESOS-2707) Incorrect zh:// URI scheme causes Slave to SegFault

     [ https://issues.apache.org/jira/browse/MESOS-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Massenzio resolved MESOS-2707.
------------------------------------
    Resolution: Cannot Reproduce

The segfault seems to be unrelated to the incorrect {{zh://}} scheme: a simple test using the same URI causes the Slave to simply exit emitting an appropriate error message.

{noformat}
$ ./bin/mesos-slave.sh --master=zh://localhost:2181/test/marco
I0512 17:58:14.379659 2042102...
...
Failed to create a master detector: Failed to parse 'zh://localhost:2181/test/marco'
{noformat}

> Incorrect zh:// URI scheme causes Slave to SegFault
> ---------------------------------------------------
>
>                 Key: MESOS-2707
>                 URL: https://issues.apache.org/jira/browse/MESOS-2707
>             Project: Mesos
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>         Environment: Linux iZ25to7d407Z 2.6.32-504.16.2.el6.x86_64 #1 SMP Wed Apr 22 06:48:29 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> Mesos 0.22.0,built from sources
> Zookeeper 3.4.6
>            Reporter: Shengwu Jiang
>            Assignee: Marco Massenzio
>
> I have 4 slave nodes with the same hardware, operating system and mesos configuration. 
> Few minutes ago, all 4 nodes were functioning well. I tried to change the config of *master* from _10.172.230.69:5050_ to _zh://10.172.230.69:2181/mesos_ and restarted them in turn. The other three had started normally but the last one got a segmentation fault as you can see below.
> {code}
> [root@iZ25to7d407Z ~]# mesos-slave --master=zh://10.172.230.69:2181/mesos --hostname=123.57.42.237 --containerizers=docker,mesos --quiet &
> [1] 1216
> [root@iZ25to7d407Z ~]# *** Aborted at 1431085131 (unix time) try "date -d @1431085131" if you are using GNU date ***
> PC: @       0x3aede7b53c (unknown)
> *** SIGSEGV (@0x0) received by PID 1216 (TID 0x7f12f984b820) from PID 0; stack trace: ***
>     @       0x3aee20f710 (unknown)
>     @       0x3aede7b53c (unknown)
>     @       0x3aedecf630 (unknown)
>     @     0x7f12fce1593f net::getIP()
>     @     0x7f12fce507ae process::operator>>()
>     @     0x7f12fce50107 process::UPID::UPID()
>     @     0x7f12fc52af71 mesos::internal::MasterDetector::create()
>     @           0x4b1290 main
>     @       0x3aede1ed5d (unknown)
>     @           0x4b00b9 (unknown)
> [1]+  Segmentation fault      mesos-slave --master=zh://10.172.230.69:2181/mesos --hostname=123.57.42.237 --containerizers=docker,mesos --quiet
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)