Bug 477379

Summary: digikam crashes on start with "failed to create drawable" / "glXCreatePbuffer failed."
Product: [Applications] digikam Reporter: Kristian <kde-bugs>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: crash CC: caulier.gilles, elwood, metzpinguin
Priority: NOR    
Version: 8.2.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: GDB output with QT_LOGGING_RULES="digikam*=true"
GDB output with QT_LOGGING_RULES="digikam*=true" and QTWEBENGINE_DISABLE_GPU_THREAD=1
GDB output with QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu-compositing"

Description Kristian 2023-11-22 17:58:50 UTC
SUMMARY

digikam crashes immediately after launch (but shows splash screen). Console output:

~ $ digikam 
failed to create drawable
failed to create drawable
[22259:22316:1122/184246.795731:ERROR:gl_surface_glx_qt.cpp(188)] glXCreatePbuffer failed.
[22259:22316:1122/184246.795811:ERROR:gpu_info_collector.cc(69)] gl::GLContext::CreateOffscreenGLSurface failed
[22259:22316:1122/184246.795866:ERROR:gpu_info_collector.cc(277)] Could not create surface for info collection.
failed to create drawable
[22259:22316:1122/184246.840085:ERROR:gl_surface_glx_qt.cpp(188)] glXCreatePbuffer failed.
failed to create drawable
[22259:22316:1122/184246.878873:ERROR:gl_surface_glx_qt.cpp(188)] glXCreatePbuffer failed.
[22259:22316:1122/184246.878912:ERROR:gpu_info_collector.cc(69)] gl::GLContext::CreateOffscreenGLSurface failed
[22259:22316:1122/184246.878928:ERROR:gpu_info_collector.cc(277)] Could not create surface for info collection.
21 -- exe=/usr/bin/digikam
13 -- platform=xcb
11 -- display=:0
16 -- appname=digikam
17 -- apppath=/usr/bin
10 -- signal=11
10 -- pid=22259
17 -- appversion=8.1.0
20 -- programname=digiKam
31 -- bugaddress=submit@bugs.kde.org
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = digikam path = /usr/bin pid = 22259
KCrash: Arguments: /usr/bin/digikam 
QSocketNotifier: Invalid socket 29 and type 'Read', disabling...
QSocketNotifier: Invalid socket 31 and type 'Read', disabling...
QSocketNotifier: Invalid socket 35 and type 'Read', disabling...
KCrash: Attempting to start /usr/lib/drkonqi

[1]+  Angehalten              digikam
~ $ file:///usr/lib/qt/qml/org/kde/kirigami.2/ContextDrawer.qml:135:9: QML ListView: Binding loop detected for property "topMargin"


DrKonqi hangs and spams the terminal with when trying to get more info:
"[warn] epoll_wait: Ungültiger Dateideskriptor" (Invalid file descriptor)



STEPS TO REPRODUCE
1. start digikam
2. 
3. 

OBSERVED RESULT

digikam crashes immediately after launch


EXPECTED RESULT

digikam should start

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: linux 6.1.63-1-lts (64-bit)
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION

This applies for the version installed from Arch Linux repos, the appimage works fine. It didn't crash with digikam 8.0.0
Comment 1 caulier.gilles 2023-11-22 20:01:44 UTC
I suspect an OpenGL problem on your computer. Probably the dusfunction come from QtWebEngine.

Can you provide a GDB backtrace please ?

https://www.digikam.org/contribute/

Gilles Caulier
Comment 2 Maik Qualmann 2023-11-22 20:21:55 UTC
Start digiKam in the terminal and set the following environment variable to test:

export QTWEBENGINE_DISABLE_GPU_THREAD=1

Maik
Comment 3 Kristian 2023-11-22 21:36:24 UTC
Unfortunately, the terminal crashes each time I try to use GDB. Logging to a file creates a strange file with hundres of white lines and very few info like "[New Thread 0x7fffb53fa6c0 (LWP 30253)]".

