Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

winecfg crash on sound tab [solved with workaround]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Darknight
Guru
Guru
User avatar
Posts: 485
Joined: Mon Jan 26, 2004 8:41 am
Location: Italy

winecfg crash on sound tab [solved with workaround]

  • Quote

Post by Darknight » Mon Feb 06, 2006 10:09 am

Code: Select all

ALSA lib pcm_direct.c:222:(make_local_socket) connect failed: : Invalid argument
ALSA lib pcm_dsnoop.c:588:(snd_pcm_dsnoop_open) unable to connect client
*** glibc detected *** double free or corruption (out): 0x7c15f378 ***
wine: Assertion failed at address 0x4006f251 (thread 0009), starting debugger...
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
WineDbg starting on pid 0x8
Unhandled exception: assertion failed in 32-bit code (0x4006f251).
In 32 bit mode.
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:0000
 EIP:4006f251 ESP:4069c20c EBP:4069c220 EFLAGS:00000246(   - 00      - IZP1)
 EAX:00000000 EBX:000026ba ECX:00000006 EDX:40155ff4
 ESI:00000006 EDI:00000010
Stack dump:
0x4069c20c:  4006efe1 000026ba 00000006 40155ff4
0x4069c21c:  4069c234 4069c34c 4007035c 00000006
0x4069c22c:  4069c234 00000000 00000020 00000000
0x4069c23c:  00000000 00000000 00000000 00000000
0x4069c24c:  00000000 00000000 00000000 00000000
0x4069c25c:  00000000 00000000 00000000 00000000
Backtrace:
=>1 0x4006f251 kill+0x11 in libc.so.6 (0x4006f251)
  2 0x4007035c abort+0x9c in libc.so.6 (0x4007035c)
  3 0x400a1b19 __libc_fatal+0x0 in libc.so.6 (0x400a1b19)
  4 0x400a729b in libc.so.6 (+0x6129b) (0x400a729b)
  5 0x400a7d1c cfree+0x80 in libc.so.6 (0x400a7d1c)
  6 0x466c247d (0x466c247d)
  7 0x466a3761 (0x466a3761)
  8 0x465eeaaf _ZN4Arts9MCOPUtils15readConfigEntryERKSsS2_+0x1b9 in libmcop.so.1 (0x465eeaaf)
  9 0x4069c63c (0x4069c63c)
0x4006f251 kill+0x11 in libc.so.6: movl %edx,%ebx
And much more stuff... Maybe i should compile wine without alsa support?
My emerge info:

Code: Select all

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium4 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.unina.it/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://silicon.bo.imm.cnr.it/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cjk crypt cups curl dvd dvdr eds emboss encode exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif gmp gnutls gpm gstreamer gtk gtk2 idn imagemagick imlib immqt-bc java jpeg junit kde lcms libg++ libwww mad matroska mikmod mmx mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcmcia pcre pdflib perl png python qt quicktime readline real samba sdl slang spell sse sse2 ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xine xml2 xv xvid zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, MAKEOPTS
And some more info.

Code: Select all

emerge -av =wine-0.9.6-r901

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-emulation/wine-0.9.6-r901  +X +alsa +arts +cups -debug -esd +gif -glut -jack +jpeg +lcms -ldap -nas +ncurses +opengl +oss -scanner +truetype +xml2 0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage
Last edited by Darknight on Thu Feb 09, 2006 4:00 pm, edited 2 times in total.
Top
Dr.Black.85
n00b
n00b
User avatar
Posts: 55
Joined: Mon Dec 19, 2005 9:44 am
Location: Czech Republic
Contact:
Contact Dr.Black.85
Website

  • Quote

Post by Dr.Black.85 » Mon Feb 06, 2006 12:00 pm

I had the same problem back with my old laptop when I tried to configure the sound under wine to alsa. Then if I wanted to change it the configurato crashed with a debugger output. It seems that wine doesn't still support alsa perfectly because my system was correctly setup to alsa.

I made it work by deleting the wine configuration directory (it was the fastest way since I didn't put there any data yet) and then configured the output to arts (which used alsa). After this the sound worked however in it made graphic performance drop to about a half.

The other option is to play with configuration files however that may (and probably will) take some time.
How will you notice that you spend too much time programming?
When you're surprised that your document writer isn't marking lines unfinished by semicolon with "cannot find symbol"
Top
Darknight
Guru
Guru
User avatar
Posts: 485
Joined: Mon Jan 26, 2004 8:41 am
Location: Italy

  • Quote

Post by Darknight » Mon Feb 06, 2006 2:35 pm

Unfortunately even deleting the configuration didn't improve things.
I try to open the sound tab as the first thing I do when I start winecfg but it always crashes.
Maybe I should just leave it be? What's the default configuration? Oss?
I have mapped oss emulation via alsa in my system, so oss should really use alsa anyway. Could this be the reason for the crashes, or rather could save the day, if oss is the default for wine?
Top
Darknight
Guru
Guru
User avatar
Posts: 485
Joined: Mon Jan 26, 2004 8:41 am
Location: Italy

  • Quote

Post by Darknight » Mon Feb 06, 2006 2:42 pm

I forgot to mention that I tried to look in config files for a clue but I'm confused about documentation and what I read in forums: is the config file still used or is the entire configuration stored in the fake windows registry?
Top
Dr.Black.85
n00b
n00b
User avatar
Posts: 55
Joined: Mon Dec 19, 2005 9:44 am
Location: Czech Republic
Contact:
Contact Dr.Black.85
Website

  • Quote

Post by Dr.Black.85 » Tue Feb 07, 2006 11:29 am

Sorry it took me so long. I was taking exams from database systems and it took longer then I expected.

With wine configuration. In newer versions it seems that everything is stored in fake registries (or at least it looks like that). I think the default conf should be OSS (with alsa in my make.conf). However it seems that there is no way to know it for sure.

In wine I know that when it was configured to OSS sound in some appliactions didn't work (have no idea why) with words that soundcard is not present. In some programs the sound worked quite fine.

And I don't hink that mapping through OSS to ALSA would cause problems. At least not in my case where it was crashing when it was set to direct use of ALSA.
How will you notice that you spend too much time programming?
When you're surprised that your document writer isn't marking lines unfinished by semicolon with "cannot find symbol"
Top
pblinux
n00b
n00b
Posts: 17
Joined: Sat Jan 07, 2006 4:29 pm

  • Quote

Post by pblinux » Thu Feb 09, 2006 2:35 am

I sidestepped this sound tab crash in winecfg with the following workaround:

mv /usr/lib/wine/winearts.drv.so /usr/lib/wine/winearts.drv.so~
Top
Darknight
Guru
Guru
User avatar
Posts: 485
Joined: Mon Jan 26, 2004 8:41 am
Location: Italy

  • Quote

Post by Darknight » Thu Feb 09, 2006 3:59 pm

Confirmed!
Top
Darknight
Guru
Guru
User avatar
Posts: 485
Joined: Mon Jan 26, 2004 8:41 am
Location: Italy

  • Quote

Post by Darknight » Thu Feb 09, 2006 11:20 pm

One last thing: once you have successfully opened the tab once, you can move the library file back in place, it will work.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic