GithubHelp home page GithubHelp logo

Comments (3)

Thulinma avatar Thulinma commented on June 6, 2024

Interesting! Can you get a gdb backtrace of the "stuck" controller?

from catalyst.

leszko avatar leszko commented on June 6, 2024

There are always 2 MistController processes running. Here are backtraces.

# gdb MistController 26335
...
MistController: No such file or directory.
Attaching to process 26335
[New LWP 26368]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: Target and debugger are in different PID namespaces; thread lists and other data are likely unreliable.  Connect to gdbserver inside the container.
0x00007f0f39222c7f in __GI___wait4 (pid=7, stat_loc=0x7ffcc30467cc, options=0, usage=0x0)
    at ../sysdeps/unix/sysv/linux/wait4.c:27
27      ../sysdeps/unix/sysv/linux/wait4.c: No such file or directory.

(gdb) backtrace
#0  0x00007f0f39222c7f in __GI___wait4 (pid=7, stat_loc=0x7ffcc30467cc, options=0, usage=0x0)
    at ../sysdeps/unix/sysv/linux/wait4.c:27
#1  0x000055fb50a46b9a in main (argc=3, argv=0x7ffcc30469e8)
    at /tmp/drone-q2IcpPwEcM8EB3pN/drone/src/src/controller/controller.cpp:677
# gdb MistController 26367
...
For help, type "help".
Type "apropos word" to search for commands related to "word"...
MistController: No such file or directory.
Attaching to process 26367
[New LWP 26369]
[New LWP 26370]
[New LWP 26371]
[New LWP 26605]
[New LWP 26606]
[New LWP 26607]
[New LWP 26609]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: Target and debugger are in different PID namespaces; thread lists and other data are likely unreliable.  Connect to gdbserver inside the container.
0x00007f0f3969b4ff in __libc_accept (fd=0, addr=..., addr@entry=..., len=len@entry=0x7ffcc3045b48)
    at ../sysdeps/unix/sysv/linux/accept.c:26
26      ../sysdeps/unix/sysv/linux/accept.c: No such file or directory.

(gdb) backtrace
#0  0x00007f0f3969b4ff in __libc_accept (fd=0, addr=..., addr@entry=..., len=len@entry=0x7ffcc3045b48)
    at ../sysdeps/unix/sysv/linux/accept.c:26
#1  0x000055fb50af2995 in Socket::Server::accept (this=this@entry=0x7ffcc3045e50, 
    nonblock=nonblock@entry=false) at /tmp/drone-q2IcpPwEcM8EB3pN/drone/src/lib/socket.cpp:1512
#2  0x000055fb50aa5199 in Util::Config::threadServer (this=this@entry=0x55fb50ed81a0 <Controller::conf>, 
    server_socket=..., callback=callback@entry=
    0x55fb50a92db0 <Controller::handleAPIConnection(Socket::Connection&)>)
    at /tmp/drone-q2IcpPwEcM8EB3pN/drone/src/lib/config.cpp:457
#3  0x000055fb50aa55e6 in Util::Config::serveThreadedSocket (this=0x55fb50ed81a0 <Controller::conf>, 
    callback=0x55fb50a92db0 <Controller::handleAPIConnection(Socket::Connection&)>)
    at /tmp/drone-q2IcpPwEcM8EB3pN/drone/src/lib/config.cpp:521
#4  0x000055fb50a4c5e4 in main_loop (argc=<optimized out>, argv=<optimized out>)
    at /tmp/drone-q2IcpPwEcM8EB3pN/drone/src/src/controller/controller.cpp:589
#5  0x000055fb50a46d05 in main (argc=3, argv=0x7ffcc30469e8)
    at /tmp/drone-q2IcpPwEcM8EB3pN/drone/src/src/controller/controller.cpp:668

from catalyst.

leszko avatar leszko commented on June 6, 2024

@Thulinma any news on that issue? Do you maybe know where it comes from?

from catalyst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.