Here's the output with QTWEBENGINE_DISABLE_GPU_THREAD=1 and QT_LOGGING_RULES="digikam*=true" though:

$ digikam
digikam.qtav: Register QtAV Renderers:
digikam.qtav:    Qt have no OpenGL support.
digikam.qtav:    register QtAV::OpenGLWidget Renderer: true
digikam.qtav:    QtAV have OpenGL support.
digikam.qtav:    register QtAV::QGLWidget Renderer: true
digikam.qtav:    register QtAV::QGLWidget2 Renderer: true
digikam.qtav:    register QtAV::Widget Renderer: true
digikam.qtav:    QtAV have XVideo support.
digikam.qtav:    register QtAV::XV Renderer: true
digikam.qtav:    QtAV have X11 support.
digikam.qtav:    register QtAV::X11 Renderer: true
digikam.qtav:    register QtAV::GraphicsItem Renderer: true
digikam.widgets: Use installed icons
digikam.general: AlbumWatch is disabled
digikam.general: Database Parameters:
   Type:                      "QSQLITE"
   DB Core Name:              "/home/$USER/Bilder/Fotos/digikam4.db"
   DB Thumbs Name:            "/home/$USER/Bilder/Fotos/thumbnails-digikam.db"
   DB Face Name:              "/home/$USER/Bilder/Fotos/recognition.db"
   DB Similarity Name:        "/home/$USER/Bilder/Fotos/similarity.db"
   Connect Options:           ""
   Host Name:                 ""
   Host Port:                 -1
   WAL Mode:                  false
   Internal Server:           false
   Internal Server Path:      ""
   Internal Server Admin Cmd: ""
   Internal Server Serv Cmd:  ""
   Internal Server Init Cmd:  ""
   Username:                  ""
   Password:                  ""

