Csound Csound-dev Csound-tekno Search About

[Cs-dev] Lua module crashing on cleanup

Date2013-06-21 00:39
FromAndres Cabrera
Subject[Cs-dev] Lua module crashing on cleanup
Hi,

The Lua module is crashing on cleanup, although this only happens if 
Csound has been run. There seems to be no problem if cleanup is called. 
I am seeing this with CsoundQt for Csound6. Can anyone reproduce?

Cheers,
Andrés

0    __memmove_ssse3_back        1554    0x7ffff4ee9a4c
1    std::__copy_move::__copy_m 
  stl_algobase.h    366    0x7fffd28de3a6
2    std::__copy_move_a   
  stl_algobase.h    384    0x7fffd28ddaba
3    std::__copy_move_a2 > >, 
__gnu_cxx::__normal_iterator > > > 
  stl_algobase.h    422    0x7fffd28dc897
4  std::copy<__gnu_cxx::__normal_iterator > >, 
__gnu_cxx::__normal_iterator > > > 
  stl_algobase.h    454    0x7fffd28db72b
5    std::vector 
 >::erase    vector.tcc  139    0x7fffd28da6a0
6    manageLuaState    LuaCsound.cpp    168    0x7fffd28d8b5e
7    csoundModuleDestroy    LuaCsound.cpp    738    0x7fffd28d8cd4
8    csoundDestroyModules    csmodule.c    633    0x7ffff7a67f9e
9    reset    csound.c    2604    0x7ffff7a6bd3b
10    csoundDestroy    csound.c    1186    0x7ffff7a68a2e
11    CsoundEngine::cleanupCsound    csoundengine.cpp    1058  0x4570d3
12    CsoundEngine::stopCsound    csoundengine.cpp    1040  0x457041
13    CsoundEngine::stop    csoundengine.cpp    654    0x454df2
14    CsoundEngine::messageListDispatcher    csoundengine.cpp  1074   
  0x457145
15    QtConcurrent::StoredFunctorCall1::runFunctor    qtconcurrentstoredfunctioncall.h    276  0x45e37b
16    QtConcurrent::RunFunctionTask::run  qtconcurrentrunbase.h   
  133    0x45852a
17    ??    /usr/lib/x86_64-linux-gnu/libQt5Core.so.5  0x7ffff5c1ce22
18    ??    /usr/lib/x86_64-linux-gnu/libQt5Core.so.5  0x7ffff5c1fe7b
19    start_thread        311    0x7ffff5981f8e
20    clone        113    0x7ffff4e8de1d
...    


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-06-21 18:45
FromAndres Cabrera
SubjectRe: [Cs-dev] Lua module crashing on cleanup
AttachmentsNone  None  
Hi,

This was a case of linking to an older build. It's working fine.

Cheers,
Andrés


On Thu, Jun 20, 2013 at 4:39 PM, Andres Cabrera <mantaraya36@gmail.com> wrote:
Hi,

The Lua module is crashing on cleanup, although this only happens if Csound has been run. There seems to be no problem if cleanup is called. I am seeing this with CsoundQt for Csound6. Can anyone reproduce?

Cheers,
Andrés

0    __memmove_ssse3_back        1554    0x7ffff4ee9a4c
1    std::__copy_move<false, true, std::random_access_iterator_tag>::__copy_m<LuaStateForThread>  stl_algobase.h    366    0x7fffd28de3a6
2    std::__copy_move_a<false, LuaStateForThread*, LuaStateForThread*>    stl_algobase.h    384    0x7fffd28ddaba
3    std::__copy_move_a2<false, __gnu_cxx::__normal_iterator<LuaStateForThread*, std::vector<LuaStateForThread, std::allocator<LuaStateForThread> > >, __gnu_cxx::__normal_iterator<LuaStateForThread*, std::vector<LuaStateForThread, std::allocator<LuaStateForThread> > > >  stl_algobase.h    422    0x7fffd28dc897
4  std::copy<__gnu_cxx::__normal_iterator<LuaStateForThread*, std::vector<LuaStateForThread, std::allocator<LuaStateForThread> > >, __gnu_cxx::__normal_iterator<LuaStateForThread*, std::vector<LuaStateForThread, std::allocator<LuaStateForThread> > > >  stl_algobase.h    454    0x7fffd28db72b
5    std::vector<LuaStateForThread, std::allocator<LuaStateForThread> >::erase    vector.tcc  139    0x7fffd28da6a0
6    manageLuaState    LuaCsound.cpp    168    0x7fffd28d8b5e
7    csoundModuleDestroy    LuaCsound.cpp    738    0x7fffd28d8cd4
8    csoundDestroyModules    csmodule.c    633    0x7ffff7a67f9e
9    reset    csound.c    2604    0x7ffff7a6bd3b
10    csoundDestroy    csound.c    1186    0x7ffff7a68a2e
11    CsoundEngine::cleanupCsound    csoundengine.cpp    1058  0x4570d3
12    CsoundEngine::stopCsound    csoundengine.cpp    1040  0x457041
13    CsoundEngine::stop    csoundengine.cpp    654    0x454df2
14    CsoundEngine::messageListDispatcher    csoundengine.cpp  1074    0x457145
15    QtConcurrent::StoredFunctorCall1<void, void (*)(void*), void*>::runFunctor    qtconcurrentstoredfunctioncall.h    276  0x45e37b
16    QtConcurrent::RunFunctionTask<void>::run  qtconcurrentrunbase.h    133    0x45852a
17    ??    /usr/lib/x86_64-linux-gnu/libQt5Core.so.5  0x7ffff5c1ce22
18    ??    /usr/lib/x86_64-linux-gnu/libQt5Core.so.5  0x7ffff5c1fe7b
19    start_thread        311    0x7ffff5981f8e
20    clone        113    0x7ffff4e8de1d
...    <More>