Coder Social home page Coder Social logo

Comments (9)

wyld-sw avatar wyld-sw commented on August 18, 2024

Could you give us a little more information about your environment? Which Linux distribution, compile options (from @Version), etc.

I read there was a linux bug with futex(), but that may be a red herring.

from fuzzball.

kyanha avatar kyanha commented on August 18, 2024

Version: Muck2.2fb7.00a2(2) Compiled on: Sun Dec 18 2016 at 14:18:39 UTC
Options: DETACH GODPRIV IPV6 MCP RESOLVER SSL

Ubuntu 16.04, last patches approximately at the beginning of November 2016.

This is located on Linode.

from fuzzball.

 avatar commented on August 18, 2024

Regarding the compile time, I accidentally triggered a rebuild when looking through the config.h header file. We haven't changed the code since the issue was filed. The most recent lockup was approximately 12 hours ago, 12/17/2016, 11:30 PM ET.

# uname -a
Linux tassmoj.sprmuck.org 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

from fuzzball.

charlesreiss avatar charlesreiss commented on August 18, 2024

I'm curious about being unable to load the database with the MUCK compiled in debug mode. Do we have any idea what's causing that? Can we at least get it working compiled with -g -O2 or similar so you can attach a debugger and possibly get a half-useful stacktrace the next time this happens?

from fuzzball.

charlesreiss avatar charlesreiss commented on August 18, 2024

One possibility that comes to mind is that sig_reap() might do things which are not async-signal-safe, like calling vfprintf via log_status, which might cause a deadlock if the MUCK gets SIGCHLD while writing a log message (or malloc'ing if vfprintf mallocs, etc.)

A likely symptom of this would be the freeze occuring shortly after a forked database dump or a resolver process exit.

from fuzzball.

 avatar commented on August 18, 2024

Actually, it does seem to happen in conjunction with a database dump to disk, based on timing.

from fuzzball.

kyanha avatar kyanha commented on August 18, 2024

There's also a perhaps-related issue with resolver not dying properly? I haven't dug in to figure out where or why that's happening -- @sypherspace, can you submit a separate bug for the resolver issues?

from fuzzball.

 avatar commented on August 18, 2024

@kyanha Done. See #42.

from fuzzball.

wyld-sw avatar wyld-sw commented on August 18, 2024

#43 seems to resolve this. Feel free to reopen if the problem still exists.

from fuzzball.

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.