digikam.dbengine: Loading SQL code from config file "/usr/share/digikam/database/dbconfig.xml"
digikam.dbengine: Checking XML version ID => expected:  3  found:  3
digikam.dbengine: WAL mode is disabled for "digikam4.db"
digikam.coredb: Core database: running schema update
digikam.coredb: Core database: have a structure version  16
digikam.coredb: Core database: makeUpdates  16  to  16
digikam.database: Creating new Location  "/$USER/Bilder/Fotos"  uuid  "volumeid:?uuid=27ea6369-b602-469f-b7e7-bfd89ad4fc31"
digikam.database: location for "/home/$USER/Bilder/Fotos" is available: true => case sensitivity: 2
digikam.general: Allowing a cache size of 468 MB
digikam.dbengine: WAL mode is disabled for "thumbnails-digikam.db"
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: ThumbDB SelectThumbnailSetting val ret =  0
digikam.thumbsdb: Thumbs database: have a structure version  "3"
digikam.general: Thumbnails database ready for use
digikam.dbengine: WAL mode is disabled for "similarity.db"
digikam.similaritydb: SimilarityDb SelectSimilaritySetting val ret =  0
digikam.similaritydb: SimilarityDb SelectSimilaritySetting val ret =  0
digikam.similaritydb: Similarity database: have a structure version  "1"
digikam.similaritydb: Similarity database ready for use
digikam.dimg: ("/home/$USER/.local/share/color/icc", "/usr/share/color/icc", "/home/$USER/.local/share/icc")
digikam.metaengine: ExifTool config path: "/usr/bin/vendor_perl/exiftool"
digikam.metaengine: Path to ExifTool: "/usr/bin/vendor_perl/exiftool"
digikam.metaengine: ExifToolProcess::start(): create new ExifTool instance: "/usr/bin/vendor_perl/exiftool" ("-stay_open", "true", "-@", "-", "-common_args", "-charset", "filename=UTF8", "-charset", "iptc=UTF8")
digikam.general: Camera XML data:  "/home/$USER/.local/share/digikam/cameras.xml"
digikam.metaengine: ExifTool process started
digikam.general: Starting to load external tools.
digikam.general: Parsing plugins from ("/usr/lib/qt/plugins/digikam/")
digikam.general: Plugins found: 142
digikam.general: Plugin of type Digikam::DPluginDImg loaded from "/usr/lib/qt/plugins/digikam/dimg/DImg_PGF_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginDImg loaded from "/usr/lib/qt/plugins/digikam/dimg/DImg_JPEG2000_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginDImg loaded from "/usr/lib/qt/plugins/digikam/dimg/DImg_QImage_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginDImg loaded from "/usr/lib/qt/plugins/digikam/dimg/DImg_PNG_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginDImg loaded from "/usr/lib/qt/plugins/digikam/dimg/DImg_ImageMagick_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginDImg loaded from "/usr/lib/qt/plugins/digikam/dimg/DImg_HEIF_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginDImg loaded from "/usr/lib/qt/plugins/digikam/dimg/DImg_RAW_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginDImg loaded from "/usr/lib/qt/plugins/digikam/dimg/DImg_JPEG_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginDImg loaded from "/usr/lib/qt/plugins/digikam/dimg/DImg_TIFF_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_GeolocationEdit_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_MetadataEdit_Plugin.so"
digikam.general: Ignoring specific Showfoto plugin in digiKam "/usr/lib/qt/plugins/digikam/generic/Generic_DNGConverter_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_iNaturalist_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_ExpoBlending_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_Google_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_TimeAdjust_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_Flickr_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_FileCopy_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_DigitalScanner_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_PrintCreator_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_SlideShow_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_Presentation_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_Calendar_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_SendByMail_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_Box_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_OneDrive_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_GLViewer_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_TextConverter_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_DropBox_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_MediaServer_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_MediaWiki_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_Piwigo_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_SmugMug_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_Pinterest_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_JAlbum_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_Wallpaper_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_MjpegStream_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_FileTransfer_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_Panorama_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_ImgUr_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_ImageShack_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_HtmlGallery_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_Twitter_Plugin.so"
digikam.general: Ignoring blacklisted plugin "/usr/lib/qt/plugins/digikam/generic/Generic_Rajce_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginGeneric loaded from "/usr/lib/qt/plugins/digikam/generic/Generic_VideoSlideShow_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginRawImport loaded from "/usr/lib/qt/plugins/digikam/rawimport/RawImport_ART_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginRawImport loaded from "/usr/lib/qt/plugins/digikam/rawimport/RawImport_RawTherapee_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginRawImport loaded from "/usr/lib/qt/plugins/digikam/rawimport/RawImport_DarkTable_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginRawImport loaded from "/usr/lib/qt/plugins/digikam/rawimport/RawImport_Native_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginRawImport loaded from "/usr/lib/qt/plugins/digikam/rawimport/RawImport_UFRaw_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_WhiteBalanceTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_NoiseReductionTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_BlurTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_TextureTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_HotpixelsTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_CharcoalTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_FreeRotationTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_ShearTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_Convert8To16Tool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_PerspectiveTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_AutoCropTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_ChannelMixerTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_AdjustLevelsTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_DistortionFxTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_EmbossTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_AutoCorrectionTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_AdjustCurvesTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_InvertTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_ProfileConversionTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_BorderTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_LocalContrastTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_RestorationTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_HSLTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_BWSepiaTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_RatioCropTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_FilmTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_ColorFxTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_AntivignettingTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_RainDropTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_InsertTextTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_LensAutoFixTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_HealingCloneTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_Convert16To8Tool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_FilmGrainTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_OilPaintTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_CBTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_SharpenTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_PrintTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_BlurFxTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_LensDistortionTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_ContentAwareResizeTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_RedEyeTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_BcgTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginEditor loaded from "/usr/lib/qt/plugins/digikam/editor/Editor_ResizeTool_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_IccConvert_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Convert16To8_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_UserScript_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ColorFX_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_BWconvert_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Invert_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_LocalContrast_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ColorBalance_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_AssignLabels_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Flip_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ConvertToWEBP_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_CurvesAdjust_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ConvertToJPEG_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Resize_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Convert8To16_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_LensAutoFix_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Border_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ChannelMixer_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_TimeAdjust_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ConvertToJP2lugin_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Texture_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_HotPixels_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_QualitySort_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ConvertToDNG_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Restoration_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Blur_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_WhiteBalance_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_AutoCorrection_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_AntiVignetting_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ConvertToAVIF_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ConvertToTIFF_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Assigncaptions_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ConvertToPGF_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ConvertToHEIF_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ConvertToJXL_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_RedEyeCorrection_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Crop_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_HslCorrection_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Sharpen_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_RemoveMetadata_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Translate_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_Rotate_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_ConvertToPNG_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_FilmGrain_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_NoiseReduction_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_AssignTemplate_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_WaterMark_Plugin.so"
digikam.general: Plugin of type Digikam::DPluginBqm loaded from "/usr/lib/qt/plugins/digikam/bqm/Bqm_BcgCorrection_Plugin.so"
digikam.general: void Digikam::DPluginLoader::Private::loadPlugins() Time elapsed: 1913 ms
digikam.dbengine: WAL mode is disabled for "recognition.db"
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: FaceDB SelectFaceSetting val ret =  0
digikam.facedb: Face database: have a structure version  "4"
digikam.facesengine: Face database ready for use
digikam.facedb: Start reading shape predictor file
digikam.facedb: Finish reading shape predictor file
digikam.facedb: Extractor model: "/home/$USER/.local/share/digikam/facesengine/openface_nn4.small2.v1.t7"
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
failed to create drawable
digikam.geoiface: "setting backend marble"
digikam.qtav: Registered audio backends:  ("OpenAL", "PortAudio", "Pulse", "null")
digikam.qtav: capi::version: 0.6.0
digikam.qtav: QVector("Jabra Speak 710 Analog Stereo", "Internes Audio Analog Stereo")
digikam.qtav: OpenAL opening default device: OpenAL Soft
digikam.qtav: AudioOutputOpenAL creating context...
digikam.qtav: alcDestroyContext(0x558ddc7443d0)
digikam.qtav: alcCloseDevice(0x558ddca1e1a0)
digikam.general: Audio output backends: ("OpenAL", "PortAudio", "Pulse", "null")
digikam.general: Number of supported audio codecs: 214
digikam.general: Number of supported video codecs: 298
digikam.general: Stacked View Mode :  0
digikam.geoiface: "setting backend marble"
digikam.geoiface: "setting backend marble"
digikam.general: "browse_album"
digikam.general: "browse_tag"
digikam.general: "browse_labels"
digikam.general: "browse_date"
digikam.general: "browse_timeline"
digikam.general: "browse_search"
digikam.general: "browse_fuzzysearch"
digikam.general: "browse_gpssearch"
digikam.general: "browse_people"
digikam.widgets: Paths to color scheme :  ("/usr/share/digikam/colorschemes")
digikam.widgets: "BreezeLight"  ::  ""
kf.config.core: Watching absolute paths is not supported "/usr/share/digikam/colorschemes/graycard.colors"
digikam.widgets: "GrayCard"  ::  "/usr/share/digikam/colorschemes/graycard.colors"
kf.xmlgui: Unhandled container to remove :  Digikam::DigikamApp
digikam.general: Using  4  CPU core to run threads
digikam.general: new search text settings: "" : hasResult = false , validRows = 0
digikam.general: add :  "Bilder verkleinern"
digikam.general: add :  "Zeit ändern"
digikam.geoiface: ----
failed to create drawable
[30420:30420:1122/222736.880810:ERROR:gl_surface_glx_qt.cpp(188)] glXCreatePbuffer failed.
[30420:30420:1122/222736.880851:ERROR:gpu_info_collector.cc(69)] gl::GLContext::CreateOffscreenGLSurface failed
[30420:30420:1122/222736.880876:ERROR:gpu_info_collector.cc(277)] Could not create surface for info collection.
failed to create drawable
[30420:30420:1122/222736.909161:ERROR:gl_surface_glx_qt.cpp(188)] glXCreatePbuffer failed.
failed to create drawable
[30420:30420:1122/222736.943430:ERROR:gl_surface_glx_qt.cpp(188)] glXCreatePbuffer failed.
[30420:30420:1122/222736.943461:ERROR:gpu_info_collector.cc(69)] gl::GLContext::CreateOffscreenGLSurface failed
[30420:30420:1122/222736.943471:ERROR:gpu_info_collector.cc(277)] Could not create surface for info collection.
digikam.geoiface: ----
digikam.general: Added root album called:  "/home/$USER/Bilder/Fotos"
digikam.general: Could not find parent with url:  "//2017"  for:  "//2017/20171017"
digikam.general: Could not find parent with url:  "//2017"  for:  "//2017/20171018"
digikam.general: Could not find parent with url:  "//2017"  for:  "//2017/20171021"
digikam.general: Could not find parent with url:  "//2017"  for:  "//2017/20171026"
digikam.general: Could not find parent with url:  "//2017"  for:  "//2017/20171030"
digikam.general: Could not find parent with url:  "//2017"  for:  "//2017/20171101"
digikam.general: Could not find parent with url:  "//2017"  for:  "//2017/20171104"
digikam.general: Could not find parent with url:  "//2017"  for:  "//2017/20171105"
digikam.general: Using  4  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Using  4  CPU core to run threads
digikam.general: Using  4  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Action Thread run  1  new jobs
digikam.general: Using  4  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.general: Stacked View Mode :  0
digikam.geoiface: "ROADMAP"
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: Using  4  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.geoiface: "ROADMAP"
digikam.geoiface: ----
digikam.geoiface: ----
digikam.general: One job is done
digikam.general: One job is done
digikam.general: One job is done
digikam.general: Cancel Main Thread
digikam.general: One job is done
digikam.geoiface: ----
digikam.geoiface: "setting backend marble"
digikam.geoiface: "HYBRID"
digikam.geoiface: "setting backend marble"
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.general: Face PipeLine: add database writer
digikam.general: Face PipeLine: add faces trainer
digikam.geoiface: "setting backend marble"
digikam.geoiface: "ROADMAP"
digikam.geoiface: "ROADMAP"
digikam.general: Finish Main Thread
digikam.general: Finish Main Thread
digikam.general: Finish Main Thread
digikam.general: Finish Main Thread
digikam.general: One job is done
digikam.general: Finish Main Thread
21 -- exe=/usr/bin/digikam
13 -- platform=xcb
11 -- display=:0
16 -- appname=digikam
17 -- apppath=/usr/bin
10 -- signal=11
10 -- pid=30420
17 -- appversion=8.1.0
20 -- programname=digiKam
31 -- bugaddress=submit@bugs.kde.org
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = digikam path = /usr/bin pid = 30420
KCrash: Arguments: /usr/bin/digikam 
QSocketNotifier: Invalid socket 28 and type 'Read', disabling...
QSocketNotifier: Invalid socket 30 and type 'Read', disabling...
QSocketNotifier: Invalid socket 34 and type 'Read', disabling...
KCrash: Attempting to start /usr/lib/drkonqi
Comment 4 Kristian 2023-11-22 21:51:36 UTC
Created attachment 163375 [details]
GDB output with QT_LOGGING_RULES="digikam*=true"
Comment 5 Kristian 2023-11-22 21:52:24 UTC
Created attachment 163376 [details]
GDB output with QT_LOGGING_RULES="digikam*=true" and QTWEBENGINE_DISABLE_GPU_THREAD=1
Comment 6 Kristian 2023-11-22 21:52:45 UTC
I closed everything and now GDB ran through, see attached logs with different variables exported.
Comment 7 Maik Qualmann 2023-11-22 22:32:01 UTC
Please try:

export QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu-compositing"

Maik
Comment 8 Kristian 2023-11-23 21:14:10 UTC
Created attachment 163409 [details]
GDB output with QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu-compositing"

Still crashes with export QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu-compositing".
Comment 9 Maik Qualmann 2023-11-23 21:33:57 UTC
This is also a strange error message, please delete the QWebEngine folder in the digiKam local/share home directory.

ERROR:block_files.cc(478)] Invalid file version or magic /home/$USER/.local/share/digikam/QtWebEngine/Default/GPUCache/data_3

Maik
Comment 10 Kristian 2023-11-27 20:16:58 UTC
No change, still crashes. Renaming the complete folder .local/share/digikam doesn't help, too.
Comment 11 Kristian 2023-11-27 20:48:32 UTC
...and the same crash with a different user who newer used digikam.
Comment 12 Kristian 2023-12-16 15:37:40 UTC
Same story with digikam 8.2.0:

$ digikam 
failed to create drawable
failed to create drawable
[33251:33291:1216/163507.669399:ERROR:gl_surface_glx_qt.cpp(188)] glXCreatePbuffer failed.
[33251:33291:1216/163507.669445:ERROR:gpu_info_collector.cc(69)] gl::GLContext::CreateOffscreenGLSurface failed
[33251:33291:1216/163507.669469:ERROR:gpu_info_collector.cc(277)] Could not create surface for info collection.
failed to create drawable
[33251:33291:1216/163507.695094:ERROR:gl_surface_glx_qt.cpp(188)] glXCreatePbuffer failed.
failed to create drawable
[33251:33291:1216/163507.722972:ERROR:gl_surface_glx_qt.cpp(188)] glXCreatePbuffer failed.
[33251:33291:1216/163507.723000:ERROR:gpu_info_collector.cc(69)] gl::GLContext::CreateOffscreenGLSurface failed
[33251:33291:1216/163507.723007:ERROR:gpu_info_collector.cc(277)] Could not create surface for info collection.
21 -- exe=/usr/bin/digikam
13 -- platform=xcb
11 -- display=:0
16 -- appname=digikam
17 -- apppath=/usr/bin
10 -- signal=11
10 -- pid=33251
17 -- appversion=8.2.0
20 -- programname=digiKam
31 -- bugaddress=submit@bugs.kde.org
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = digikam path = /usr/bin pid = 33251
KCrash: Arguments: /usr/bin/digikam 
QSocketNotifier: Invalid socket 28 and type 'Read', disabling...
QSocketNotifier: Invalid socket 30 and type 'Read', disabling...
QSocketNotifier: Invalid socket 34 and type 'Read', disabling...
KCrash: Attempting to start /usr/lib/drkonqi

