https://bugs.kde.org/show_bug.cgi?id=474349

            Bug ID: 474349
           Summary: Ksirk crashes with a SEGFAULT error in libc
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: d...@forguson.com
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Running on Ubuntu studio 22.04 with xfce desktop. Note I also saw this issue
when using the default kde plasma desktop.

STEPS TO REPRODUCE
1. Launch ksirk application
2. Run as normal and app will frequently crash.
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: NA
macOS: NA
Linux/KDE Plasma:  Witnessed this under plasma and xfce desktop.
(available in About System)
KDE Plasma Version: ???
KDE Frameworks Version: 
Qt Version: 

Ran ksirk from gdb and captured the below stack trace. Never did get the kde
auto report tool to work. Always said it couldn't capture a backtrace even when
I launched using gdb.

ADDITIONAL INFORMATION

Thread 1 "ksirk" received signal SIGSEGV, Segmentation fault.
0x00007ffff5d57c5d in __pthread_cancel (th=140736290416192) at
./nptl/pthread_cancel.c:64
Download failed: Invalid argument.  Continuing without source file
./nptl/./nptl/pthread_cancel.c.
64      ./nptl/pthread_cancel.c: No such file or directory.

(gdb) backtrace
#0  0x00007ffff5d57c5d in __pthread_cancel (th=140736290416192) at
./nptl/pthread_cancel.c:64
#1  0x00007ffff62078c9 in QThread::terminate() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00005555555faff7 in Ksirk::GameLogic::AIPlayer::~AIPlayer
(this=<optimized out>, this=<optimized out>)
    at ./ksirk/GameLogic/aiplayer.cpp:84
#3  0x00005555555e7b8d in Ksirk::GameLogic::AIColsonPlayer::~AIColsonPlayer
(this=<optimized out>, this=<optimized out>)
    at ./ksirk/GameLogic/aiColsonPlayer.cpp:69
#4  0x00005555555c2aae in Ksirk::KGameWindow::attackEnd (this=0x5555559492a0)
at ./ksirk/kgamewin.cpp:833
#5  0x00005555555b08bf in Ksirk::KGameWindow::terminateAttackSequence
(this=0x5555559492a0) at ./ksirk/kgamewin.cpp:1901
#6  Ksirk::GameLogic::GameAutomaton::slotNetworkData (this=0x55555592ec40,
msgid=<optimized out>, buffer=..., receiver=0, 
    sender=1) at ./ksirk/GameLogic/gameautomaton.cpp:2145
#7  0x00007ffff642c793 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff7d02087 in KGame::signalNetworkData
(this=this@entry=0x55555592ec40, _t1=<optimized out>, _t1@entry=275, 
    _t2=..., _t3=<optimized out>, _t3@entry=0, _t4=<optimized out>,
_t4@entry=1)
    at
./obj-x86_64-linux-gnu/src/private/KF5KDEGamesPrivate_autogen/BQQKSAKFSH/moc_kgame.cpp:417
#9  0x00007ffff7d17dc8 in KGame::networkTransmission (this=0x55555592ec40,
stream=..., msgid=531, receiver=0, sender=1)
    at ./src/private/kgame/kgame.cpp:1066
#10 0x00007ffff7d1e82c in KGameNetwork::receiveNetworkTransmission
(this=0x55555592ec40, receiveBuffer=..., clientID=1)
    at ./src/private/kgame/kgamenetwork.cpp:482
#11 0x00007ffff642c793 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff7d02247 in KMessageClient::broadcastReceived
(this=this@entry=0x555555967750, _t1=..., _t2=<optimized out>, 
    _t2@entry=1) at
./obj-x86_64-linux-gnu/src/private/KF5KDEGamesPrivate_autogen/BQQKSAKFSH/moc_kmessageclient.cpp:258
#13 0x00007ffff7d2943e in KMessageClient::processMessage (this=0x555555967750,
msg=...)
    at ./src/private/kgame/kmessageclient.cpp:212
#14 0x00007ffff642c793 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff7d01f76 in KMessageIO::received (this=<optimized out>, _t1=...)
    at
./obj-x86_64-linux-gnu/src/private/KF5KDEGamesPrivate_autogen/BQQKSAKFSH/moc_kmessageio.cpp:152
#16 0x00007ffff7d2d0ea in KMessageServer::broadcastMessage
(this=0x5555558c4780, msg=...)
    at ./src/private/kgame/kmessageserver.cpp:340
#17 0x00007ffff7d2fdc6 in KMessageServer::processOneMessage
(this=0x5555558c4780)
    at ./src/private/kgame/kmessageserver.cpp:416
--Type <RET> for more, q to quit, c to continue without paging--
#18 0x00007ffff642c793 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff64307fe in QTimer::timeout(QTimer::QPrivateSignal) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ffff642233f in QObject::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ffff6fc2713 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff63f4e3a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007ffff644d3eb in QTimerInfoList::activateTimers() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007ffff644dd34 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ffff404fd3b in g_main_dispatch (context=0x7fffe8005010) at
../../../glib/gmain.c:3419
#26 g_main_context_dispatch (context=0x7fffe8005010) at
../../../glib/gmain.c:4137
#27 0x00007ffff40a5258 in g_main_context_iterate.constprop.0
(context=context@entry=0x7fffe8005010, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>) at
../../../glib/gmain.c:4213
#28 0x00007ffff404d3e3 in g_main_context_iteration (context=0x7fffe8005010,
may_block=1) at ../../../glib/gmain.c:4278
#29 0x00007ffff644e0b8 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff63f375b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007ffff63fbcf4 in QCoreApplication::exec() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00005555555915b2 in main (argc=<optimized out>, argv=<optimized out>) at
./ksirk/main.cpp:83
(gdb) continue
Continuing.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = ksirk path = /usr/games pid = 121216
KCrash: Arguments: /usr/games/ksirk 
[Thread 0x7fff62ffd640 (LWP 124174) exited]
[Thread 0x7ffff0318640 (LWP 121219) exited]
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
[Detaching after fork from child process 124233]

Thread 1 "ksirk" received signal SIGSTOP, Stopped (signal).
0x00007ffff5dddd7f in __GI___poll (fds=fds@entry=0x7fffffffbf90,
nfds=nfds@entry=1, timeout=timeout@entry=1000) at
../sysdeps/unix/sysv/linux/poll.c:29
Download failed: Invalid argument.  Continuing without source file
./io/../sysdeps/unix/sysv/linux/poll.c.
29      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
warning: process 121216 is already traced by process 117517
ptrace: Operation not permitted.
/tmp/drkonqi.BaSokU:1: Error in sourced command file:
No thread selected
Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
warning: process 121216 is already traced by process 117517
ptrace: Operation not permitted.
/tmp/drkonqi.Czikwc:1: Error in sourced command file:
No thread selected
Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
warning: process 121216 is already traced by process 117517
ptrace: Operation not permitted.
/tmp/drkonqi.AmoMVW:1: Error in sourced command file:
No thread selected
Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
warning: process 121216 is already traced by process 117517
ptrace: Operation not permitted.
/tmp/drkonqi.LQSTNU:1: Error in sourced command file:
No thread selected
Opening in existing browser session.
MESA-INTEL: warning: Haswell Vulkan support is incomplete

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to