[SOLVED] LS crash after last CVS update

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
Alanpasi
Newbie
Posts: 9
Joined: Wed Jan 23, 2008 11:25 pm

[SOLVED] LS crash after last CVS update

Post by Alanpasi » Thu Jan 31, 2008 10:33 pm

Hi
After last CVS update i'm getting the folow Linuxsampler error:

LinuxSampler 0.5.1
Copyright (C) 2003,2004 by Benno Senoner and Christian Schoenebeck
Copyright (C) 2005-2007 Christian Schoenebeck
Detected features: MMX SSE SSE2
Creating Sampler...OK
Registered sampler engines: 'GIG'
Registered MIDI input drivers: ALSA,JACK
Registered audio output drivers: ALSA,ARTS,JACK
Loading instrument editor plugins...*** glibc detected *** linuxsampler: double free or corruption (!prev): 0x0805ab38 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7bc3d65]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7bc7800]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7da4d81]
/usr/local/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.so.0.0.0(_ZN18LinuxSamplerPluginD0Ev+0x79)[0xb77f5049]
/usr/local/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.so.0.0.0(_ZN12LinuxSampler23InstrumentEditorFactory20InnerFactoryTemplateI18LinuxSamplerPluginE7DestroyEPNS_16InstrumentEditorE+0x15)[0xb77f2ad5]
/usr/local/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.so.0.0.0[0xb77f2840]
/usr/local/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.so.0.0.0[0xb77f5146]
/usr/local/lib/linuxsampler/plugins/libgigeditlinuxsamplerplugin.so.0.0.0[0xb77f0e90]
/lib/ld-linux.so.2[0xb7fab3e0]
/lib/ld-linux.so.2[0xb7fab513]
/lib/ld-linux.so.2[0xb7faf1c4]
/lib/ld-linux.so.2[0xb7fab016]
/lib/ld-linux.so.2[0xb7fae99e]
/lib/tls/i686/cmov/libdl.so.2[0xb790cc19]
/lib/ld-linux.so.2[0xb7fab016]
/lib/tls/i686/cmov/libdl.so.2[0xb790d2bc]
/lib/tls/i686/cmov/libdl.so.2(dlopen+0x41)[0xb790cb51]
/usr/local/lib/linuxsampler/liblinuxsampler.so.1(_ZN12LinuxSampler23InstrumentEditorFactory11LoadPluginsEv+0x232)[0xb7f416f2]
/usr/local/lib/linuxsampler/liblinuxsampler.so.1(_ZN12LinuxSampler23InstrumentEditorFactory16AvailableEditorsEv+0x1c)[0xb7f41fdc]
/usr/local/lib/linuxsampler/liblinuxsampler.so.1(_ZN12LinuxSampler23InstrumentEditorFactory24AvailableEditorsAsStringEv+0x1f)[0xb7f424df]
linuxsampler[0x804b815]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7b70050]
linuxsampler(__gxx_personality_v0+0xf9)[0x804a5a1]
======= Memory map: ========
08048000-0804d000 r-xp 00000000 08:01 13943450 /usr/local/bin/linuxsampler
0804d000-0804e000 rw-p 00005000 08:01 13943450 /usr/local/bin/linuxsampler
0804e000-0806f000 rw-p 0804e000 00:00 0 [heap]
b6900000-b6921000 rw-p b6900000 00:00 0
b6921000-b6a00000 ---p b6921000 00:00 0
b6a33000-b6b27000 r-xp 00000000 08:01 13991938 /usr/local/lib/gigedit/libgigedit.so.0.0.0
b6b27000-b6b30000 rw-p 000f3000 08:01 13991938 /usr/local/lib/gigedit/libgigedit.so.0.0.0
b6b30000-b6b34000 r-xp 00000000 08:01 13748013 /usr/lib/libogg.so.0.5.3
b6b34000-b6b35000 rw-p 00003000 08:01 13748013 /usr/lib/libogg.so.0.5.3
b6b35000-b6b7a000 r-xp 00000000 08:01 23216189 /usr/lib/libFLAC.so.8.0.1
b6b7a000-b6b7b000 rw-p 00045000 08:01 23216189 /usr/lib/libFLAC.so.8.0.1
b6b7b000-b6b7f000 r-xp 00000000 08:01 13747202 /usr/lib/libXdmcp.so.6.0.0
b6b7f000-b6b80000 rw-p 00003000 08:01 13747202 /usr/lib/libXdmcp.so.6.0.0
b6b80000-b6ba2000 r-xp 00000000 08:01 13747486 /usr/lib/libpng12.so.0.15.0
b6ba2000-b6ba3000 rw-p 00021000 08:01 13747486 /usr/lib/libpng12.so.0.15.0
b6ba3000-b6ba5000 r-xp 00000000 08:01 13747045 /usr/lib/libXau.so.6.0.0
b6ba5000-b6ba6000 rw-p 00001000 08:01 13747045 /usr/lib/libXau.so.6.0.0
b6ba6000-b6bc4000 r-xp 00000000 08:01 13747059 /usr/lib/libexpat.so.1.0.0
b6bc4000-b6bc6000 rw-p 0001e000 08:01 13747059 /usr/lib/libexpat.so.1.0.0
b6bc6000-b6bda000 r-xp 00000000 08:01 13748369 /usr/lib/libz.so.1.2.3.3
b6bda000-b6bdb000 rw-p 00013000 08:01 13748369 /usr/lib/libz.so.1.2.3.3
b6bdb000-b6c47000 r-xp 00000000 08:01 23216499 /usr/lib/libfreetype.so.6.3.16
b6c47000-b6c4b000 rw-p 0006b000 08:01 23216499 /usr/lib/libfreetype.so.6.3.16
b6c4b000-b6c78000 r-xp 00000000 08:01 13747612 /usr/lib/libpangoft2-1.0.so.0.1800.3
b6c78000-b6c79000 rw-p 0002c000 08:01 13747612 /usr/lib/libpangoft2-1.0.so.0.1800.3
b6c79000-b6ccf000 r-xp 00000000 08:01 13746921 /usr/lib/libsndfile.so.1.0.17
b6ccf000-b6cd0000 rw-p 00056000 08:01 13746921 /usr/lib/libsndfile.so.1.0.17
b6cd0000-b6cd5000 rw-p b6cd0000 00:00 0
b6cd5000-b6d0f000 r-xp 00000000 08:01 13746914 /usr/lib/libgobject-2.0.so.0.1400.1
b6d0f000-b6d10000 rw-p 0003a000 08:01 13746914 /usr/lib/libgobject-2.0.so.0.1400.1
b6d10000-b6d14000 r-xp 00000000 08:01 13748512 /usr/lib/libXfixes.so.3.1.0
b6d14000-b6d15000 rw-p 00003000 08:01 13748512 /usr/lib/libXfixes.so.3.1.0
b6d15000-b6e02000 r-xp 00000000 08:01 13747854 /usr/lib/libX11.so.6.2.0
b6e02000-b6e06000 rw-p 000ed000 08:01 13747854 /usr/lib/libX11.so.6.2.0
b6e06000-b6e7b000 r-xp 00000000 08:01 13748229 /usr/lib/libcairo.so.2.11.5
b6e7b000-b6e7d000 rw-p 00074000 08:01 13748229 /usr/lib/libcairo.so.2.11.5
b6e7d000-b6eb8000 r-xp 00000000 08:01 13746450 /usr/lib/libpango-1.0.so.0.1800.3
b6eb8000-b6eba000 rw-p 0003b000 08:01 13746450 /usr/lib/libpango-1.0.so.0.1800.3
b6eba000-b6ebc000 r-xp 00000000 08:01 13747466 /usr/lib/libXdamage.so.1.1.0
b6ebc000-b6ebd000 rw-p 00001000 08:01 13747466 /usr/lib/libXdamage.so.1.1.0
b6ebd000-b6ec5000 r-xp 00000000 08:01 13748552 /usr/lib/libXcursor.so.1.0.2
b6ec5000-b6ec6000 rw-p 00007000 08:01 13748552 /usr/lib/libXcursor.so.1.0.2
b6ec6000-b6ecb000 r-xp 00000000 08:01 13748561 /usr/lib/libXrandr.so.2.1.0
b6ecb000-b6ecc000 rw-p 00005000 08:01 13748561 /usr/lib/libXrandr.so.2.1.0
b6ecc000-b6ed3000 r-xp 00000000 08:01 13748555 /usr/lib/libXi.so.6.0.0
b6ed3000-b6ed4000 rw-p 00006000 08:01 13748555 /usr/lib/libXi.so.6.0.0
b6ed4000-b6edb00Aborted (core dumped)

