Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68773 - media-sound/gamix-1.99_p14-r1 segfaults with gtk+-2.4.9
Summary: media-sound/gamix-1.99_p14-r1 segfaults with gtk+-2.4.9
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-24 19:49 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2004-11-08 13:37 UTC (History)
2 users (show)

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


Attachments
gamix config (Config,9.64 KB, text/plain)
2004-10-30 16:45 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2004-10-24 19:49:35 UTC
Hi,

I have experienced this on four different machines now. Three are ~x86 the other one is x86.
On all machines I had gamix installed with gtk2 support. After upgrading gtk+ to Version 2.4.9 gamix segfaults when being started.
It's strage... every time I invoke gamix I get these errormessages:

gamix
conf_w.c 1066: config 237:Wrong E (not match control_id)
conf_w.c 1066: config 240:Wrong E (not match control_id)
conf_w.c 1066: config 243:Wrong E (not match control_id)
conf_w.c 1066: config 244:Wrong E (not match control_id)
conf_w.c 1066: config 247:Wrong E (no control numid)
conf_w.c 1066: config 248:Wrong E (no control numid)
conf_w.c 1066: config 251:Wrong E (no control numid)
conf_w.c 1066: config 252:Wrong E (no control numid)
conf_w.c 1066: config 255:Wrong E (no control numid)
conf_w.c 1066: config 256:Wrong E (no control numid)
conf_w.c 1066: config 259:Wrong E (no control numid)
conf_w.c 1066: config 260:Wrong E (no control numid)
conf_w.c 1066: config 263:Wrong E (not match control_id)
conf_w.c 1066: config 264:Wrong E (not match control_id)
conf_w.c 1066: config 267:Wrong E (no control numid)
conf_w.c 1066: config 270:Wrong E (not match control_id)
conf_w.c 1066: config 274:Wrong E (not match control_id)
conf_w.c 1066: config 276:Wrong E (not match control_id)
conf_w.c 1066: config 280:Wrong E (not match control_id)
conf_w.c 1066: config 284:Wrong E (not match control_id)
conf_w.c 1066: config 286:Wrong E (not match control_id)
conf_w.c 1066: config 291:Wrong E (not match control_id)
conf_w.c 1066: config 295:Wrong E (not match control_id)
conf_w.c 1066: config 297:Wrong E (not match control_id)
conf_w.c 1066: config 302:Wrong E (not match control_id)
conf_w.c 1066: config 306:Wrong E (not match control_id)
conf_w.c 1066: config 308:Wrong E (not match control_id)
conf_w.c 1066: config 313:Wrong E (not match control_id)
conf_w.c 1066: config 317:Wrong E (not match control_id)
conf_w.c 1066: config 319:Wrong E (not match control_id)
conf_w.c 1066: config 324:Wrong E (not match control_id)
conf_w.c 1066: config 328:Wrong E (not match control_id)
conf_w.c 1066: config 330:Wrong E (not match control_id)
conf_w.c 1066: config 335:Wrong E (not match control_id)
conf_w.c 1066: config 339:Wrong E (not match control_id)
conf_w.c 1066: config 341:Wrong E (not match control_id)
conf_w.c 1066: config 345:Wrong E (not match control_id)
conf_w.c 1066: config 349:Wrong E (not match control_id)
conf_w.c 1066: config 351:Wrong E (not match control_id)
conf_w.c 1066: config 355:Wrong E (not match control_id)
conf_w.c 1066: config 359:Wrong E (not match control_id)
conf_w.c 1066: config 361:Wrong E (not match control_id)
conf_w.c 1066: config 366:Wrong E (not match control_id)
conf_w.c 1066: config 370:Wrong E (not match control_id)
conf_w.c 1066: config 372:Wrong E (not match control_id)
conf_w.c 1066: config 377:Wrong E (not match control_id)
conf_w.c 1066: config 381:Wrong E (not match control_id)
conf_w.c 1066: config 383:Wrong E (not match control_id)
conf_w.c 1066: config 388:Wrong E (not match control_id)
conf_w.c 1066: config 392:Wrong E (not match control_id)
conf_w.c 1066: config 394:Wrong E (not match control_id)
conf_w.c 1066: config 399:Wrong E (not match control_id)
conf_w.c 1066: config 403:Wrong E (not match control_id)
conf_w.c 1066: config 405:Wrong E (not match control_id)
conf_w.c 1066: config 410:Wrong E (not match control_id)
conf_w.c 1066: config 414:Wrong E (not match control_id)
conf_w.c 1066: config 416:Wrong E (not match control_id)
conf_w.c 1066: config 420:Wrong E (not match control_id)
conf_w.c 1066: config 424:Wrong E (not match control_id)
conf_w.c 1066: config 426:Wrong E (not match control_id)
conf_w.c 1066: config 430:Wrong E (not match control_id)
conf_w.c 1066: config 434:Wrong E (not match control_id)
conf_w.c 1066: config 436:Wrong E (not match control_id)
conf_w.c 1066: config 441:Wrong E (not match control_id)
conf_w.c 1066: config 445:Wrong E (not match control_id)
conf_w.c 1066: config 447:Wrong E (not match control_id)
conf_w.c 1066: config 452:Wrong E (no control numid)
conf_w.c 1066: config 456:Wrong E (not match control_id)
conf_w.c 1066: config 458:Wrong E (not match control_id)
conf_w.c 1066: config 463:Wrong E (no control numid)
conf_w.c 1066: config 467:Wrong E (not match control_id)
conf_w.c 1066: config 469:Wrong E (not match control_id)
conf_w.c 1066: config 474:Wrong E (no control numid)
conf_w.c 1066: config 478:Wrong E (not match control_id)
conf_w.c 1066: config 480:Wrong E (not match control_id)
conf_w.c 1066: config 485:Wrong E (no control numid)
conf_w.c 1066: config 489:Wrong E (not match control_id)
conf_w.c 1066: config 491:Wrong E (not match control_id)
conf_w.c 1066: config 496:Wrong E (not match control_id)
conf_w.c 1066: config 498:Wrong E (not match control_id)
conf_w.c 1066: config 502:Wrong E (not match control_id)
conf_w.c 1066: config 504:Wrong E (not match control_id)
conf_w.c 1066: config 508:Wrong E (no control numid)
conf_w.c 1066: config 510:Wrong E (not match control_id)
conf_w.c 1066: config 513:Wrong E (not match control_id)
conf_w.c 1066: config 516:Wrong E (not match control_id)
conf_w.c 1066: config 519:Wrong E (no control numid)

