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

            Bug ID: 495351
           Summary: kommitdiff
    Classification: Applications
           Product: kommit
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: hamed.mas...@gmail.com
          Reporter: groth...@gmail.com
                CC: mon...@kde.org
  Target Milestone: ---

Application: kommit (1.6.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.0
Frameworks Version: 6.7.0
Operating System: Linux 6.11.5-arch1-1 x86_64
Windowing System: Wayland
Distribution: EndeavourOS
DrKonqi: 6.2.2 [CoredumpBackend]

-- Information about the crash:
Simple start of kommitdiff, no special actions needed to cause this crash. 
Only kommitdiff crashes, kommit and kommitmerge are running.

The crash can be reproduced every time.

-- Backtrace:
Application: Kommit (kommit), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing
[New LWP 21825]
[New LWP 21826]
[New LWP 21829]
[New LWP 21830]
[New LWP 21827]
[New LWP 21828]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `kommit diff'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44            return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO
(ret) : 0;
[Current thread is 1 (Thread 0x71c0c30eba00 (LWP 21825))]

Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:516: DeprecationWarning:
datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in
a future version. Use timezone-aware objects to represent datetimes in UTC:
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time =
datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:533: DeprecationWarning:
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future
version. Use timezone-aware objects to represent datetimes in UTC:
datetime.datetime.now(datetime.UTC).
  'timestamp': datetime.utcnow().isoformat(),
[Current thread is 1 (Thread 0x71c0c30eba00 (LWP 21825))]

Thread 6 (Thread 0x71c0bbe006c0 (LWP 21828)):
#0  0x000071c0c991a63d in __GI___poll (fds=fds@entry=0x71c0bbdffb20,
nfds=nfds@entry=2, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x000071c0c396e417 in poll (__fds=0x71c0bbdffb20, __nfds=2, __timeout=-1)
at /usr/include/bits/poll2.h:44
#2  QtWaylandClient::EventThread::run (this=0x5e84d4696ef0) at
/usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:182
#3  0x000071c0c9cd840f in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#4  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#5  QThreadPrivate::start (arg=0x5e84d4696ef0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#6  0x000071c0c98a339d in start_thread (arg=<optimized out>) at
pthread_create.c:447
#7  0x000071c0c992849c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x71c0c0e006c0 (LWP 21827)):
#0  0x000071c0c989fa19 in __futex_abstimed_wait_common64 (private=0,
futex_word=0x5e84d466a7f0, expected=0, op=393, abstime=0x0, cancel=true) at
futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5e84d466a7f0,
expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0,
private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x000071c0c989fa9f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x5e84d466a7f0, expected=expected@entry=0,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#3  0x000071c0c98a2479 in __pthread_cond_wait_common (cond=0x5e84d466a7c8,
mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5e84d466a7c8, mutex=<optimized out>) at
pthread_cond_wait.c:618
#5  0x000071c0c9cdd030 in QWaitConditionPrivate::wait (this=0x5e84d466a7a0,
deadline=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:102
#6  QWaitCondition::wait (this=this@entry=0x5e84d470ef10,
mutex=mutex@entry=0x5e84d470ef08, deadline=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:180
#7  0x000071c0c396e3af in QtWaylandClient::EventThread::waitForReading
(this=0x5e84d470eed0) at
/usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:216
#8  QtWaylandClient::EventThread::run (this=0x5e84d470eed0) at
/usr/src/debug/qt6-wayland/qtwayland/src/client/qwaylanddisplay.cpp:177
#9  0x000071c0c9cd840f in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#10 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#11 QThreadPrivate::start (arg=0x5e84d470eed0) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#12 0x000071c0c98a339d in start_thread (arg=<optimized out>) at
pthread_create.c:447
#13 0x000071c0c992849c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x71c0b3e006c0 (LWP 21830)):
#0  0x000071c0c989fa19 in __futex_abstimed_wait_common64 (private=0,
futex_word=0x5e84d47a08d8, expected=0, op=393, abstime=0x0, cancel=true) at
futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5e84d47a08d8,
expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0,
private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x000071c0c989fa9f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x5e84d47a08d8, expected=expected@entry=0,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#3  0x000071c0c98a2479 in __pthread_cond_wait_common (cond=0x5e84d47a08b0,
mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5e84d47a08b0, mutex=<optimized out>) at
pthread_cond_wait.c:618
#5  0x000071c0b8eced6e in cnd_wait () at
../mesa-24.2.5/src/c11/impl/threads_posix.c:135
#6  0x000071c0b8eab77c in util_queue_thread_func () at
../mesa-24.2.5/src/util/u_queue.c:290
#7  0x000071c0b8ecec9d in impl_thrd_routine () at
../mesa-24.2.5/src/c11/impl/threads_posix.c:67
#8  0x000071c0c98a339d in start_thread (arg=<optimized out>) at
pthread_create.c:447
#9  0x000071c0c992849c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x71c0b8c006c0 (LWP 21829)):
#0  0x000071c0c989fa19 in __futex_abstimed_wait_common64 (private=0,
futex_word=0x5e84d470a688, expected=0, op=393, abstime=0x0, cancel=true) at
futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5e84d470a688,
expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0,
private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x000071c0c989fa9f in __GI___futex_abstimed_wait_cancelable64
(futex_word=futex_word@entry=0x5e84d470a688, expected=expected@entry=0,
clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at
futex-internal.c:139
#3  0x000071c0c98a2479 in __pthread_cond_wait_common (cond=0x5e84d470a660,
mutex=<optimized out>, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5e84d470a660, mutex=<optimized out>) at
pthread_cond_wait.c:618
#5  0x000071c0b8eced6e in cnd_wait () at
../mesa-24.2.5/src/c11/impl/threads_posix.c:135
#6  0x000071c0b8eab77c in util_queue_thread_func () at
../mesa-24.2.5/src/util/u_queue.c:290
#7  0x000071c0b8ecec9d in impl_thrd_routine () at
../mesa-24.2.5/src/c11/impl/threads_posix.c:67
#8  0x000071c0c98a339d in start_thread (arg=<optimized out>) at
pthread_create.c:447
#9  0x000071c0c992849c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x71c0c2a006c0 (LWP 21826)):
#0  0x000071c0c991abb0 in __GI_ppoll (fds=fds@entry=0x5e84d463f170,
nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x000071c0c8bc6227 in ppoll (__fds=0x5e84d463f170, __nfds=2, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#2  g_main_context_poll_unlocked (priority=<optimized out>,
context=0x71c0bc000cb0, timeout_usec=<optimized out>, fds=0x5e84d463f170,
n_fds=2) at ../glib/glib/gmain.c:4591
#3  g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x71c0bc000cb0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4268
#4  0x000071c0c8b62a55 in g_main_context_iteration (context=0x71c0bc000cb0,
may_block=1) at ../glib/glib/gmain.c:4338
#5  0x000071c0c9dbf71d in QEventDispatcherGlib::processEvents
(this=0x71c0bc000ba0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#6  0x000071c0c9b64566 in QEventLoop::processEvents (this=0x71c0c29ffae0,
flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:100
#7  QEventLoop::exec (this=0x71c0c29ffae0, flags=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:191
#8  0x000071c0c9c57072 in QThread::exec (this=this@entry=0x71c0c8dfeb20
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/global/qflags.h:74
#9  0x000071c0c8d7379e in QDBusConnectionManager::run (this=0x71c0c8dfeb20
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/dbus/qdbusconnectionmanager.cpp:144
#10 0x000071c0c9cd840f in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:335
#11 (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:263
#12 QThreadPrivate::start (arg=0x71c0c8dfeb20
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/thread/qthread_unix.cpp:294
#13 0x000071c0c98a339d in start_thread (arg=<optimized out>) at
pthread_create.c:447
#14 0x000071c0c992849c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x71c0c30eba00 (LWP 21825)):
[KCrash Handler]
#5  0x000071c0c9acb766 in printMethodNotFoundWarning(QMetaObject const*,
QByteArrayView, long long, char const* const*, QtPrivate::QMetaTypeInterface
const* const*) [clone .isra.0] (meta=0x71c0cb39fac0
<CommandArgsParser::staticMetaObject>, name=<error reading variable: Cannot
access memory at address 0x0>, paramCount=paramCount@entry=11,
names=names@entry=0x7fffa68bc828, metaTypes=metaTypes@entry=0x7fffa68bc880) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qmetaobject.cpp:1416
#6  0x000071c0c9b61591 in QMetaObject::invokeMethodImpl
(obj=obj@entry=0x7fffa68bcac0, member=0x71c0cb395141 <(anonymous
namespace)::qt_meta_stringdata_CLASSCommandArgsParserENDCLASS+353> "diff",
type=type@entry=Qt::AutoConnection, paramCount=paramCount@entry=11,
parameters=parameters@entry=0x7fffa68bc7d0,
typeNames=typeNames@entry=0x7fffa68bc828, metaTypes=0x7fffa68bc880) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qmetaobject.cpp:1613
#7  0x000071c0cb38aa91 in QMetaObject::invokeMethod<ArgParserReturn,
QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument,
QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument,
QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument,
QMetaMethodArgument> (c=Qt::AutoConnection, obj=0x7fffa68bcac0,
member=<optimized out>, r=...) at /usr/include/qt6/QtCore/qobjectdefs.h:376
#8  QMetaObject::invokeMethod<ArgParserReturn, QMetaMethodArgument,
QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument,
QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument,
QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument>
(obj=0x7fffa68bcac0, member=<optimized out>, r=...) at
/usr/include/qt6/QtCore/qobjectdefs.h:401
#9  CommandArgsParser::run (this=<optimized out>, args=...) at
/usr/src/debug/kommit/kommit-1.6.0/src/gui/commandargsparser.cpp:162
#10 0x000071c0cb38b290 in CommandArgsParser::run (this=<optimized out>,
args=...) at /usr/include/qt6/QtCore/qlist.h:389
#11 0x00005e849dbbd5ae in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kommit/kommit-1.6.0/src/apps/main.cpp:80

Reported using DrKonqi

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

Reply via email to