Bug 1951591 - coredump on start
Summary: coredump on start
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-tetravex
Version: 34
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Tanner Doshier
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1952004 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-20 14:14 UTC by Sampson Fung
Modified: 2021-04-22 09:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Sampson Fung 2021-04-20 14:14:39 UTC
Description of problem:
The flatpak app is installed via gnome-software.  It runs normally immediately after installation.  

After the machine sleep and resume, then it coredumps on start.  Reboot do not help.  Remove app and reinstall do not help.

This happens to both Fedora 34 Workstation and Silverblue 34.  (Both fully updated)

As a comparison, the rpm version in Fedora 34 works normally.

Version-Release number of selected component (if applicable):
gnome-tetravex-3.38.2-2.fc34.x86_64 (works normally)
GNOME Tetravex      org.gnome.Tetravex            3.38.2  stable system (coredump)



How reproducible:
100%

Steps to Reproduce:
1.  Install org.gnome.Tetravex via Software
2.  Runs normally.
3.  Allow machine to idle and sleep.
4.  Resume machine, then app always coredump afterwards.

Actual results:
app coredump

Expected results:
app should run normally

Additional info:
Apr 20 22:13:00 dv34 systemd[1]: Started Process Core Dump (PID 19298/UID 0).
Apr 20 22:13:00 dv34 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@9-19298-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 20 22:13:01 dv34 systemd-coredump[19299]: [🡕] Process 19287 (gnome-tetravex) of user 1000 dumped core.
                                              
                                              Stack trace of thread 2:
                                              #0  0x00007f442b0d1292 raise (libc.so.6 + 0x3d292)
                                              #1  0x00007f442b0ba8a4 abort (libc.so.6 + 0x268a4)
                                              #2  0x00007f442b113cd7 __libc_message (libc.so.6 + 0x7fcd7)
                                              #3  0x00007f442b11b95c malloc_printerr (libc.so.6 + 0x8795c)
                                              #4  0x00007f442b11ce83 _int_free (libc.so.6 + 0x88e83)
                                              #5  0x00007f442b120a58 __libc_free (libc.so.6 + 0x8ca58)
                                              #6  0x00007f442bdd21ed n/a (/usr/lib64/libglib-2.0.so.0.6800.0 + 0x5a1ed)
Apr 20 22:13:01 dv34 systemd[1]: systemd-coredump@9-19298-0.service: Deactivated successfully.
Apr 20 22:13:01 dv34 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@9-19298-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 20 22:13:01 dv34 systemd[1016]: dbus-:1.3-org.gnome.Tetravex@2.service: Main process exited, code=exited, status=134/n/a
Apr 20 22:13:01 dv34 systemd[1016]: dbus-:1.3-org.gnome.Tetravex@2.service: Failed with result 'exit-code'.
Apr 20 22:13:01 dv34 systemd[1016]: app-flatpak-org.gnome.Tetravex-19277.scope: Deactivated successfully.
Apr 20 22:13:01 dv34 audit: BPF prog-id=86 op=UNLOAD
Apr 20 22:13:01 dv34 audit: BPF prog-id=85 op=UNLOAD
Apr 20 22:13:01 dv34 audit: BPF prog-id=84 op=UNLOAD
Apr 20 22:13:01 dv34 abrt-server[19305]: Executable '/app/bin/gnome-tetravex' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Apr 20 22:13:01 dv34 abrt-server[19305]: 'post-create' on '/var/spool/abrt/ccpp-2021-04-20-22:13:01.161198-19287' exited with 1
Apr 20 22:13:01 dv34 abrt-server[19305]: Deleting problem directory '/var/spool/abrt/ccpp-2021-04-20-22:13:01.161198-19287'
Ap

Comment 1 Michael Catanzaro 2021-04-20 16:42:08 UTC
Well that stack trace is not useful. We need a backtrace taken with gdb to investigate. Fedora flatpaks don't have local debuginfo, so historically crash reports have not been possible, but I think you might now be able to manually get it working via debuginfod if you are adventurous....

Try these instructions: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/LPFMKKBH7XOUEHCXEFL4V2B2J6SSXAPB/

Except of course you would run /app/bin/gnome-tetravex instead of /app/bin/sol.

Comment 2 Sampson Fung 2021-04-21 02:48:34 UTC
(In reply to Michael Catanzaro from comment #1)
> Well that stack trace is not useful. We need a backtrace taken with gdb to
> investigate. Fedora flatpaks don't have local debuginfo, so historically
> crash reports have not been possible, but I think you might now be able to
> manually get it working via debuginfod if you are adventurous....
> 
> Try these instructions:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/
> message/LPFMKKBH7XOUEHCXEFL4V2B2J6SSXAPB/
> 
> Except of course you would run /app/bin/gnome-tetravex instead of
> /app/bin/sol.

Thank you for the pointers.  I will learn how to collect a backtrace for that.

Update:  I reinstalled Fedora 34 Workstation fresh.
Running the App via Gnome Activity do not produce errors in journalctl - just quit silently.



Apr 21 10:45:42 fedora gnome-shell[1698]: Can't update stage views actor overviewGroup is on because it needs an allocation.
Apr 21 10:45:42 fedora gnome-shell[1698]: Can't update stage views actor overview is on because it needs an allocation.
Apr 21 10:45:42 fedora gnome-shell[1698]: Can't update stage views actor Gjs_ui_overviewControls_ControlsManager is on because it needs an allocation.
Apr 21 10:45:42 fedora gnome-shell[1698]: Can't update stage views actor searchController is on because it needs an allocation.
Apr 21 10:45:42 fedora gnome-shell[1698]: Can't update stage views actor searchResults is on because it needs an allocation.
Apr 21 10:45:42 fedora gnome-shell[1698]: Can't update stage views actor StScrollView is on because it needs an allocation.
Apr 21 10:45:42 fedora gnome-shell[1698]: Can't update stage views actor searchResultsContent is on because it needs an allocation.
Apr 21 10:45:42 fedora systemd[1552]: Started dbus-:1.2-org.gnome.Boxes.SearchProvider@8.service.
Apr 21 10:45:42 fedora systemd[1552]: Started dbus-:1.2-org.gnome.Calculator.SearchProvider@8.service.
Apr 21 10:45:42 fedora systemd[1552]: Started dbus-:1.2-org.gnome.Characters.BackgroundService@8.service.
Apr 21 10:45:42 fedora systemd[1552]: Started dbus-:1.2-org.gnome.Contacts.SearchProvider@8.service.
Apr 21 10:45:42 fedora systemd[1552]: Started dbus-:1.2-org.gnome.ControlCenter.SearchProvider@6.service.
Apr 21 10:45:42 fedora systemd[1552]: Started dbus-:1.2-org.gnome.Nautilus@8.service.
Apr 21 10:45:42 fedora systemd[1552]: Started dbus-:1.2-org.gnome.Photos@10.service.
Apr 21 10:45:42 fedora systemd[1552]: Started dbus-:1.2-org.gnome.clocks@8.service.
Apr 21 10:45:43 fedora gnome-calculato[5004]: search-provider.vala:117: Failed to spawn Calculator: Child process killed by signal 9
Apr 21 10:45:43 fedora nautilus[5011]: Connecting to org.freedesktop.Tracker3.Miner.Files
Apr 21 10:45:43 fedora gnome-shell[1698]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &
Apr 21 10:45:43 fedora systemd[1552]: Started dbus-:1.2-com.intel.dleyna\x2drenderer@10.service.
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: dLeyna core version 0.6.0
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: dleyna-renderer-service version 0.6.0
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Type[0] Level[0x13] Mask[0x4C] Flags[0x4F]
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Load file [/home/fcc/.config/dleyna-renderer-service.conf]
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: [General settings]
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Never Quit: F
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Connector Name: dbus
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Port: 0
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Push host port: 0
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: [Logging settings]
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Log Type : 0
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Log Level: 0x13
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: [Network filtering settings]
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Enabled : F
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Entries: (null)
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Calling GetRenderers method
Apr 21 10:45:43 fedora systemd[1552]: dbus-:1.2-org.gnome.Photos@10.service: Deactivated successfully.
Apr 21 10:45:43 fedora dleyna-renderer-service[5077]: Client :1.250 lost
Apr 21 10:45:44 fedora dleyna-renderer-service[5077]: dLeyna: Exit
Apr 21 10:45:44 fedora systemd[1552]: dbus-:1.2-com.intel.dleyna\x2drenderer@10.service: Deactivated successfully.


Running with flatpak run org.gnome.Tetravex still product the errors in journalctl.
Apr 21 10:46:53 fedora systemd[1552]: Started app-flatpak-org.gnome.Tetravex-5146.scope.
Apr 21 10:46:53 fedora audit[5155]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=5155 comm="gnome-tetravex" exe="/app/bin/gnome-tetravex" sig=6 res=1
Apr 21 10:46:53 fedora audit[5159]: AVC avc:  denied  { getattr } for  pid=5159 comm="systemd-coredum" path="mnt:[4026532938]" dev="nsfs" ino=4026532938 scontext=system_u:system_r:systemd_coredump_t:s0 tcontext=system_u:object_r:nsfs_t:s0 tclass=file permissive=0
Apr 21 10:46:53 fedora audit: BPF prog-id=58 op=LOAD
Apr 21 10:46:53 fedora audit: BPF prog-id=59 op=LOAD
Apr 21 10:46:53 fedora audit: BPF prog-id=60 op=LOAD
Apr 21 10:46:53 fedora systemd[1]: Started Process Core Dump (PID 5159/UID 0).
Apr 21 10:46:53 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@1-5159-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 21 10:46:53 fedora systemd-coredump[5160]: [🡕] Process 5155 (gnome-tetravex) of user 1000 dumped core.
                                               
                                               Stack trace of thread 2:
                                               #0  0x00007f30b9ad5292 raise (libc.so.6 + 0x3d292)
                                               #1  0x00007f30b9abe8a4 abort (libc.so.6 + 0x268a4)
                                               #2  0x00007f30b9b17cd7 __libc_message (libc.so.6 + 0x7fcd7)
                                               #3  0x00007f30b9b1f95c malloc_printerr (libc.so.6 + 0x8795c)
                                               #4  0x00007f30b9b20e83 _int_free (libc.so.6 + 0x88e83)
                                               #5  0x00007f30b9b24a58 __libc_free (libc.so.6 + 0x8ca58)
                                               #6  0x00007f30ba7d61ed g_free (/usr/lib64/libglib-2.0.so.0.6800.0 + 0x5a1ed)
                                               #7  0x000055e82112e4ea n/a (/app/bin/gnome-tetravex + 0x184ea)
Apr 21 10:46:53 fedora systemd[1]: systemd-coredump@1-5159-0.service: Deactivated successfully.
Apr 21 10:46:53 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@1-5159-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 21 10:46:53 fedora systemd[1552]: app-flatpak-org.gnome.Tetravex-5146.scope: Deactivated successfully.
Apr 21 10:46:53 fedora audit: BPF prog-id=60 op=UNLOAD
Apr 21 10:46:53 fedora audit: BPF prog-id=59 op=UNLOAD
Apr 21 10:46:53 fedora audit: BPF prog-id=58 op=UNLOAD
Apr 21 10:46:53 fedora abrt-server[5170]: Executable '/app/bin/gnome-tetravex' doesn't belong to any package and ProcessUnpackaged is set to 'no'
Apr 21 10:46:53 fedora abrt-server[5170]: 'post-create' on '/var/spool/abrt/ccpp-2021-04-21-10:46:53.617191-5155' exited with 1
Apr 21 10:46:53 fedora abrt-server[5170]: Deleting problem directory '/var/spool/abrt/ccpp-2021-04-21-10:46:53.617191-5155'

This is the error at terminal:

$ flatpak run org.gnome.Tetravex
double free or corruption (fasttop)

Comment 3 Sampson Fung 2021-04-21 04:29:25 UTC
(In reply to Michael Catanzaro from comment #1)
> Well that stack trace is not useful. We need a backtrace taken with gdb to
> investigate. Fedora flatpaks don't have local debuginfo, so historically
> crash reports have not been possible, but I think you might now be able to
> manually get it working via debuginfod if you are adventurous....
> 
> Try these instructions:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/
> message/LPFMKKBH7XOUEHCXEFL4V2B2J6SSXAPB/
> 
> Except of course you would run /app/bin/gnome-tetravex instead of
> /app/bin/sol.

Is below the needed backtrace?

<pre>[📦 org.gnome.Tetravex bin]$ DEBUGINFOD_URLS=https://debuginfod.stg.fedoraproject.org/ gdb /app/bin/gnome-tetravex 
<font color="#A347BA"><b>GNU gdb (GDB) Fedora 10.1-13.fc34</b></font>
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type &quot;show copying&quot; and &quot;show warranty&quot; for details.
This GDB was configured as &quot;x86_64-redhat-linux-gnu&quot;.
Type &quot;show configuration&quot; for configuration details.
For bug reporting instructions, please see:
&lt;https://www.gnu.org/software/gdb/bugs/&gt;.
Find the GDB manual and other documentation resources online at:
    &lt;http://www.gnu.org/software/gdb/documentation/&gt;.

For help, type &quot;help&quot;.
Type &quot;apropos word&quot; to search for commands related to &quot;word&quot;...
Reading symbols from <font color="#26A269">/app/bin/gnome-tetravex</font>...
Reading symbols from <font color="#26A269">/home/fcc/.var/app/org.gnome.Tetravex/cache/debuginfod_client/c12139bc0fce0b7abb2e6a7dca38fd8f32049651/debuginfo</font>...
(gdb) run
Starting program: /app/bin/gnome-tetravex 
[Thread debugging using libthread_db enabled]
Using host libthread_db library &quot;<font color="#26A269">/lib64/libthread_db.so.1</font>&quot;.
Downloading separate debug info for <font color="#26A269">/lib64/libbrotlicommon.so.1</font>...
Downloading separate debug info for <font color="#26A269">/lib64/libzstd.so.1</font>...
Downloading separate debug info for <font color="#26A269">/home/fcc/.var/app/org.gnome.Tetravex/cache/debuginfod_client/3370d80a1bf749b3c2baaad0188c864ee9e4bbc4/debuginfo</font>...
[New Thread 0x7fffe8a7d640 (LWP 193)]
[New Thread 0x7fffe3fff640 (LWP 194)]
Downloading separate debug info for <font color="#26A269">/usr/lib64/gvfs/libgvfscommon.so</font>...
double free or corruption (fasttop)

Thread 1 &quot;gnome-tetravex&quot; received signal SIGABRT, Aborted.
<font color="#A2734C">__GI_raise</font> (<font color="#2AA1B3">sig=sig@entry</font>=6) at <font color="#26A269">../sysdeps/unix/sysv/linux/raise.c</font>:49
49	  <font color="#12488B"><b>return</b></font> ret<font color="#C01C28">;</font>
(gdb) bt
#0  <font color="#A2734C">__GI_raise</font> (sig=sig@entry=6) at <font color="#26A269">../sysdeps/unix/sysv/linux/raise.c</font>:49
#1  <font color="#12488B">0x00007ffff6f8e8a4</font> in <font color="#A2734C">__GI_abort</font> () at <font color="#26A269">abort.c</font>:79
#2  <font color="#12488B">0x00007ffff6fe7cd7</font> in <font color="#A2734C">__libc_message</font> (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff70f87fc &quot;%s\n&quot;) at <font color="#26A269">../sysdeps/posix/libc_fatal.c</font>:155
#3  <font color="#12488B">0x00007ffff6fef95c</font> in <font color="#A2734C">malloc_printerr</font> (str=str@entry=0x7ffff70fac48 &quot;double free or corruption (fasttop)&quot;) at <font color="#26A269">malloc.c</font>:5626
#4  <font color="#12488B">0x00007ffff6ff0e83</font> in <font color="#A2734C">_int_free</font> (av=0x7ffff712ba00 &lt;main_arena&gt;, p=0x555555696520, have_lock=0) at <font color="#26A269">malloc.c</font>:4496
#5  <font color="#12488B">0x00007ffff6ff4a58</font> in <font color="#A2734C">__GI___libc_free</font> (mem=mem@entry=0x555555696530) at <font color="#26A269">malloc.c</font>:3309
#6  <font color="#12488B">0x00007ffff7ca61ed</font> in <font color="#A2734C">g_free</font> (mem=0x555555696530) at <font color="#26A269">../glib/gmem.c</font>:199
#7  <font color="#12488B">0x000055555556c4ea</font> in <font color="#A2734C">puzzle_saved_tile_free</font> (self=&lt;optimized out&gt;) at <font color="#26A269">src/gnome-tetravex.p/puzzle.c</font>:5504
#8  <font color="#A2734C">_vala_array_destroy</font> (destroy_func=0x55555556a160 &lt;puzzle_saved_tile_free&gt;, array_length=9, array=0x5555556e00c0) at <font color="#26A269">src/gnome-tetravex.p/gnome-tetravex.c</font>:4005
#9  <font color="#A2734C">_vala_array_free</font> (destroy_func=0x55555556a160 &lt;puzzle_saved_tile_free&gt;, array_length=9, array=0x5555556e00c0) at <font color="#26A269">src/gnome-tetravex.p/puzzle.c</font>:5795
#10 <font color="#A2734C">puzzle_is_valid_saved_game</font> (maybe_variant=&lt;optimized out&gt;, restore_finished_game=&lt;optimized out&gt;) at <font color="#26A269">src/gnome-tetravex.p/puzzle.c</font>:4703
#11 <font color="#12488B">0x00005555555634d0</font> in <font color="#A2734C">tetravex_real_startup</font> (base=0x5555555b02b0) at <font color="#26A269">src/gnome-tetravex.p/gnome-tetravex.c</font>:1634
#12 <font color="#12488B">0x00007ffff7db783a</font> in <font color="#A2734C">_g_closure_invoke_va</font> (param_types=0x0, n_params=&lt;optimized out&gt;, args=0x7fffffffdb80, instance=0x5555555b02b0, return_value=0x0, closure=0x5555555aac30) at <font color="#26A269">../gobject/gclosure.c</font>:873
#13 <font color="#A2734C">g_signal_emit_valist</font> (instance=0x5555555b02b0, signal_id=&lt;optimized out&gt;, detail=0, var_args=var_args@entry=0x7fffffffdb80) at <font color="#26A269">../gobject/gsignal.c</font>:3406
#14 <font color="#12488B">0x00007ffff7db7983</font> in <font color="#A2734C">g_signal_emit</font> (instance=instance@entry=0x5555555b02b0, signal_id=&lt;optimized out&gt;, detail=detail@entry=0) at <font color="#26A269">../gobject/gsignal.c</font>:3553
#15 <font color="#12488B">0x00007ffff7ebcda1</font> in <font color="#A2734C">g_application_register</font> (application=application@entry=0x5555555b02b0, cancellable=cancellable@entry=0x0, error=error@entry=0x7fffffffdcf0) at <font color="#26A269">../gio/gapplication.c</font>:2205
#16 <font color="#12488B">0x00007ffff7ebd50e</font> in <font color="#A2734C">g_application_real_local_command_line</font> (application=0x5555555b02b0, arguments=0x7fffffffdd58, exit_status=0x7fffffffdd54) at <font color="#26A269">../gio/gapplication.c</font>:1107
#17 <font color="#12488B">0x00007ffff7ebd8c6</font> in <font color="#A2734C">g_application_run</font> (application=0x5555555b02b0, argc=-8876, argv=&lt;optimized out&gt;) at <font color="#26A269">../gio/gapplication.c</font>:2529
#18 <font color="#12488B">0x000055555555ec6f</font> in <font color="#A2734C">tetravex_main</font> (args_length1=1, args=0x7fffffffdec8) at <font color="#26A269">src/gnome-tetravex.p/gnome-tetravex.c</font>:760
#19 <font color="#A2734C">main</font> (argc=1, argv=0x7fffffffdec8) at <font color="#26A269">src/gnome-tetravex.p/gnome-tetravex.c</font>:769
(gdb) 
</pre>

Comment 4 Michael Catanzaro 2021-04-21 12:17:34 UTC
*** Bug 1952004 has been marked as a duplicate of this bug. ***

Comment 5 Michael Catanzaro 2021-04-21 12:23:35 UTC
(In reply to Sampson Fung from comment #3)
> Is below the needed backtrace?

Almost, that's good! But it would be even better to use 'bt full' to get a full backtrace instead of the short form. And next time let's avoid the <font> stuff as that makes it unreadable. (How did you wind up with that? Strange terminal?)

Unfortunately it seems tetravex was not compiled with -g, which is disappointing since this means we have to debug the generated C rather than Vala.

Comment 6 Sampson Fung 2021-04-21 13:25:18 UTC
(In reply to Michael Catanzaro from comment #5)
> (In reply to Sampson Fung from comment #3)
> > Is below the needed backtrace?
> 
> Almost, that's good! But it would be even better to use 'bt full' to get a
> full backtrace instead of the short form. And next time let's avoid the
> <font> stuff as that makes it unreadable. (How did you wind up with that?
> Strange terminal?)
> 
> Unfortunately it seems tetravex was not compiled with -g, which is
> disappointing since this means we have to debug the generated C rather than
> Vala.

I am using the default gnome-terminl with default settings.  I will try to avoid the font attributes in future reports.

I reinstalled Fedora 34 Workstation using Fedora-Server-netinst-x86_64-34-20210420.n.0.iso, which the coredump issue is, so far, gone.

Will check if my Silverblue 34 machine is still problematic and try to collect the backtrace.

Thank you very much for your help and guidance!

Comment 7 Sampson Fung 2021-04-21 13:46:43 UTC
(In reply to Michael Catanzaro from comment #5)
> (In reply to Sampson Fung from comment #3)
> > Is below the needed backtrace?
> 
> Almost, that's good! But it would be even better to use 'bt full' to get a
> full backtrace instead of the short form. And next time let's avoid the
> <font> stuff as that makes it unreadable. (How did you wind up with that?
> Strange terminal?)
> 
> Unfortunately it seems tetravex was not compiled with -g, which is
> disappointing since this means we have to debug the generated C rather than
> Vala.


This is collected at my Silverblue 34 machine:

Deployments:
● ostree://fedora:fedora/34/x86_64/silverblue
                   Version: 34.20210420.n.0 (2021-04-20T08:16:16Z)
                BaseCommit: ae0390928fa9b2fcb61be3b41620d2ebaeb3423aa62d646335fcd553c5c01cde
              GPGSignature: Valid signature by 8C5BA6990BDB26E19F2A1A801161AE6945719A39
           LayeredPackages: fedora-workstation-repositories gparted ibus-cangjie-engine-cangjie iwd langpacks-en libguestfs-tools libvirt-daemon-config-network libvirt-daemon-kvm lxpolkit nmap-ncat python3-libguestfs qemu-kvm sway
                            virt-install virt-manager virt-top virt-viewer waypipe


===

$ flatpak info org.gnome.Tetravex

GNOME Tetravex - Reorder tiles to fit a square

          ID: org.gnome.Tetravex
         Ref: app/org.gnome.Tetravex/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 3.38.2
     License: GPL-2.0+ and CC-BY-SA-3.0
      Origin: fedora
  Collection: 
Installation: system
   Installed: 2.2 MB
     Runtime: org.fedoraproject.Platform/x86_64/f34
         Sdk: org.fedoraproject.Sdk/x86_64/f34

      Commit: 35dcc54191137862c3fb1ce71ea7ec672d34151ba9eff861c37cf8df64de71fa
     Subject: Export org.gnome.Tetravex
        Date: 2021-04-01 09:33:31 +0000
      Alt-id: d1a96f41171570b7dcc1750813d242be3c14b97ef585273ab7c82f6960e24698


===


Downloading separate debug info for /usr/lib64/gvfs/libgvfscommon.so...
double free or corruption (fasttop)

Thread 1 "gnome-tetravex" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
Downloading source file /usr/src/debug/glibc-2.33/signal/../sysdeps/unix/sysv/linux/raise.c...
49	  return ret;
(gdb) set style enabled off
(gdb) bt full
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
        set = 
            {__val = {0, 2879919482965114624, 0, 2064, 1137, 2879919482965114624, 140737338587648, 18446744073709551496, 0, 93824994237216, 93824993723905, 2879919482965114624, 140737351537200, 18446744073709551496, 0, 2879919482965114624}}
        pid = <optimized out>
        tid = <optimized out>
#1  0x00007ffff6f8e8a4 in __GI_abort () at abort.c:79
        save_stage = 1
        act = 
          {__sigaction_handler = {sa_handler = 0x7ffff712ba00 <main_arena>, sa_sigaction = 0x7ffff712ba00 <main_arena>}, sa_mask = {__val = {2879919482965114624, 512, 128, 0, 140737488344528, 0, 93824995420320, 93824995420352, 7, 140737488344736, 140737350878225, 1, 2879919482965114624, 127, 93824995420272, 93824995420304}}, sa_flags = 1434839152, sa_restorer = 0x55555585e890}
        sigs = {__val = {32, 7, 0, 1056, 64, 140737337299115, 1104, 16, 274877907011, 4294967296, 2, 0, 511101108348, 2879919482965114624, 0, 93824994186329}}
#2  0x00007ffff6fe7cd7 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff70f87fc "%s\n") at ../sysdeps/posix/libc_fatal.c:155
        ap = {{gp_offset = 24, fp_offset = 21845, overflow_arg_area = 0x7fffffffd6f0, reg_save_area = 0x7fffffffd680}}
        fd = <optimized out>
        list = <optimized out>
        nlist = <optimized out>
        cp = <optimized out>
#3  0x00007ffff6fef95c in malloc_printerr (str=str@entry=0x7ffff70fac48 "double free or corruption (fasttop)") at malloc.c:5626
#4  0x00007ffff6ff0e83 in _int_free (av=0x7ffff712ba00 <main_arena>, p=0x5555556a22f0, have_lock=0) at malloc.c:4496
        idx = 0
        old = <optimized out>
        old2 = <optimized out>
        size = <optimized out>
        fb = 0x7ffff712ba10 <main_arena+16>
        nextchunk = <optimized out>
        nextsize = <optimized out>
        nextinuse = <optimized out>
        prevsize = <optimized out>
        bck = <optimized out>
        fwd = <optimized out>
        __PRETTY_FUNCTION__ = "_int_free"
#5  0x00007ffff6ff4a58 in __GI___libc_free (mem=mem@entry=0x5555556a2300) at malloc.c:3309
        ar_ptr = <optimized out>
        p = 0x5555556a22f0
        hook = <optimized out>
        err = 0
#6  0x00007ffff7ca61ed in g_free (mem=0x5555556a2300) at ../glib/gmem.c:199
#7  0x000055555556c4ea in puzzle_saved_tile_free (self=<optimized out>) at src/gnome-tetravex.p/puzzle.c:5504
        i = 0
        _tmp86_ = <optimized out>
        _tmp87__length2 = 4
        _tmp90__length2 = 4
        _tmp93_ = <optimized out>
        _tmp85_ = 0x555555721ce0
        _tmp85__length1 = 4
        _tmp89_ = <optimized out>
        _tmp92_ = 0x555555721ce0
        _tmp92__length1 = 4
        _tmp85__length2 = 4
        _tmp88_ = <optimized out>
        _tmp91_ = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--c
        _tmp92__length2 = 4
        _tmp87_ = 0x555555721ce0
        _tmp87__length1 = 4
        _tmp90_ = 0x555555721ce0
        _tmp90__length1 = 4
        _tmp94_ = <optimized out>
        _tmp83_ = 0
        y = <optimized out>
        _tmp81_ = 0
        x = 0 '\000'
        variant = <optimized out>
        _tmp0_ = <optimized out>
        _tmp1_ = <optimized out>
        board_size = <optimized out>
        colors = <optimized out>
        elapsed = <optimized out>
        _tmp2_ = <optimized out>
        _tmp3_ = 4 '\004'
        _tmp4_ = <optimized out>
        _tmp5_ = 10 '\n'
        _tmp6_ = <optimized out>
        _tmp7_ = 615.73663299999998
        array_variant = <optimized out>
        _tmp8_ = <optimized out>
        _tmp9_ = <optimized out>
        _tmp10_ = <optimized out>
        saved_tiles = <optimized out>
        _tmp11_ = <optimized out>
        saved_tiles_length1 = <optimized out>
        _saved_tiles_size_ = <optimized out>
        iter = <optimized out>
        _tmp12_ = <optimized out>
        _tmp38_ = <optimized out>
        _tmp39_ = <optimized out>
        initial_board = <optimized out>
        _tmp49_ = <optimized out>
        initial_board_length1 = <optimized out>
        initial_board_length2 = <optimized out>
        current_board = 0x0
        _tmp55_ = <optimized out>
        current_board_length1 = <optimized out>
        current_board_length2 = <optimized out>
        result = 0
        __func__ = "puzzle_is_valid_saved_game"
#8  _vala_array_destroy (destroy_func=0x55555556a160 <puzzle_saved_tile_free>, array_length=16, array=0x555555721ce0) at src/gnome-tetravex.p/gnome-tetravex.c:4005
        i = 0
        _tmp86_ = <optimized out>
        _tmp87__length2 = 4
        _tmp90__length2 = 4
        _tmp93_ = <optimized out>
        _tmp85_ = 0x555555721ce0
        _tmp85__length1 = 4
        _tmp89_ = <optimized out>
        _tmp92_ = 0x555555721ce0
        _tmp92__length1 = 4
        _tmp85__length2 = 4
        _tmp88_ = <optimized out>
        _tmp91_ = <optimized out>
        _tmp92__length2 = 4
        _tmp87_ = 0x555555721ce0
        _tmp87__length1 = 4
        _tmp90_ = 0x555555721ce0
        _tmp90__length1 = 4
        _tmp94_ = <optimized out>
        _tmp83_ = 0
        y = <optimized out>
        _tmp81_ = 0
        x = 0 '\000'
        variant = <optimized out>
        _tmp0_ = <optimized out>
        _tmp1_ = <optimized out>
        board_size = <optimized out>
        colors = <optimized out>
        elapsed = <optimized out>
        _tmp2_ = <optimized out>
        _tmp3_ = 4 '\004'
        _tmp4_ = <optimized out>
        _tmp5_ = 10 '\n'
        _tmp6_ = <optimized out>
        _tmp7_ = 615.73663299999998
        array_variant = <optimized out>
        _tmp8_ = <optimized out>
        _tmp9_ = <optimized out>
        _tmp10_ = <optimized out>
        saved_tiles = <optimized out>
        _tmp11_ = <optimized out>
        saved_tiles_length1 = <optimized out>
        _saved_tiles_size_ = <optimized out>
        iter = <optimized out>
        _tmp12_ = <optimized out>
        _tmp38_ = <optimized out>
        _tmp39_ = <optimized out>
        initial_board = <optimized out>
        _tmp49_ = <optimized out>
        initial_board_length1 = <optimized out>
        initial_board_length2 = <optimized out>
        current_board = 0x0
        _tmp55_ = <optimized out>
        current_board_length1 = <optimized out>
        current_board_length2 = <optimized out>
        result = 0
        __func__ = "puzzle_is_valid_saved_game"
#9  _vala_array_free (destroy_func=0x55555556a160 <puzzle_saved_tile_free>, array_length=16, array=0x555555721ce0) at src/gnome-tetravex.p/puzzle.c:5795
        _tmp86_ = <optimized out>
        _tmp87__length2 = 4
        _tmp90__length2 = 4
        _tmp93_ = <optimized out>
        _tmp85_ = 0x555555721ce0
        _tmp85__length1 = 4
        _tmp89_ = <optimized out>
        _tmp92_ = 0x555555721ce0
        _tmp92__length1 = 4
        _tmp85__length2 = 4
        _tmp88_ = <optimized out>
        _tmp91_ = <optimized out>
        _tmp92__length2 = 4
        _tmp87_ = 0x555555721ce0
        _tmp87__length1 = 4
        _tmp90_ = 0x555555721ce0
        _tmp90__length1 = 4
        _tmp94_ = <optimized out>
        _tmp83_ = 0
        y = <optimized out>
        _tmp81_ = 0
        x = 0 '\000'
        variant = <optimized out>
        _tmp0_ = <optimized out>
        _tmp1_ = <optimized out>
        board_size = <optimized out>
        colors = <optimized out>
        elapsed = <optimized out>
        _tmp2_ = <optimized out>
        _tmp3_ = 4 '\004'
        _tmp4_ = <optimized out>
        _tmp5_ = 10 '\n'
        _tmp6_ = <optimized out>
        _tmp7_ = 615.73663299999998
        array_variant = <optimized out>
        _tmp8_ = <optimized out>
        _tmp9_ = <optimized out>
        _tmp10_ = <optimized out>
        saved_tiles = <optimized out>
        _tmp11_ = <optimized out>
        saved_tiles_length1 = <optimized out>
        _saved_tiles_size_ = <optimized out>
        iter = <optimized out>
        _tmp12_ = <optimized out>
        _tmp38_ = <optimized out>
        _tmp39_ = <optimized out>
        initial_board = <optimized out>
        _tmp49_ = <optimized out>
        initial_board_length1 = <optimized out>
        initial_board_length2 = <optimized out>
        current_board = 0x0
        _tmp55_ = <optimized out>
        current_board_length1 = <optimized out>
        current_board_length2 = <optimized out>
        result = 0
        __func__ = "puzzle_is_valid_saved_game"
#10 puzzle_is_valid_saved_game (maybe_variant=<optimized out>, restore_finished_game=<optimized out>) at src/gnome-tetravex.p/puzzle.c:4703
        _tmp86_ = <optimized out>
        _tmp87__length2 = 4
        _tmp90__length2 = 4
        _tmp93_ = <optimized out>
        _tmp85_ = 0x555555721ce0
        _tmp85__length1 = 4
        _tmp89_ = <optimized out>
        _tmp92_ = 0x555555721ce0
        _tmp92__length1 = 4
        _tmp85__length2 = 4
        _tmp88_ = <optimized out>
        _tmp91_ = <optimized out>
        _tmp92__length2 = 4
        _tmp87_ = 0x555555721ce0
        _tmp87__length1 = 4
        _tmp90_ = 0x555555721ce0
        _tmp90__length1 = 4
        _tmp94_ = <optimized out>
        _tmp83_ = 0
        y = <optimized out>
        _tmp81_ = 0
        x = 0 '\000'
        variant = <optimized out>
        _tmp0_ = <optimized out>
        _tmp1_ = <optimized out>
        board_size = <optimized out>
        colors = <optimized out>
        elapsed = <optimized out>
        _tmp2_ = <optimized out>
        _tmp3_ = 4 '\004'
        _tmp4_ = <optimized out>
        _tmp5_ = 10 '\n'
        _tmp6_ = <optimized out>
        _tmp7_ = 615.73663299999998
        array_variant = <optimized out>
        _tmp8_ = <optimized out>
        _tmp9_ = <optimized out>
        _tmp10_ = <optimized out>
        saved_tiles = <optimized out>
        _tmp11_ = <optimized out>
        saved_tiles_length1 = <optimized out>
        _saved_tiles_size_ = <optimized out>
        iter = <optimized out>
        _tmp12_ = <optimized out>
        _tmp38_ = <optimized out>
        _tmp39_ = <optimized out>
        initial_board = <optimized out>
        _tmp49_ = <optimized out>
        initial_board_length1 = <optimized out>
        initial_board_length2 = <optimized out>
        current_board = 0x0
        _tmp55_ = <optimized out>
        current_board_length1 = <optimized out>
        current_board_length2 = <optimized out>
        result = 0
        __func__ = "puzzle_is_valid_saved_game"
#11 0x00005555555634d0 in tetravex_real_startup (base=0x5555555b02b0) at src/gnome-tetravex.p/gnome-tetravex.c:1634
        self = 0x5555555b02b0
        _tmp0_ = <optimized out>
        _tmp1_ = <optimized out>
        _tmp2_ = 0x55555583b640
        _tmp3_ = 0x55555583b640
        _tmp4_ = <optimized out>
        _tmp5_ = <optimized out>
        _tmp6_ = <optimized out>
        _tmp7_ = <optimized out>
        _tmp8_ = <optimized out>
        _tmp9_ = <optimized out>
        _tmp10_ = <optimized out>
        _tmp11_ = <optimized out>
        _tmp12_ = <optimized out>
        _tmp13_ = <optimized out>
        _tmp14_ = <optimized out>
        _tmp15_ = <optimized out>
        _tmp16_ = <optimized out>
        _tmp17_ = <optimized out>
        _tmp18_ = <optimized out>
        _tmp19_ = <optimized out>
        _tmp20_ = <optimized out>
        _tmp21_ = <optimized out>
        _tmp22_ = <optimized out>
        _tmp23_ = <optimized out>
        _tmp24_ = <optimized out>
        _tmp25_ = <optimized out>
        _tmp26_ = <optimized out>
        _tmp27_ = <optimized out>
        _tmp28_ = <optimized out>
        _tmp29_ = <optimized out>
        _tmp30_ = <optimized out>
        _tmp31_ = <optimized out>
        _tmp32_ = <optimized out>
        _tmp33_ = <optimized out>
        _tmp34_ = <optimized out>
        _tmp35_ = <optimized out>
        _tmp36_ = <optimized out>
        _tmp37_ = <optimized out>
        _tmp38_ = <optimized out>
        _tmp39_ = <optimized out>
        _tmp40_ = <optimized out>
        _tmp41_ = <optimized out>
        _tmp42_ = <optimized out>
        _tmp43_ = <optimized out>
        _tmp44_ = <optimized out>
        _tmp45_ = <optimized out>
        _tmp46_ = <optimized out>
        _tmp47_ = <optimized out>
        _tmp48_ = <optimized out>
        _tmp49_ = <optimized out>
        _tmp50_ = <optimized out>
        _tmp51_ = <optimized out>
        _tmp52_ = <optimized out>
        _tmp53_ = <optimized out>
        _tmp54_ = <optimized out>
        _tmp55_ = <optimized out>
        _tmp56_ = <optimized out>
        _tmp57_ = <optimized out>
        _tmp58_ = <optimized out>
        builder = 0x0
        _tmp59_ = <optimized out>
        history_path = 0x0
        _tmp68_ = <optimized out>
        _tmp69_ = <optimized out>
        css_provider = 0x0
        _tmp70_ = <optimized out>
        _tmp71_ = <optimized out>
        gdk_screen = 0x0
        _tmp72_ = <optimized out>
        _tmp73_ = <optimized out>
        _tmp74_ = <optimized out>
        _tmp77_ = <optimized out>
        _tmp78_ = <optimized out>
        _tmp79_ = <optimized out>
        _tmp80_ = <optimized out>
        _tmp81_ = <optimized out>
        _tmp82_ = <optimized out>
        _tmp83_ = <optimized out>
        _tmp84_ = <optimized out>
        _tmp85_ = <optimized out>
        _tmp86_ = <optimized out>
        _tmp87_ = <optimized out>
        _tmp88_ = <optimized out>
        _tmp89_ = <optimized out>
        _tmp93_ = <optimized out>
        _tmp94_ = <optimized out>
        _tmp95_ = <optimized out>
        _tmp96_ = <optimized out>
        headerbar = 0x0
        _tmp97_ = <optimized out>
        _tmp98_ = <optimized out>
        _tmp99_ = <optimized out>
        _tmp100_ = <optimized out>
        _tmp101_ = <optimized out>
        _tmp102_ = <optimized out>
        menu_builder = 0x0
        _tmp103_ = <optimized out>
        appmenu = 0x0
        _tmp104_ = <optimized out>
        _tmp105_ = <optimized out>
        _tmp106_ = <optimized out>
        _tmp107_ = <optimized out>
        _tmp108_ = <optimized out>
        _tmp109_ = <optimized out>
        _tmp110_ = <optimized out>
        _tmp111_ = <optimized out>
        _tmp112_ = <optimized out>
        _tmp113_ = <optimized out>
        _tmp114_ = <optimized out>
        _tmp115_ = <optimized out>
        _tmp116_ = <optimized out>
        _tmp117_ = <optimized out>
        undo_button = 0x0
        _tmp118_ = <optimized out>
        _tmp119_ = <optimized out>
        _tmp120_ = <optimized out>
        _tmp121_ = <optimized out>
        _tmp122_ = <optimized out>
        redo_button = 0x0
        _tmp123_ = <optimized out>
        _tmp124_ = <optimized out>
        _tmp125_ = <optimized out>
        _tmp126_ = <optimized out>
        _tmp127_ = <optimized out>
        undo_redo_box = 0x0
        _tmp128_ = <optimized out>
        _tmp129_ = <optimized out>
        _tmp130_ = <optimized out>
        _tmp131_ = <optimized out>
        _tmp132_ = <optimized out>
        _tmp133_ = <optimized out>
        _tmp134_ = <optimized out>
        _tmp135_ = <optimized out>
        _tmp136_ = 0
        grid = 0x0
        _tmp155_ = <optimized out>
        _tmp156_ = <optimized out>
        _tmp157_ = <optimized out>
        _tmp158_ = <optimized out>
        _tmp159_ = <optimized out>
        _tmp160_ = <optimized out>
        _tmp161_ = <optimized out>
        _tmp162_ = <optimized out>
        _tmp163_ = <optimized out>
        _tmp164_ = <optimized out>
        _tmp165_ = <optimized out>
        _tmp166_ = <optimized out>
        _tmp167_ = <optimized out>
        _tmp168_ = <optimized out>
        overlay = 0x0
        _tmp169_ = <optimized out>
        _tmp170_ = <optimized out>
        _tmp171_ = <optimized out>
        _tmp172_ = <optimized out>
        _tmp173_ = <optimized out>
        _tmp174_ = <optimized out>
        _tmp175_ = <optimized out>
        _tmp176_ = <optimized out>
        _tmp177_ = <optimized out>
        _tmp178_ = <optimized out>
        _tmp179_ = <optimized out>
        _tmp180_ = <optimized out>
        _tmp181_ = <optimized out>
        _tmp182_ = <optimized out>
        _tmp183_ = <optimized out>
        _tmp184_ = <optimized out>
        _tmp185_ = <optimized out>
        _tmp186_ = <optimized out>
        _tmp187_ = <optimized out>
        _tmp188_ = <optimized out>
        _tmp189_ = <optimized out>
        _tmp190_ = <optimized out>
        _tmp191_ = <optimized out>
        _tmp192_ = <optimized out>
        _tmp193_ = <optimized out>
        _tmp194_ = <optimized out>
        _tmp195_ = <optimized out>
        sizegroup = 0x0
        _tmp196_ = <optimized out>
        play_button = 0x0
        _tmp197_ = <optimized out>
        _tmp198_ = <optimized out>
        _tmp199_ = <optimized out>
        _tmp200_ = <optimized out>
        _tmp201_ = <optimized out>
        _tmp202_ = <optimized out>
        _tmp203_ = <optimized out>
        _tmp204_ = <optimized out>
        _tmp205_ = <optimized out>
        _tmp206_ = <optimized out>
        _tmp207_ = <optimized out>
        _tmp208_ = <optimized out>
        _tmp209_ = <optimized out>
        _tmp210_ = <optimized out>
        solve_button = 0x0
        _tmp211_ = <optimized out>
        _tmp212_ = <optimized out>
        finish_button = 0x0
        _tmp213_ = <optimized out>
        _tmp214_ = <optimized out>
        _tmp215_ = <optimized out>
        _tmp216_ = <optimized out>
        _tmp217_ = <optimized out>
        _tmp218_ = <optimized out>
        _tmp219_ = <optimized out>
        _tmp220_ = <optimized out>
        _tmp221_ = <optimized out>
        _tmp222_ = <optimized out>
        _tmp223_ = <optimized out>
        _tmp224_ = <optimized out>
        _tmp225_ = <optimized out>
        _tmp226_ = <optimized out>
        _tmp227_ = <optimized out>
        _tmp228_ = <optimized out>
        image = 0x0
        _tmp229_ = <optimized out>
        _tmp230_ = <optimized out>
        _tmp231_ = <optimized out>
        _tmp232_ = <optimized out>
        _tmp233_ = <optimized out>
        _tmp234_ = <optimized out>
        _tmp235_ = <optimized out>
        _tmp236_ = <optimized out>
        _tmp237_ = <optimized out>
        _tmp238_ = <optimized out>
        _tmp239_ = <optimized out>
        _tmp240_ = <optimized out>
        _tmp241_ = <optimized out>
        _tmp242_ = <optimized out>
        _tmp243_ = <optimized out>
        _tmp244_ = <optimized out>
        _tmp245_ = <optimized out>
        _tmp246_ = <optimized out>
        _tmp247_ = <optimized out>
        _tmp248_ = <optimized out>
        _tmp249_ = <optimized out>
        _tmp250_ = <optimized out>
        _tmp251_ = <optimized out>
        _tmp252_ = <optimized out>
        _tmp253_ = <optimized out>
        _tmp254_ = <optimized out>
        _tmp255_ = <optimized out>
        _tmp256_ = <optimized out>
        _tmp257_ = 0
#12 0x00007ffff7db783a in _g_closure_invoke_va (param_types=0x0, n_params=<optimized out>, args=0x7fffffffdb40, instance=0x5555555b02b0, return_value=0x0, closure=0x5555555aac30) at ../gobject/gclosure.c:873
        marshal = <optimized out>
        marshal_data = <optimized out>
        in_marshal = 0
        real_closure = 0x5555555aac10
        return_accu = 0x0
        accu = {g_type = 0x0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        accumulator = 0x0
        emission = Python Exception <class 'TypeError'> can only concatenate str (not "NoneType") to str: 
{next = 0x0, instance = 0x5555555b02b0, ihint = {signal_id = 6, detail = 0, run_type = (G_SIGNAL_RUN_FIRST | G_SIGNAL_ACCUMULATOR_FIRST_RUN)}, state = EMISSION_RUN, chain_type = }
        signal_id = 6
        instance_type = Python Exception <class 'TypeError'> can only concatenate str (not "NoneType") to str: 

        emission_return = {g_type = 0x0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        rtype = 0x4
        static_scope = 0
        fastpath_handler = <optimized out>
        closure = <optimized out>
        run_type = <optimized out>
        hlist = <optimized out>
        l = <optimized out>
        fastpath = 1
        instance_and_params = <optimized out>
        signal_return_type = <optimized out>
        param_values = <optimized out>
        node = <optimized out>
        i = <optimized out>
        n_params = <optimized out>
        __func__ = "g_signal_emit_valist"
#13 g_signal_emit_valist (instance=0x5555555b02b0, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffffffdb40) at ../gobject/gsignal.c:3406
        return_accu = 0x0
        accu = {g_type = 0x0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        accumulator = 0x0
        emission = Python Exception <class 'TypeError'> can only concatenate str (not "NoneType") to str: 
{next = 0x0, instance = 0x5555555b02b0, ihint = {signal_id = 6, detail = 0, run_type = (G_SIGNAL_RUN_FIRST | G_SIGNAL_ACCUMULATOR_FIRST_RUN)}, state = EMISSION_RUN, chain_type = }
        signal_id = 6
        instance_type = Python Exception <class 'TypeError'> can only concatenate str (not "NoneType") to str: 

        emission_return = {g_type = 0x0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        rtype = 0x4
        static_scope = 0
        fastpath_handler = <optimized out>
        closure = <optimized out>
        run_type = <optimized out>
        hlist = <optimized out>
        l = <optimized out>
        fastpath = 1
        instance_and_params = <optimized out>
        signal_return_type = <optimized out>
        param_values = <optimized out>
        node = <optimized out>
        i = <optimized out>
        n_params = <optimized out>
        __func__ = "g_signal_emit_valist"
#14 0x00007ffff7db7983 in g_signal_emit (instance=instance@entry=0x5555555b02b0, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3553
        var_args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffdc20, reg_save_area = 0x7fffffffdb60}}
#15 0x00007ffff7ebcda1 in g_application_register (application=application@entry=0x5555555b02b0, cancellable=cancellable@entry=0x0, error=error@entry=0x7fffffffdcb0) at ../gio/gapplication.c:2205
        __func__ = "g_application_register"
#16 0x00007ffff7ebd50e in g_application_real_local_command_line (application=0x5555555b02b0, arguments=0x7fffffffdd18, exit_status=0x7fffffffdd14) at ../gio/gapplication.c:1107
        error = 0x0
        options = 0x5555555b2e80
        n_args = <optimized out>
#17 0x00007ffff7ebd8c6 in g_application_run (application=0x5555555b02b0, argc=-8940, argv=<optimized out>) at ../gio/gapplication.c:2529
        arguments = 0x5555555b2ad0
        status = -1
        context = 0x5555555b2b50
        acquired_context = <optimized out>
        __func__ = "g_application_run"
#18 0x000055555555ec6f in tetravex_main (args_length1=1, args=0x7fffffffde88) at src/gnome-tetravex.p/gnome-tetravex.c:760
        app = 0x5555555b02b0
        _tmp0_ = 0x5555555b02b0
        result = 0
#19 main (argc=1, argv=0x7fffffffde88) at src/gnome-tetravex.p/gnome-tetravex.c:769
(gdb) 



===

Comment 8 Michael Catanzaro 2021-04-21 14:50:07 UTC
That's a good backtrace. Debugging is going to be a pain if it doesn't happen outside flatpak, unfortunately....

Comment 9 Sampson Fung 2021-04-21 15:19:37 UTC
(In reply to Michael Catanzaro from comment #8)
> That's a good backtrace. Debugging is going to be a pain if it doesn't
> happen outside flatpak, unfortunately....

Well understood.

Comment 10 Sampson Fung 2021-04-22 09:31:48 UTC
Tested with fresh installed Fedora 34 Workstation RC1

1.  Launch with gnome-software - OK
2.  Launch with flatpak run org.gnome.Tetravex - OK
3.  Launch with gnome-shell, the app icon shows up in the top bar for a while, then disappeared.  No errors in journal.


Note You need to log in before you can comment on or make changes to this bug.