Bug 278442 - x11/xfce4-terminal: crashes when opening a new tab
Summary: x11/xfce4-terminal: crashes when opening a new tab
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-xfce (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-18 20:13 UTC by Pat Maddox
Modified: 2024-04-18 20:48 UTC (History)
2 users (show)

See Also:
madpilot: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Maddox 2024-04-18 20:13:52 UTC
All instances of xfce4-terminal crash when opening a new tab on 15-CURRENT. It worked fine on 13.2.

Apr 18 20:09:07 gulliver kernel: pid 2831 (xfce4-terminal), jid 0, uid 501: exited on signal 6 (core dumped)
Comment 1 Pat Maddox 2024-04-18 20:14:45 UTC
I could use some guidance on how to analyze a core dump to make this a more helpful PR. I am googling, but I've never done this before.
Comment 2 Marek Zarychta 2024-04-18 20:32:37 UTC
I cannot reproduce. Please try to upgrade to the recent CURRENT and reinstall all packages.
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2024-04-18 20:48:41 UTC
Hi,

I'm also not seeing this. It is impossible to tell what is causing this without at least a backtrace.

A core dump from a standard binary is not useful unluckily, since by default binaries do not include debug symbols and analyzing those would give very little information.

First you should recompile the crashing program with debug symbols (passing WITH_DEBUG=yes to the make command when building the port).

Then you can use gdb or lldb passing it the binary and the core dump (please check man page for command line syntax details) and ask for a backtrace with be "bt" command. [1]

That backtrace should provide some information. Please note that it the crash happens in any library used by the crashing program, the calls to that library will also miss symbols and that library too will need to be recompiled with debug symbols.

You can anyway try to create a backtrace from the core dump you have, maybe it could at least tell us if xfce4-terminal is crashing in its own code, or in a library linked to it.

Apart from this you should provide some extra information:

- Are you using binary packages?

- Are you building your own?

- From ports or using poudriere?


[1] here is some documentation: https://lldb.llvm.org/use/tutorial.html

fundamentally:

> lldb -c <core file> <executable that generated the core>

(lldb) bt