[1]+  Angehalten              digikam
Comment 13 elwood 2024-02-21 19:36:24 UTC
I had the same problem on FreeBSD 14.0 RELEASE. Digikam runs on two out of three computers. All are equipped with an NVIDA graphics card. The affected computer had an old GTX460 -> nvidia-driver-390, the others run with a current driver.

After I swapped the GTX460 for a GT730 -> nvidia-driver-470, digikam worked again.

I think the nvidia-driver-390 is broken....

Greetings Frank
Comment 14 caulier.gilles 2024-02-22 05:22:18 UTC
Hi,

Well sound like a downstream bug relevant of the NVIDIA driver, or from a middle component as FreeGLUT or Mesa3D libraries for exemple. 

https://freeglut.sourceforge.net/
https://docs.mesa3d.org/index.html

And of course the Qt library version to use in background of digiKam is very important here... The last stable is 5.15.12 published in open source, the next one will arrive in a few weeks.

Gilles Caulier
Comment 15 Kristian 2024-03-24 18:45:06 UTC
I can confirm that this bug only appears on my old Thinkpad T420 with a Nvidia graphics card and the respective Nvidia drivers. I've a new one which does not show this behaviour.
Comment 16 caulier.gilles 2024-03-28 07:06:08 UTC
@Kristian,

digiKam 8.3.0 stable version is released and available at usual place :

https://www.digikam.org/download/

Can you reproduce the dysfunction on your computer ?

Thanks in advance

Gilles Caulier