Roger / escrotum

Linux screen capture using pygtk, inspired by scrot
GNU General Public License v3.0
213 stars 23 forks source link

segfaults when using -s #21

Closed ddevault closed 9 years ago

ddevault commented 9 years ago

To repro:

  1. Run escrotum -s
  2. Click a window
  3. Cry
Roger commented 9 years ago

i can reproduce it, seems that something broke with libx11-1.6.3, on a machine with libx11-1.6.2 works fine.. i'll try to debug with gdb to see whats going on

Roger commented 9 years ago

looks like something is broken with libx11.. i can reproduce the same segfault with this

#include <X11/Xlib.h>

int main(int argc, char **argv) {
    Display *dpy;
    int screen_number;
    Window win;

    dpy = XOpenDisplay(NULL);
    screen_number = XDefaultRootWindow(dpy);
    win = XRootWindow(dpy, screen_number);
}
ddevault commented 9 years ago

For what it's worth, scrot works fine.

ddevault commented 9 years ago

Any news?

Roger commented 9 years ago

Sorry, i have to deal with real life stuff until this weekend.. i'll try to fix this asap

ddevault commented 9 years ago

No worries, take your time.