FS#74968 - [frogatto] segfault & core dump

Attached to Project: Community Packages
Opened by Adoa Coturnix (adoa) - Sunday, 05 June 2022, 14:24 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 09 October 2022, 02:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Frogatto does not launch.
It appears to not find a configuration file (which is probably normal upon first launch),
but then segfaults and spits out a core dump.

Additional info:
* frogatto 1.3.1-37
* frogatto-data 1.3.1-5
* linux-lts 5.15.44-1
* mesa 22.1.0-1
* gnome-desktop 1:42.2-1
* mutter 42.2-1

Gnome/Wayland session
AMD Radeon RX 580 + mesa drivers

Steps to reproduce:

install the frogatto package & launch

$ sudo pacman -S frogatto
$ frogatto
Frogatto engine version 1.3
LOOKING IN 'modules/frogatto/module.cfg': 1
EXPAND DATA PATHS
SET PREFERENCES PATH: ~/.frogatto/
PARSE ERROR: : Could not find file ./signature.cfg
EXPAND DATA PATHS
Preferences dir: /home/adoa/.frogatto/
get_dir(): /home/adoa/.frogatto/

[1] 12360 segmentation fault (core dumped) frogatto

$ coredumpctl info /opt/frogatto/game
<snip>
Message: Process 11747 (game) of user 1000 dumped core.

