Bug 2175267 - qdigidoc crashes when the ID card is inserted
Summary: qdigidoc crashes when the ID card is inserted
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: qdigidoc
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Germano Massullo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-03 18:01 UTC by Anton Smirnov
Modified: 2023-07-12 08:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.