#1149500 peony-extensions: peony crashes when searching due to uninitialized model pointers

Package:
peony-extensions
Source:
peony-extensions
Description:
Peony qt extensions
Submitter:
Pan Zhang
Date:
2026-10-01 15:53:02 UTC
Severity:
normal
#1149500#5
Date:
2026-09-30 02:04:32 UTC
From:
To:
Dear Maintainer,

Peony crashes with SIGSEGV shortly after typing into the search box.
The crash occurs in the peony-intelligent-plugin provided by
peony-extensions.

Steps to reproduce:

   1.

   Open Peony on the Computer view:

   peony computer:///
   2.

   Focus the search box and type a few characters, for example “abc”.
   3.

   After the search starts, Peony crashes.

The same issue can also occur when searching from a normal directory.

The backtrace points to SearchViewContainer::bindModel():

#0 QObject::disconnect(…)
#1 Peony::SearchViewContainer::bindModel(…)
#2 Peony::DirectoryViewContainer::switchViewType(…)
#3 Peony::DirectoryViewContainer::goToUri(…)

The last message before the crash is:

QObject::disconnect: wildcard call disconnects from destroyed signal
of Peony::DirectoryViewWidget::unnamed

The problem is caused by two uninitialized member pointers in
search-view-container.h:

SearchFileItemModel *m_model;
SearchFilterProxyModel *m_proxyModel;

bindModel() calls disconnect() on these pointers before they have been
assigned, which can dereference invalid memory and crash Peony.

Expected result:

Searching should open the search view and return results without
crashing Peony.

Regards,

#1149500#10
Date:
2026-10-01 15:51:33 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
peony-extensions, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1149500@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
handsome_feng <jianfengli@ubuntukylin.com> (supplier of updated peony-extensions package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 01 Oct 2026 11:23:46 -0400
Source: peony-extensions
Architecture: source
Version: 4.20.0.1-1
Distribution: unstable
Urgency: medium
Maintainer: Kylin Team <team+kylin@tracker.debian.org>
Changed-By: handsome_feng <jianfengli@ubuntukylin.com>
Closes: 1149500
Changes:
 peony-extensions (4.20.0.1-1) unstable; urgency=medium
 .
   [ zhangpan ]
   * New upstream bugfix-only release.
   * Fix crash when typing in the search box: initialize the uninitialized
     member pointers m_model and m_proxyModel in SearchViewContainer; the
     first bindModel() call ran wildcard QObject::disconnect() calls on
     garbage pointers, causing a SIGSEGV. (Closes: #1149500)
Checksums-Sha1:
 8a0a5c473c9a71da112991cd5aaf84a7492ee66d 3403 peony-extensions_4.20.0.1-1.dsc
 13386b9a947bcd31dcd7021bc72081d178d803a3 1130116 peony-extensions_4.20.0.1.orig.tar.xz
 1b679074d00a3d7c4426a68556bcfd3aea4dad21 7736 peony-extensions_4.20.0.1-1.debian.tar.xz
 c25eece7e0e15daf3e9b5b1baa8cb6aee8738545 27633 peony-extensions_4.20.0.1-1_source.buildinfo
Checksums-Sha256:
 54f1bd544b4bd00449dd10e77cd0f40255d04599616e1aca38bb05779b51707c 3403 peony-extensions_4.20.0.1-1.dsc
 eb30849871266a58387303cb377af52739bfef6c4ed0c317de64d1dd4b1ed572 1130116 peony-extensions_4.20.0.1.orig.tar.xz
 1bdb83ae9b3e23ad45f56e4e855f0cda1b6e5c004fb93e378bca2d8d9a042756 7736 peony-extensions_4.20.0.1-1.debian.tar.xz
 f7ffe86028753c4d1ad424706426a3f9787674f601295fa33b73012179c4aac2 27633 peony-extensions_4.20.0.1-1_source.buildinfo
Files:
 1b7791ade7a671552cf1da45c8132fea 3403 x11 optional peony-extensions_4.20.0.1-1.dsc
 01d029a0fd7c60378b450cae55d31121 1130116 x11 optional peony-extensions_4.20.0.1.orig.tar.xz
 ac375c19571adaaa57ab5091c5b896f0 7736 x11 optional peony-extensions_4.20.0.1-1.debian.tar.xz
 6205dfecf92f303c841fc8828de21e04 27633 x11 optional peony-extensions_4.20.0.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJPBAEBCgA5FiEEhsgAHpUwnacZWWSCm7hQwBMRHwwFAmq+e90bHGppYW5mZW5n
bGlAdWJ1bnR1a3lsaW4uY29tAAoJEJu4UMATER8MbzIQAIt9jkBFVdRL0JDEOP8F
wqpSy9JjvnwHZzwOUQMSQgzLrO3YQY46096f87vdw6GTNcqPXrfm+ls73xiw+4up
aWbjJDjEoGd2QIQy4m/mQXijJVBqdpZMrIVX/sJwLeBOA73fWcad4dSgZsHo9C3I
oIGyd+E8HwuddkKRRtUdrPchpEdqCimZa3sXhVOkrXzSG8jrYHhw3M6pby0HFfQ/
izpxq5NCDkdunqDmM3+Mcj47Xnj/A/4DQOSxDYjV3NkvpGx8RwUnHGeeKNVnROYb
gyVBBNQX7pFOnY/2NI03rcp/i48ylzwH6O3yTErjU/i46gkzEsfrY5G6CptCWLKF
c11Wwq+yFMK2VfIpBUE4DfwSkEuBT0vFmArjeyuESSqUiwdU+LyEe4lkEBEMJuin
asSv9K5NfbyV+kcFipqy3sOR/QpL0NML+nRjVF+A9gQf5ZLJ8qLvhg+7OeiA/BPJ
W6522w+k9FS0/+fsepG6g+dtP43Dgx5eDszok5LGw4VezQNOScfIgt7sWmbv0kcI
InHZ0itPaCaSArXq1v3p1aA/uIwyBvYbMFrXkZKi2jAUQfWUK6MvjtA5qLzOTy11
D866P5rk/ikp99lyTab0I1CJHNH2I6fNqampkSIa8evjj9TdM+dqGCoeBbj9cLp+
YKJaRyxHOq0EAnBPXWoYZbIq
=eHin
-----END PGP SIGNATURE-----