Thanks,
Álvaro
Last edited by Alanpasi on Fri Feb 01, 2008 10:40 pm, edited 1 time in total.

User avatar
dahnielson
Moderator
Posts: 632
Joined: Wed Jan 23, 2008 11:25 pm
Location: Linköping / Tranås, Sweden
Contact:

Re: LS crash after last CVS update

Post by dahnielson » Thu Jan 31, 2008 10:55 pm

Don't know if it will change the outcome, but have you tried to re-build gigedit?
Anders Dahnielson

Ardour2, Qtractor, Linuxsampler, M-AUDIO Delta 1010, Axiom 61, Korg D12, AKAI S2000, E-MU Proteus 2k, Roland R-5, Roland HP 1300e, Zoom RFX-1000, 4GB RAM x86_64 Intel Pentium Dual 1.80GHz Gentoo Linux

Alanpasi
Newbie
Posts: 9
Joined: Wed Jan 23, 2008 11:25 pm

Re: LS crash after last CVS update

Post by Alanpasi » Thu Jan 31, 2008 11:04 pm

Hi
Rebuilded all modules (libgig, liblscp and gigedit) but remain the same error.

Thanks,
Álvaro

User avatar
cuse
Developer
Posts: 349
Joined: Wed Jan 23, 2008 10:07 pm
Location: Germany

Re: LS crash after last CVS update

Post by cuse » Fri Feb 01, 2008 11:51 am

Andreas had the exact same problem just after I commited it. The reason was: he still had the old gigedit plugin installed in the LS's plugin directory, so there were two gigedit plugins (.so files) which both tried to register themselfes as "gigedit". He moved the old plugn out of the way and then it worked.

Alanpasi
Newbie
Posts: 9
Joined: Wed Jan 23, 2008 11:25 pm

Re: LS crash after last CVS update

Post by Alanpasi » Fri Feb 01, 2008 10:38 pm

Removed the old files. Now LS is working.

/usr/local/lib/linuxsampler/plugins$ ls
libgigeditlinuxsamplerplugin.a libgigeditlinuxsamplerplugin.so libgigeditlinuxsamplerplugin.so.0.0.0 libgigeditlinuxsamplerplugin.so.1.0.0
libgigeditlinuxsamplerplugin.la libgigeditlinuxsamplerplugin.so.0 libgigeditlinuxsamplerplugin.so.1

/usr/local/lib/linuxsampler/plugins$ sudo rm libgigeditlinuxsamplerplugin.so.0
/usr/local/lib/linuxsampler/plugins$ sudo rm libgigeditlinuxsamplerplugin.so.0.0.0

Thank you,
Álvaro

Post Reply