Summary: | LS crashes when loading SFZ with lochan/hichan opcode | ||
---|---|---|---|
Product: | LinuxSampler | Reporter: | gabbe.nord |
Component: | other | Assignee: | Andreas Persson <andreas56> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | andreas56, cuse |
Priority: | P5 | ||
Version: | SVN Trunk | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: | Sfz+samples that crash LS |
Created attachment 56 [details] Sfz+samples that crash LS tar.gz with sfz+samples attatched. Backtrace: Loading sfz file '/mnt/sdb3/workdir/downloads/patch.sfz'...*** glibc detected *** linuxsampler: double free or corruption (!prev): 0x00007f6d8aee23f0 *** ======= Backtrace: ========= /lib/libc.so.6(+0x784b6)[0x7f6d9614d4b6] /usr/lib/linuxsampler/liblinuxsampler.so.3(_ZN3sfz11LookupTableC2EPKNS_10InstrumentEi+0x614)[0x7f6d96d58564] /usr/lib/linuxsampler/liblinuxsampler.so.3(_ZN3sfz4FileC2ESsPNS_13SampleManagerE+0xd26)[0x7f6d96d2d6f6] /usr/lib/linuxsampler/liblinuxsampler.so.3(_ZN12LinuxSampler3sfz25InstrumentResourceManager18SfzResourceManager6CreateESsPNS_16ResourceConsumerIN3sfz4FileEEERPv+0x66)[0x7f6d96d32156] /usr/lib/linuxsampler/liblinuxsampler.so.3(_ZN12LinuxSampler15ResourceManagerISsN3sfz4FileEE6BorrowESsPNS_16ResourceConsumerIS2_EEb+0x313)[0x7f6d96d35473] /usr/lib/linuxsampler/liblinuxsampler.so.3(_ZN12LinuxSampler3sfz25InstrumentResourceManager6CreateENS_17InstrumentManager15instrument_id_tEPNS_16ResourceConsumerIN3sfz10InstrumentEEERPv+0x46)[0x7f6d96d327f6] /usr/lib/linuxsampler/liblinuxsampler.so.3(_ZN12LinuxSampler15ResourceManagerINS_17InstrumentManager15instrument_id_tEN3sfz10InstrumentEE6BorrowES2_PNS_16ResourceConsumerIS4_EEb+0x2b1)[0x7f6d96d3de41] /usr/lib/linuxsampler/liblinuxsampler.so.3(_ZN12LinuxSampler3sfz13EngineChannel14LoadInstrumentEv+0x2e5)[0x7f6d96d3b115] /usr/lib/linuxsampler/liblinuxsampler.so.3(_ZN12LinuxSampler10LSCPServer14LoadInstrumentESsjjb+0xa9)[0x7f6d96cb1bb9] /usr/lib/linuxsampler/liblinuxsampler.so.3(_Z7yyparsePv+0x7283)[0x7f6d96ca8ca3] /usr/lib/linuxsampler/liblinuxsampler.so.3(_ZN12LinuxSampler10LSCPServer4MainEv+0x982)[0x7f6d96cc5752] /usr/lib/linuxsampler/liblinuxsampler.so.3(+0x20d4d4)[0x7f6d96dba4d4] /lib/libpthread.so.0(+0x7e0f)[0x7f6d96998e0f] /lib/libc.so.6(clone+0x6d)[0x7f6d961b905d] ======= Memory map: ======== 00400000-00405000 r-xp 00000000 08:03 28663 /usr/bin/linuxsampler 00605000-00606000 rw-p 00005000 08:03 28663 /usr/bin/linuxsampler 0109f000-01166000 rw-p 00000000 00:00 0 [heap] 7f6d84000000-7f6d84021000 rw-p 00000000 00:00 0 7f6d84021000-7f6d88000000 ---p 00000000 00:00 0 7f6d88000000-7f6d8aeeb000 rw-p 00000000 00:00 0 7f6d8aeeb000-7f6d8c000000 ---p 00000000 00:00 0 7f6d8c000000-7f6d8ff52000 rw-p 00000000 00:00 0 7f6d8ff52000-7f6d90000000 ---p 00000000 00:00 0 7f6d9031d000-7f6d9031e000 ---p 00000000 00:00 0 7f6d9031e000-7f6d90b1e000 rw-p 00000000 00:00 0 [stack:2518] 7f6d90b1e000-7f6d90cb5000 r-xp 00000000 08:03 21298 /usr/lib/ladspa/calf.so 7f6d90cb5000-7f6d90eb5000 ---p 00197000 08:03 21298 /usr/lib/ladspa/calf.so 7f6d90eb5000-7f6d90ee1000 r--p 00197000 08:03 21298 /usr/lib/ladspa/calf.so 7f6d90ee1000-7f6d90ee6000 rw-p 001c3000 08:03 21298 /usr/lib/ladspa/calf.so 7f6d90ee6000-7f6d9163e000 rw-p 00000000 00:00 0 7f6d9163e000-7f6d91651000 r-xp 00000000 08:03 28101 /usr/lib/libresolv-2.16.so 7f6d91651000-7f6d91851000 ---p 00013000 08:03 28101 /usr/lib/libresolv-2.16.so 7f6d91851000-7f6d91852000 r--p 00013000 08:03 28101 /usr/lib/libresolv-2.16.so 7f6d91852000-7f6d91853000 rw-p 00014000 08:03 28101 /usr/lib/libresolv-2.16.so 7f6d91853000-7f6d91855000 rw-p 00000000 00:00 0 7f6d91855000-7f6d9186a000 r-xp 00000000 08:03 3043 /usr/lib/libz.so.1.2.7 7f6d9186a000-7f6d91a69000 ---p 00015000 08:03 3043 /usr/lib/libz.so.1.2.7 7f6d91a69000-7f6d91a6a000 r--p 00014000 08:03 3043 /usr/lib/libz.so.1.2.7 7f6d91a6a000-7f6d91a6b000 rw-p 00015000 08:03 3043 /usr/lib/libz.so.1.2.7 7f6d91a6b000-7f6d91a72000 r-xp 00000000 08:03 6854 /usr/lib/libffi.so.6.0.0 7f6d91a72000-7f6d91c71000 ---p 00007000 08:03 6854 /usr/lib/libffi.so.6.0.0 7f6d91c71000-7f6d91c72000 r--p 00006000 08:03 6854 /usr/lib/libffi.so.6.0.0 7f6d91c72000-7f6d91c73000 rw-p 00007000 08:03 6854 /usr/lib/libffi.so.6.0.0 7f6d91c73000-7f6d91cd0000 r-xp 00000000 08:03 4181 /usr/lib/libpcre.so.1.0.1 7f6d91cd0000-7f6d91ecf000 ---p 0005d000 08:03 4181 /usr/lib/libpcre.so.1.0.1 7f6d91ecf000-7f6d91ed0000 r--p 0005c000 08:03 4181 /usr/lib/libpcre.so.1.0.1 7f6d91ed0000-7f6d91ed1000 rw-p 0005d000 08:03 4181 /usr/lib/libpcre.so.1.0.1 7f6d92243000-7f6d92246000 r-xp 00000000 08:03 20750 /usr/lib/ladspa/triple_para_1204.so 7f6d92246000-7f6d92446000 ---p 00003000 08:03 20750 /usr/lib/ladspa/triple_para_1204.so 7f6d92446000-7f6d92447000 r--p 00003000 08:03 20750 /usr/lib/ladspa/triple_para_1204.so 7f6d92447000-7f6d92448000 rw-p 00004000 08:03 20750 /usr/lib/ladspa/triple_para_1204.so 7f6d92448000-7f6d9258d000 r-xp 00000000 08:03 23577 /usr/lib/libgio-2.0.so.0.3200.4 7f6d9258d000-7f6d9278d000 ---p 00145000 08:03 23577 /usr/lib/libgio-2.0.so.0.3200.4 7f6d9278d000-7f6d92791000 r--p 00145000 08:03 23577 /usr/lib/libgio-2.0.so.0.3200.4 7f6d92791000-7f6d92793000 rw-p 00149000 08:03 23577 /usr/lib/libgio-2.0.so.0.3200.4 7f6d92793000-7f6d92795000 rw-p 00000000 00:00 0 7f6d92795000-7f6d928bc000 r-xp 00000000 08:03 21370 /usr/lib/libgiomm-2.4.so.1.3.0 7f6d928bc000-7f6d92abc000 ---p 00127000 08:03 21370 /usr/lib/libgiomm-2.4.so.1.3.0 7f6d92abc000-7f6d92acf000 r--p 00127000 08:03 21370 /usr/lib/libgiomm-2.4.so.1.3.0 7f6d92acf000-7f6d92ad3000 rw-p 0013a000 08:03 21370 /usr/lib/libgiomm-2.4.so.1.3.0 7f6d92ad3000-7f6d92ad4000 rw-p 00000000 00:00 0 7f6d92ad4000-7f6d92ad8000 r-xp 00000000 08:03 5957 /usr/lib/libsigc-2.0.so.0.0.0 7f6d92ad8000-7f6d92cd8000 ---p 00004000 08:03 5957 /usr/lib/libsigc-2.0.so.0.0.0 7f6d92cd8000-7f6d92cd9000 r--p 00004000 08:03 5957 /usr/lib/libsigc-2.0.so.0.0.0 7f6d92cd9000-7f6d92cda000 rw-p 00005000 08:03 5957 /usr/lib/libsigc-2.0.so.0.0.0 7f6d92cda000-7f6d92d26000 r-xp 00000000 08:03 23573 /usr/lib/libgobject-2.0.so.0.3200.4 7f6d92d26000-7f6d92f26000 ---p 0004c000 08:03 23573 /usr/lib/libgobject-2.0.so.0.3200.4 7f6d92f26000-7f6d92f27000 r--p 0004c000 08:03 23573 /usr/lib/libgobject-2.0.so.0.3200.4 7f6d92f27000-7f6d92f28000 rw-p 0004d000 08:03 23573 /usr/lib/libgobject-2.0.so.0.3200.4 7f6d92f28000-7f6d92f90000 r-xp 00000000 08:03 21369 /usr/lib/libglibmm-2.4.so.1.3.0 7f6d92f90000-7f6d9318f000 ---p 00068000 08:03 21369 /usr/lib/libglibmm-2.4.so.1.3.0 7f6d9318f000-7f6d93191000 r--p 00067000 08:03 21369 /usr/lib/libglibmm-2.4.so.1.3.0 7f6d93191000-7f6d93194000 rw-p 00069000 08:03 21369 /usr/lib/libglibmm-2.4.so.1.3.0 7f6d93194000-7f6d93197000 r-xp 00000000 08:03 20248 /usr/lib/libgmodule-2.0.so.0.3200.4 7f6d93197000-7f6d93396000 ---p 00003000 08:03 20248 /usr/lib/libgmodule-2.0.so.0.3200.4 7f6d93396000-7f6d93397000 r--p 00002000 08:03 20248 /usr/lib/libgmodule-2.0.so.0.3200.4 7f6d93397000-7f6d93398000 rw-p 00003000 08:03 20248 /usr/lib/libgmodule-2.0.so.0.3200.4 7f6d93398000-7f6d9348a000 r-xp 00000000 08:03 20247 /usr/lib/libglib-2.0.so.0.3200.4 7f6d9348a000-7f6d93689000 ---p 000f2000 08:03 20247 /usr/lib/libglib-2.0.so.0.3200.4 7f6d93689000-7f6d9368a000 r--p 000f1000 08:03 20247 /usr/lib/libglib-2.0.so.0.3200.4 7f6d9368a000-7f6d9368b000 rw-p 000f2000 08:03 20247 /usr/lib/libglib-2.0.so.0.3200.4 7f6d9368b000-7f6d9368c000 rw-p 00000000 00:00 0 7f6d937c2000-7f6d937c3000 ---p 00000000 00:00 0 7f6d937c3000-7f6d93843000 rw-p 00000000 00:00 0 [stack:2522] 7f6d93843000-7f6d9386b000 r-xp 00000000 08:03 1532 /usr/lib/libexpat.so.1.6.0 7f6d9386b000-7f6d93a6a000 ---p 00028000 08:03 1532 /usr/lib/libexpat.so.1.6.0 7f6d93a6a000-7f6d93a6c000 r--p 00027000 08:03 1532 /usr/lib/libexpat.so.1.6.0 7f6d93a6c000-7f6d93a6d000 rw-p 00029000 08:03 1532 /usr/lib/libexpat.so.1.6.0 7f6d93a6d000-7f6d93e19000 r--p 00000000 08:03 3549 /usr/lib/locale/locale-archive 7f6d93e1b000-7f6d93e1c000 r-xp 00000000 08:03 20306 /usr/lib/libgthread-2.0.so.0.3200.4 7f6d93e1c000-7f6d9401b000 ---p 00001000 08:03 20306 /usr/lib/libgthread-2.0.so.0.3200.4 7f6d9401b000-7f6d9401c000 r--p 00000000 08:03 20306 /usr/lib/libgthread-2.0.so.0.3200.4 7f6d9401c000-7f6d9401d000 rw-p 00001000 08:03 20306 /usr/lib/libgthread-2.0.so.0.3200.4 7f6d9401d000-7f6d94022000 rw-p 00000000 00:00 0 7f6d94022000-7f6d94028000 r-xp 00000000 08:03 1340 /usr/lib/libogg.so.0.8.0 7f6d94028000-7f6d94227000 ---p 00006000 08:03 1340 /usr/lib/libogg.so.0.8.0 7f6d94227000-7f6d94228000 rw-p 00005000 08:03 1340 /usr/lib/libogg.so.0.8.0 7f6d94228000-7f6d94229000 rw-p 00000000 00:00 0 7f6d94229000-7f6d94255000 r-xp 00000000 08:03 7978 /usr/lib/libvorbis.so.0.4.6 7f6d94255000-7f6d94454000 ---p 0002c000 08:03 7978 /usr/lib/libvorbis.so.0.4.6 7f6d94454000-7f6d94455000 r--p 0002b000 08:03 7978 /usr/lib/libvorbis.so.0.4.6 7f6d94455000-7f6d94456000 rw-p 0002c000 08:03 7978 /usr/lib/libvorbis.so.0.4.6 7f6d94456000-7f6d94709000 r-xp 00000000 08:03 7983 /usr/lib/libvorbisenc.so.2.0.9 7f6d94709000-7f6d94908000 ---p 002b3000 08:03 7983 /usr/lib/libvorbisenc.so.2.0.9 7f6d94908000-7f6d94924000 r--p 002b2000 08:03 7983 /usr/lib/libvorbisenc.so.2.0.9 7f6d94924000-7f6d94925000 rw-p 002ce000 08:03 7983 /usr/lib/libvorbisenc.so.2.0.9 7f6d94925000-7f6d9496f000 r-xp 00000000 08:03 12643 /usr/lib/libFLAC.so.8.2.0 7f6d9496f000-7f6d94b6e000 ---p 0004a000 08:03 12643 /usr/lib/libFLAC.so.8.2.0 7f6d94b6e000-7f6d94b70000 rw-p 00049000 08:03 12643 /usr/lib/libFLAC.so.8.2.0 7f6d94b70000-7f6d94b73000 r-xp 00000000 08:03 28090 /usr/lib/libdl-2.16.so 7f6d94b73000-7f6d94d72000 ---p 00003000 08:03 28090 /usr/lib/libdl-2.16.so 7f6d94d72000-7f6d94d73000 r--p 00002000 08:03 28090 /usr/lib/libdl-2.16.so 7f6d94d73000-7f6d94d74000 rw-p 00003000 08:03 28090 /usr/lib/libdl-2.16.so 7f6d94d74000-7f6d94e6d000 r-xp 00000000 08:03 28060 /usr/lib/libm-2.16.so 7f6d94e6d000-7f6d9506c000 ---p 000f9000 08:03 28060 /usr/lib/libm-2.16.so 7f6d9506c000-7f6d9506d000 r--p 000f8000 08:03 28060 /usr/lib/libm-2.16.so 7f6d9506d000-7f6d9506e000 rw-p 000f9000 08:03 28060 /usr/lib/libm-2.16.so 7f6d9506e000-7f6d95072000 r-xp 00000000 08:03 3068 /usr/lib/libuuid.so.1.3.0 7f6d95072000-7f6d95271000 ---p 00004000 08:03 3068 /usr/lib/libuuid.so.1.3.0 7f6d95271000-7f6d95272000 r--p 00003000 08:03 3068 /usr/lib/libuuid.so.1.3.0 7f6d95272000-7f6d95273000 rw-p 00004000 08:03 3068 /usr/lib/libuuid.so.1.3.0 7f6d95273000-7f6d9535e000 r-xp 00000000 08:03 85 /usr/lib/libasound.so.2.0.0 7f6d9535e000-7f6d9555e000 ---p 000eb000 08:03 85 /usr/lib/libasound.so.2.0.0 7f6d9555e000-7f6d95564000 r--p 000eb000 08:03 85 /usr/lib/libasound.so.2.0.0 7f6d95564000-7f6d95566000 rw-p 000f1000 08:03 85 /usr/lib/libasound.so.2.0.0 7f6d95566000-7f6d9556d000 r-xp 00000000 08:03 28070 /usr/lib/librt-2.16.so 7f6d9556d000-7f6d9576c000 ---p 00007000 08:03 28070 /usr/lib/librt-2.16.so 7f6d9576c000-7f6d9576d000 r--p 00006000 08:03 28070 /usr/lib/librt-2.16.so 7f6d9576d000-7f6d9576e000 rw-p 00007000 08:03 28070 /usr/lib/librt-2.16.so 7f6d9576e000-7f6d95781000 r-xp 00000000 08:03 8420 /usr/lib/libjack.so.0.0.28 7f6d95781000-7f6d95980000 ---p 00013000 08:03 8420 /usr/lib/libjack.so.0.0.28 7f6d95980000-7f6d95981000 r--p 00012000 08:03 8420 /usr/lib/libjack.so.0.0.28 7f6d95981000-7f6d95982000 rw-p 00013000 08:03 8420 /usr/lib/libjack.so.0.0.28 7f6d95982000-7f6d9598b000 rw-p 00000000 00:00 0 7f6d9598b000-7f6d959ea000 r-xp 00000000 08:03 1744 /usr/lib/libsndfile.so.1.0.25 7f6d959ea000-7f6d95bea000 ---p 0005f000 08:03 1744 /usr/lib/libsndfile.so.1.0.25 7f6d95bea000-7f6d95bec000 r--p 0005f000 08:03 1744 /usr/lib/libsndfile.so.1.0.25 7f6d95bec000-7f6d95bed000 rw-p 00061000 08:03 1744 /usr/lib/libsndfile.so.1.0.25 7f6d95bed000-7f6d95bf1000 rw-p 00000000 00:00 0 7f6d95bf1000-7f6d95c29000 r-xp 00000000 08:03 26928 /usr/lib/libgig.so.6.4.0 7f6d95c29000-7f6d95e29000 ---p 00038000 08:03 26928 /usr/lib/libgig.so.6.4.0 7f6d95e29000-7f6d95e2b000 rw-p 00038000 08:03 26928 /usr/lib/libgig.so.6.4.0 7f6d95e2b000-7f6d95ed1000 r-xp 00000000 08:03 6199 /usr/lib/libsqlite3.so.0.8.6 7f6d95ed1000-7f6d960d0000 ---p 000a6000 08:03 6199 /usr/lib/libsqlite3.so.0.8.6 7f6d960d0000-7f6d960d2000 r--p 000a5000 08:03 6199 /usr/lib/libsqlite3.so.0.8.6 7f6d960d2000-7f6d960d5000 rw-p 000a7000 08:03 6199 /usr/lib/libsqlite3.so.0.8.6 7f6d960d5000-7f6d96270000 r-xp 00000000 08:03 28074 /usr/lib/libc-2.16.so 7f6d96270000-7f6d9646f000 ---p 0019b000 08:03 28074 /usr/lib/libc-2.16.so 7f6d9646f000-7f6d96473000 r--p 0019a000 08:03 28074 /usr/lib/libc-2.16.so 7f6d96473000-7f6d96475000 rw-p 0019e000 08:03 28074 /usr/lib/libc-2.16.so 7f6d96475000-7f6d96479000 rw-p 00000000 00:00 0 7f6d96479000-7f6d9648e000 r-xp 00000000 08:03 2584 /usr/lib/libgcc_s.so.1 7f6d9648e000-7f6d9668d000 ---p 00015000 08:03 2584 /usr/lib/libgcc_s.so.1 7f6d9668d000-7f6d9668e000 rw-p 00014000 08:03 2584 /usr/lib/libgcc_s.so.1 7f6d9668e000-7f6d96773000 r-xp 00000000 08:03 1053 /usr/lib/libstdc++.so.6.0.17 7f6d96773000-7f6d96972000 ---p 000e5000 08:03 1053 /usr/lib/libstdc++.so.6.0.17 7f6d96972000-7f6d9697a000 r--p 000e4000 08:03 1053 /usr/lib/libstdc++.so.6.0.17 7f6d9697a000-7f6d9697c000 rw-p 000ec000 08:03 1053 /usr/lib/libstdc++.so.6.0.17 7f6d9697c000-7f6d96991000 rw-p 00000000 00:00 0 7f6d96991000-7f6d969a8000 r-xp 00000000 08:03 28084 /usr/lib/libpthread-2.16.so 7f6d969a8000-7f6d96ba7000 ---p 00017000 08:03 28084 /usr/lib/libpthread-2.16.so 7f6d96ba7000-7f6d96ba8000 r--p 00016000 08:03 28084 /usr/lib/libpthread-2.16.so 7f6d96ba8000-7f6d96ba9000 rw-p 00017000 08:03 28084 /usr/lib/libpthread-2.16.so 7f6d96ba9000-7f6d96bad000 rw-p 00000000 00:00 0 7f6d96bad000-7f6d96e1b000 r-xp 00000000 08:03 2498670 /usr/lib/linuxsampler/liblinuxsampler.so.3.0.0 7f6d96e1b000-7f6d9701b000 ---p 0026e000 08:03 2498670 /usr/lib/linuxsampler/liblinuxsampler.so.3.0.0 7f6d9701b000-7f6d9702f000 rw-p 0026e000 08:03 2498670 /usr/lib/linuxsampler/liblinuxsampler.so.3.0.0 7f6d9702f000-7f6d9703a000 rw-p 00000000 00:00 0 7f6d9703a000-7f6d9705b000 r-xp 00000000 08:03 28112 /usr/lib/ld-2.16.so 7f6d97071000-7f6d970b1000 rw-s 00000000 00:04 196612 /SYSV00000000 (deleted) 7f6d970b1000-7f6d970f1000 rw-s 00000000 00:04 163843 /SYSV00000000 (deleted) 7f6d970f1000-7f6d970f2000 ---p 00000000 00:00 0 7f6d970f2000-7f6d97172000 rw-p 00000000 00:00 0 [stack:2520] 7f6d97172000-7f6d971ac000 rw-s 00000000 00:04 131074 /SYSV00000000 (deleted) 7f6d971ac000-7f6d971ad000 ---p 00000000 00:00 0 7f6d971ad000-7f6d97232000 rw-p 00000000 00:00 0 [stack:2517] 7f6d97255000-7f6d97256000 rw-p 00000000 00:00 0 7f6d97256000-7f6d97257000 rw-s 00000000 00:04 236093440 /SYSV00000000 (deleted) 7f6d97257000-7f6d97259000 rw-s 00000000 00:04 98305 /SYSV00282929 (deleted) 7f6d97259000-7f6d9725b000 rw-p 00000000 00:00 0 7f6d9725b000-7f6d9725c000 r--p 00021000 08:03 28112 /usr/lib/ld-2.16.so 7f6d9725c000-7f6d9725d000 rw-p 00022000 08:03 28112 /usr/lib/ld-2.16.so 7f6d9725d000-7f6d9725e000 rw-p 00000000 00:00 0 7fff41440000-7fff41461000 rw-p 00000000 00:00 0 [stack] 7fff4157d000-7fff4157e000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:000 [vsyscall]