Skip to content

Ruby backtraces are not recognized anymore #344

@voxik

Description

@voxik

Triggering Ruby backtrace, ABRT can't understand the stack trace. I get the following entry in journal:

srp 01 10:05:36 fedora abrt[3441644]: detected unhandled Ruby exception in '/usr/share/gems/gems/abrt-0.4.0/lib/abrt.rb'
srp 01 10:05:36 fedora abrt[3441644]: detected unhandled Ruby exception in '/usr/share/gems/gems/abrt-0.4.0/lib/abrt.rb'
srp 01 10:05:36 fedora abrt-server[3441647]: Not saving repeating crash in '/usr/share/gems/gems/abrt-0.4.0/lib/abrt.rb'
srp 01 10:05:36 fedora abrt-server[3441646]: Can't parse stacktrace: Line 1, column 70: Traceback header not found.
srp 01 10:05:36 fedora abrt-server[3441646]: Deleting problem directory rbhook-2025-08-01-10:05:36-3441644 (dup of rbhook-2025-07-21-18:22:30-2274830)

I think that the Traceback header not found error comes from here:

if (!local_input)
{
location->message = "Traceback header not found.";
return NULL;
}

I think back in the days, things were simpler and using Python handler for Ruby backtrace was good enough. But over the time, the Python handler got smarter, but obviously, Ruby backtrace is not Python backtrace 🤷‍♂️

Not really sure how to proceed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions