Bug#598849: ardour: Ardour Segfaults while using Behringer BCF2000 with mackieprotocol

2010-10-04 Thread Stijn Declercq
Op Mon, 4 Oct 2010 11:14:44 +0200
schreef Adrian Knoth :

> On Sat, Oct 02, 2010 at 06:17:31PM +0200, Stijn Declercq wrote:
> 
> > Hi,
> 
> Hi!
> 
> > When I want to use my Behringer BCF2000 Ardour crashed with
> > segmentationfault.  It only crashes when i'm using the
> > mackie-protocol in Ardour
> 
> 
> > I've run Ardour with strace, and i've got this message.
> 
> Could you rerun your crashing setup from gdb and provide us with a
> backtrace?
> 
> In a terminal, go like this:
> 
>   $ export GTK_PATH=/usr/lib/ardour2${GTK_PATH:+:$GTK_PATH}
>   $ export
> LD_LIBRARY_PATH=/usr/lib/ardour2${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
> $ gdb /usr/lib/ardour2/ardour-2.8.11 (gdb) run
> 
> When it crashes, say "thread apply all bt", that's the output we need.


This is the output of gdb:


(gdb) thread apply all bt

Thread 18 (Thread 0x7fffc20cf830 (LWP 30346)):
#0  0x712b3f4f in snd_seq_event_input () from /usr/lib/libasound.so.2
#1  0x71d1c20d in MIDI::ALSA_SequencerMidiPort::read (this=0xe33dd0, 
buf=0x7fffc20cea30 "\341 b", max=512)
at libs/midi++2/alsa_sequencer_midiport.cc:145
#2  0x7fffc20f2e77 in Mackie::SurfacePort::read (this=0x229c0a0) at 
libs/surfaces/mackie/surface_port.cc:93
#3  0x7fffc20fbff2 in MackieControlProtocol::read_ports (this=0x229bc40) at 
libs/surfaces/mackie/mackie_control_protocol_poll.cc:143
#4  0x7fffc20fc63c in MackieControlProtocol::monitor_work (this=0x229bc40) 
at libs/surfaces/mackie/mackie_control_protocol_poll.cc:56
#5  0x727db8ba in start_thread () from /lib/libpthread.so.0
#6  0x7fffef0e802d in clone () from /lib/libc.so.6
#7  0x in ?? ()

Thread 16 (Thread 0x7fffc80f9830 (LWP 30344)):
#0  0x712b3f4f in snd_seq_event_input () from /usr/lib/libasound.so.2
#1  0x71d1c20d in MIDI::ALSA_SequencerMidiPort::read (this=0xe09d40, 
buf=0x7fffc80f89b0 "\263e{d\024\006", max=512)
at libs/midi++2/alsa_sequencer_midiport.cc:145
#2  0x77b1dffa in ARDOUR::Session::midi_read (this=, port=0xe09d40) at libs/ardour/session_midi.cc:431
#3  0x77b1f005 in ARDOUR::Session::midi_thread_work (this=0x19ed560) at 
libs/ardour/session_midi.cc:1340
#4  0x77b1f521 in ARDOUR::Session::_midi_thread_work (arg=0x19ed560) at 
libs/ardour/session_midi.cc:1138
#5  0x727db8ba in start_thread () from /lib/libpthread.so.0
#6  0x7fffef0e802d in clone () from /lib/libc.so.6
#7  0x in ?? ()

Thread 15 (Thread 0x7fffc8174830 (LWP 30343)):
---Type  to continue, or q  to quit---
#0  0x7fffef0dd113 in poll () from /lib/libc.so.6
#1  0x77ad9944 in ARDOUR::Session::butler_thread_work (this=0x19ed560) 
at libs/ardour/session_butler.cc:179
#2  0x77adae1b in ARDOUR::Session::_butler_thread_work (arg=0x19ed560) 
at libs/ardour/session_butler.cc:159
#3  0x727db8ba in start_thread () from /lib/libpthread.so.0
#4  0x7fffef0e802d in clone () from /lib/libc.so.6
#5  0x in ?? ()

