[plasmashell] [Bug 468346] Invalid .desktop files can crash plasmashell when trying to edit them from kickoff.

2023-04-10 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=468346

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1
 CC||n...@kde.org

--- Comment #1 from Nate Graham  ---
Can reproduce the issue with the provided desktop file. Crash backtrace:

#0  __GI___pthread_sigmask (how=1, newmask=, oldmask=0x0) at
pthread_sigmask.c:43
#1  0x7fc5a265fd1d in __GI___sigprocmask (how=,
set=, oset=) at
../sysdeps/unix/sysv/linux/sigprocmask.c:25
#2  0x7fc5a57cce18 in KCrash::setCrashHandler(void (*)(int))
(handler=handler@entry=0x0) at /home/nate/kde/src/kcrash/src/kcrash.cpp:414
#3  0x7fc5a57cd969 in KCrash::defaultCrashHandler(int) (sig=11) at
/home/nate/kde/src/kcrash/src/kcrash.cpp:625
#4  0x7fc5a265fb20 in  () at /lib64/libc.so.6
#5  0x7fc5a4104a24 in QWidgetLineControl::internalSetText(QString const&,
int, bool) (this=0xaa5a530, txt=..., pos=pos@entry=-1,
edited=edited@entry=false) at widgets/qwidgetlinecontrol.cpp:766
#6  0x7fc5a40f72f8 in QWidgetLineControl::setText(QString const&) (txt=...,
this=)
at
../../include/QtWidgets/5.15.8/QtWidgets/private/../../../../../src/widgets/widgets/qwidgetlinecontrol_p.h:251
#7  0x7fc5a40fb40d in QLineEdit::setText(QString const&)
(this=this@entry=0xaa5a260, text=...) at widgets/qlineedit.cpp:317
#8  0x7fc5a25b1893 in
KDEPrivate::KDesktopPropsPlugin::KDesktopPropsPlugin(KPropertiesDialog*)
(this=, _props=)
at /home/nate/kde/src/kio/src/widgets/kpropertiesdialog.cpp:3411
#9  0x7fc5a25b4cf8 in KPropertiesDialogPrivate::insertPages()
(this=this@entry=0xa222c60) at
/home/nate/kde/src/kio/src/widgets/kpropertiesdialog.cpp:640
#10 0x7fc5a25b520a in KPropertiesDialogPrivate::init() (this=0xa222c60) at
/home/nate/kde/src/kio/src/widgets/kpropertiesdialog.cpp:435
#11 0x7fc5a25b5ba9 in KPropertiesDialog::KPropertiesDialog(QUrl const&,
QWidget*) (this=0x6c1c090, _url=, parent=) at
/usr/include/c++/12/bits/unique_ptr.h:191
#12 0x7fc5a25b5c3d in KPropertiesDialog::showDialog(QUrl const&, QWidget*,
bool) (_url=..., parent=parent@entry=0x0, modal=modal@entry=false)
at /home/nate/kde/src/kio/src/widgets/kpropertiesdialog.cpp:389
#13 0x7fc51f7ce420 in MenuEntryEditor::edit(QString const&, QString const&)
(this=this@entry=0x7fc51f808290 , entryPath=...,
menuId=...)
at
/home/nate/kde/src/plasma-workspace/applets/kicker/plugin/menuentryeditor.cpp:42
#14 0x7fc51f7a1e7a in Kicker::editApplication(QString const&, QString
const&) (entryPath=..., menuId=...) at
/home/nate/kde/src/plasma-workspace/applets/kicker/plugin/actionlist.cpp:386
#15 0x7fc51f7a1f4b in Kicker::handleEditApplicationAction(QString const&,
QExplicitlySharedDataPointer const&) (actionId=..., service=...)
at
/home/nate/kde/src/plasma-workspace/applets/kicker/plugin/actionlist.cpp:405
#16 0x7fc51f7d59f0 in RunnerMatchesModel::trigger(int, QString const&,
QVariant const&) (this=, row=, actionId=...,
argument=...)
at
/home/nate/kde/src/plasma-workspace/applets/kicker/plugin/runnermatchesmodel.cpp:209
#17 0x7fc51f79b6d8 in RunnerMatchesModel::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=, _c=,
_id=, _a=0x7ffdac258a00)
at
/home/nate/kde/build5/plasma-workspace/applets/kicker/kickerplugin_autogen/7RBZBFH7CH/moc_runnermatchesmodel.cpp:90
#18 0x7fc51f79ec83 in RunnerMatchesModel::qt_metacall(QMetaObject::Call,
int, void**) (this=0x8f1b7c0, _c=QMetaObject::InvokeMetaMethod, _id=1,
_a=0x7ffdac258a00)
at
/home/nate/kde/build5/plasma-workspace/applets/kicker/kickerplugin_autogen/7RBZBFH7CH/moc_runnermatchesmodel.cpp:149
#19 0x7fc5a4ce96f3 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int,
void**) const (this=this@entry=0x7ffdac258ca0,
type=type@entry=QMetaObject::InvokeMetaMethod, index=, 
index@entry=67, argv=) at qml/qqmlobjectorgadget.cpp:51
#20 0x7fc5a4bc1b39 in CallMethod
(callType=, callArgs=0x7ffdac258a00, engine=,
argTypes=, argCount=, returnType=,
index=, object=...)
at /usr/include/qt5/QtCore/qvarlengtharray.h:189
#21 CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&,
QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call)
(object=..., data=, engine=engine@entry=0x24a3c80,
callArgs=callArgs@entry=0x7fc5881be668,
callType=callType@entry=QMetaObject::InvokeMetaMethod)
at jsruntime/qv4qobjectwrapper.cpp:1553
#22 0x7fc5a4bc3a60 in CallOverloaded (callType=,
propertyCache=, callArgs=, engine=, data=, object=)
at jsruntime/qv4qobjectwrapper.cpp:1629
#23 QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int)
const (this=, thisObject=, argv=,
argc=)
at jsruntime/qv4qobjectwrapper.cpp:2117
#24 0x7fc5a4be0a5d in QV4::FunctionObject::call(QV4::Value const*,
QV4::Value const*, int) const (argc=, argv=,

[plasmashell] [Bug 468346] Invalid .desktop files can crash plasmashell when trying to edit them from kickoff.

2023-04-09 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=468346

Bug Janitor Service  changed:

   What|Removed |Added

   Severity|normal  |crash

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

[plasmashell] [Bug 468346] Invalid .desktop files can crash plasmashell when trying to edit them from kickoff.

2023-04-09 Thread David Rubio
https://bugs.kde.org/show_bug.cgi?id=468346

David Rubio  changed:

   What|Removed |Added

 CC||david.alejandro.rubio@gmail
   ||.com

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