Bug 489028 - kommitdiff crashes when launched with a file argument
Summary: kommitdiff crashes when launched with a file argument
Status: REPORTED
Alias: None
Product: kommit
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Hamed Masafi
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-06-23 08:22 UTC by Oded Arbel
Modified: 2024-06-23 08:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oded Arbel 2024-06-23 08:22:47 UTC
Application: kommit (1.6.0)

Qt Version: 6.7.0
Frameworks Version: 6.4.0
Operating System: Linux 6.5.0-41-generic x86_64
Windowing System: Wayland
Distribution: KDE neon Testing Edition
DrKonqi: 6.1.1 [KCrashBackend]

-- Information about the crash:
I ran kommitdiff <file> and it immediately crashed - I didn't even see a window.

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>}
[KCrash Handler]
#6  0x0000721034cb2d07 in printMethodNotFoundWarning (meta=0x7210361c98a0 <CommandArgsParser::staticMetaObject>, name=..., paramCount=paramCount@entry=11, names=names@entry=0x7ffddc9f5298, metaTypes=metaTypes@entry=0x7ffddc9f52f0) at ./src/corelib/kernel/qmetaobject.cpp:1416
#7  0x0000721034cb12b6 in QMetaObject::invokeMethodImpl (obj=obj@entry=0x7ffddc9f5530, member=0x7210361bc501 <(anonymous namespace)::qt_meta_stringdata_CLASSCommandArgsParserENDCLASS+353> "diff", type=type@entry=Qt::AutoConnection, paramCount=paramCount@entry=11, parameters=parameters@entry=0x7ffddc9f5240, typeNames=typeNames@entry=0x7ffddc9f5298, metaTypes=0x7ffddc9f52f0) at ./src/corelib/kernel/qmetaobject.cpp:1613
#8  0x00007210361af4ac in QMetaObject::invokeMethod<ArgParserReturn, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument> (c=Qt::AutoConnection, r=..., member=<optimized out>, obj=0x7ffddc9f5530) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs.h:376
#9  QMetaObject::invokeMethod<ArgParserReturn, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument, QMetaMethodArgument> (r=..., member=<optimized out>, obj=0x7ffddc9f5530) at /usr/include/x86_64-linux-gnu/qt6/QtCore/qobjectdefs.h:401
#10 CommandArgsParser::run (this=this@entry=0x7ffddc9f5530, args=...) at ./src/gui/commandargsparser.cpp:162
#11 0x00005afca01fbb02 in main (argc=<optimized out>, argv=<optimized out>) at ./src/apps/main.cpp:80
[Inferior 1 (process 522250) detached]

Reported using DrKonqi