[Bug 258996] x11/konsole typing exit or ctrl-D from shell causes konsole to crash claiming program running
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 12 02:23:15 BST 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258996
--- Comment #6 from alt2600 at icloud.com ---
(In reply to Adriaan de Groot from comment #3)
I've been holding off a 13 upgrade as I was hoping some patches would make it
in to the tree so I could re-build my system, but I might just go forward with
the patches I need in a custom ports tree local branch and give it a go. I have
no sentimental attachment to 12.2, just no time to take the system down for the
rebuilds, and some long overdue backups prior to them. If yall are under 13 and
have no issues, works for me to try that as its the plan anyway to get there.
But if it is a 12.2 issue, and its resolvable, that would be cool too. It looks
like there is a nullptr being held potentially for the konsole window itself,
so maybe it is attaching tracking to process 0, theoretically the kernel? This
is beyond my level of understanding, or if process 0 would even be considered
the kernel. If you can give me some guidance on how to pull out that nullptr
using lldb to see what the structure is just give me an idea of how to find it
as to my Make.conf outside of setting westmere I have no CFLAGS nor CXXFLAGS
set,
CPUTYPE?=westmere
###### CFLAGS+= -march=${CPUTYPE} -mtune=${CPUTYPE}
###### CXXFLAGS+= ${CFLAGS}
COPTFLAGS+= -O -pipe
obviously I have plenty of tweaks in my ports.conf portconf config, but nothing
crazy, and not much for kde, mainly media related, software synths, Atlas BLAS,
nvidia related, and such, none of which should affect konsole. As indicated
only kde hack is the qmake changes to make qt5-3d build non-AVX to let things
like pyside2 build and qgis. a few others to get openmpi and py-scipy as
referenced above by pr's
text output of attached clean output file.
(lldb) target create "/usr/local/bin/konsole"
Current executable set to '/usr/local/bin/konsole' (x86_64).
(lldb) r
################## Close window/Alt-f4 konsole
Process 12905 launching
Process 12905 launched: '/usr/local/bin/konsole' (x86_64)
bt
Process 12905 exited with status = 0 (0x00000000)
(lldb) r
################## Cancel Close during running program prompt
Process 12913 launching
Process 12913 launched: '/usr/local/bin/konsole' (x86_64)
QObject::disconnect: Unexpected nullptr parameter
QObject::connect(Konsole::Session, Konsole::TerminalDisplay): invalid nullptr
parameter
Process 12913 stopped
* thread #1, name = 'konsole', stop reason = signal SIGSEGV: invalid address
(fault address: 0x334)
frame #0: 0x000000080286a2ea libQt5Core.so.5`QObject::killTimer(int) + 42
libQt5Core.so.5`QObject::killTimer:
-> 0x80286a2ea <+42>: movq 0x38(%r13), %rax
0x80286a2ee <+46>: movq 0x38(%rax), %rbx
0x80286a2f2 <+50>: callq 0x80266e630 ;
QThread::currentThread()
0x80286a2f7 <+55>: cmpq %rbx, %rax
(lldb) r
There is a running process, kill it and restart?: [Y/n] y
################## Close Window during running program prompt
Process 12913 exited with status = -1 (0xffffffff)
Process 12940 launching
Process 12940 launched: '/usr/local/bin/konsole' (x86_64)
kf.notifications: Playing audio notification failed: Destroyed
Process 12940 exited with status = 0 (0x00000000)
(lldb) ^D
################## from a command line lanching and hitting Cancel
################## close window during running program prompty
QObject::disconnect: Unexpected nullptr parameter
QObject::connect(Konsole::Session, Konsole::TerminalDisplay): invalid nullptr
parameter
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konsole path = /usr/local/bin pid = 95012
KCrash: Arguments: /usr/local/bin/konsole
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
KCrash: Attempting to start /usr/local/lib/libexec/drkonqi
[1] + Suspended (signal) konsole
################## Environment, stripped/modified personal information
XCURSOR_PATH=/usr/local/share/icons::~/.icons:/usr/share/icons:/usr/share/pixmaps:/usr/X11R6/lib/X11/icons
KDE_SESSION_VERSION=5
LOGNAME=userdude
PAGER=less
LANG=en_US.UTF-8
KDE_APPLICATIONS_AS_SCOPE=1
COLORFGBG=15;0
XAUTHORITY=/home/userdude/.Xauthority
KONSOLE_DBUS_WINDOW=/Windows/1
MAIL=/var/mail/userdude
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/userdude/bin
XDG_RUNTIME_DIR=/var/run/user/1001
EDITOR=ee
ENV=/home/userdude/.shrc
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/userdude/.gtkrc-2.0:/home/userdude/.config/gtkrc-2.0
SESSION_MANAGER=local/hostname.faked.com:/tmp/.ICE-unix/9999
KDE_SESSION_UID=1001
GTK_RC_FILES=/etc/gtk/gtkrc:/home/userdude/.gtkrc:/home/userdude/.config/gtkrc
DISPLAY=:0
PROFILEHOME=
PWD=/home/userdude
XDG_CURRENT_DESKTOP=KDE
TERM=xterm-256color
XCURSOR_THEME=Oxygen_Blue
KONSOLE_DBUS_SESSION=/Sessions/1
USER=userdude
QT_AUTO_SCREEN_SCALE_FACTOR=0
HOME=/home/userdude
LC_COLLATE=C
XCURSOR_SIZE=24
WINDOWPATH=9
PS1=|\h@\w|$}
SHELL=/bin/sh
LANGUAGE=
COLORTERM=truecolor
MM_CHARSET=UTF-8
WINDOWID=102760455
TIGCC=/usr/local/tigcc
KDE_FULL_SESSION=true
XDG_SESSION_COOKIE=hostname.faked.com-9999999999.111111-2222222222
XDG_CONFIG_DIRS=/home/userdude/.config/kdedefaults:/usr/local/etc/xdg:/etc/xdg:/usr/local/etc/xdg
KONSOLE_DBUS_SERVICE=:1.305
SHELL_SESSION_ID=aaaaaaaabbbbbbbbbbbbcccccccccccdd
BLOCKSIZE=K
KONSOLE_VERSION=210802
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list