Bug 2088015 - ipe crashes on startup
Summary: ipe crashes on startup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ipe
Version: 36
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Mukundan Ragavan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2086452 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-18 16:39 UTC by Guilherme D. da Fonseca
Modified: 2022-06-27 01:34 UTC (History)
4 users (show)

Fixed In Version: ipe-7.2.24-5.fc37 ipe-7.2.24-5.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-18 13:50:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Guilherme D. da Fonseca 2022-05-18 16:39:12 UTC
Description of problem: Ipe crashes when started.

Version-Release number of selected component (if applicable):
ipe-7.2.24-4.fc36.x86_64

How reproducible: Always reproducible on a fresh Fedora 36 KDE Plasma edition installation (and update)

Steps to Reproduce:
1. Start ipe

Actual results:
Ipe crashes right away with error:
$ ipe
/usr/include/c++/12/bits/stl_vector.h:1122: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = ipe::String; _Alloc = std::allocator<ipe::String>; reference = ipe::String&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Aborted (core dumped)

Expected results:
Ipe starts normally

Additional info:
I tested on two machines with KDE on X11. I also tested with KDE on Wayland and it does not work either. I do not have another desktop installed.

Comment 1 Laurent Rineau 2022-05-25 10:45:13 UTC
I have the same behavior.

But if I recompile ipe from source myself, using:

    cd src
    make IPEPREFIX=/usr/local -j8 MOC=moc-qt5 -j8 "LUA_CFLAGS=`pkg-config --cflags lua`" "LUA_LIBS=`pkg-config --libs lua`" 
    make documentation IPEPREFIX=/usr/local
    make documentation IPEPREFIX=/usr/local

then the produced binary no longer crash. On Fedora 36.

I have also tried to rebuild the src.rpm locally on my machine, and the produced binary crashed. There must be an error in the spec file.

Comment 2 Mukundan Ragavan 2022-05-25 12:06:46 UTC
Thanks for the troubleshooting. I will look at this as soon as I am able to.

Comment 3 Mukundan Ragavan 2022-05-28 18:59:03 UTC
*** Bug 2086452 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2022-06-18 13:49:47 UTC
FEDORA-2022-fed7f14323 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-fed7f14323

Comment 5 Fedora Update System 2022-06-18 13:50:42 UTC
FEDORA-2022-fed7f14323 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2022-06-18 14:12:27 UTC
FEDORA-2022-2117b78346 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2117b78346

Comment 7 Fedora Update System 2022-06-19 01:15:29 UTC
FEDORA-2022-2117b78346 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-2117b78346`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-2117b78346

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

Comment 8 Fedora Update System 2022-06-27 01:34:21 UTC
FEDORA-2022-2117b78346 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


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