View Issue Details

IDProjectCategoryView StatusLast Update
0001693ardourbugspublic2007-05-30 14:00
ReporterHollunder Assigned Topaul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version2.0 
Summary0001693: 'hide' on a region in the righthand panel causes crash
Descriptionardour 2.0.2
(built from revision 1801)
current svn-ongoing
compiled with FFT_ANALYSIS, everything else default

There's a panel on the right, showing regions, tracks, etc..
If you have at least one region in there, right-click on it to get the context menu and then click 'hide', Ardour crashes.

See the terminal output below
Additional Informationhollunder@eris:~/ardour_svn/gtk2_ardour$ ./ardev
Ardour/GTK 2.0.2
   (built using 1801 and GCC version 4.1.2 (Ubuntu 4.1.2-0ubuntu4))
Copyright (C) 1999-2007 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
Loading ui configuration file gtk2_ardour/ardour2_ui.rc
theme_init() called from internal clearlooks engine
loading user configuration file /home/hollunder/.ardour2/ardour.rc
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: looking for control protocols in /home/hollunder/.ardour2/surfaces/:/usr/local/lib/ardour2/surfaces/
jackd: wait for startup process exit failed
jackd 0.102.20
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|1024|2|44100|0|2|nomon|swmeter|-|32bit
control device hw:0
configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
ardour: [INFO]: JACK server started
loading bindings from gtk2_ardour/ardour.bindings
Loading session /home/hollunder/test using snapshot test (1)
Loading history from '/home/hollunder/test/test.history'.

(ardour-2.0.2:1925): Gtk-CRITICAL **: gtk_tree_store_get_value: assertion `VALID_ITER (iter, tree_store)' failed

(ardour-2.0.2:1925): GLib-GObject-CRITICAL **: g_value_get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed

(ardour-2.0.2:1925): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed

(ardour-2.0.2:1925): Gtk-CRITICAL **: gtk_tree_store_insert_before: assertion `VALID_ITER (sibling, tree_store)' failed

(ardour-2.0.2:1925): Gtk-CRITICAL **: gtk_tree_store_iter_parent: assertion `VALID_ITER (child, tree_store)' failed

(ardour-2.0.2:1925): Gtk-CRITICAL **: gtk_tree_store_set_value: assertion `VALID_ITER (iter, tree_store)' failed

