Opened 13 years ago

Closed 13 years ago

#275 closed Bug Report (invalid)

segfault on Ctrl+A Del

Reported by: kfoltman Owned by:
Priority: major Component: Ingen
Keywords: Cc:

Description

Steps to reproduce:

  1. Add an audio input
  2. Press Ctrl+A
  3. Press Del
[NodeFactory] LADSPA_PATH is empty.  Assuming /usr/lib/ladspa:/usr/local/lib/ladspa:~/.ladspa

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb70729e0 (LWP 28950)]
0x0804e78d in boost::detail::atomic_exchange_and_add (pw=0x206, dv=-1)
    at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:50
50	    );
(gdb) bt
#0  0x0804e78d in boost::detail::atomic_exchange_and_add (pw=0x206, dv=-1)
    at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:50
#1  0x0804e892 in boost::detail::sp_counted_base::release (this=0x202)
    at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:143
#2  0x0804e8f6 in ~shared_count (this=0xbfd75d10)
    at /usr/include/boost/detail/shared_count.hpp:205
#3  0xb5938b0a in ~shared_ptr (this=0xbfd75d0c)
    at /usr/include/boost/shared_ptr.hpp:131
#4  0xb5951eb8 in boost::shared_ptr<FlowCanvas::Module>::reset (this=0x87a2ca0)
    at /usr/include/boost/shared_ptr.hpp:288
#5  0xb59473d7 in Ingen::GUI::PatchCanvas::remove_port (this=0x86328c0, pm=
        {px = 0xbfd75dc4, pn = {pi_ = 0xbfd75e30}})
    at ../ingen/src/gui/PatchCanvas.cpp:401
#6  0xb595242e in sigc::bound_mem_functor1<void, Ingen::GUI::PatchCanvas, boost::shared_ptr<Ingen::Client::PortModel> >::operator() (this=0x86eac94, 
    _A_a1=@0xbfd75fc4)
    at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1851
#7  0xb595248b in sigc::adaptor_functor<sigc::bound_mem_functor1<void, Ingen::GUI::PatchCanvas, boost::shared_ptr<Ingen::Client::PortModel> > >::operator()<boost::shared_ptr<Ingen::Client::PortModel> const&> (this=0x86eac90, 
    _A_arg1=@0xbfd75fc4)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:84
#8  0xb59524be in sigc::internal::slot_call1<sigc::bound_mem_functor1<void, Inge---Type <return> to continue, or q <return> to quit---
n::GUI::PatchCanvas, boost::shared_ptr<Ingen::Client::PortModel> >, void, boost::shared_ptr<Ingen::Client::PortModel> >::call_it (rep=0x86eac78, 
    a_1=@0xbfd75fc4) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:137
#9  0xb6e7d94e in sigc::internal::signal_emit1<void, boost::shared_ptr<Ingen::Client::PortModel>, sigc::nil>::emit (impl=0x86fc5a0, _A_a1=@0xbfd75fc4)
    at /usr/include/sigc++-2.0/sigc++/signal.h:692
#10 0xb6e7da2b in sigc::signal1<void, boost::shared_ptr<Ingen::Client::PortModel>, sigc::nil>::emit (this=0x82bad34, _A_a1=@0xbfd75fc4)
    at /usr/include/sigc++-2.0/sigc++/signal.h:1818
#11 0xb6e8b688 in Ingen::Client::NodeModel::remove_port (this=0x82bacb8, port=
        {px = 0xbfd75fc4, pn = {pi_ = 0x0}})
    at ../ingen/src/client/NodeModel.cpp:77
#12 0xb6e937ae in Ingen::Client::PatchModel::remove_child (this=0x82bacb8, o=
        {px = 0xbfd760ac, pn = {pi_ = 0xbfd760a4}})
    at ../ingen/src/client/PatchModel.cpp:56
#13 0xb6e6c5d6 in Ingen::Client::ClientStore::remove_object (this=0x85edea0, 
    path=@0xbfd760f8) at ../ingen/src/client/ClientStore.cpp:316
#14 0xb6e6c78f in Ingen::Client::ClientStore::destroy (this=0x85edea0, 
    path=@0x87c35d4) at ../ingen/src/client/ClientStore.cpp:374
#15 0xb6e76ac8 in sigc::bound_mem_functor1<void, Ingen::Client::ClientStore, std::string const&>::operator() (this=0x85ef19c, _A_a1=@0x87c35d4)
    at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1851
#16 0xb6e76af5 in sigc::adaptor_functor<sigc::bound_mem_functor1<void, Ingen::Cl---Type <return> to continue, or q <return> to quit---
ient::ClientStore, std::string const&> >::operator()<std::string const&> (
    this=0x85ef198, _A_arg1=@0x87c35d4)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:84
#17 0xb6e76b28 in sigc::internal::slot_call1<sigc::bound_mem_functor1<void, Ingen::Client::ClientStore, std::string const&>, void, std::string>::call_it (
    rep=0x85ef180, a_1=@0x87c35d4)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:137
warning: (Internal error: pc 0xb6ea1ca9 in read in psymtab, but not in symtab.)

#18 0xb6ea1caa in sigc::internal::signal_emit1<void, std::string, sigc::nil>::emit (impl=warning: (Internal error: pc 0xb6ea1ca9 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0xb6ea1bad in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0xb6ea1ca9 in read in psymtab, but not in symtab.)

0x85edfb8, _A_a1=warning: (Internal error: pc 0xb6ea1ca9 in read in psymtab, but not in symtab.)

@0x87c35d4)
    at /usr/include/sigc++-2.0/sigc++/signal.h:692
warning: (Internal error: pc 0xb6ea1d87 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0xb6ea1d86 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0xb6ea1d86 in read in psymtab, but not in symtab.)

#19 0xb6ea1d87 in sigc::signal1<void, std::string, sigc::nil>::emit (this=warning: (Internal error: pc 0xb6ea1d86 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0xb6ea1d60 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0xb6ea1d86 in read in psymtab, but not in symtab.)


0x85ed990, _A_a1=warning: (Internal error: pc 0xb6ea1d86 in read in psymtab, but not in symtab.)

@0x87c35d4) at /usr/include/sigc++-2.0/sigc++/signal.h:1818
warning: (Internal error: pc 0xb6ea1e79 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0xb6ea1e78 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0xb6ea1e78 in read in psymtab, but not in symtab.)

#20 0xb6ea1e79 in Ingen::Client::SigClientInterface::destroy (this=warning: (Internal error: pc 0xb6ea1e78 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0xb6ea1e44 in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0xb6ea1e78 in read in psymtab, but not in symtab.)

0x85ed928, 
    path=warning: (Internal error: pc 0xb6ea1e78 in read in psymtab, but not in symtab.)

@0x87c35d4) at ../ingen/src/client/SigClientInterface.hpp:123
#21 0xb7016d46 in Ingen::ClientBroadcaster::send_destroyed (this=0x80f2da0, 
    path=@0x87c35d4) at ../ingen/src/engine/ClientBroadcaster.cpp:143
#22 0xb6f638f9 in Ingen::DestroyEvent::post_process (this=0x87c35b8)
    at ../ingen/src/engine/events/DestroyEvent.cpp:190
#23 0xb7049529 in Ingen::PostProcessor::process (this=0x80f8a58)
    at ../ingen/src/engine/PostProcessor.cpp:66
#24 0xb701f908 in Ingen::Engine::main_iteration (this=0x80f42d8)
    at ../ingen/src/engine/Engine.cpp:160
#25 0xb58df3e2 in Ingen::GUI::App::gtk_main_iteration (this=0x8173b38)
---Type <return> to continue, or q <return> to quit---
    at ../ingen/src/gui/App.cpp:366
#26 0xb58e3e23 in sigc::bound_mem_functor0<bool, Ingen::GUI::App>::operator() (
    this=0x85f022c) at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#27 0xb58e3e4a in sigc::adaptor_functor<sigc::bound_mem_functor0<bool, Ingen::GUI::App> >::operator() (this=0x85f0228)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#28 0xb58e3e76 in sigc::internal::slot_call0<sigc::bound_mem_functor0<bool, Ingen::GUI::App>, bool>::call_it (rep=0x85f0210)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#29 0xb7c97a85 in ?? () from /usr/lib/libglibmm-2.4.so.1
#30 0xb7cf4436 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x085c7cb0 in ?? ()
#32 0xb7c05a0c in __pthread_mutex_unlock_usercnt ()
   from /lib/tls/i686/cmov/libpthread.so.0
#33 0xb7cf3cc6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb7cf7083 in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x08173978 in ?? ()
#36 0x00000000 in ?? ()
(gdb) 

Change History (1)

comment:1 Changed 13 years ago by David Robillard

Resolution: invalid
Status: newclosed

Dirty build.

Note: See TracTickets for help on using tickets.