[systemd-bugs] [Bug 82507] RFE: Collect Python backtraces

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 17 06:15:50 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=82507

--- Comment #1 from Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> ---
Yeah, this should be totally doable.

I'm don't think this should live in systemd itself — we moved most of the
Python bits out of systemd. Primary consideration is that Python tends to be
multi-versioned, and then we had to run build and installation multiple times
for different python versions. It worked by was slow and cumbersome. Autotools
also works for Python stuff, but it is not as well integrated as the native
tools.

Basically, we'd define a new MESSAGE_ID specific for Python exceptions, and
then we could dump whatever info needs to be dumped to the journal. So the code
would be more or less like the existing code in abrt's exception_handler, but
slightly simpler.

To make it nice to users, coredumpctl would have to be taught to also look at
this new MESSAGE_ID. This should be simple enough, just integrate it in
'coredumpctl list' and 'info'. There is no coredump, so 'gdb', 'dump' don't
apply.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-bugs/attachments/20161017/8f228caa/attachment.html>


More information about the systemd-bugs mailing list