ibboard,
@ibboard@hachyderm.io avatar

Fighting a segfault in written in Python.

Only it's before it hits my code.

Finally tracked it down to a YAML library by stripping it from the deploy. I now get "cannot import". Just need to work out what I can do about it.

ibboard,
@ibboard@hachyderm.io avatar

Cool. can give more info about segfault if you import faulthandler and run faulthandler.enable()

Segfault is apparently coming from AWS's s3transfer library importing the core multiprocessing manager? WTF?

Stark9837,
@Stark9837@techhub.social avatar

@ibboard

With C++ during my operating systems course and datastructures, seg faults were the bain of my existence, but I think I've only once encountered a seg fault.

@Python

ibboard,
@ibboard@hachyderm.io avatar

@Stark9837 @Python Yeah, I really didn't expect to hit them in Python. And it's a nightmare to trace a cause for and fix because "cloud" means "limited debugging opportunities for unusual situations".

Stark9837,
@Stark9837@techhub.social avatar

@ibboard

This is where I usually try to get the error to occur on AWS, that the web console will output information which a local terminal can't.

ibboard,
@ibboard@hachyderm.io avatar

@Stark9837 AWS was originally providing LESS information than I'd get when I was maintaining mixed Vala and C on Linux and segfaulting on the desktop!

Still no closer to working out which of several dozen package updates spontaneously breaks the app after it was updated by segfaulting in core Python multiprocessing imports from s3transfer, which is imported by boto3.

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