Code Monkey home page Code Monkey logo

Comments (4)

 avatar commented on July 26, 2024

I'm on OpenBSD 6.9 and I also faced this issue a few times when using nohup

from herbe.

N-R-K avatar N-R-K commented on July 26, 2024

Possible suspect is the fact that herbe is calling Xlib functions inside the signal handler.

herbe/herbe.c

Lines 73 to 80 in dec89e4

void expire(int sig)
{
XEvent event;
event.type = ButtonPress;
event.xbutton.button = (sig == SIGUSR2) ? (ACTION_BUTTON) : (DISMISS_BUTTON);
XSendEvent(display, window, 0, 0, &event);
XFlush(display);
}

You can only call functions which are async-signal-safe from inside a signal handler, see man 7 signal-safety.

from herbe.

N-R-K avatar N-R-K commented on July 26, 2024

@faustri @alreadyburnt Try out #40 and see if that solves the issue or not.

from herbe.

 avatar commented on July 26, 2024

@N-R-K thanks for the PR. I don't know exactly when it happens but for now it seems to work fine. I'll come back here if I experience this issue again.

from herbe.

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.