PDA

View Full Version : .xsession-errors grows huge running wine



treii28
January 28th, 2013, 07:04 PM
Whenever I run anything in wine, I get the following error spam continues the entire time the program is running until it fills up the hard drive and the .xsessions-errors becomes absolutely HUGE!

Can anyone tell me either what to fix or how to stop this from filling my hard disks?

.xsession-errors:
------------------------
...
fixme:iphlpapi:NotifyAddrChange (Handle (nil), overlapped (nil)): stub
fixme:iphlpapi:NotifyAddrChange (Handle (nil), overlapped (nil)): stub
fixme:iphlpapi:NotifyAddrChange (Handle (nil), overlapped (nil)): stub
fixme:iphlpapi:NotifyAddrChange (Handle (nil), overlapped (nil)): stub
fixme:iphlpapi:NotifyAddrChange (Handle (nil), overlapped (nil)): stub
fixme:iphlpapi:NotifyAddrChange (Handle (nil), overlapped (nil)): stub

...
------------------------

treii28
January 28th, 2013, 07:39 PM
for the record, I managed to come up with a short term fix. I was launching wine from the cinnamon launcher for a given app. (I get the error spam on any wine program I've tried yet)

So I took the launcher code and added it to a file in my ~/bin directory so I could re-direct all the output to /dev/null for the time being:

----------------
#!/bin/bash

export WINEPREFIX=$HOME/.wine
WINEXE=/usr/bin/wine

# PATH TO windows start menu shortcut here
STARTMENU=$HOME/.wine/dosdevices/c:/users/Public/Start\ Menu/Programs
LNKFILE=$STARTMENU/Mozilla\ Firefox.lnk

$WINEXE C:/windows/command/start.exe /Unix $LNKFILE \
> /dev/null 2>&1
----------------

Then I just changed the launcher to point to the ~/bin script instead of directly at wine and the start launcher

Tweak42
January 30th, 2013, 04:28 AM
I'm not sure but would disabling all winedebug output work in this case?

http://www.winehq.org/docs/winedev-guide/dbg-control