alcinnz, (edited )
@alcinnz@floss.social avatar

Ugh! My debugging tools aren't helping me figure out why Haphaestus is freezing/crashing when I integrate all its pieces together!

They're just saying "Null pointer in the GHC garbage collection!" I've tried GDB, LTrace, & Valgrind.

Help please! I'm willing to pay an experienced Haskeller to get myself unstuck! Or maybe a C dev's better...

wizzwizz4,
@wizzwizz4@fosstodon.org avatar

@alcinnz Not an experienced Haskeller (so no charge), but I have an eclectic enough knowledgeset that I might catch it. Do you have steps to reproduce? (Chuck a tarball on 0x0.st, maybe?)

18+ alcinnz,
@alcinnz@floss.social avatar

@wizzwizz4 Here's some instructions (if you've got a remotely recent version of Git, SDL2, GHC, Cabal, FontConfig, & Harfbuzz):

git clone https://git.argonaut-constellation.org/~alcinnz/CatTrap
cd CatTrap
cabal run cattrap-argonaut https://haphaestus.org/

That'll usually crash! Once its fetched all the Haskell libraries needed.

alcinnz,
@alcinnz@floss.social avatar

@wizzwizz4 Oh, and thanks for the offer!

18+ wizzwizz4,
@wizzwizz4@fosstodon.org avatar

@alcinnz Warning: The package list for 'hackage.haskell.org' is 371 days old.
Run 'cabal update' to get the latest list of available packages.

… I didn't realise it'd been quite that long since I last used Haskell!

18+ alcinnz,
@alcinnz@floss.social avatar

@wizzwizz4 You'd probably need to do that then... I have uploaded some of those dependencies well within the last year!

18+ wizzwizz4,
@wizzwizz4@fosstodon.org avatar

@alcinnz Okay, I've got an actual issue now. It can't find a correct harfbuzz version.

[…]
[__0] rejecting: cattrap-0.5.0.0 (constraint from user target requires
==0.4.0.0)
[__0] trying: cattrap-0.4.0.0
[__1] next goal: harfbuzz-pure (dependency of cattrap)
[__1] rejecting: harfbuzz-pure-1.0.4.0, harfbuzz-pure-1.0.3.2 (conflict:
pkg-config package harfbuzz==3.3 || >3.3, not found in the pkg-config
database)
[…]

Any idea what I'm doing wrong? It can see cattrap fine.

18+ wizzwizz4,
@wizzwizz4@fosstodon.org avatar

@alcinnz Ah, never mind, it's just saying I need to install Harfbuzz 3.3.0 or newer. (Rather clear error message, that! I just couldn't read it.)

The easiest way to install these dependencies is to upgrade my OS (I'm still on Debian bullseye), and I can't do that right now. Sorry.

alcinnz,
@alcinnz@floss.social avatar

@wizzwizz4 Thanks for the attempt, anyways!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • DreamBathrooms
  • tacticalgear
  • mdbf
  • InstantRegret
  • magazineikmin
  • Youngstown
  • thenastyranch
  • rosin
  • slotface
  • Durango
  • cubers
  • kavyap
  • cisconetworking
  • JUstTest
  • GTA5RPClips
  • modclub
  • tester
  • khanakhh
  • everett
  • provamag3
  • osvaldo12
  • Leos
  • normalnudes
  • ethstaker
  • megavids
  • anitta
  • lostlight
  • All magazines