Bug #451
librdf error when parsing FLAC files - FLAC files unplayable and unimportable.
| Status: | Closed | Start date: | 2012-04-13 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | - |
Description
Environment
OS: Ubuntu 11.10
Source: http://code.soundsoftware.ac.uk/attachments/download/196/sonic-visualiser_1.9cc-1_i386.deb
MD5sum: 33c5e593594572d590fb56d6d3e1bf3f¶
Description
When trying to open a FLAC file on Ubuntu 11.10, sonic visualiser fails to recognize the file using librdf resulting in the error:¶
librdf error URI file:///home/emlyn/test.flac - Failed to guess parser from content type '(none)' SimpleSPARQLQuery: ERROR: Failed to parse into new model: Failed to parse RDF from URI "file:///home/emlyn/test.flac" rdf_query.c:544: (librdf_query_execute) assertion failed: object pointer of type librdf_model is NULL.
The error seems to be caused by a null point error in librdf.
Step to reproduce¶
- Install the debian file.
dpkg -i sonic-visualiser_1.9cc-1_i386.deb
- Start program from the terminal.
$ sonic-visualiser
- Open a FLAC file either by drag-n-drop or
File >> Open >> <SELECT FILE>
- Results in an error, attached to this ticket error_sonic*png.
Other information.¶
librdf is not mentioned as a dependency in the output of
apt-rdepends sonic-visualiseror some
ldd sonic-visualiser- linking error?
History
#1
Updated by Emlyn Clay over 13 years ago
librdf version is librdf0 v1.0.13-3
#2
Updated by Emlyn Clay over 13 years ago
I can confirm that this is still an issue in Ubuntu AMD64 bit 12.04, the issue is still with the rdf_query function. I will see if I can find a way round it.
#3
Updated by Chris Cannam over 13 years ago
Looks like the problem here is that SV (or libsndfile?) is not built with FLAC support -- or else FLAC file opening is failing for some other reason. So, SV doesn't recognise the FLAC file and tries to open it as arbitrary layer data, which fails in all the layer data readers. The RDF reader is just one of the readers that is failing to load the file.
The error message is unhelpful and needs fixing.
#4
Updated by Emlyn Clay about 13 years ago
I have changed computer and now run a fresh copy of 64bit Ubuntu 12.04 and cannot replicate this behaviour - I suggest this bug be changed to WON'T FIX but I can't find how to change this.
#5
Updated by Chris Cannam about 12 years ago
- Status changed from New to Closed