Thread 14 (Thread 0x7fffc8421830 (LWP 30342)):
#0  0x727e37dd in nanosleep () from /lib/libpthread.so.0
#1  0x76584068 in g_usleep () from /lib/libglib-2.0.so.0
#2  0x779d9b0f in ARDOUR::AudioEngine::meter_thread (this=) at libs/ardour/audioengine.cc:472
#3  0x772a9632 in ?? () from /usr/lib/libglibmm-2.4.so.1
#4  0x765814a4 in ?? () from /lib/libglib-2.0.so.0
#5  0x727db8ba in start_thread () from /lib/libpthread.so.0
#6  0x7fffef0e802d in clone () from /lib/libc.so.6
#7  0x in ?? ()

Thread 13 (Thread 0x7fffc8575710 (LWP 30341)):
#0  0x727e2417 in sem_timedwait () from /lib/libpthread.so.0
#1  0x72a197f0 in ?? () from /usr/lib/libjack.so.0
#2  0x72a0207a in ?? () from /usr/lib/libjack.so.0
#3  0x72a00daf in ?? () from /usr/lib/libjack.so.0
#4  0x72a190c0 in ?? () from /usr/lib/libjack.so.0
#5  0x727db8ba in start_thread () from /lib/libpthread.so.0
---Type  to continue, or q  to quit---
#6  0x7fffef0e802d in clone () from /lib/libc.so.6
#7  0x in ?? ()

Thread 12 (Thread 0x7fffc8963710 (LWP 30340)):
#0  0x727e30bd in read () from /lib/libpthread.so.0
#1  0x72a1ad62 in ?? () from /usr/lib/libjack.so.0
#2  0x72a1d647 in ?? () from /usr/lib/libjack.so.0
#3  0x72a190c0 in ?? () from /usr/lib/libjack.so.0
#4  0x727db8ba in start_thread () from /lib/libpthread.so.0
#5  0x7fffef0e802d in clone () from /lib/libc.so.6
#6  0x in ?? ()

Thread 11 (Thread 0x7fffc89e4710 (LWP 30339)):
#0  0x727e016c in pthread_cond_wait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
#1  0x72a1a791 in ?? () from /usr/lib/libjack.so.0
#2  0x72a13399 in ?? () from /usr/lib/libjack.so.0
#3  0x72a190c0 in ?? () from /usr/lib/libjack.so.0
#4  0x727db8ba in start_thread () from /lib/libpthread.so.0
#5  0x7fffef0e802d in clone () from /lib/libc.so.6
#6  0x in ?? ()

Thre

Bug#598849: ardour: Ardour Segfaults while using Behringer BCF2000 with mackieprotocol

2010-10-04 Thread Adrian Knoth
On Sat, Oct 02, 2010 at 06:17:31PM +0200, Stijn Declercq wrote:

> Hi,

Hi!

> When I want to use my Behringer BCF2000 Ardour crashed with
> segmentationfault.  It only crashes when i'm using the mackie-protocol
> in Ardour


> I've run Ardour with strace, and i've got this message.

Could you rerun your crashing setup from gdb and provide us with a
backtrace?

