Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1430

SIGSEGV in ~DataDecoder on master branch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 0.19.0
    • None
    • None

    Description

      [root@smfd-aka-23-sr4 ~]# export LD_LIBRARY_PATH=/home/czhang/mesos-net-new/build/src/.libs/:$LB_LIBARRY_PATH [10/1891]
      [root@smfd-aka-23-sr4 ~]# exec /home/czhang/mesos-net-new/build/libtool --mode=execute gdb --args /home/czhang/mesos-net-new/build/src/mesos execute --master=127.0.0.1:5050 --name=test --comm
      and='sleep 1000'
      GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
      Copyright (C) 2010 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".
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>...
      Reading symbols from /home/czhang/mesos-net-new/build/src/.libs/lt-mesos...done.
      (gdb) r
      Starting program: /home/czhang/mesos-net-new/build/src/.libs/lt-mesos execute --master=127.0.0.1:5050 --name=test --command=sleep\ 1000
      [Thread debugging using libthread_db enabled]
      process 42870 is executing new program: /home/czhang/mesos-net-new/build/src/.libs/mesos-execute
      Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 glibc-2.12-1.132.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-15.el6_5.1.x86_64 libco
      m_err-1.41.12-18.el6.x86_64 libcurl-7.19.7-37.el6_4.x86_64 libgcc-4.4.7-4.el6.x86_64 libidn-1.18-2.el6.x86_64 libnl3-3.2.24-0.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 libssh2-1.4.2-1.e
      l6.x86_64 libstdc++-4.4.7-4.el6.x86_64 nspr-4.10.2-1.el6_5.x86_64 nss-3.15.3-6.el6_5.x86_64 nss-softokn-freebl-3.14.3-9.el6.x86_64 nss-util-3.15.3-1.el6_5.x86_64 openldap-2.4.23-34.el6_5.1.x8
      6_64 openssl-1.0.1e-16.el6_5.7.x86_64 zlib-1.2.3-29.el6.x86_64
      [Thread debugging using libthread_db enabled]
      [New Thread 0x7ffff0ff1700 (LWP 42892)]
      [New Thread 0x7ffff07f0700 (LWP 42893)]
      [New Thread 0x7fffeffef700 (LWP 42894)]
      [New Thread 0x7fffef7ee700 (LWP 42895)]
      [New Thread 0x7fffeefed700 (LWP 42896)]
      [New Thread 0x7fffee7ec700 (LWP 42897)]
      [New Thread 0x7fffedfeb700 (LWP 42898)]
      [New Thread 0x7fffed7ea700 (LWP 42899)]
      [New Thread 0x7fffecfe9700 (LWP 42900)]
      [New Thread 0x7fffec7e8700 (LWP 42901)]
      [New Thread 0x7fffebfe7700 (LWP 42902)]
      [New Thread 0x7fffeb7e6700 (LWP 42903)]
      [New Thread 0x7fffeafe5700 (LWP 42904)]
      [New Thread 0x7fffea7e4700 (LWP 42905)]
      [New Thread 0x7fffe9fe3700 (LWP 42906)]
      [New Thread 0x7fffe97e2700 (LWP 42907)]
      [New Thread 0x7fffe8fe1700 (LWP 42908)]
      [New Thread 0x7fffe87e0700 (LWP 42909)]
      [New Thread 0x7fffe7fdf700 (LWP 42910)]
      [New Thread 0x7fffe77de700 (LWP 42911)]
      [New Thread 0x7fffe6fdd700 (LWP 42912)]
      [New Thread 0x7fffe67dc700 (LWP 42913)]
      [New Thread 0x7fffe5fdb700 (LWP 42914)]
      [New Thread 0x7fffe57da700 (LWP 42915)]
      [New Thread 0x7fffe4dd3700 (LWP 42916)]
      I0528 22:09:17.012004 42870 sched.cpp:121] Version: 0.19.0
      I0528 22:09:17.013778 42913 sched.cpp:217] New master detected at master@127.0.0.1:5050
      I0528 22:09:17.013957 42913 sched.cpp:225] No credentials provided. Attempting to register without authentication

      Program received signal SIGSEGV, Segmentation fault.
      [Switching to Thread 0x7fffe4dd3700 (LWP 42916)]
      _M_destroy_nodes (this=0x7fffbc000970, __in_chrg=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_deque.h:553
      553 _M_deallocate_node(*__n);
      Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 glibc-2.12-1.132.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-15.el6_5.1.x86_64 libc$m_err-1.41.12-18.el6.x86_64 libcurl-7.19.7-37.el6_4.x86_64 libgcc-4.4.7-4.el6.x86_64 libidn-1.18-2.el6.x86_64 libnl3-3.2.24-0.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 libssh2-1.4.2-1.$l6.x86_64 libstdc++-4.4.7-4.el6.x86_64 nspr-4.10.2-1.el6_5.x86_64 nss-3.15.3-6.el6_5.x86_64 nss-softokn-freebl-3.14.3-9.el6.x86_64 nss-util-3.15.3-1.el6_5.x86_64 openldap-2.4.23-34.el6_5.1.x$6_64 openssl-1.0.1e-16.el6_5.7.x86_64 zlib-1.2.3-29.el6.x86_64
      (gdb) bt
      #0 _M_destroy_nodes (this=0x7fffbc000970, __in_chrg=<value optimized out>) at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_deque.h:553
      #1 std::_Deque_base<process::http::Request*, std::allocator<process::http::Request*> >::~_Deque_base (this=0x7fffbc000970, __in_chrg=<value optimized out>)
      at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_deque.h:476
      #2 0x00007ffff6ec4726 in ~deque (loop=0x7ffff7ddc520, watcher=0x7fffbc000a90, revents=<value optimized out>)
      at /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_deque.h:790
      #3 ~DataDecoder (loop=0x7ffff7ddc520, watcher=0x7fffbc000a90, revents=<value optimized out>) at ../../../3rdparty/libprocess/src/decoder.hpp:23
      #4 process::receiving_connect (loop=0x7ffff7ddc520, watcher=0x7fffbc000a90, revents=<value optimized out>) at ../../../3rdparty/libprocess/src/process.cpp:1284
      #5 0x00007ffff6fb69ed in ev_invoke_pending (loop=0x7ffff7ddc520) at ev.c:2994
      #6 0x00007ffff6fbaf22 in ev_run (loop=0x7ffff7ddc520, flags=<value optimized out>) at ev.c:3394
      #7 0x00007ffff6ea980b in ev_loop (arg=<value optimized out>) at 3rdparty/libev-4.15/ev.h:826
      #8 process::serve (arg=<value optimized out>) at ../../../3rdparty/libprocess/src/process.cpp:1360
      #9 0x00007ffff61b49d1 in start_thread () from /lib64/libpthread.so.0
      #10 0x00007ffff4a57b6d in clone () from /lib64/libc.so.6

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chzhcn Chi Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: