FS#74383 - [tigervnc] Assert hit at MonitorIndicesParameter::fetchMonitors

Attached to Project: Community Packages
Opened by Cezary Drożak (cdro) - Thursday, 07 April 2022, 07:05 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 08 February 2023, 01:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When pressing the "Options…" button in TigerVNC Viewer, the application crashes.
The fix will be included in the next stable release. Fedora already has a patched
version in its repositories, so I think we could add this patch before the next
release too.

Additional info:
* upstream bug report: https://github.com/TigerVNC/tigervnc/issues/1413
* package version: 1.12.0

Steps to reproduce:
1. Open TigerVNC Viewer
2. Press the "Options…" button
3. The application crashes. Error message:
/usr/include/c++/11.2.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = MonitorIndicesParameter::Monitor; _Alloc = std::allocator<MonitorIndicesParameter::Monitor>; std::vector<_Tp, _Alloc>::reference = MonitorIndicesParameter::Monitor&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 08 February 2023, 01:16 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Friday, 06 January 2023, 15:39 GMT
is it fixed in tigervnc 1.12.90-1?

Loading...