Quantcast

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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

GHC - devs mailing list
#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
           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:
-------------------------------------+-------------------------------------
 Markus Trippelsdorf on `ghc-devs` reports that 8.2.1-rc2 produces crashing
 `xmobar` executables.

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

GHC - devs mailing list
#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:                    |
-------------------------------------+-------------------------------------
Description changed by bgamari:

@@ -3,0 +3,14 @@
+ {{{
+ Program received signal SIGSEGV, Segmentation fault.
+  0x0000000000873aa8 in ghczmprim_GHCziClasses_eqChar_info ()
+ }}}
+  or:
+ {{{
+  Program received signal SIGSEGV, Segmentation fault.
+  0x0000000000873f98 in ghczmprim_GHCziClasses_zdfEqModulezuzdszdczeze_info
+ ()
+  (gdb) bt
+  #0  0x0000000000873f98 in
+ ghczmprim_GHCziClasses_zdfEqModulezuzdszdczeze_info ()
+  #1  0x0000000000000000 in ?? ()
+ }}}

New description:

 Markus Trippelsdorf on `ghc-devs` reports that 8.2.1-rc2 produces crashing
 `xmobar` executables.
 {{{
 Program received signal SIGSEGV, Segmentation fault.
  0x0000000000873aa8 in ghczmprim_GHCziClasses_eqChar_info ()
 }}}
  or:
 {{{
  Program received signal SIGSEGV, Segmentation fault.
  0x0000000000873f98 in ghczmprim_GHCziClasses_zdfEqModulezuzdszdczeze_info
 ()
  (gdb) bt
  #0  0x0000000000873f98 in
 ghczmprim_GHCziClasses_zdfEqModulezuzdszdczeze_info ()
  #1  0x0000000000000000 in ?? ()
 }}}

--

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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:                    |
-------------------------------------+-------------------------------------
Description changed by bgamari:

@@ -3,0 +3,1 @@
+
@@ -7,1 +8,3 @@
-  or:
+
+ or:
+

New description:

 Markus Trippelsdorf on `ghc-devs` reports that 8.2.1-rc2 produces crashing
 `xmobar` executables.

 {{{
 Program received signal SIGSEGV, Segmentation fault.
  0x0000000000873aa8 in ghczmprim_GHCziClasses_eqChar_info ()
 }}}

 or:

 {{{
  Program received signal SIGSEGV, Segmentation fault.
  0x0000000000873f98 in ghczmprim_GHCziClasses_zdfEqModulezuzdszdczeze_info
 ()
  (gdb) bt
  #0  0x0000000000873f98 in
 ghczmprim_GHCziClasses_zdfEqModulezuzdszdczeze_info ()
  #1  0x0000000000000000 in ?? ()
 }}}

--

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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):

 {{{
 markus@x4 xmobar % cat /home/markus/cputemp
 cat /sys/bus/pci/drivers/k10temp/0000:00:18.3/hwmon/hwmon1/temp1_input |
 awk '{printf "%.1f", $1/1000}'

 markus@x4 xmobar % cat /home/markus/loadav
 cat /proc/loadavg | cut -d " " -f 1,2,3

 markus@x4 xmobar % cabal install --flags="with_xft with_utf8"
 }}}

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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):

 Also happens when build with -O1. Unfortunately, it can take several hours
 to hit the crash.

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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 bgamari):

 I left your xmobar configuration (build with `-O1` from git) running under
 gdb
 for around 24 hours and I never observed a crash. Perhaps you could cite
 the dependency versions you are using?

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#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):

 {{{
 markus@x4 xmobar % cabal install --flags="with_xft with_utf8" --dry-run
 --allow-newer
 Resolving dependencies...
 In order, the following would be installed (use -v for more details):
 data-default-class-0.1.2.0
 data-default-instances-containers-0.0.1
 dlist-0.8.0.2
 data-default-instances-dlist-0.0.1
 mtl-2.2.1
 network-2.6.3.1
 old-locale-1.0.0.7
 data-default-instances-old-locale-0.0.1
 data-default-0.7.1.1
 X11-1.8
 regex-base-0.93.2
 regex-posix-0.95.2
 regex-compat-0.95.1
 stm-2.4.4.1
 text-1.2.2.1
 parsec-3.1.11
 network-uri-2.6.1.0
 HTTP-4000.3.6
 utf8-string-1.0.1.1
 X11-xft-0.3.1
 xmobar-0.24.4
 }}}

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Loading...