I am running 15.0-RELEASE-p4, deskutils/gsimplecal-2.5.2 installed from packages % gdb /usr/local/bin/gsimplecal gsimplecal.core ~ GNU gdb (GDB) 15.1 [GDB v15.1 for FreeBSD] Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd15.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/bin/gsimplecal... (No debugging symbols found in /usr/local/bin/gsimplecal) [New LWP 100500] Core was generated by `gsimplecal'. Program terminated with signal SIGABRT, Aborted. Sent by thr_kill() from pid 61201 and user 1000. #0 0x00000008304969ea in thr_kill () from /lib/libsys.so.7 (gdb) bt #0 0x00000008304969ea in thr_kill () at /lib/libsys.so.7 #1 0x0000000825391894 in raise () at /lib/libc.so.7 #2 0x00000008254436f9 in abort () at /lib/libc.so.7 #3 0x0000000824164fb8 in ??? () at /lib/libcxxrt.so.1 #4 0x00000008241630e9 in std::terminate() () at /lib/libcxxrt.so.1 #5 0x00000008241635d4 in ??? () at /lib/libcxxrt.so.1 #6 0x00000008241634e9 in __cxa_throw () at /lib/libcxxrt.so.1 #7 0x000000000020a469 in ??? () #8 0x0000000000208fe2 in ??? () #9 0x000000082536637f in __libc_start1 () at /lib/libc.so.7 #10 0x00000000002065e4 in ??? () (gdb)
I can replicate it on 16-CURRENT (main-n284153-d2dea8b46a8a). Any clues about it?
(In reply to Nuno Teixeira from comment #1) (...) In my run-test, program crashes after I close it.
(In reply to Ludger Bolmerg from comment #0) Are you using a tiling manager (e.g., XMonad, Awesome, i3)? I will take a look and check if tiling managers could cause problems and what options should be used to fix it. In worst case, I'm planing a build with debug, get a trace of core dump ans send it to upstream.
(In reply to Nuno Teixeira from comment #3) (...) Just found out that: 1- gsimplecal crashes if no ~/config/gsimplecal/config exists. If not exists, use the sample config found in man page 2- When config file exists, program crashes in the end (i.e., when closing it). if program is run with `% env LC_ALL=C gsimplecal`, probloem is fixed and no core dump.
(In reply to Nuno Teixeira from comment #3) no tiling manager here. I am using x11-wm/openbox and x11/tint2
(In reply to Ludger Bolmerg from comment #5) Do you tried point 1 and 2 from #c4 ?
(In reply to Nuno Teixeira from comment #6) I have created .config/gsimplecal/config and copied the sample config from the man page into that file. I can confirm that I don´t get core dumps any longer. Terminating gsimplecal by executing the program a second time does also work without core dumps. Thanks a lot, this solved my issue
(In reply to Ludger Bolmerg from comment #7) Thanks for testing and reporting. I've also forgot that port have a pkg-message: [ { type: install message: <<EOM In order to use gsimplecal it is required to create a configuration file in ~/.config/gsimplecal See man gsimplecal for an example of such a configuration file. EOM } ] :)