[plasmashell] [Bug 467979] plasmashell crashes when press Enter key in the "Search" global menu

2023-04-04 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=467979

Fushan Wen  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/
   |9d8d1de29ac314058f5baa6bb7d |b1b0fc3241a8c91622c2fe4c7ad
   |c85fc2f0f10f1   |550c3fc39870f

--- Comment #7 from Fushan Wen  ---
Git commit b1b0fc3241a8c91622c2fe4c7ad550c3fc39870f by Fushan Wen.
Committed on 04/04/2023 at 18:01.
Pushed by fusionfuture into branch 'master'.

appmenu: fix crash when there is no matched menu item

QList::first() will crash when QList is empty. We should use
QList::empty() instead to guard against empty menu.
FIXED-IN: 5.27.5


(cherry picked from commit 9d8d1de29ac314058f5baa6bb7dc85fc2f0f10f1)

M  +4-3applets/appmenu/plugin/appmenumodel.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/b1b0fc3241a8c91622c2fe4c7ad550c3fc39870f

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

[plasmashell] [Bug 467979] plasmashell crashes when press Enter key in the "Search" global menu

2023-04-04 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=467979

Fushan Wen  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Version Fixed In||5.27.5
  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-workspace/commit/
   ||9d8d1de29ac314058f5baa6bb7d
   ||c85fc2f0f10f1

--- Comment #6 from Fushan Wen  ---
Git commit 9d8d1de29ac314058f5baa6bb7dc85fc2f0f10f1 by Fushan Wen.
Committed on 04/04/2023 at 17:37.
Pushed by fusionfuture into branch 'Plasma/5.27'.

appmenu: fix crash when there is no matched menu item

QList::first() will crash when QList is empty. We should use
QList::empty() instead to guard against empty menu.
FIXED-IN: 5.27.5

M  +4-3applets/appmenu/plugin/appmenumodel.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/9d8d1de29ac314058f5baa6bb7dc85fc2f0f10f1

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

[plasmashell] [Bug 467979] plasmashell crashes when press Enter key in the "Search" global menu

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

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
   Severity|major   |crash

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

[plasmashell] [Bug 467979] plasmashell crashes when press Enter key in the "Search" global menu

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

Bug Janitor Service  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #5 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2793

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

[plasmashell] [Bug 467979] plasmashell crashes when press Enter key in the "Search" global menu

2023-04-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=467979

lucky...@126.com changed:

   What|Removed |Added

 Resolution|BACKTRACE   |---
 Status|NEEDSINFO   |REPORTED

--- Comment #4 from lucky...@126.com ---
Would you like to fix the bug?

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

[plasmashell] [Bug 467979] plasmashell crashes when press Enter key in the "Search" global menu

2023-03-31 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=467979

--- Comment #3 from lucky...@126.com ---
(In reply to Fushan Wen from comment #2)
> Do you have a backtrace?

   PID: 16095 (plasmashell)
   UID: 1000 (integral)
   GID: 984 (users)
Signal: 11 (SEGV)
 Timestamp: Fri 2023-03-31 23:09:24 CST (1min 59s ago)
  Command Line: /usr/bin/plasmashell --no-respawn
Executable: /usr/bin/plasmashell
 Control Group:
/user.slice/user-1000.slice/user@1000.service/session.slice/plasma-plasmashell.service
  Unit: user@1000.service
 User Unit: plasma-plasmashell.service
 Slice: user-1000.slice
 Owner UID: 1000 (integral)
   Boot ID: 43de614cf6e146a68a4e2198821489c2
Machine ID: 59dc10722cb14131a46229239fb25ddf
  Hostname: IntegralPC
   Storage:
/var/lib/systemd/coredump/core.plasmashell.1000.43de614cf6e146a68a4e2198821489c2.16095.168027536400.zst
(present)
  Size on Disk: 52.1M
   Message: Process 16095 (plasmashell) of user 1000 dumped core.

Stack trace of thread 16095:
#0  0x7f70e48a5918 pthread_sigmask (libc.so.6 + 0x8c918)
#1  0x7f70e485214d sigprocmask (libc.so.6 + 0x3914d)
#2  0x7f70e70c11eb _ZN6KCrash15setCrashHandlerEPFviE
(libKF5Crash.so.5 + 0x51eb)
#3  0x7f70e70c37e6 _ZN6KCrash19defaultCrashHandlerEi
(libKF5Crash.so.5 + 0x77e6)
#4  0x7f70e4851f50 n/a (libc.so.6 + 0x38f50)
#5  0x7f70e5d7181b _ZN7QAction8activateENS_11ActionEventE
(libQt5Widgets.so.5 + 0x17181b)
#6  0x7f70e50bea71 n/a (libQt5Core.so.5 + 0x2bea71)
#7  0x7f70e50bec20 n/a (libQt5Core.so.5 + 0x2bec20)
#8  0x7f70e5ec250a
_ZN18QWidgetLineControl15processKeyEventEP9QKeyEvent (libQt5Widgets.so.5 +
0x2c250a)
#9  0x7f70e5eb5a04 _ZN9QLineEdit13keyPressEventEP9QKeyEvent
(libQt5Widgets.so.5 + 0x2b5a04)
#10 0x7f70e5daf721 _ZN7QWidget5eventEP6QEvent
(libQt5Widgets.so.5 + 0x1af721)
#11 0x7f70e5d78b5c
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 +
0x178b5c)
#12 0x7f70e5d7de38
_ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x17de38)
#13 0x7f70e508df48
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 +
0x28df48)
#14 0x7f70e5dcf2db n/a (libQt5Widgets.so.5 + 0x1cf2db)
#15 0x7f70e5d78b5c
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 +
0x178b5c)
#16 0x7f70e508df48
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 +
0x28df48)
#17 0x7f70e553fa40
_ZN22QGuiApplicationPrivate15processKeyEventEPN29QWindowSystemInterfacePrivate8KeyEventE
(libQt5Gui.so.5 + 0x13fa40)
#18 0x7f70e55288d5
_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt5Gui.so.5 + 0x1288d5)
#19 0x7f70e69408c5 n/a (libQt5WaylandClient.so.5 + 0xae8c5)
#20 0x7f70e3d3653b g_main_context_dispatch
(libglib-2.0.so.0 + 0x5a53b)
#21 0x7f70e3d93219 n/a (libglib-2.0.so.0 + 0xb7219)
#22 0x7f70e3d351a2 g_main_context_iteration
(libglib-2.0.so.0 + 0x591a2)
#23 0x7f70e50d8c6c
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt5Core.so.5 + 0x2d8c6c)
#24 0x7f70e50866ec
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 +
0x2866ec)
#25 0x7f70e5091219 _ZN16QCoreApplication4execEv
(libQt5Core.so.5 + 0x291219)
#26 0x55f76bd6a168 n/a (plasmashell + 0x24168)
#27 0x7f70e483c790 n/a (libc.so.6 + 0x23790)
#28 0x7f70e483c84a __libc_start_main (libc.so.6 + 0x2384a)
#29 0x55f76bd6a515 n/a (plasmashell + 0x24515)

Stack trace of thread 16105:
#0  0x7f70e49139df __poll (libc.so.6 + 0xfa9df)
#1  0x7f70e6904d1d n/a (libQt5WaylandClient.so.5 + 0x72d1d)
#2  0x7f70e4ee432a n/a (libQt5Core.so.5 + 0xe432a)
#3  0x7f70e489ebb5 n/a (libc.so.6 + 0x85bb5)
#4  0x7f70e4920d90 n/a (libc.so.6 + 0x107d90)

Stack trace of thread 16103:
#0  0x7f70e49139df __poll (libc.so.6 + 0xfa9df)
#1  0x7f70e3d9317f n/a (libglib-2.0.so.0 + 0xb717f)
#2  0x7f70e3d351a2 g_main_context_iteration
(libglib-2.0.so.0 + 0x591a2)
#3  0x7f70e50d8c8f
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt5Core.so.5 + 0x2d8c8f)
#4  0x7f70e50866ec
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE 

[plasmashell] [Bug 467979] plasmashell crashes when press Enter key in the "Search" global menu

2023-03-31 Thread Fushan Wen
https://bugs.kde.org/show_bug.cgi?id=467979

Fushan Wen  changed:

   What|Removed |Added

 CC||qydwhotm...@gmail.com
 Status|REPORTED|NEEDSINFO
 Resolution|--- |BACKTRACE

--- Comment #2 from Fushan Wen  ---
Do you have a backtrace?

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

[plasmashell] [Bug 467979] plasmashell crashes when press Enter key in the "Search" global menu

2023-03-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=467979

--- Comment #1 from lucky...@126.com ---
Created attachment 157728
  --> https://bugs.kde.org/attachment.cgi?id=157728=edit
"Search" global menu ("Search" in Chinese is "搜索")

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

[plasmashell] [Bug 467979] plasmashell crashes when press Enter key in the "Search" global menu

2023-03-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=467979

lucky...@126.com changed:

   What|Removed |Added

   Keywords||wayland

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