(gamix:24147): Gtk-CRITICAL **: file gtklabel.c: line 946 (gtk_label_set_text):assertion `GTK_IS_LABEL (label)' failed
Segmentation fault

After rm -rf ~/.gamix I can successfully start gamix once but closing gamix and restarting it again isn't possible. It's again segfaulting with the above errormessage. Recompiling gamix doesn't solve the problem except when recompiling gamix without gtk2 support.

emerge --info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20041006-r0, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /home /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/gdm /etc/gconf /etc/gnome /etc/gnome-vfs-2.0 /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/home/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="3dnow X acpi alsa apm avi berkdb bitmap-fonts cdr crypt cups dvd encode foomaticdb gdbm gif gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tiff truetype x86 xml xml2 xmms xprint xv xvid zlib linguas_de"

qpkg -v -nc -I alsa
media-sound/alsa-utils-1.0.6
media-sound/alsa-driver-1.0.6a
media-sound/alsa-headers-1.0.6a
media-libs/alsa-oss-1.0.6
media-libs/alsa-lib-1.0.6
(soundcard is SB Audigy2)

Poly

Reproducible: Always
Steps to Reproduce:
1. update gtk+ from 2.4.[0-8] to 2.4.9
2. run gamix with gtk2 enabled


Actual Results:  
gtk2-enabled gamix segfaults with gtk+-2.4.9

Expected Results:  
Works as flawless as with previous gtk+-2.x releases
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-30 03:39:35 UTC
works fine for me on amd64 with x11-libs/gtk+-2.4.9-r1

Can you try that version?
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2004-10-30 04:06:48 UTC
Hi,

already tried that version. Doesn't work either.
I decided to report this bug when I experienced it on my stable machine, too. I cannot imagine that I'm the only one who has this bug on his four machines.

Poly
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-30 04:51:29 UTC
well... can you maybe provide a backtrace for me to work with?

Also, try removing the config file (~/.gamix/Config) and starting it.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2004-10-30 05:20:51 UTC
Hi,

I have no clue how to provide a backtrace. What do I have to do for?

As I mentioned in my first post here, gamix will start _once_ when I remove the config.

Poly
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2004-10-30 09:50:49 UTC
HI,

alright this is a backtrace with gdb but without debugging symbols enabled:

gamemaster@breakmygentoo:~> gdb `which gamix`
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/gamix
(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread -1217194320 (LWP 30527)]
conf_w.c 1066: config 237:Wrong E (not match control_id)
conf_w.c 1066: config 240:Wrong E (not match control_id)
conf_w.c 1066: config 243:Wrong E (not match control_id)
conf_w.c 1066: config 244:Wrong E (not match control_id)
conf_w.c 1066: config 247:Wrong E (no control numid)
conf_w.c 1066: config 248:Wrong E (no control numid)
conf_w.c 1066: config 251:Wrong E (no control numid)
conf_w.c 1066: config 252:Wrong E (no control numid)
conf_w.c 1066: config 255:Wrong E (no control numid)
conf_w.c 1066: config 256:Wrong E (no control numid)
conf_w.c 1066: config 259:Wrong E (no control numid)
conf_w.c 1066: config 260:Wrong E (no control numid)
conf_w.c 1066: config 263:Wrong E (not match control_id)
conf_w.c 1066: config 264:Wrong E (not match control_id)
conf_w.c 1066: config 267:Wrong E (no control numid)
conf_w.c 1066: config 270:Wrong E (not match control_id)
conf_w.c 1066: config 274:Wrong E (not match control_id)
conf_w.c 1066: config 276:Wrong E (not match control_id)
conf_w.c 1066: config 280:Wrong E (not match control_id)
conf_w.c 1066: config 284:Wrong E (not match control_id)
conf_w.c 1066: config 286:Wrong E (not match control_id)
conf_w.c 1066: config 291:Wrong E (not match control_id)
conf_w.c 1066: config 295:Wrong E (not match control_id)
conf_w.c 1066: config 297:Wrong E (not match control_id)
conf_w.c 1066: config 302:Wrong E (not match control_id)
conf_w.c 1066: config 306:Wrong E (not match control_id)
conf_w.c 1066: config 308:Wrong E (not match control_id)
conf_w.c 1066: config 313:Wrong E (not match control_id)
conf_w.c 1066: config 317:Wrong E (not match control_id)
conf_w.c 1066: config 319:Wrong E (not match control_id)
conf_w.c 1066: config 324:Wrong E (not match control_id)
conf_w.c 1066: config 328:Wrong E (not match control_id)
conf_w.c 1066: config 330:Wrong E (not match control_id)
conf_w.c 1066: config 335:Wrong E (not match control_id)
conf_w.c 1066: config 339:Wrong E (not match control_id)
conf_w.c 1066: config 341:Wrong E (not match control_id)
conf_w.c 1066: config 345:Wrong E (not match control_id)
conf_w.c 1066: config 349:Wrong E (not match control_id)
conf_w.c 1066: config 351:Wrong E (not match control_id)
conf_w.c 1066: config 355:Wrong E (not match control_id)
conf_w.c 1066: config 359:Wrong E (not match control_id)
conf_w.c 1066: config 361:Wrong E (not match control_id)
conf_w.c 1066: config 366:Wrong E (not match control_id)
conf_w.c 1066: config 370:Wrong E (not match control_id)
conf_w.c 1066: config 372:Wrong E (not match control_id)
conf_w.c 1066: config 377:Wrong E (not match control_id)
conf_w.c 1066: config 381:Wrong E (not match control_id)
conf_w.c 1066: config 383:Wrong E (not match control_id)
conf_w.c 1066: config 388:Wrong E (not match control_id)
conf_w.c 1066: config 392:Wrong E (not match control_id)
conf_w.c 1066: config 394:Wrong E (not match control_id)
conf_w.c 1066: config 399:Wrong E (not match control_id)
conf_w.c 1066: config 403:Wrong E (not match control_id)
conf_w.c 1066: config 405:Wrong E (not match control_id)
conf_w.c 1066: config 410:Wrong E (not match control_id)
conf_w.c 1066: config 414:Wrong E (not match control_id)
conf_w.c 1066: config 416:Wrong E (not match control_id)
conf_w.c 1066: config 420:Wrong E (not match control_id)
conf_w.c 1066: config 424:Wrong E (not match control_id)
conf_w.c 1066: config 426:Wrong E (not match control_id)
conf_w.c 1066: config 430:Wrong E (not match control_id)
conf_w.c 1066: config 434:Wrong E (not match control_id)
conf_w.c 1066: config 436:Wrong E (not match control_id)
conf_w.c 1066: config 441:Wrong E (not match control_id)
conf_w.c 1066: config 445:Wrong E (not match control_id)
conf_w.c 1066: config 447:Wrong E (not match control_id)
conf_w.c 1066: config 452:Wrong E (no control numid)
conf_w.c 1066: config 456:Wrong E (not match control_id)
conf_w.c 1066: config 458:Wrong E (not match control_id)
conf_w.c 1066: config 463:Wrong E (no control numid)
conf_w.c 1066: config 467:Wrong E (not match control_id)
conf_w.c 1066: config 469:Wrong E (not match control_id)
conf_w.c 1066: config 474:Wrong E (no control numid)
conf_w.c 1066: config 478:Wrong E (not match control_id)
conf_w.c 1066: config 480:Wrong E (not match control_id)
conf_w.c 1066: config 485:Wrong E (no control numid)
conf_w.c 1066: config 489:Wrong E (not match control_id)
conf_w.c 1066: config 491:Wrong E (not match control_id)
conf_w.c 1066: config 496:Wrong E (not match control_id)
conf_w.c 1066: config 498:Wrong E (not match control_id)
conf_w.c 1066: config 502:Wrong E (not match control_id)
conf_w.c 1066: config 504:Wrong E (not match control_id)
conf_w.c 1066: config 508:Wrong E (no control numid)
conf_w.c 1066: config 510:Wrong E (not match control_id)
conf_w.c 1066: config 513:Wrong E (not match control_id)
conf_w.c 1066: config 516:Wrong E (not match control_id)
conf_w.c 1066: config 519:Wrong E (no control numid)

(gamix:30527): Gtk-CRITICAL **: file gtklabel.c: line 946 (gtk_label_set_text):assertion `GTK_IS_LABEL (label)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217194320 (LWP 30527)]
0xb7e3e55a in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) bt
#0  0xb7e3e55a in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#1  0x0804dba1 in lconv ()
#2  0x0804e038 in make_mixer ()
#3  0x0804d469 in disp_mixer ()
#4  0x0804ca80 in main ()
(gdb)

