Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-04-04 Thread Edsko de Vries
Hi Alfredo, No dark magic as far as I recall (except in the actual bundling as a Mac app, unfortunately that required some magic, the GTK libraries don't relocate so easily :-( ). I didn't have any problems building. I compiled it with ghc 7.6.1, with the GTK libraries installed manually (there

Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-04-04 Thread Alfredo Di Napoli
Hi Edsko, thanks for the reply. The only things that might affect the outcome are: a) Ghc version: I'm running ghc 7.6.2 instead of 7.6.1 b) Don't know if you are using cabal-dev as sandboxing (like any good Haskell programmer I'm too lazy to open your blog post :D ), whilst I'm using hsenv c)

Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-04-04 Thread Edsko de Vries
a) 7.6.2 vs 7.6.1 seems unlike to be the issue, although theoretically possible I guess. b) Actually, the blog post is how to set things up by hand for better control than either of those tools give you; but again, I don't think it's relevant. c) This might be a bigger difference. I don't know

Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-04-04 Thread Alfredo Di Napoli
Perfect, I will try to probe the ground for points c) and d), and I will get back to all of you if I manage to shed some light to this mystery :D A. On 4 April 2013 09:12, Edsko de Vries edskodevr...@gmail.com wrote: a) 7.6.2 vs 7.6.1 seems unlike to be the issue, although theoretically

Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-04-03 Thread Edsko de Vries
I provide a ThreadScope binary on my site ( http://www.edsko.net/2013/01/24/threadscope-0-2-2/) which runs fine for me on 10.8.3. -E On Mon, Apr 1, 2013 at 8:01 AM, Dominic Steinitz domi...@steinitz.orgwrote: Alfredo Di Napoli alfredo.dinapoli at gmail.com writes: Said that,has someone

Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-04-03 Thread Dominic Steinitz
Cool! Works for me. Many thanks, Dominic On 3 Apr 2013, at 12:40, Edsko de Vries edskodevr...@gmail.com wrote: I provide a ThreadScope binary on my site (http://www.edsko.net/2013/01/24/threadscope-0-2-2/) which runs fine for me on 10.8.3. -E On Mon, Apr 1, 2013 at 8:01 AM, Dominic

Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-04-03 Thread Alfredo Di Napoli
Thanks Edsko, the app is awesome and it's starting just fine. Even though this fixes my problem, it doesn't solve the root, namely why it was failing. Can you tell me a bit more about the dark magic you used to make it work? Which GHC version did you use? Thanks a lot, A. On 3 April 2013

Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-04-01 Thread Dominic Steinitz
Alfredo Di Napoli alfredo.dinapoli at gmail.com writes: Said that,has someone had any luck in running Threadscope on Mac OS X 10.8 at all? Thanks, A. I think I have encountered the same problem: https://groups.google.com/d/msg/parallel-haskell/-lhrgNN8elw/KzqLM9BzoJwJ In my

Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-03-31 Thread Alfredo Di Napoli
Fair enough :) Here is the gdb output: (gdb) run Starting program: /Users/adinapoli/Library/Haskell/ghc-7.6.2/bin/threadscope Reading symbols for shared libraries

Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-03-31 Thread Tobias Müller
Alfredo Di Napoli alfredo.dinap...@gmail.com wrote: Fair enough :) Here is the gdb output: (gdb) run Starting program: /Users/adinapoli/Library/Haskell/ghc-7.6.2/bin/threadscope Reading symbols for shared libraries

Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-03-31 Thread Alfredo Di Napoli
Hi Tobias, What do you mean by _some_ program? It's the program that you started (threadscope). In a forum I've read that this error could be some third party app (for example one started at login or running as a daemon) which is conflicting and causing the error. Unlikely, but i've

[Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-03-30 Thread Alfredo Di Napoli
Hi Cafè, I've tried installing threadscope, but when I run it from console with threadscope I get a laconic segmentation fault. Some info to help the debugging: * Installed gtk via brew * gtk-demo runs correctly * I'm using Mac Os X 10.8.3 * Running gtk and threadscope through a virtual

Re: [Haskell-cafe] Threadscope 0.2.2 goes in segmentation fault on Mac Os X 10.8.3

2013-03-30 Thread John Wiegley
Alfredo Di Napoli alfredo.dinap...@gmail.com writes: I know it's a bit difficult to debug this way, I can try debugging with gdb if it can help. Yes, can you show us a backtrace from gdb, and also look in your CrashReports log folder to see if it gives a bit more information on the state of