(ardour-2.0.2:1925): Gtk-CRITICAL **: gtk_tree_store_get_value: assertion `VALID_ITER (iter, tree_store)' failed
subgraph starting at ardour timed out (subgraph_wait_fd=12, status = 0, state = Triggered)


**** alsa_pcm: xrun of at least 0.446 msecs

cannot read event response from client [ardour] (Connection reset by peer)
bad status for client event handling (type = 8)
cannot send event to client [ardour] (Broken pipe)
bad status for client event handling (type = 8)
Segmentation fault (core dumped)
TagsNo tags attached.

Relationships

has duplicate 0001689 closedpaul crash after clicking on 'hide' in the region panel at the right 

Activities

paul

2007-05-23 15:55

administrator   ~0004018

fixed in 2.0-ongoing and trunk.

Hollunder

2007-05-24 22:03

reporter   ~0004021

The bug is still there, here's the backtrace:

(gdb) thread apply all bt

Thread 7 (Thread -1292538704 (LWP 5705)):
#0 0xffffe410 in __kernel_vsyscall ()
0000001 0xb685c893 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7e29ed2 in ARDOUR::Session::midi_thread_work (this=0x8f502e0)
    at libs/ardour/session_midi.cc:1207
#3 0xb7e2a45f in ARDOUR::Session::_midi_thread_work (arg=0x8f502e0)
    at libs/ardour/session_midi.cc:1128
0000004 0xb68dd31b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
0000005 0xb686657e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread -1292034896 (LWP 5704)):
#0 0xffffe410 in __kernel_vsyscall ()
0000001 0xb685c893 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7e0baf0 in ARDOUR::Session::butler_thread_work (this=0x8f502e0)
    at libs/ardour/session_butler.cc:176
#3 0xb7e0c8b3 in ARDOUR::Session::_butler_thread_work (arg=0x8f502e0)
    at libs/ardour/session_butler.cc:157
0000004 0xb68dd31b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
0000005 0xb686657e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread -1280570480 (LWP 5696)):
#0 0xffffe410 in __kernel_vsyscall ()
---Type <return> to continue, or q <return> to quit---
0000001 0xb685c893 in poll () from /lib/tls/i686/cmov/libc.so.6
#2 0xb69ece0a in ?? () from /usr/lib/libjack-0.100.0.so.0
#3 0x08b72788 in ?? ()
0000004 0x00000002 in ?? ()
0000005 0x00000001 in ?? ()
#6 0x00000000 in ?? ()

Thread 2 (Thread -1245524816 (LWP 5691)):
#0 0xffffe410 in __kernel_vsyscall ()
0000001 0xb68e4986 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb75cbd72 in g_usleep () from /usr/lib/libglib-2.0.so.0
#3 0xb6cc1479 in Glib::usleep (microseconds=10000)
    at libs/glibmm2/glibmm/timer.cc:68
0000004 0xb7ce62c2 in ARDOUR::AudioEngine::meter_thread (this=0x8b72888)
    at libs/ardour/audioengine.cc:412
0000005 0xb7ce8ed8 in sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>::operator() (this=0x8b73a64) at libs/sigc++2/sigc++/functors/mem_fun.h:1781
#6 0xb7ce8efa in sigc::adaptor_functor<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine> >::operator() (this=0x8b73a60)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
#7 0xb7ce8f26 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, ARDOUR::AudioEngine>, void>::call_it (rep=0x8b73a48)
    at libs/sigc++2/sigc++/functors/slot.h:103
---Type <return> to continue, or q <return> to quit---
0000008 0x0839187e in sigc::slot0<void>::operator() (this=0x8af9da0)
    at libs/sigc++2/sigc++/functors/slot.h:440
0000009 0xb6cd82b3 in call_thread_entry_slot (data=0x8af9da0)
    at libs/glibmm2/glibmm/thread.cc:43
0000010 0xb75c9b7f in ?? () from /usr/lib/libglib-2.0.so.0
0000011 0x08af9da0 in ?? ()
0000012 0x08b73a90 in ?? ()
0000013 0xb68d8000 in ?? ()
0000014 0x00014084 in ?? ()
#15 0xb679ea18 in ?? () from /lib/tls/i686/cmov/libc.so.6
0000016 0xb68ebff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
#17 0xb68df440 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
0000018 0xb68ebff4 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
0000019 0x00000000 in ?? ()

Thread 1 (Thread -1237649184 (LWP 5685)):
#0 0xffffe410 in __kernel_vsyscall ()
0000001 0xb67c0df0 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb67c2641 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb75b470a in g_logv () from /usr/lib/libglib-2.0.so.0
0000004 0xb75b4749 in g_log () from /usr/lib/libglib-2.0.so.0
0000005 0xb75b47c6 in g_assert_warning () from /usr/lib/libglib-2.0.so.0
#6 0xb7827f93 in Gtk::TreeRow::children (this=0xbfe9eab0)
---Type <return> to continue, or q <return> to quit---
    at libs/gtkmm2/gtk/gtkmm/treeiter.cc:215
#7 0x0853def4 in Editor::add_audio_region_to_region_display (this=0x8d68900,
    region=@0xbfe9ed24) at gtk2_ardour/editor_region_list.cc:122
0000008 0x0853f144 in Editor::redisplay_regions (this=0x8d68900)
    at gtk2_ardour/editor_region_list.cc:274
0000009 0x0853f386 in Editor::region_hidden (this=0x8d68900, r=@0xbfe9edec)
    at gtk2_ardour/editor_region_list.cc:81
0000010 0x084ad303 in sigc::bound_mem_functor1<void, Editor, boost::shared_ptr<ARDOUR::Region> >::operator() (this=0x8f43bc4, _A_a1=@0xbfe9eee8)
    at libs/sigc++2/sigc++/functors/mem_fun.h:1838
0000011 0x084ad351 in sigc::adaptor_functor<sigc::bound_mem_functor1<void, Editor, boost::shared_ptr<ARDOUR::Region> > >::operator()<boost::shared_ptr<ARDOUR::Region> const&> (this=0x8f43bc0, _A_arg1=@0xbfe9eee8)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:84
0000012 0x084ad375 in sigc::internal::slot_call1<sigc::bound_mem_functor1<void, Editor, boost::shared_ptr<ARDOUR::Region> >, void, boost::shared_ptr<ARDOUR::Region> >::call_it (rep=0x8f43ba8, a_1=@0xbfe9eee8)
    at libs/sigc++2/sigc++/functors/slot.h:137
0000013 0xb7db604a in sigc::internal::signal_emit1<void, boost::shared_ptr<ARDOUR::Region>, sigc::nil_>::emit (impl=0x8f43b60, _A_a1=@0xbfe9eee8)
    at libs/sigc++2/sigc++/signal.h:646
0000014 0xb7db60f9 in sigc::signal1<void, boost::shared_ptr<ARDOUR::Region>, sigc::nil_>::emit (this=0x8f5030c, _A_a1=@0xbfe9eee8)
---Type <return> to continue, or q <return> to quit---
    at libs/sigc++2/sigc++/signal.h:1694
#15 0xb7db6124 in sigc::signal1<void, boost::shared_ptr<ARDOUR::Region>, sigc::nil_>::operator() (this=0x8f5030c, _A_a1=@0xbfe9eee8)
    at libs/sigc++2/sigc++/signal.h:1698
0000016 0xb7dd57a9 in ARDOUR::Session::region_changed (this=0x8f502e0,
    what_changed=64, weak_region=@0xbfe9ef28) at libs/ardour/session.cc:2636
#17 0xb7dfa438 in sigc::bound_mem_functor2<void, ARDOUR::Session, ARDOUR::Change, boost::weak_ptr<ARDOUR::Region> >::operator() (this=0x9350750,
    _A_a1=@0xbfe9f054, _A_a2=@0x935075c)
    at libs/sigc++2/sigc++/functors/mem_fun.h:1897
0000018 0xb7dfa49a in sigc::adaptor_functor<sigc::bound_mem_functor2<void, ARDOUR::Session, ARDOUR::Change, boost::weak_ptr<ARDOUR::Region> > >::operator()<ARDOUR::Change const&, boost::weak_ptr<ARDOUR::Region>&> (this=0x935074c,
    _A_arg1=@0xbfe9f054, _A_arg2=@0x935075c)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:103
0000019 0xb7dfa4d1 in sigc::bind_functor<-1, sigc::bound_mem_functor2<void, ARDOUR::Session, ARDOUR::Change, boost::weak_ptr<ARDOUR::Region> >, boost::weak_ptr<ARDOUR::Region>, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_, sigc::nil_>::operator()<ARDOUR::Change const&> (this=0x9350748, _A_arg1=@0xbfe9f054)
    at libs/sigc++2/sigc++/adaptors/bind.h:1122
0000020 0xb7dfa505 in sigc::internal::slot_call1<sigc::bind_functor<-1, sigc::bound_mem_functor2<void, ARDOUR::Session, ARDOUR::Change, boost::weak_ptr<ARDOUR::Region> >, boost::weak_ptr<ARDOUR::Region>, sigc::nil_, sigc::nil_, sigc::nil_, sigc---Type <return> to continue, or q <return> to quit---
::nil_, sigc::nil_, sigc::nil_>, void, ARDOUR::Change>::call_it (
    rep=0x9350730, a_1=@0xbfe9f054) at libs/sigc++2/sigc++/functors/slot.h:137
0000021 0x084af062 in sigc::internal::signal_emit1<void, ARDOUR::Change, sigc::nil_>::emit (impl=0x9350700, _A_a1=@0xbfe9f054) at libs/sigc++2/sigc++/signal.h:646
0000022 0x084af103 in sigc::signal1<void, ARDOUR::Change, sigc::nil_>::emit (
    this=0x9350234, _A_a1=@0xbfe9f054) at libs/sigc++2/sigc++/signal.h:1694
0000023 0x084af11e in sigc::signal1<void, ARDOUR::Change, sigc::nil_>::operator() (
    this=0x9350234, _A_a1=@0xbfe9f054) at libs/sigc++2/sigc++/signal.h:1698
#24 0xb7db2c30 in ARDOUR::Region::send_change (this=0x9350208, what_changed=64)
    at libs/ardour/region.cc:954
0000025 0xb7db2f2d in ARDOUR::Region::set_hidden (this=0x9350208, yn=true)
    at libs/ardour/region.cc:561
0000026 0x0853b77f in Editor::hide_a_region (this=0x8d68900, r=@0xbfe9f0ac)
    at gtk2_ardour/editor_region_list.cc:586
0000027 0x084ad303 in sigc::bound_mem_functor1<void, Editor, boost::shared_ptr<ARDOUR::Region> >::operator() (this=0x907ce84, _A_a1=@0xbfe9f178)
    at libs/sigc++2/sigc++/functors/mem_fun.h:1838
0000028 0x084ad351 in sigc::adaptor_functor<sigc::bound_mem_functor1<void, Editor, boost::shared_ptr<ARDOUR::Region> > >::operator()<boost::shared_ptr<ARDOUR::Region> const&> (this=0x907ce80, _A_arg1=@0xbfe9f178)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:84
0000029 0x084ad375 in sigc::internal::slot_call1<sigc::bound_mem_functor1<void, Editor, boost::shared_ptr<ARDOUR::Region> >, void, boost::shared_ptr<ARDOUR::Region>---Type <return> to continue, or q <return> to quit---
 >::call_it (rep=0x907ce68, a_1=@0xbfe9f178)
    at libs/sigc++2/sigc++/functors/slot.h:137
0000030 0x0853f857 in sigc::slot1<void, boost::shared_ptr<ARDOUR::Region> >::operator() (this=0xbfe9f1e8, _A_a1=@0xbfe9f178)
    at libs/sigc++2/sigc++/functors/slot.h:512
0000031 0x0853b95d in Editor::region_list_selection_mapover (this=0x8d68900,
    sl=@0xbfe9f1e8) at gtk2_ardour/editor_region_list.cc:577
0000032 0x0853bb78 in Editor::hide_region_from_region_list (this=0x8d68900)
    at gtk2_ardour/editor_region_list.cc:605
0000033 0x084a9dc2 in sigc::bound_mem_functor0<void, Editor>::operator() (
    this=0x8c8edf4) at libs/sigc++2/sigc++/functors/mem_fun.h:1781
0000034 0x084a9dd8 in sigc::adaptor_functor<sigc::bound_mem_functor0<void, Editor> >::operator() (this=0x8c8edf0)
    at libs/sigc++2/sigc++/adaptors/adaptor_trait.h:251
0000035 0x084a9df4 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, Editor>, void>::call_it (rep=0x8c8edd8) at libs/sigc++2/sigc++/functors/slot.h:103
0000036 0x0839187e in sigc::slot0<void>::operator() (this=0x8c8edac)
    at libs/sigc++2/sigc++/functors/slot.h:440
0000037 0xb6ccd4e9 in Glib::SignalProxyNormal::slot0_void_callback (
    self=0x8b829c0, data=0x8c8eda8) at libs/glibmm2/glibmm/signalproxy.cc:95
0000038 0xb76409d9 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
0000039 0xb763362b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
0000040 0xb76443f1 in ?? () from /usr/lib/libgobject-2.0.so.0
0000041 0x08c8eff8 in ?? ()
0000042 0x00000000 in ?? ()

paul

2007-05-30 13:51

administrator   ~0004026

fixed in 2.0-ongoing, and merged back to trunk.

odd.... if (iter == model->children.end()) seems to not be the same as if (!iter), although the docs suggest that it is. using the 2nd form now.

Hollunder

2007-05-30 14:00

reporter   ~0004029

yep, works now in current svn-ongoing (revision 1927, at least here, if that means anything..)

Issue History

Date Modified Username Field Change
2007-05-22 13:45 Hollunder New Issue
2007-05-22 17:55 paul Relationship added has duplicate 0001689
2007-05-23 15:55 paul Status new => resolved
2007-05-23 15:55 paul Resolution open => fixed
2007-05-23 15:55 paul Assigned To => paul
2007-05-23 15:55 paul Note Added: 0004018
2007-05-24 22:03 Hollunder Status resolved => feedback
2007-05-24 22:03 Hollunder Resolution fixed => reopened
2007-05-24 22:03 Hollunder Note Added: 0004021
2007-05-30 13:51 paul Status feedback => resolved
2007-05-30 13:51 paul Resolution reopened => fixed
2007-05-30 13:51 paul Note Added: 0004026
2007-05-30 14:00 Hollunder Status resolved => closed
2007-05-30 14:00 Hollunder Note Added: 0004029