arts 1.2.0-0+cvs20030512 and xmmarts

Lenar Lõhmus lenar at vision.ee
Wed May 21 18:19:06 BST 2003


Hello,

Tried this new arts version and xmmsarts plugin won't work with it.
When starting playback, it prints following:

GThread-ERROR **: GThread system may only be initialized once.

According to this backtrace:

0  0x401eda41 in kill () from /lib/libc.so.6
#1  0x4008d24b in pthread_kill () from /lib/libpthread.so.0
#2  0x4008d521 in raise () from /lib/libpthread.so.0
#3  0x401ee976 in abort () from /lib/libc.so.6
#4  0x4007659a in g_logv () from /usr/lib/libglib-1.2.so.0
#5  0x400765bf in g_log () from /usr/lib/libglib-1.2.so.0
#6  0x400622de in g_thread_init () from /usr/lib/libgthread-1.2.so.0
#7  0x409f4003 in Arts::StdFlowSystem::StdFlowSystem() () from=20
/usr/lib/libartsflow.so.1
#8  0x409f672d in Arts::SetFlowSystem::startup() () from=20
/usr/lib/libartsflow.so.1
#9  0x40df672a in Arts::StartupManager::startup() () from=20
/usr/lib/libmcop.so.1
#10 0x40ddd140 in Arts::Dispatcher::Dispatcher(Arts::IOManager*,=20
Arts::Dispatcher::StartServer) () from /usr/lib/libmcop.so.1
#11 0x4083eaae in arts_backend_init () from /usr/lib/libartscbackend.so.0
#12 0x4001855a in arts_init () from /usr/lib/libartsc.so.0
#13 0x40390a0e in artsd_open (fmt=3DFMT_S16_NE, rate=3D44100, nch=3D2) at=20
audio.c:314
#14 0x40517811 in get_iplugin_info () from /usr/lib/xmms/Input/libmpg123.so
#15 0x4008ad53 in pthread_start_thread () from /lib/libpthread.so.0
#16 0x4008ad99 in pthread_start_thread_event () from /lib/libpthread.so.0

=2E. it happens when #7 (flow/gslschedule.c) calls #6. And yes it's the sec=
ond=20
call to g_thread_init. First one is made by xmms when it starts.

Shouldn't be there some check like g_thread_supported()? Actually I tried t=
his
but got segfault in gsl_thread_self() (at call to g_thread_self()) afterwar=
ds.

Can you pinpoint a simple workaraound/fix or is this more complicated?

Thanks,

Lenar Lõhmus



More information about the kde-multimedia mailing list