Bug 391664

Summary: kdeinit5 crashes closing konsole
Product: [Frameworks and Libraries] frameworks-kinit Reporter: luca <luca.pedrielli>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: kdelibs-bugs
Priority: NOR    
Version: 5.42.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description luca 2018-03-10 14:30:26 UTC
using kdeinit5 to start konsole, crashes on konsole exit 
I can reproduce it every time.
At the beginning I noticed it starting konsole from dolphin, but 
$ kdeinit5 konsole
give the same result.

Important: it happens to me only with nvidia driver.

------------------------------------------------------------------
$ kdeinit5 konsole
kdeinit5: Shutting down running client.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 25358, result = 0
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :0
kdeinit5: preparing to launch 'libkdeinit5_konsole'
kdeinit5: Launched 'konsole', pid = 25361 result = 0
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdeinit5 path = /usr/bin pid = 25361
KCrash: Arguments: /usr/bin/kdeinit5 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from kdeinit
sock_file=/run/user/500/kdeinit5__0
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/libexec/drkonqi' from wrapper.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/drkonqi'
found lsb_release
Using /proc to determine executable path
Executable is: "/usr/bin/kdeinit5"
Executable exists: true
Enabling drkonqi crash catching
-------------------------------------------------------------------------

Application: kdeinit5 (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fa410470d95 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.106
#7  0x00007fa413d160a0 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#8  0x00007fa4178892d3 in _dl_fini () at dl-fini.c:143
#9  0x00007fa415a9a831 in __run_exit_handlers (status=0, listp=0x7fa415e17718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#10 0x00007fa415a9a92a in __GI_exit (status=<optimized out>) at exit.c:139
#11 0x00005649846756a4 in launch (argc=1, _name=0x564984d5dae0 "konsole", args=<optimized out>, cwd=<optimized out>, envc=0, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x564984678527 "0") at ./src/kdeinit/kinit.cpp:705
#12 0x0000564984671f53 in main (argc=2, argv=<optimized out>) at ./src/kdeinit/kinit.cpp:1756
Comment 1 luca 2018-03-10 14:32:38 UTC
debian testing
Plasma 5.12.2
Frameworks 5.42
Qt. 5.9.2

Nvidia driver 340.106-2
Comment 2 Christoph Feck 2018-03-30 15:06:31 UTC
Crash is in the libnvidia-glcore.so binary OpenGL driver. If this is reproducible with a recent nvidia driver version, please report this directly to nvidia developers via https://devtalk.nvidia.com/default/topic/522835/linux/if-you-have-a-problem-please-read-this-first/