I hope this helps... if not please tell me in which packages I have to enable debugging symbols.

Poly
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-30 12:48:09 UTC
Can you post the config file here as an attachment then please...

to make a backtrace, compile it with the following options uncommented at the end of your make.conf:

#
# Debug options
#
#CFLAGS="-pipe -g"
#CXXFLAGS="${CFLAGS}"
#USE="${USE} debug"
#FEATURES="${FEATURES} nostrip keeptemp keepwork"

Then:
$ gdb gamix
(gdb) run
SEGFAULT
(gdb) bt
<what's here is the backtrace>
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2004-10-30 16:43:22 UTC
Hi,

Thanx for the hints. This is the backtrace:

(gdb) bt
#0  0xb7e3e55a in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#1  0x080501f3 in disp_obj (obj=0x80b63e0) at mkmixer.c:630
#2  0x0805061f in make_mixer (c_n=0) at mkmixer.c:706
#3  0x0804d3f7 in disp_mixer () at main.c:295
#4  0x0804cb57 in main (argc=1, argv=0xbffff324) at main.c:165

Poly
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2004-10-30 16:45:29 UTC
Created attachment 42928 [details]
gamix config

Hi,

attached is the config of gamix

Poly
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2004-11-08 13:37:40 UTC
ok, this problem looks specific to emu10k1 and not Gentoo.  Can you please report it to the developers upstream.