Bug 2175267

Summary: qdigidoc crashes when the ID card is inserted
Product: [Fedora] Fedora Reporter: Anton Smirnov <fedora-bugs>
Component: qdigidocAssignee: Germano Massullo <germano.massullo>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: cserpentis, germano.massullo, jaakoskel, nikita.ratskov2000
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qdigidoc-4.4.0-2.fc38 qdigidoc-4.4.0-2.fc37 qdigidoc-4.4.0-2.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-05 00:41:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Anton Smirnov 2023-03-03 18:01:34 UTC
Description of problem:

Once I insert my ID card, qdigidoc crashes with:

/usr/include/c++/12/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = long unsigned int; _Alloc = std::allocator<long unsigned int>; reference = long unsigned int&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.

Version-Release number of selected component (if applicable):

qdigidoc-4.2.14-1.fc37.x86_64

How reproducible:

all the time

Steps to Reproduce:
1. open qdigidoc
2. insert card

or

1. insert card
2. open qdigidoc

Actual results:

crash with

/usr/include/c++/12/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = long unsigned int; _Alloc = std::allocator<long unsigned int>; reference = long unsigned int&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.

Expected results:

not crashing

Additional info:

Comment 1 Chris Kerr 2023-05-23 05:49:21 UTC
I have the same bug, also on Fedora 37.

The command-line digidoc-tool is working, though.

Comment 2 Nikita Ratskov 2023-06-04 14:22:48 UTC
The issue is fixed in the latest update:
https://github.com/open-eid/DigiDoc4-Client/issues/1144

Could you please update the packages?

Comment 3 Germano Massullo 2023-07-12 08:40:59 UTC
(In reply to Nikita Ratskov from comment #2)
> The issue is fixed in the latest update:
> https://github.com/open-eid/DigiDoc4-Client/issues/1144
> 
> Could you please update the packages?

package is 4.3.0 version, which is last available update

Comment 4 Germano Massullo 2023-07-12 08:41:44 UTC
By the way new co-maintainers are needed, if you would like to contribute feel free to write me

Comment 5 Fedora Update System 2023-08-27 20:16:08 UTC
FEDORA-2023-9caa36da81 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9caa36da81

Comment 6 Fedora Update System 2023-08-27 20:16:08 UTC
FEDORA-2023-fec073f7dc has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-fec073f7dc

Comment 7 Fedora Update System 2023-08-27 20:16:09 UTC
FEDORA-2023-3d0e490bc1 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3d0e490bc1

Comment 8 Fedora Update System 2023-08-28 00:30:45 UTC
FEDORA-2023-9caa36da81 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-9caa36da81`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-9caa36da81

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2023-08-28 00:42:12 UTC
FEDORA-2023-3d0e490bc1 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-3d0e490bc1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-3d0e490bc1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2023-08-28 00:48:33 UTC
FEDORA-2023-fec073f7dc has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-fec073f7dc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-fec073f7dc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2023-09-05 00:41:06 UTC
FEDORA-2023-3d0e490bc1 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2023-09-05 00:47:06 UTC
FEDORA-2023-fec073f7dc has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2023-09-15 18:41:56 UTC
FEDORA-2023-9caa36da81 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.