LinuxSampler 0.5.1 segfault w/ jackdmp SVN

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

LinuxSampler 0.5.1 segfault w/ jackdmp SVN

juuso.alasuutari (Bugzilla)
LinuxSampler 0.5.1 segfaults while creating JACK audio outputs when I
try to run it with latest jackdmp from SVN. Works fine with normal jackd
from SVN.

Here's a backtrace:

(gdb) run
Starting program: /usr/bin/linuxsampler
[Thread debugging using libthread_db enabled]
[New Thread 0xb7a2a700 (LWP 24673)]
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
Registered audio output drivers: ALSA,JACK
Loading instrument editor plugins...OK
Registered instrument editors: 'gigedit'
Starting LSCP network server (0.0.0.0:8888)...[New Thread 0xb6c56b90
(LWP 24676)]
OK
LinuxSampler initialization completed. :-)

LSCPServer: Client connection established on socket:16.
Unloading instrument editor plugins...OK

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6c56b90 (LWP 24676)]
0x08059404 in ?? ()
(gdb) bt
#0  0x08059404 in ?? ()
#1  0xb7b41d4e in jack_format_and_log () from /usr/lib/libjack.so
#2  0xb7b41dfe in jack_error () from /usr/lib/libjack.so
#3  0xb7b3ad70 in jack_client_new () from /usr/lib/libjack.so
#4  0xb7ecfe80 in
LinuxSampler::AudioOutputDeviceJack::AudioOutputDeviceJack ()
    from /usr/lib/linuxsampler/liblinuxsampler.so.1
#5  0xb7ebbc8e in
LinuxSampler::AudioOutputDeviceFactory::InnerFactoryTemplate<LinuxSampler::AudioOutputDeviceJack>::Create
() from /usr/lib/linuxsampler/liblinuxsampler.so.1
#6  0xb7eb83f8 in LinuxSampler::AudioOutputDeviceFactory::Create () from
/usr/lib/linuxsampler/liblinuxsampler.so.1
#7  0xb7e27536 in LinuxSampler::Sampler::CreateAudioOutputDevice () from
/usr/lib/linuxsampler/liblinuxsampler.so.1
#8  0xb7e56ca9 in LSCPServer::CreateAudioOutputDevice () from
/usr/lib/linuxsampler/liblinuxsampler.so.1
#9  0xb7e30259 in yyparse () from /usr/lib/linuxsampler/liblinuxsampler.so.1
#10 0xb7e5abd0 in LSCPServer::Main () from
/usr/lib/linuxsampler/liblinuxsampler.so.1
#11 0xb7eedbee in LinuxSampler::__pthread_launcher () from
/usr/lib/linuxsampler/liblinuxsampler.so.1
#12 0xb7caa0e0 in start_thread () from /lib/libpthread.so.0
#13 0xb7c44afe in clone () from /lib/libc.so.6

Juuso

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: LinuxSampler 0.5.1 segfault w/ jackdmp SVN

juuso.alasuutari (Bugzilla)
Juuso Alasuutari wrote:
> LinuxSampler 0.5.1 segfaults while creating JACK audio outputs when I
> try to run it with latest jackdmp from SVN. Works fine with normal jackd
> from SVN.

I rebuilt jackdmp and linuxsampler with -ggdb and got a better trace.
Here's the beginning part which probably matters the most:

#0  0x08059404 in ?? ()
No symbol table info available.
#1  0xb7b18b54 in jack_format_and_log (level=2, prefix=0x0,
fmt=0xb7b30630 "jack_client_new: deprecated",
     ap=0xb6c2c604 "��﷨\203\005\b\020�¶8�¶") at
common/JackError.cpp:112
         buffer = "jack_client_new:
deprecated\000\001\000\000\000�\004\000\000\000\000\000\000H\025��\236ǯ�\000ǯ�`ï�\001\000\000\000�?��\000\027��H\025����¶\221J��`ï�\210�¶�G��\t\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\224�¶\210�����¶\221J��4\205��¶�G��\t\000\000\000��¶\236ǯ�\207�?t\000\000\000\000\000\000\000\000
\000\000\000\030�Ƿ\220\203\005\b�\216���d��a_��\000\000\000\000\000�¶N�޷"...
         len = 0
         log_function = (jack_log_function_t) 0x80593f0
#2  0xb7b18c0a in jack_error (fmt=0xb7b30630 "jack_client_new:
deprecated") at common/JackError.cpp:119
         ap = 0xb6c2c604 "��﷨\203\005\b\020�¶8�¶"
#3  0xb7b112fa in jack_client_new (client_name=0x804f314 "LinuxSampler")
at common/JackAPI.cpp:287
         options = -1213132070
#4  0xb7ea96b8 in AudioOutputDeviceJack (this=0x8058178,
Parameters=@0xb6c2c764) at AudioOutputDeviceJack.cpp:184
No locals.
#5  0xb7e94d83 in
LinuxSampler::AudioOutputDeviceFactory::InnerFactoryTemplate<LinuxSampler::AudioOutputDeviceJack>::Create
(this=0x804d5f0, Parameters=@0xb6c2c7fc) at AudioOutputDeviceFactory.h:51
No locals.
#6  0xb7e916ff in LinuxSampler::AudioOutputDeviceFactory::Create
(DriverName=@0xb6c2c904, Parameters=@0xb6c2c8d8)
     at AudioOutputDeviceFactory.cpp:102
         thisDeviceParams = {_M_t = {
     _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
LinuxSampler::DeviceCreationParameter*> > >> =
{<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
LinuxSampler::DeviceCreationParameter*> > >> = {<No data fields>}, <No
data fields>},
       _M_key_compare = {<std::binary_function<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,bool>> = {<No data
fields>}, <No data fields>},
       _M_header = {_M_color = std::_S_red, _M_parent = 0x804f328,
_M_left = 0x804f368, _M_right = 0x804f348},
       _M_node_count = 3}}}
         pParamFactory = <value optimized out>
         pDevice = <value optimized out>
#7  0xb7e01543 in LinuxSampler::Sampler::CreateAudioOutputDevice
(this=0x804dfc8, AudioDriver=@0xb6c2c9a4,
     Parameters=@0xb6c2c958) at Sampler.cpp:473
         pDevice = <value optimized out>

Juuso

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel