Csound Csound-dev Csound-tekno Search About

[Cs-dev] chnset hanging on Linux

Date2012-12-24 14:34
Fromjohn ffitch
Subject[Cs-dev] chnset hanging on Linux
It is stuck in a csoundSpinLock(lock); on line 991 of OOps/bus.c
Possible a lock not initialised?

#0  0x00007ffff7963442 in ?? () from /lib64/libpthread.so.0
#1  0x000000000045c882 in chnset_opcode_init_i (csound=0x87b4d8, p=0x9217d0)
    at OOps/bus.c:991
#2  0x00000000004321ec in insert (csound=csound@entry=0x839410, 
    insno=insno@entry=1, newevtp=newevtp@entry=0x83cf50) at Engine/insert.c:226
#3  0x000000000043537e in process_score_event (csound=csound@entry=0x839410, 
    evt=evt@entry=0x83cf50, rtEvt=rtEvt@entry=0) at Engine/musmon.c:689
#4  0x00000000004363d0 in sensevents (csound=0x839410, csound@entry=0x878130)
    at Engine/musmon.c:875
#5  0x000000000040d1da in csoundPerform (csound=0x878130, csound@entry=
    0x839410) at Top/csound.c:1741
#6  0x0000000000405ca0 in main (argc=2, argv=0x7fffffffe018)
    at frontends/csound/csound_main.c:139
(gdb) up
#1  0x000000000045c882 in chnset_opcode_init_i (csound=0x87b4d8, p=0x9217d0)
    at OOps/bus.c:991
991         csoundSpinLock(lock);
(gdb) list
986                                   CSOUND_CONTROL_CHANNEL | CSOUND_OUTPUT_CHANNEL);
987         if (UNLIKELY(err))
988           return print_chn_err(p, err);
989         p->lock = lock = csoundGetChannelLock(csound, (char*) p->iname,
990                                     CSOUND_CONTROL_CHANNEL | CSOUND_OUTPUT_CHANNEL);
991         csoundSpinLock(lock);
992         *(p->fp) = *(p->arg);
993         csoundSpinUnLock(lock);
994
995         return OK;

==John ffitch

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net