Bug 495019

Summary: Crash when importing feeds from opml file: ASSERT: "hq->lowestSerial() == prevLowestSerial"
Product: [Applications] akregator Reporter: 318bcb
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version First Reported In: 6.2.2   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The OPML file that Akregator fails to import

Description 318bcb 2024-10-19 02:06:38 UTC
Created attachment 175008 [details]
The OPML file that Akregator fails to import

SUMMARY
When importing feeds from an opml file (which I exported from RSSGuard), Akregator crashes part way through.

STEPS TO REPRODUCE
1. Launch Akregator
2. Click file->Import feeds
3. Select an opml file from file system

OBSERVED RESULT
Akregator crashes after a few seconds.  The output on my terminal is
```
flatpak run org.kde.akregator 
Gtk-Message: 21:49:12.530: Failed to load module "xapp-gtk3-module"
Qt: Session management error: Could not open network socket
kf.config.core: Watching absolute paths is not supported "/usr/share/color-schemes/BreezeDark.colors"
Path override failed for key base::DIR_APP_DICTIONARIES and path '/app/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/app/bin/qtwebengine_dictionaries'
Path override failed for key base::DIR_APP_DICTIONARIES and path '/app/bin/qtwebengine_dictionaries'
"https://doomwiki.org/wiki/Special:NewPages?feed=atom"
<847 lines, each consisting solely of a feed URL wrapped in quotes>
"https://www.alphabetagamer.com//atom"
ASSERT: "hq->lowestSerial() == prevLowestSerial" in file /run/build-runtime/kio/src/core/scheduler.cpp, line 477
```
Upon restarting Akregator, I see the message "Akregator did not close correctly.  Would you like to restart the previous session?"

Regardless of which option I pick, none of the feeds from the opml file were imported, even those that appear in the terminal output.

EXPECTED RESULT
All feeds should import.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Linux Mint Cinnamon 22
KDE Plasma Version: 
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.3

ADDITIONAL INFORMATION
Comment 1 318bcb 2025-06-14 00:16:48 UTC
This is no longer happening as of version 25.04.2, so I am closing the issue.