Module linux-vdso.so.1 with build-id 81ddf9b5b884a640e33df89ef1b928f79f111a8d
Module libatomic.so.1 with build-id 7c1907c77fdfa87da0a195b2bcb1db37802b590c
Module libudev.so.1 with build-id 541e6841430a5ee36134325ec0ce669c2c0b9053
Module libusb-1.0.so.0 with build-id 98d3b69176fc359d2c574759c2064f83e5cdf8ed
Module libXxf86vm.so.1 with build-id b8b37b0c66be0a760a8491e3c86a00c4efdc825d
Module libXss.so.1 with build-id a3b819a932d6eb2b4fbfd0c6bd77242ef14e7366
Module libXrandr.so.2 with build-id 154e55f082ee9e685d0794c98c5b76ffe9c8868e
Module libXi.so.6 with build-id 16603be937a02a7e61b0b0395d064be7efd86f49
Module libXinerama.so.1 with build-id 8198240259261b612189e89c9fcfc902b025b382
Module libXfixes.so.3 with build-id 0a05c7e8714522bfbdd7c0027c3e2a94965664b0
Module libXrender.so.1 with build-id 42e386d2acf3cde61081959d9671ca74acfb3edc
Module libXcursor.so.1 with build-id f0525ae3715ac95f96a8cdb44795b03f831334b0
Module libXext.so.6 with build-id 17beadf1cb40d41ab36629db3b4eed74110678a7
Module libgpg-error.so.0 with build-id f9aaa96d5ddf6f6872051ed7abcdfe6bdaff9b1c
Module liblz4.so.1 with build-id e63600ab23b2f6997f42fac2fa56e1f02ce159a1
Module libzstd.so.1 with build-id 3bccb8fe08e48d5ea135b1d0f99de0d771dd752f
Module liblzma.so.5 with build-id 28b40c7af8098a66af6ee093b6986b91cad7694d
Module libgcrypt.so.20 with build-id 8bf3cb884124273640de797a3e77d86c98434ea4
Module libcap.so.2 with build-id 21b00ab76bb16fde56fd741f07233c78069f0579
Module libsystemd.so.0 with build-id a220b34e873e29bb116d88be0bf11fac7089ef4d
Module libdbus-1.so.3 with build-id 7f4b16b4b407cbae2d7118d6f99610e29a18a56a
Module libSDL2-2.0.so.0 with build-id ea9fb59ffd521c634a0459b0e6826e0d896d3afd
Module libpcre.so.1 with build-id 845483dd0acba86de9f0313102bebbaf3ce52767
Module libbrotlicommon.so.1 with build-id acfd597a977c8087bb6184383daae2e828a9ce42
Module libglib-2.0.so.0 with build-id f1d15261ce1317b9003a1f0957d5a528d063f630
Module libgraphite2.so.3 with build-id ce58945ebb55b86d3a4e717b6eae29efc4720d8e
Module libbrotlidec.so.1 with build-id 66c54e9301f7e102ecc1d88547e5f0e8a056fe22
Module libharfbuzz.so.0 with build-id c58fe082cbde02fc176e3c3663a6d81386eb5027
Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
Module libXdmcp.so.6 with build-id d864159ab0008415667db8d5f251696d75c90df2
Module libXau.so.6 with build-id 60db1eac70f819bea9d4c366603c1583067510b4
Module ld-linux-x86-64.so.2 with build-id fc93487393eea02b5bc6e76e48976fc325294c24
Module libfreetype.so.6 with build-id f89dd5502e75aca28fb5c3ccd0dbd26fe822bfef
Module libpthread.so.0 with build-id 95ae4f30a6f12ccbff645d30f8e1a3ee23ec7d36
Module libOpenGL.so.0 with build-id b674d36fbce1bed29b54247cf4e25e0f3c64ff13
Module libGLX.so.0 with build-id 02bd4ac6acc4da9288c543ea1a0cdaa70c5e151a
Module libGLdispatch.so.0 with build-id de981c020bd9dbdc159b11f4a2a541310cc3b8d5
Module libxcb.so.1 with build-id 13d677412a71468381b11092915d231f664d18d3
Module libc.so.6 with build-id 388993b6ef62f964bc7bf473c069fbfe957b9e44
Module libgcc_s.so.1 with build-id 0e3de903950e35ae59a5de8c00b1817a4a71ca01
Module libm.so.6 with build-id 210ec9905e41825671210f8f7d0b24d6c371196a
Module libstdc++.so.6 with build-id b3eaebcb5369487562e52dd8d016c9cd77f80c54
Module libSDL_mixer-1.2.so.0 with build-id 2761ae5f30468c2e26c7ea3fe8d78836d6c39565
Module libSDL_ttf-2.0.so.0 with build-id 6576bb3a31f15f296dd98728992a376b23afaff7
Module libz.so.1 with build-id fefe3219a96d682ec98fcfb78866b8594298b5a2
Module libpng16.so.16 with build-id 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3
Module libSDL-1.2.so.0 with build-id bd87709a21e67ddb26feca20c82b385df6e42483
Module libSDL_image-1.2.so.0 with build-id f650afc68b4063b805972c36b9f47a04be7be93d
Module libGLU.so.1 with build-id b2be44506caca5fd1e35f906c57c6205ea9ae03c
Module libGL.so.1 with build-id b915a2e48be6c9fd3cc6f9f4c7aab1f7aeed8a4c
Module libGLEW.so.2.2 with build-id 1b7e477ea0eccd1622a983c8589930e043700545
Module libX11.so.6 with build-id d8e0be8e0323aa421366f19065ecd1c76405c130
Module game with build-id 3e2ddf2f8086f7ee37d2b0d9110f4b3c153be3d5
Stack trace of thread 11747:
#0 0x00007fa16f12e409 n/a (libSDL2-2.0.so.0 + 0xc4409)
#1 0x00007fa16f132d21 n/a (libSDL2-2.0.so.0 + 0xc8d21)
#2 0x00007fa16fd4c840 SDL_FreeSurface (libSDL-1.2.so.0 + 0xa840)
#3 0x0000563e3bdbe566 n/a (game + 0x35d566)
#4 0x0000563e3bb25d1b n/a (game + 0xc4d1b)
#5 0x00007fa16f776290 n/a (libc.so.6 + 0x29290)
#6 0x00007fa16f77634a __libc_start_main (libc.so.6 + 0x2934a)
#7 0x0000563e3bb37095 n/a (game + 0xd6095)

Stack trace of thread 11749:
#0 0x00007fa16f852faf __poll (libc.so.6 + 0x105faf)
#1 0x00007fa16e904a95 n/a (libusb-1.0.so.0 + 0xca95)
#2 0x00007fa16f7d954d n/a (libc.so.6 + 0x8c54d)
#3 0x00007fa16f85eb14 __clone (libc.so.6 + 0x111b14)
ELF object binary architecture: AMD x86-64
<snip>
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 09 October 2022, 02:53 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 05 June 2022, 23:35 GMT
So the good news is I can reproduce this. The bad news is I have no idea why it now crashes.
Comment by Adoa Coturnix (adoa) - Friday, 07 October 2022, 14:45 GMT
It no longer crashes for me. No idea what exactly changed. Also, I got a new graphics card: Radon RX 6700XT. Might be coincidental, might be related – no idea.
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 09 October 2022, 02:53 GMT
Works for me now as well. No idea what happened but I'm not gonna argue with results.

Loading...