Amarok 1.3 crashes after startup after a small interval of time passed even if i'm not playing any music. I was able to rescan my collection so I'm pretty sure it's not a collection formatting issue (like mentionned on their FAQ). I tried running it with the three engines I had: xine, gstreamer and aRts, restarting between switches and I had the same results. same version (1.3) works fine on my x86 laptop (~x86) using gstreamer back-end I also tried following Gentoo's Bug Reporting Guide to realize that it's working when I emerge it with: USE="debug" FEATURES="nostrip" so I can't really help further. Suggested workaround: emerge with USE="debug" and FEATURES="nostrip" so you can have it working fine Reproducible: Always Steps to Reproduce: 1. run amarok 2. wait a small interval of time Actual Results: amarok crashes with this message: X Error: BadWindow (invalid Window parameter) 3 Major opcode: 7 Minor opcode: 0 Resource id: 0x2600014 Expected Results: run fine Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.11- gentoo-r6becks x86_64) ================================================================= System uname: 2.6.11-gentoo-r6becks x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config / usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/ pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo ftp:// mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aac aalib acpi alsa arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl doc dvd dvdread eds encode esd fam fame ffmpeg flac foomaticdb fortran gd gdbm gif gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib inkjar ipv6 java joystick jpeg junit kde lzw lzw-tiff mad matroska mikmod mng motif mozilla mp3 mpeg ncurses nls offensive ogg oggvorbis opengl pam pdflib perl plugin png ppds python qt quicktime readline real ruby samba sdl slang spell ssl svg tcltk tcpd theora tiff truetype-fonts type1-fonts unicode usb userlocales utf8 v4l v4l2 visualization vorbis xine xinerama xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Have you tried deleting/recreating the collection from scratch ?
just tried resetting all amarok's configuration (deleted .kde/share/apps/amarok/ * and .kde/share/config/amarokrc) and built an empty collection with the wizard. It crashed after a few minutes outputting: X Error: BadWindow (invalid Window parameter) 3 Major opcode: 7 Minor opcode: 0 Resource id: 0x2600143 IMO this bug is amd64 specific since my x86 laptop runs fine w/ amarok 1.3. The strange thing is that when the debug USE flag is set, it runs fine. Dunno what to try.. if you have any ideas, go ahead
It works fine here on amd64... I don't really know what that error is supposed to mean :/ I'll try to search for this asap.
don't lose time with this, if I'm the only one who experienced this then forget it when a new version will be out, i'll try it again and report again if it's still broken but for now i'll keep it emerged in debug mode
There are a few bugs that are mystifyings upstream with this type of problem... there is one with xine also... it is really hard to figure out what causes it when debugging symbols and the like fixes it... Any additional info that you could provide to upstream (This is a bug in program and not in ebuild) would be helpful.... #amaroK on freenode or amarok-devel@lists.sf.net
Is still a problem with 1.3.1-r1?
I'm still experiencing the same problem on amd64 with 1.3.1-r1 and I am now emerging 1.3.2. I will recreate my collection and report if it's still broken.
Can you try with 1.3.2-r1 ?
i just started getting this problem with 1.3.2-r1. previous versions were okay for me. i keep getting this: X Error: BadIDChoice (invalid resource ID chosen for this connection) 14 Major opcode: 1 Minor opcode: 0 Resource id: 0x28002b7 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 18 Minor opcode: 0 Resource id: 0x28002b7 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 18 Minor opcode: 0 Resource id: 0x28002b7 X Error: BadWindow (invalid Window parameter) 3 Major opcode: 18 Minor opcode: 0 Resource id: 0x28002b7 (etc) X Error: BadIDChoice (invalid resource ID chosen for this connection) 14 Major opcode: 53 Minor opcode: 0 Resource id: 0x28002bb X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 72 Minor opcode: 0 Resource id: 0x28002bb X Error: BadIDChoice (invalid resource ID chosen for this connection) 14 Major opcode: 53 Minor opcode: 0 Resource id: 0x28002bc X Error: BadIDChoice (invalid resource ID chosen for this connection) 14 Major opcode: 55 Minor opcode: 0 Resource id: 0x28002bd X Error: BadGC (invalid GC parameter) 13 Major opcode: 72 Minor opcode: 0 Resource id: 0x28002bd X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 Minor opcode: 0 Resource id: 0x28002bd X Error: BadWindow (invalid Window parameter) 3 Major opcode: 2 Minor opcode: 0 Resource id: 0x28002b7 Xlib: unexpected async reply (sequence 0x8b81)!
forgot to mention, i'm using qt-3.3.4-r8 and running on a xfce4 desktop. Portage 2.0.52-r1 (default-linux/x86/2005.1, gcc-4.0.2-pre20050917, glibc-2.3.5.20050722-r0, 2.6.13-ck6 i686) ================================================================= System uname: 2.6.13-ck6 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.12.0_pre8 ccache version 2.4 [enabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1, 2.16.91.0.3 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -mfpmath=sse -fno-ident" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -mfpmath=sse -fno-ident -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dirtyepic/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa avi bash-completion berkdb bzip2 cddb cdr crypt curl dbus dts dvd dvdr dvdread exif ffmpeg firefox flac gdbm gif gnutls gphoto2 gstreamer gtk gtk2 hal imagemagick imlib java jpeg mad mmap mmx mng motif mp3 mpeg mpi ncurses nntp nptl nsplugin ogg oggvorbis opengl pcmcia perl pic png python qt quicktime readline ruby sdl sse sse2 ssl svg tcpd threads tiff truetype usb vcd vorbis wifi win32codecs xml xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS
(In reply to comment #8) > Can you try with 1.3.2-r1 ? still the same problem with amarok 1.3.2-r1 QT-3.3.4-r3 Gnome 2.10 desktop
1.3.3, still nothing?
(In reply to comment #12) > 1.3.3, still nothing? same thing, not working on amd64 unless I USE="debug" working ok on x86
still the same with 1.3.5: - crashing after random interval on amd64 unless I emerge with USE="debug" - working flawlessly on x86
Hello, Friendly upstream bug wrangler here. Firstly, this problem sounds like a problem we have had with hyperthreading in the past, we thought we avoided it in 1.3.5 by locking it to the first processor. Of course, this may not apply to you at all. Could you please provide us with some more specific information with reguard to the processor you are using? does it have hyperthreading? is it dual core? all that fun stuff (maybe just a paste of /proc/cpuinfo also.) Thanks! Also, this sounds like it may be better handled upstream, as we have had many bugs like this that we are wrangling regularly. If you agree, feel free to open a bug at bugs.kde.org, and leave a comment here with the link to that bug.
single core amd64, no HT (that i know of) (cat /proc/cpuinfo below) There are a few reasons why I haven't reported this upstream.. First, bugs.kde. org scares me, I never reported there and I don't want to do any mistakes.. There are so many bugs and I don't want to post a duplicate.. Second, I'm not too familiar with backtracing and stuff so I don't want to slow anyone down by asking "how do I".. and even then, the bugs doesn't occur when I have debugging On so I think it'll be hard to track.. About IRC, I.. never went on IRC since 97.. I'm scared.. Anyway, I'll follow your advice and report this to bugs.kde.org as soon as I get sober enough (maybe a few days) I have few days off at university starting now so are parties.. Thanks for helping cat /proc/cpuinfo: processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 4 model name : AMD Athlon(tm) 64 Processor 3000+ stepping : 8 cpu MHz : 2000.148 cache size : 512 KB fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow bogomips : 3940.35 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: ts fid vid ttp
bug reported upstream: http://bugs.kde.org/show_bug.cgi?id=115339
Please reply to the question I've posted on the upstream bug, I'm sensing some more ALSA problems :|
i think, the problem is caused by Berkley DB (sys-libs/db), but i am not sure.
Can people test rebuilding amarok with the latest version of the ebuild that appends -fno-inline? It might be solved. Also remember to have alsa-driver and alsa-lib in sync, using in-kernel alsa 1.0.9 and alsa-lib 1.0.10 *is* an error.
*** Bug 109762 has been marked as a duplicate of this bug. ***
new ebuild works for me, no more crashes Thanks!
Considering fixed.