Opened 13 years ago

Closed 13 years ago

#291 closed Bug Report (fixed)

plugin.c:341 crash

Reported by: kfoltman Owned by:
Priority: major Component: SLV2
Keywords: Cc:

Description

if (!strcmp(type_str, "http://lv2plug.in/ns/lv2core#Plugin"))

(on closer inspection, type_str is NULL)

This, for some reason, seems to appear with this (possibly invalid) bundle:

manifest.ttl:

@prefix : <http://example.com/> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
:examplePlugin a lv2:Plugin ; lv2:binary <foo.so> ; rdfs:seeAlso <plugin.ttl> .

plugin.ttl:

@prefix : <http://example.com/> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
:examplePlugin a lv2:Plugin ;doap:name "Test plugin" ; doap:license <http://usefulinc.com/doap/licenses/gpl> ; lv2:port [ a lv2:ControlPort ; a lv2:InputPort ; lv2:index 0 ; lv2:symbol "foo" ; lv2:name "bar" ] .

On the other hand, lv2_inspect seems to swallow it just fine.

Change History (1)

comment:1 Changed 13 years ago by David Robillard

Resolution: fixed
Status: newclosed

lv2_inspect doesn't call slv2_plugin_verify. Nothing does, really....

Fixed in r1841.

Note: See TracTickets for help on using tickets.