| Summary: | Crash at startup with loading Dynamic Playlists | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | Still <nlcampos> |
| Component: | Playlists/Dynamic Playlists | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | crash | CC: | tureba |
| Priority: | NOR | ||
| Version First Reported In: | 2.2.0 | ||
| Target Milestone: | --- | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Still
2009-10-21 01:34:13 UTC
Hmm. This appears to be the code that crashes:
QFile file( Amarok::saveLocation() + "dynamic.xml" );
if( !file.open( QIODevice::ReadWrite ) )
{
error() << "Can not open dynamic.xml";
return;
}
QTextStream stream( &file );
stream.setAutoDetectUnicode( true );
QString raw = stream.readAll();
This code itself seems OK to me. We're doing error checking for the file operation. So I assume something went wrong at a deeper level, e.g. Qt. Sorry, can't really do anything about it. We'll have to wait and see if it happens again.
I have just re-encountered this crash and filed it on bug 215773. |