Skip to content

Bug Report: nemo-desktop SIGSEGV in actions_changed (nemo-blank-desktop-window.c:282) #3660

@Rainboi69

Description

@Rainboi69

Distribution

Ubuntu 24.04 (Noble Numbat) / Linux Mint

Package version

nemo 6.4.5

Frequency

Only occasionally

Bug description

A segmentation fault occurs in nemo-desktop when file change signals are emitted. The crash appears to be a null pointer dereference in the actions_changed function, triggered during a directory refresh cycle.

Signal: SIGSEGV (Signal 11)

Location: ../src/nemo-blank-desktop-window.c:282

Function: actions_changed

Context: The crash is triggered by nemo_directory_emit_files_changed. It appears that while updating desktop actions in response to file changes, the process attempts to access an invalid memory address (_tag_ptr was reported at 0x20 in the local frame).

#0 0x0000638393679402 in actions_changed (user_data=0x6383af84f480) at ../src/nemo-blank-desktop-window.c:282
#1 0x00007d8fd512a6bd in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2 0x000063839370483e in nemo_directory_emit_files_changed (changed_files=0x6383afa71ba0, directory=0x6383af860290) at ../libnemo-private/nemo-directory.c:763
#3 0x000063839370572b in emit_change_signals_for_all_files_in_all_directories () at ../libnemo-private/nemo-directory.c:261
#4 0x00007d8fd523f87d in g_application_run () from /lib/x86_64-linux-gnu/libgio-2.0.so.0
#5 0x0000638393674da1 in main (argc=1, argv=0x7ffed1f63178) at ../src/nemo-desktop-main.c:103

svcw.pdf

Steps to reproduce

i believe i was installing/updating repositories. Or even due to external drive that was inserted

Expected behavior

The desktop manager should refresh icon states and context menu actions seamlessly when file changes are detected, without crashing or dereferencing null pointers.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions