this post was submitted on 28 Feb 2024
1012 points (97.0% liked)

Programmer Humor

32721 readers
701 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 9 months ago (1 children)

I'm not a C/C++ dev, but isn't apport Ubuntu's crash reporter? Why would dumps be going into there?

Though on a rhetorical thought, I am aware of systemd's coredumptctl so perhaps its collecting dumps the same way systemd does.

[–] [email protected] 11 points 9 months ago* (last edited 9 months ago) (1 children)

https://wiki.ubuntu.com/Apport

It intentionally acts as an intercept for such things, so that core dumps can be nicely packaged up and sent to maintainers in a GUI-friendly way so maintainers can get valuable debugging information even from non-tech-savvy users. If you're running something on the terminal, it won't be intercepted and the core dump will be put in the working directory of the binary, but if you executed it through the GUI it will.

Assuming, of course, you turn crash interception on- it's off by default since it might contain sensitive info. Apport itself is always on and running to handle Ubuntu errors, but the crash interception needs enabled.

[–] [email protected] 7 points 9 months ago (1 children)

Ah I see, that's actually pretty cool - thanks!