linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.21k stars 300 forks source link

Nemo on 32-bit release candidate fails #2655

Open joequant opened 3 years ago

joequant commented 3 years ago
 * Nemo version (nemo --version)

4.8.2
 * Is issue with desktop or windowed nemo?

desktop
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...)
 * Graphics hardware *and* driver used
 * 32 or 64 bit
32 bit

Issue

https://bugs.mageia.org/show_bug.cgi?id=28129

We have a report of nemo Mageia 8 release candidate crashing

Running "NEMO_DEBUG=Actions,Window nemo --debug" ends with ...
** (nemo:2132): WARNING **: 00:57:36.799: The theme appears to have no nemo support.  Adding some...
** (nemo:2132): DEBUG: 00:57:36.801: Open called on the GApplication instance; 1 files
(nemo:2132): XApp-DEBUG: 00:57:36.937: XAppFavorites: init:
(nemo:2132): dconf-DEBUG: 00:57:36.937: watch_fast: "/org/x/apps/favorites/" (establishing: 0, active: 0)
(nemo:2132): dconf-DEBUG: 00:57:36.937: watch_established: "/org/x/apps/favorites/" (establishing: 1)
(nemo:2132): XApp-DEBUG: 00:57:36.937: XAppFavorites: load_favorite: favorites loaded (0)
(nemo:2132): XApp-DEBUG: 00:57:36.939: XAppFavorites: get_n_favorites returning number of items: 0.
(nemo:2132): dconf-DEBUG: 00:57:36.940: change_fast
(nemo:2132): dconf-DEBUG: 00:57:36.941: change_notify: /org/nemo/window-state/start-with-sidebar
(nemo:2132): XApp-DEBUG: 00:57:37.046: XAppFavorites: get_n_favorites returning number of items: 0.
malloc(): unsorted double linked list corrupted
Aborted (core dumped)

Steps to reproduce

Install Mageia 8 RC1 32 bit, nemo crashes

Expected behaviour

Other information

joequant commented 3 years ago

Also any ideas on how to debug or any candidate fixes would be useful. This is a release blocker for Mageia 8.

mtwebster commented 3 years ago

Need a trace

Does it run if you disable the sidebar?

gsettings set org.nemo.window-state start-with-sidebar false
leigh123linux commented 3 years ago

Also any ideas on how to debug or any candidate fixes would be useful. This is a release blocker for Mageia 8.

Can't you add this to the spec file?

ExcludeArch:  i586 i686

Don't expect any fixes from upstream as we don't really support 32bit any more as we don't have any 32bit installation media in our distro's.

mtwebster commented 3 years ago

Do you have an iso I could try?

neoclust commented 3 years ago

Need a trace

Does it run if you disable the sidebar?

gsettings set org.nemo.window-state start-with-sidebar false

for me this fixes the crash.

I have lot of errors in the terminal but it starts :-)

Btw this is not a 32bit error as i am running a Mageia 8 64 bit and encounter this issue.

neoclust commented 3 years ago

how can i provide a useful trace for you ?

mtwebster commented 3 years ago

I would presume these steps would work: https://wiki.mageia.org/en/Debugging_software_crashes

You need debug packages for xapp, nemo, gtk3, glib2

Once you have these you could run:

gdb nemo
r

when it crashes, do:

set pagination off
thread apply all bt

And paste/pastebin the output. Please paste the entire output from when you first run gdb nemo - you mention a lot of errors/warnings, I'd like to see them. I'm not entirely convinced this isn't some build config or other issue - the logs should be reasonably quiet and we've had no similar reports on any other distros.

Thanks

joequant commented 3 years ago

Also something that would be useful is to run nemo under valgrind

Might be related to #2579

mtwebster commented 3 years ago

I've just pushed this: https://github.com/linuxmint/nemo/commit/fbf57e72e9c4fc3fbded6cd23b682c35619ee4c3

Lacking any more info, this is a bit of a shot in the dark, but this is a more explicit way of accomplishing our check here, and safer. Not sure if someone can cherry-pick that to test? I'll try to get a new tag on nemo (for other fixes as well).

joequant commented 3 years ago

Okay. Let me create a test rpm for mageia with all of the latest fixes.