[GHC] #13707: xmobar crashes with segmentation faults?

GHC ghc-devs at haskell.org
Tue May 16 18:38:50 UTC 2017


#13707: xmobar crashes with segmentation faults?
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.2.1-rc2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by trippels):

 Not sure if it matters, but I built the latest xmobar git tree with -O2.
 {{{


  ~ % cat .xmobarrc
 Config { font = "xft:Consolas:size=8"
        , bgColor = "#fafafa"
        , fgColor = "#606060"
        , position =  BottomSize C 100 0
        , lowerOnStart = True
        , hideOnStart = False
        , persistent = False
        , commands = [ Run Weather "EDDT" ["-t","<tempC>°C <rh>%"] 18000
                     , Run Network "eth0" ["-t","<rx> <tx>","-w","4"] 10
                     , Run Cpu ["-t","<total>%","-L","3","-H","50","--
 normal","blue","--high","red"] 10
                     , Run Date "%a %b %_d %H:%M" "date" 10
                     , Run Com "/home/markus/cputemp" [] "temp" 100
                     , Run Com "/home/markus/loadav" [] "loadav" 100
                     , Run StdinReader
                     ]
        , sepChar = "%"
        , alignSep = "}{"
        , template = "%StdinReader% }{%cpu% | %loadav% | %temp%°C | %eth0%
 | %EDDT% | %date%"
        }
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13707#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list