Skip to content

Gpick crashes when trying to open a certain save file #193

@DanielFlaum

Description

@DanielFlaum

I recently upgraded from Fedora Workstation 33 with Gpick 0.2.6rc1 to Fedora Workstation 34 with Gpick 0.2.6, and found that Gpick could no longer open a .gpa file of mine. It would crash, with this error appearing on output:

/usr/include/c++/11/bits/basic_string.h:1101: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::front() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference = char&]: Assertion '!empty()' failed.

The file is attached. I verified that it could still be opened on Fedora 33. Note that it does contain colors which have empty names. This may have something to do with it.

solarized-expanded.zip

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions