Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187009 - media-sound/ardour-2.0.3 segfaults without clean profile
Summary: media-sound/ardour-2.0.3 segfaults without clean profile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-29 12:32 UTC by Pietro Franchi
Modified: 2007-09-01 22:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pietro Franchi 2007-07-29 12:32:15 UTC
Since I upgraded to 2.0.3 ardour segfaults if .ardour2 is not clean.

This is the message it leaves behind:

(ardour-2.0.3:11963): GLib-GObject-CRITICAL **: g_type_interface_peek: assertion `instance_class != NULL' failed
Segmentation fault (core dumped)

I have done some tests and I think it is because of something in ardour.rc, I will be happy to test any patch.

Emerge info:

Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.21-suspend2-r5 i686)
=================================================================
System uname: 2.6.21-suspend2-r5 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 28 Jul 2007 10:00:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer notitles parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en it en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apache2 audiofile bash-completion berkdb bindist bitmap-fonts bzip2 cairo cdr cli cracklib crypt cscope css cups dbus dga dhcp directfb divx4linux dri dts dvd dvdr dvdread emboss encode evo fam fbcon fbsplash ffmpeg firefox flac fortran gcj gdbm gif gnutls gpgme gpm graphviz gstreamer gtk hal iconv imagemagick imap isdnlog jack java jingle jpeg jpeg2k kdgraphics kerberos ldap libg++ live logrotate mad matroska mbox midi mikmod mmap mmx mmxext mozcalendar mozdevelop mozsvg mp3 mp4 mpeg mppe-mppc mudflap musepack ncurses networkmanager nls no-old-linux nptl nptlonly nsl nsplugin nvidia offensive ogg opengl openmp pam pango pcre pda pdf perl plotutils plugin png pop pppd python qt3 qt3support qt4 quicktime readline real reflection rtc samba sdl session smime speex spell spl sse sse2 ssl stream svg tcl tcpd tetex tiff tk truetype truetype-fonts type1-fonts udev unicode vcd vim vim-syntax vorbis win32codecs wmf x86 xgetdefault xinerama xml xml2 xorg xosd xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexis Ballier gentoo-dev 2007-07-29 13:23:55 UTC
could you please follow http://www.gentoo.org/proj/en/qa/backtraces.xml to get a backtrace ?

And perhaps also attach your ardour.rc, if you think it's the cause so that I can try to reproduce it.
Comment 2 Pietro Franchi 2007-07-29 16:20:15 UTC
This is the bt,
#0  0xb74c1eff in Glib::Interface::Interface () from /usr/lib/libglibmm-2.4.so.1
#1  0xb787f560 in Atk::Implementor::Implementor () from /usr/lib/libatkmm-1.6.so.1
#2  0xb7b0a027 in Gtk::Widget::Widget () from /usr/lib/libgtkmm-2.4.so.1
#3  0xb7a77016 in Gtk::Container::Container () from /usr/lib/libgtkmm-2.4.so.1
#4  0xb7a9b0c2 in Gtk::Layout::Layout () from /usr/lib/libgtkmm-2.4.so.1
#5  0xb7198b72 in Gnome::Canvas::Canvas::Canvas () from /usr/lib/libgnomecanvasmm-2.6.so.1
#6  0xb71997a0 in Gnome::Canvas::CanvasAA::CanvasAA () from /usr/lib/libgnomecanvasmm-2.6.so.1
#7  0x08336b05 in Editor::Editor ()
#8  0x082b6647 in ARDOUR_UI::create_editor ()
#9  0x082afaaf in ARDOUR_UI::setup_windows ()
#10 0x082a256f in ARDOUR_UI::set_engine ()
#11 0x0841f299 in main ()

ardour.rc is the automatically created one, but I paste it here anyway:

<?xml version="1.0" encoding="UTF-8"?>
<Ardour>
  <MIDI-port tag="control" device="ardour" type="alsa/sequencer" mode="duplex"/>
  <MIDI-port tag="mcu" device="ardour" type="alsa/sequencer" mode="duplex"/>
  <MIDI-port tag="seq" device="ardour" type="alsa/sequencer" mode="duplex"/>
  <Config>
    <Option name="trace-midi-input" value="0"/>
    <Option name="trace-midi-output" value="0"/>
    <Option name="use-tranzport" value="0"/>
    <Option name="minimum-disk-io-bytes" value="262144"/>
    <Option name="track-buffer-seconds" value="5"/>
    <Option name="disk-choice-space-threshold" value="57600000"/>
    <Option name="xfade-model" value="-1210132193"/>
    <Option name="auto-xfade" value="1"/>
    <Option name="destructive-xfade-msecs" value="20"/>
    <Option name="mute-affects-pre-fader" value="1"/>
    <Option name="mute-affects-post-fader" value="1"/>
    <Option name="mute-affects-control-outs" value="1"/>
    <Option name="mute-affects-main-outs" value="1"/>
    <Option name="plugins-stop-with-transport" value="0"/>
    <Option name="stop-recording-on-xrun" value="0"/>
    <Option name="stop-at-session-end" value="1"/>
    <Option name="quieten-at-speed" value="1"/>
    <Option name="jack-time-master" value="1"/>
    <Option name="timecode-source-is-synced" value="1"/>
    <Option name="no-new-session-dialog" value="0"/>
    <Option name="use-vst" value="1"/>
    <Option name="periodic-safety-backups" value="1"/>
    <Option name="periodic-safety-backup-interval" value="120"/>
  </Config>
  <extra>
    <Keyboard edit-button="3" edit-modifier="4" delete-button="3" delete-modifier="1" snap-modifier="32"/>
    <TransportControllables roll="0" stop="1" goto_start="2" goto_end="3" auto_loop="4" play_selection="5" rec="6" shuttle="7"/>
  </extra>
  <ControlProtocols>
    <Protocol name="Generic MIDI" active="no"/>
    <Protocol name="Mackie" active="no"/>
  </ControlProtocols>
</Ardour>

(no newline at the end)
Comment 3 Alexis Ballier gentoo-dev 2007-07-29 17:00:40 UTC
weird, I don't get the problem here.

Could you please paste the output of "bt full" ? getting the values of the different variables could help.
Comment 4 Alexis Ballier gentoo-dev 2007-08-29 19:55:41 UTC
still working fine here, please reopen with more info
Comment 5 Pietro Franchi 2007-09-01 22:01:40 UTC
sorry for the late reply, I was on holidays :-)

Anyway, I find that 2.0.5 seems to fix this for me, so I wouldn't know what to add. Thanks a lot for your support anyway!