In a terminal, go like this:

  $ export GTK_PATH=/usr/lib/ardour2${GTK_PATH:+:$GTK_PATH}
  $ export LD_LIBRARY_PATH=/usr/lib/ardour2${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
  $ gdb /usr/lib/ardour2/ardour-2.8.11
  (gdb) run

When it crashes, say "thread apply all bt", that's the output we need.


If you cannot run ardour from gdb (it might have problems matching the
realtime deadlines), create a core instead:

  $ ulimit -c unlimited
  $ ardour2
  [crash, should give you a file core.something in your CWD]
  $ export GTK_PATH=/usr/lib/ardour2${GTK_PATH:+:$GTK_PATH}
  $ export LD_LIBRARY_PATH=/usr/lib/ardour2${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
  $ gdb --core=XXX
  (gdb) thread apply all bt

If this doesn't work, try the first method but start jackd without
realtime priorities.


TIA

-- 
mail: a...@thur.de  http://adi.thur.de  PGP/GPG: key via keyserver



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#598849: ardour: Ardour Segfaults while using Behringer BCF2000 with mackieprotocol

2010-10-02 Thread Stijn Declercq
Package: ardour
Version: 1:2.8.11-3
Severity: normal


Hi,

When I want to use my Behringer BCF2000 Ardour crashed with segmentationfault.
It only crashes when i'm using the mackie-protocol in Ardour

It crashes when I' moving the faders after couple of seconds.

I've run Ardour with strace, and i've got this message.

read(5, 0x1723924, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}, {fd=5, events=POLLIN}, {fd=10, events=POLLIN}, 
{fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=3, events=POLLIN}], 6, 
38[fc] MackiePort::handle_midi_any needs 3 bytes, but received [fc]
[b0 65 00] control for rotary [b0 65 00] is null

+++ killed by SIGSEGV +++
Segmentatiefout





-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (650, 'testing'), (50, 'unstable'), (10, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35.2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ardour depends on:
ii  jackd  5 JACK Audio Connection Kit (default
ii  libart-2.0-2   2.3.21-1  Library of functions for 2D graphi
ii  libasound2 1.0.23-2  shared library for ALSA applicatio
ii  libatk1.0-01.30.0-1  The ATK accessibility toolkit
ii  libaubio2  0.3.2-4+b2a library for audio segmentation
ii  libc6  2.11.2-6  Embedded GNU C Library: Shared lib
ii  libcairo2  1.8.10-6  The Cairo 2D vector graphics libra
ii  libcairomm-1.0-1   1.8.4-3   C++ wrappers for Cairo (shared lib
ii  libcurl3-gnutls7.21.0-1  Multi-protocol file transfer libra
ii  libfftw3-3 3.2.2-1   library for computing Fast Fourier
ii  libfontconfig1 2.8.0-2.1 generic font configuration library
ii  libfreetype6   2.4.2-2   FreeType 2 font engine, shared lib
ii  libgcc11:4.4.4-8 GCC support library
ii  libglib2.0-0   2.25.8-1  The GLib library of C routines
ii  libglibmm-2.4-1c2a 2.24.2-1  C++ wrapper for the GLib toolkit (
ii  libgnomecanvas2-0  2.30.1-1  A powerful object-oriented display
ii  libgnomecanvasmm-2.6-1c2a  2.26.0-1  C++ wrappers for libgnomecanvas2 (
ii  libgtk2.0-02.21.2-1  The GTK+ graphical user interface 
ii  libgtkmm-2.4-1c2a  1:2.20.3-1C++ wrappers for GTK+ (shared libr
ii  libjack-jackd2-0 [libjack- 1.9.5~dfsg-19 JACK Audio Connection Kit (librari
ii  liblo7 0.26~repack-5 Lightweight OSC library
ii  liblrdf0   0.4.0-3   a library to manipulate RDF files 
ii  libpango1.0-0  1.28.1-1  Layout and rendering of internatio
ii  libpangomm-1.4-1   2.26.2-1  C++ Wrapper for pango (shared libr
ii  libraptor1 1.4.21-2  Raptor RDF parser and serializer l
ii  librasqal2 0.9.20-1  Rasqal RDF query library
ii  librdf01.0.10-3  Redland Resource Description Frame
ii  libsamplerate0 0.1.7-3   Audio sample rate conversion libra
ii  libsigc++-2.0-0c2a 2.2.4.2-1 type-safe Signal Framework for C++
ii  libslv2-9  0.6.6-5   A library for simple use of LV2 pl
ii  libsndfile11.0.21-3  Library for reading/writing audio 
ii  libstdc++6 4.4.4-8   The GNU Standard C++ Library v3
ii  libusb-0.1-4   2:0.1.12-16   userspace USB programming library
ii  libvamp-hostsdk3   2.1-1 helper library for Vamp hosts writ
ii  libvamp-sdk2   2.1-1 helper library for Vamp plugins wr
ii  libxml22.7.7.dfsg-4  GNOME XML library
ii  libxslt1.1 1.1.26-6  XSLT 1.0 processing library - runt
ii  python 2.6.5-13  interactive high-level object-orie
ii  python-gtk22.17.0-4  Python bindings for the GTK+ widge
ii  python-twisted 10.1.0-3  Event-based framework for internet

Versions of packages ardour recommends:
ii  elinks [www-browser] 0.12~pre5-2 advanced text-mode WWW browser
ii  iceweasel [www-browser]  3.6.7-1 Web browser based on Firefox
ii  opera [www-browser]  10.62.6438  A fast and secure web browser and 
ii  w3m [www-browser]0.5.2-9 WWW browsable pager with excellent

ardour suggests no packages.

-- no debconf information



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers