#1103 closed Bug Report (fixed)

Crash when loading ingen as plugin

Reported by: falkTX Owned by: dave
Priority: major Component: Ingen
Keywords: plugin Cc:

Description

Using r5787, here's the backtrace when running in jalv.gtk:

Plugin:       file:///usr/lib/lv2/StereoInstrument.ingen/StereoInstrument.ttl
UI:           http :// drobilla.net /ns/ingen#GraphUIGtk2
UI Type:      http :// lv2plug.in /ns/extensions/ui#GtkUI
JACK Name:    Ingen Stereo Instrument Template
[New Thread 0x7ffff7fb5700 (LWP 3837)]
[New Thread 0x7ffff7f34700 (LWP 3838)]
Block length: 256 frames
MIDI buffers: 32768 bytes
Comm buffers: 65536 bytes
Update rate:  25,0 Hz
Block: 256 frames, Sequence: 32768 bytes
[New Thread 0x7fffe4e14700 (LWP 3850)]
[New Thread 0x7fffe4613700 (LWP 3851)]
LV2 parse resource file:///usr/lib/lv2/StereoInstrument.ingen/StereoInstrument.ttl from /usr/lib/lv2/StereoInstrument.ingen/StereoInstrument.ttl

Program received signal SIGSEGV, Segmentation fault.
_int_malloc (av=0x7ffff68c7760 <main_arena>, bytes=31) at malloc.c:3563
3563    malloc.c: No such file or directory.
(gdb) bt
#0  _int_malloc (av=0x7ffff68c7760 <main_arena>, bytes=31) at malloc.c:3563
#1  0x00007ffff658b7b0 in __GI___libc_malloc (bytes=31) at malloc.c:2891
#2  0x00007fffe5379b60 in serd_node_copy () from /usr/lib/libingen.so.0
#3  0x00007fffe53793b8 in serd_env_add () from /usr/lib/libingen.so.0
#4  0x00007fffe537968e in serd_env_set_prefix () from /usr/lib/libingen.so.0
#5  0x00007fffe5387cff in read_statement () from /usr/lib/libingen.so.0
#6  0x00007fffe5389238 in serd_reader_read_file_handle () from /usr/lib/libingen.so.0
#7  0x00007fffe53892fb in serd_reader_read_file () from /usr/lib/libingen.so.0
#8  0x00007fffe53392f8 in Sord::Model::load_file (this=0x7fffffffc9b0, env=0xc94250, syntax=SERD_TURTLE, data_uri=..., base_uri=...) at /opt/kxstudio/include/sord-0/sord/sordmm.hpp:524
#9  0x00007fffe5340dbf in Ingen::Parser::find_resources (this=0xc8a500, world=..., manifest_uri=..., type_uri=...) at ../src/Parser.cpp:58
#10 0x00007fffe53461d3 in Ingen::Parser::parse_file (this=0xc8a500, world=0x9ad150, target=0xc8ace0, path=..., parent=..., symbol=..., data=...) at ../src/Parser.cpp:654
#11 0x00007ffff009a8f9 in ingen_instantiate (descriptor=0x9a66c0, rate=44100, bundle_path=0x9667f0 "/usr/lib/lv2/StereoInstrument.ingen/", features=0x648020) at ../src/server/ingen_lv2.cpp:573
#12 0x000000000040fcca in ?? ()
#13 0x0000000000406c2d in ?? ()
#14 0x00007ffff652aec5 in __libc_start_main (main=0x405b80, argc=2, argv=0x7fffffffdc38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdc28) at libc-start.c:287
#15 0x0000000000407655 in ?? ()

Change History (1)

comment:1 Changed 22 months ago by dave

  • Resolution set to fixed
  • Status changed from new to closed

Whoops. Bug in new zero-copy optimization. Fixed in r5793

Note: See TracTickets for help on using tickets.