[Pkg-bitcoin-devel] Bug#841951: bitcoin-qt segfaults on startup

Anthony Towns aj at erisian.com.au
Wed Oct 26 07:53:53 UTC 2016


On Tue, Oct 25, 2016 at 07:16:45PM +1100, Erik de Castro Lopo wrote:
> Thread 1 "bitcoin-qt" received signal SIGSEGV, Segmentation fault.
> qglx_findConfig (display=display at entry=0x555556151080, screen=screen at entry=0, format=..., 
>     drawableBit=drawableBit at entry=1) at glxconvenience/qglxconvenience.cpp:157
> 157	glxconvenience/qglxconvenience.cpp: No such file or directory.
> (gdb) bt
> #0  qglx_findConfig (display=display at entry=0x555556151080, screen=screen at entry=0, format=..., 
>     drawableBit=drawableBit at entry=1) at glxconvenience/qglxconvenience.cpp:157

That line is apparently:

   XRenderPictFormat *pictFormat = XRenderFindVisualFormat(display, visual->visual);

which presumably means "visual" is NULL. "visual" is:

   XVisualInfo *visual = glXGetVisualFromFBConfig(display, chosenConfig);

which "Returns NULL if config is not a valid GLXFBConfig." but
chosenConfig is "configs[i]" which is returned from glXChooseFBConfig,
so as far as I can see the only way it can plausibly be invalid is if
your OpenGL stuff is broken for some reason? Qt could actually check for
a NULL return and do "chosenConfig=NULL; continue;" though I guess.

> #13 0x00007ffff6ef1477 in QSystemTrayIcon::setVisible (this=<optimized out>, visible=<optimized out>)
>     at util/qsystemtrayicon.cpp:271

Maybe

 /usr/lib/x86_64-linux-gnu/qt5/examples/widgets/desktop/systray/systray

might reproduce the crash?

Cheers,
aj



More information about the Pkg-bitcoin-devel mailing list