Bug 2326632 - Crash at the startup on Fedora 41 after using it few times and adding two books
Summary: Crash at the startup on Fedora 41 after using it few times and adding two books
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: alexandria
Version: 41
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-15 22:30 UTC by thebatta@gmail.com
Modified: 2024-11-25 03:53 UTC (History)
1 user (show)

Fixed In Version: alexandria-0.7.9-9.fc41
Clone Of:
Environment:
Last Closed: 2024-11-25 01:55:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description thebatta@gmail.com 2024-11-15 22:30:44 UTC
The following dump is produced by starting Alexandria from terminal on an update Fedora 41 OS.  I used the software a couple of time and was starting even if showing some problems in windows dimensions, it crashed after clicking to open a book recently added. After a couple of crashes like that it just stopped to startup. Now lunching from terminal I get:
```
-----------------------
Alexandria just crashed
-----------------------
Timestamp: 2024-11-14 14:48:16 +0100
Message: uninitialized constant Syck::UNESCAPES
Backtrace:
/usr/share/gems/gems/syck-1.5.1.1/lib/syck/encoding.rb:30:in `block in unescape'
/usr/share/gems/gems/syck-1.5.1.1/lib/syck/encoding.rb:24:in `gsub'
/usr/share/gems/gems/syck-1.5.1.1/lib/syck/encoding.rb:24:in `unescape'
/usr/share/ruby/vendor_ruby/alexandria/library_store.rb:222:in `regularize_book_from_yaml'
/usr/share/ruby/vendor_ruby/alexandria/library_store.rb:60:in `block (2 levels) in load_library'
/usr/share/ruby/vendor_ruby/alexandria/library_store.rb:48:in `each'
/usr/share/ruby/vendor_ruby/alexandria/library_store.rb:48:in `block in load_library'
/usr/share/ruby/vendor_ruby/alexandria/library_store.rb:47:in `chdir'
/usr/share/ruby/vendor_ruby/alexandria/library_store.rb:47:in `load_library'
/usr/share/ruby/vendor_ruby/alexandria/library_store.rb:30:in `block in load_all_libraries'
/usr/share/ruby/vendor_ruby/alexandria/library_store.rb:24:in `each'
/usr/share/ruby/vendor_ruby/alexandria/library_store.rb:24:in `load_all_libraries'
/usr/share/ruby/vendor_ruby/alexandria/library_collection.rb:20:in `reload'
/usr/share/ruby/vendor_ruby/alexandria/ui/ui_manager.rb:604:in `load_libraries'
/usr/share/ruby/vendor_ruby/alexandria/ui/ui_manager.rb:33:in `initialize'
/usr/share/ruby/vendor_ruby/alexandria/ui/main_app.rb:57:in `new'
/usr/share/ruby/vendor_ruby/alexandria/ui/main_app.rb:57:in `initialize'
/usr/share/ruby/singleton.rb:124:in `new'
/usr/share/ruby/singleton.rb:124:in `block in instance'
/usr/share/ruby/singleton.rb:124:in `synchronize'
/usr/share/ruby/singleton.rb:124:in `instance'
/usr/share/ruby/vendor_ruby/alexandria/ui.rb:42:in `start_main_app'
/usr/share/ruby/vendor_ruby/alexandria/ui.rb:54:in `main'
/usr/share/ruby/vendor_ruby/alexandria.rb:38:in `main'
/usr/bin/alexandria:37:in `<main>'
Release: 0.7.9(0.7.9)
Uname -a: Linux AAAAA-lap 6.11.6-300.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov  1 16:16:00 UTC 2024 x86_64 GNU/Linux
--

```
Alexandria developer suggested:
it looks like the problem is in a patch that Fedora applies: https://src.fedoraproject.org/rpms/alexandria/blob/rawhide/f/alexandria-0.7.9-yaml-unescape.patch.

Reproducible: Always

Comment 1 Fedora Update System 2024-11-16 13:36:40 UTC
FEDORA-2024-727a3b8117 (alexandria-0.7.9-9.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-727a3b8117

Comment 2 Fedora Update System 2024-11-16 13:38:17 UTC
FEDORA-2024-a8318b66d0 (alexandria-0.7.9-9.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a8318b66d0

Comment 3 Fedora Update System 2024-11-17 03:55:17 UTC
FEDORA-2024-727a3b8117 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-727a3b8117`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-727a3b8117

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

Comment 4 Fedora Update System 2024-11-17 08:29:07 UTC
FEDORA-2024-a8318b66d0 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a8318b66d0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a8318b66d0

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

Comment 5 Fedora Update System 2024-11-25 01:55:05 UTC
FEDORA-2024-727a3b8117 (alexandria-0.7.9-9.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2024-11-25 03:53:20 UTC
FEDORA-2024-a8318b66d0 (alexandria-0.7.9-9.fc40) has been pushed to the Fedora 40 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.