Giter Club home page Giter Club logo

Comments (4)

s-b-repo avatar s-b-repo commented on August 25, 2024

Thread 1 "quickgui" received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff6225167 in g_log_writer_default () from /lib/x86_64-linux-gnu/libglib-2.0.so.

from quickgui.

s-b-repo avatar s-b-repo commented on August 25, 2024

#include <X11/Xlib.h>
#include <stdio.h>

Display *d;
XErrorEvent error;

int xErrorHandler(Display *d, XErrorEvent *error) {
char errorMessage[256];
XGetErrorText(d, error->error_code, errorMessage, sizeof(errorMessage));
fprintf(stderr, "X Error: %s\n", errorMessage);
return 0;
}

int main() {
d = XOpenDisplay(NULL);
if (d == NULL) {
fprintf(stderr, "Cannot open display\n");
return 1;
}

XSetErrorHandler(xErrorHandler);

// Your X-related code here

XCloseDisplay(d);
return 0;

}

from quickgui.

s-b-repo avatar s-b-repo commented on August 25, 2024

serial 595 error_code 2 request_code 152 (GLX) minor_code 22

provides some detailed information:

serial 595: This is the serial number of the request that caused the error.
error_code 2: This corresponds to BadValue, indicating an invalid parameter was passed.
request_code 152 (GLX): This is the X request code for GLX operations.
minor_code 22: This is the specific GLX request that failed.

from quickgui.

flexiondotorg avatar flexiondotorg commented on August 25, 2024

Tested on Ubuntu 22.04 and Ubuntu 24.04 with the Quickgui 1.2.9 release candidate and this issue is not presented. Fixed via dad70f2

from quickgui.

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.