Quantcast
Channel:
Viewing all articles
Browse latest Browse all 443

Installation and Maintenance of software • "failed to create drawable" error on multiple apps

$
0
0
Hello,

This is my first post on this forum, so bear with me please.

I first encountered the issue when installing calibre, and trying to open a book in the viewer. Since the viewer appeared to start and then immediately crash, I tried to launch the application from the terminal. This is the output (application crashing right after drawing the frame):

Code:

ebook-viewerfailed to create drawable[2287:1900093440:0318/172038.737613:ERROR:nss_util.cc(357)] After loading Root Certs, loaded==false: NSS error code: -8018failed to create drawable[2287:2043150848:0318/172038.827715:ERROR:gl_surface_glx_qt.cpp(159)] glXCreatePbuffer failed.[2287:2043150848:0318/172038.827737:ERROR:gpu_info_collector.cc(80)] gl::GLContext::CreateOffscreenGLSurface failed[2287:2043150848:0318/172038.827749:ERROR:gpu_info_collector.cc(401)] Could not create surface for info collection.failed to create drawable[2287:2043150848:0318/172038.829462:ERROR:gl_surface_glx_qt.cpp(159)] glXCreatePbuffer failed.failed to create drawable[2287:2043150848:0318/172038.830793:ERROR:gl_surface_glx_qt.cpp(159)] glXCreatePbuffer failed.[2287:2043150848:0318/172038.830809:ERROR:gpu_info_collector.cc(80)] gl::GLContext::CreateOffscreenGLSurface failed[2287:2043150848:0318/172038.830817:ERROR:gpu_info_collector.cc(401)] Could not create surface for info collection.libva error: vaGetDriverNames() failed with unknown libva errorfailed to create drawablefailed to create drawablefish: Job 1, 'ebook-viewer' terminated by signal SIGSEGV (Address boundary error)
Very similar output for ebook-edit:

Code:

ebook-edit failed to create drawable[2373:174137344:0318/172118.739855:ERROR:nss_util.cc(357)] After loading Root Certs, loaded==false: NSS error code: -8018failed to create drawable[2373:325650432:0318/172118.765600:ERROR:gl_surface_glx_qt.cpp(159)] glXCreatePbuffer failed.[2373:325650432:0318/172118.765655:ERROR:gpu_info_collector.cc(80)] gl::GLContext::CreateOffscreenGLSurface failed[2373:325650432:0318/172118.765691:ERROR:gpu_info_collector.cc(401)] Could not create surface for info collection.failed to create drawable[2373:325650432:0318/172118.767379:ERROR:gl_surface_glx_qt.cpp(159)] glXCreatePbuffer failed.failed to create drawable[2373:325650432:0318/172118.768615:ERROR:gl_surface_glx_qt.cpp(159)] glXCreatePbuffer failed.[2373:325650432:0318/172118.768633:ERROR:gpu_info_collector.cc(80)] gl::GLContext::CreateOffscreenGLSurface failed[2373:325650432:0318/172118.768640:ERROR:gpu_info_collector.cc(401)] Could not create surface for info collection.libva error: vaGetDriverNames() failed with unknown libva errorfailed to create drawablefailed to create drawablefish: Job 1, 'ebook-edit' terminated by signal SIGSEGV (Address boundary error)
I tried to move to another app, foliate. This one starts, but it shows the same error (while still running):

Code:

foliate(com.github.johnfactotum.Foliate:2399): Gjs-WARNING **: 17:21:30.233: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:  main@resource:///com/github/johnfactotum/Foliate/js/main.js:478:24  run@resource:///org/gnome/gjs/modules/script/package.js:206:19  @/usr/local/bin/foliate:9:17failed to create drawable
After going to the library in foliate and opening a book, a couple of times, it crashes too:

Code:

(com.github.johnfactotum.Foliate:3774): Gjs-WARNING **: 17:40:19.046: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:  main@resource:///com/github/johnfactotum/Foliate/js/main.js:478:24  run@resource:///org/gnome/gjs/modules/script/package.js:206:19  @/usr/local/bin/foliate:9:17failed to create drawablefish: Job 1, 'foliate' terminated by signal SIGBUS (Misaligned address error)
Finally, I tried to open an .EPUB file with atril (this one starts, but crashes when trying to open a file):

Code:

atrilfish: Job 1, 'atril' terminated by signal SIGBUS (Misaligned address error)
GhostBSD was installed pretty recently, minimal additions to the list of default apps.

Code:

ghostbsd-version -fkov14.0-STABLE140050124.01.124.01.1
Since some of the errors mentioned glx, I checked the logs to see if the module is loaded. The relevant section of the /var/log/Xorg.0.log file:

Code:

[    11.653] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.[    11.653] (II) LoadModule: "glx"[    11.654] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so[    11.723] (II) Module glx: vendor="NVIDIA Corporation"[    11.723] compiled for 4.0.2, module version = 1.0.0[    11.723] Module class: X.Org Server Extension[    11.723] (II) NVIDIA GLX Module  390.154  Wed Jun 22 04:44:23 UTC 2022[    11.724] (II) LoadModule: "nvidia"
I saw the bugs and issues should be posted on Github, but considering my problem appears to involve multiple apps (on multiple toolkits, as far as I can tell), I figured it's a good chance there's some configuration problem that I'm missing. Though those errors look like something that shouldn't appear on a fresh install of an app.

All the applications were installed with pkg, not ports. So, for the applications mentioned here, my commands were basically:

Code:

pkg install calibrepkg install foliate

Statistics: Posted by liber — Mon Mar 18, 2024 12:44 pm



Viewing all articles
Browse latest Browse all 443

Trending Articles