You are not logged in.

#1 2021-04-24 18:48:37

Sepo98
Member
Registered: 2021-04-24
Posts: 3

Cannot run ipe after installing - assertion error?

Hello,

I installed ipe today and when trying to run it, I get the following message:

/usr/include/c++/10.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 = ipe::String; _Alloc = std::allocator<ipe::String>; std::vector<_Tp, _Alloc>::reference = ipe::String&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
[1]    113548 abort (core dumped)  ipe

I googled the error and found some posts with a similar error, but nothing in relation with ipe. Can anyone help?

Offline

#2 2021-04-24 19:29:06

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: Cannot run ipe after installing - assertion error?

Report the issue upstream https://github.com/otfried/ipe-issues including the full backtrace,  not just one line.
The addition of -D_GLIBCXX_ASSERTIONS [1] adds additional assertion checks which ipe failed.

[1] https://github.com/archlinux/svntogit-p … f6891801fc

Offline

#3 2021-04-24 19:33:47

Sepo98
Member
Registered: 2021-04-24
Posts: 3

Re: Cannot run ipe after installing - assertion error?

OK thanks, will do. One question though, and sorry if it is a stupid one, I'm still rather new: How do I get the full backtrace in this case?

Offline

#4 2021-04-24 19:36:08

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: Cannot run ipe after installing - assertion error?

Offline

#5 2021-04-25 09:01:35

Sepo98
Member
Registered: 2021-04-24
Posts: 3

Re: Cannot run ipe after installing - assertion error?

OK, so because I really need ipe right now, I edited makepkg.conf and removed the -D_GLIBCXX_ASSERTIONS. I built the package again and now it works, which is a temporary solution I guess. Thanks for the help!

Offline

Board footer

Powered by FluxBB