Ticket #1258 (closed defect: fixed)

Opened 2 years ago

Last modified 12 months ago

SIGSEGV on Arch linux with GHC 7.4.1

Reported by: guest Owned by: somebody
Priority: blocker Milestone: 0.11.1
Component: general (Gtk+, Glib) Version:
Keywords: Cc: timothyhobbs@…

Description

I get a SIGSEGV on Arch linux when running any of the gtk2hs sample apps. These build, but crash imediately. http://src.gnu-darwin.org/ports/x11-toolkits/hs-gtk2hs/work/gtk2hs-0.9.12.1/demo/cairo/ This crashes when I press the button. http://code.haskell.org/gtk2hs/gtk/demo/gtkbuilder/ ============================================= gtk2hs-buildtools 0.12.1-2 ============================================= haskell-gtk 0.12.2-2 ============================================= [timothy@timothy ~]$ ghc -v Glasgow Haskell Compiler, Version 7.4.1, stage 2 booted by GHC version 7.4.1 Using binary package database: /usr/lib/ghc-7.4.1/package.conf.d/package.cache wired-in package ghc-prim mapped to ghc-prim-0.2.0.0-bd29cb1ca1b712d64e00ac9207f87d0a wired-in package integer-gmp mapped to integer-gmp-0.4.0.0-ec87c5d9609a1d46da031ef5d51c4f79 wired-in package base mapped to base-4.5.0.0-c8e7184681d410015e93df85fc49e9dd wired-in package rts mapped to builtin_rts wired-in package template-haskell mapped to template-haskell-2.7.0.0-fea440f2bc02cf9a412f25b6b74c4a70 wired-in package dph-seq not found. wired-in package dph-par not found. Hsc static flags: -static *** Deleting temp files: Deleting: *** Deleting temp dirs: Deleting: ghc: no input files Usage: For basic information, try the `--help' option.

Change History

Changed 13 months ago by dmwit

Are you still having this problem? What version of gtk are you using? Can you try some more up-to-date code than the demos bundled with 0.9...?

Changed 12 months ago by dmwit

  • status changed from new to closed
  • resolution set to fixed

I believe this was the result of some incorrect code in hsgclosure.c that has since been fixed. Thanks for the report.

Note: See TracTickets for help on using tickets.