New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taffybar hangs on FUTEX_WAIT_PRIVATE #44
Comments
Interesting. Are you running Linux? Can you attach your config? |
Yes, and yes: uname -r
3.10.3-1-ARCH import System.Taffybar
import System.Taffybar.Systray
import System.Taffybar.TaffyPager
import System.Taffybar.Pager (colorize, escape, shorten, wrap)
import System.Taffybar.SimpleClock
import System.Taffybar.MPRIS2
import System.Taffybar.FreedesktopNotifications
import System.Taffybar.Weather
import System.Taffybar.NetMonitor
import System.Taffybar.Battery
import Solarized
space = " "
main = do
let weatherCfg = (defaultWeatherConfig "EGBE") { weatherTemplate = colorize solarizedViolet "" "Coventry Airport" ++ colorize solarizedBlue "" ":" ++ space ++ colorize solarizedGreen "" "$tempC$" ++ colorize solarizedBlue "" "°C" ++ space ++ colorize solarizedViolet "" "@" ++ space ++ colorize solarizedMagenta "" "$humidity$" ++ colorize solarizedBlue "" "%" ++ space ++ colorize solarizedRed "" "$skyCondition$" }
clock = textClockNew Nothing (colorize solarizedViolet "" "%a" ++ space ++ colorize solarizedBlue "" "%b" ++ space ++ colorize solarizedCyan "" "%_d" ++ space ++ colorize solarizedYellow "" "%H" ++ colorize solarizedViolet "" ":" ++ colorize solarizedYellow "" "%M" ++ colorize solarizedViolet "" ":" ++ colorize solarizedYellow "" "%S") 1
pager = taffyPagerNew defaultPagerConfig
{ activeWindow = colorize solarizedBlue "" . escape . shorten 128
, activeLayout = colorize solarizedViolet "" . escape
, activeWorkspace = colorize solarizedMagenta "" . escape
, hiddenWorkspace = colorize solarizedBase01 "" . escape
, emptyWorkspace = colorize solarizedBase00 "" . escape
, visibleWorkspace = colorize solarizedGreen "" . escape
, urgentWorkspace = colorize solarizedOrange "" . wrap "!" "!" . escape
, widgetSep = colorize solarizedCyan "" " | "
}
tray = systrayNew
nowPlaying = mpris2New
notifications = notifyAreaNew defaultNotificationConfig
net = netMonitorNew 1 "wlp3s0"
weather = weatherNew weatherCfg 10
battery = textBatteryNew (colorize solarizedRed "" "%d" ++ colorize solarizedBlue "" "%%") 5
defaultTaffybar defaultTaffybarConfig {
monitorNumber = 0
, barHeight = 16
, startWidgets = [ pager ]
, endWidgets = [ clock, battery, weather, tray, net, nowPlaying, notifications ]
} |
I think this may be related to issue #43 |
Just to try to get a better handle on this issue: you are using dynamic workspaces as well, as in #43? If so, are you adding (or, I suspect, removing) workspaces when this hang occurs? I can think up a scenario where removing one of the initial workspaces might cause a hang. That said, I don't know off-hand how the internals of taffypager work. |
I am using dynamic workspaces, but this hang actually seems to occur during initialization. Infact, I can't even get taffybar to appear anymore, and I haven't changed my xmonad.hs at all. |
I no longer believe this to be an issue with TaffyPager, as I've since switched back to the standard DBus XMonadLog method, and this still occurs. |
Infact, I can't get any commit to work properly. EDIT: The example taffybar configs work fine. |
I found the issue, it was with the battery component. It seems that UPower for me was broken by a recent update. Taffybar could die or otherwise act more gracefully, perhaps spew out an error rather than wait eternally though. |
Often Taffybar hangs, appearing not to launch.
Recently I made the switch to TaffyPager, and afterwards I began to experience this behaviour.The full strace is belowhttp://puu.sh/3NOOW.txt
The text was updated successfully, but these errors were encountered: