nemo crashed with SIGSEGV in g_slice_free_chain_with_offset()

Bug #1945903 reported by Laurent Bonnaud
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nemo (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Nemo crashed while I was trying all desktop environments after an upgrade to Ubuntu 21.10.

ProblemType: Crash
DistroRelease: Ubuntu 21.10
Package: nemo 4.8.6-2
Uname: Linux 5.14.9-051409-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu69
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: X-Cinnamon
Date: Sun Oct 3 17:35:26 2021
ExecutablePath: /usr/bin/nemo
ProcCmdline: nemo
SegvAnalysis:
 Segfault happened at: 0x7efe134a3f42 <g_slice_free_chain_with_offset+194>: mov (%rbx,%r10,1),%rbx
 PC (0x7efe134a3f42) ok
 source "(%rbx,%r10,1)" (0x757575757575757d) not located in a known VMA region (needed readable region)!
 destination "%rbx" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: nemo
StacktraceTop:
 g_slice_free_chain_with_offset (mem_size=24, mem_chain=<optimized out>, next_offset=<optimized out>) at ../../../glib/gslice.c:1235
 finalize (object=0x55b1488e0160 [NemoIconViewContainer]) at ../libnemo-private/nemo-icon-container.c:2787
 g_object_unref (_object=<optimized out>) at ../../../gobject/gobject.c:3524
 g_object_unref (_object=0x55b1488e0160) at ../../../gobject/gobject.c:3416
 gtk_scrolled_window_destroy (widget=0x55b1487d5ce0 [NemoIconView]) at ../../../../gtk/gtkscrolledwindow.c:2821
Title: nemo crashed with SIGSEGV in g_slice_free_chain_with_offset()
UpgradeStatus: Upgraded to impish on 2021-10-03 (0 days ago)
UserGroups: adm cdrom dip disk fuse kvm libvirt libvirtd lpadmin plugdev sambashare staff sudo
separator:

Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_slice_free_chain_with_offset (mem_size=24, mem_chain=<optimized out>, next_offset=<optimized out>) at ../../../glib/gslice.c:1235
 finalize (object=0x55b1488e0160) at ../libnemo-private/nemo-icon-container.c:2787
 g_object_unref (_object=<optimized out>) at ../../../gobject/gobject.c:3524
 g_object_unref (_object=0x55b1488e0160) at ../../../gobject/gobject.c:3416
 gtk_scrolled_window_destroy (widget=0x55b1487d5ce0) at ../../../../gtk/gtkscrolledwindow.c:2821

tags: removed: need-amd64-retrace
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in nemo (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Laurent Bonnaud (laurent-bonnaud) wrote :

nemo still crashes when I launch it on my Ubuntu 22.04/jammy system:

$ nemo

** (nemo:66515): WARNING **: 13:06:12.163: Current gtk theme is not known to have nemo support (Breeze) - checking...

** (nemo:66515): WARNING **: 13:06:12.204: The theme appears to have no nemo support. Adding some...
Segmentation fault (core dumped)

Package: nemo
Version: 5.2.4-1

tags: added: jammy
removed: impish
Revision history for this message
Joshua Peisach (itzswirlz) wrote :

It looks like a bad free.

g_free (details);
g_list_free (details->current_selection);

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nemo - 5.4.2-1

---------------
nemo (5.4.2-1) experimental; urgency=medium

  * New upstream version 5.4.2 (LP: #1945903)
  * d/control: add html2text to nemo recommends
  * Update lintian override
  * Update d/copyright

 -- Fabio Fantoni <email address hidden> Thu, 21 Jul 2022 23:23:44 +0200

Changed in nemo (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.