Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2274724 - [abrt] nautilus: ptr_array_free(): nautilus killed by SIGABRT
Summary: [abrt] nautilus: ptr_array_free(): nautilus killed by SIGABRT
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nautilus
Version: 40
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: GNOME SIG Unassigned
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:2858a1cba1e9eeead24846ebf79...
Depends On:
Blocks: F40FinalFreezeException, FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2024-04-12 13:07 UTC by Lukas Ruzicka
Modified: 2024-04-19 21:35 UTC (History)
11 users (show)

Fixed In Version: nautilus-46.0-2.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-19 21:35:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details
File: maps (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details
File: limits (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details
File: environ (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details
File: open_fds (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details
File: mountinfo (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details
File: os_info (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details
File: cpuinfo (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details
File: core_backtrace (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details
File: dso_list (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details
File: var_log_messages (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details
File: backtrace (deleted)
2024-04-12 13:07 UTC, Lukas Ruzicka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME nautilus issues 3389 0 None opened Nautilus crashes when trying to archive files. 2024-04-12 13:19:18 UTC
GNOME Gitlab GNOME nautilus merge_requests 1488 0 None opened file-utilities: Fix double free 2024-04-14 16:34:14 UTC

Description Lukas Ruzicka 2024-04-12 13:07:17 UTC
Description of problem:
I wanted to create a zip file from the content of the directory, when Nautilus crashed.

Version-Release number of selected component:
nautilus-46.0-1.fc40

Additional info:
reporter:       libreport-2.17.15
type:           CCpp
reason:         nautilus killed by SIGABRT
journald_cursor: s=8b5cb6b7acb646818a020188d1070341;i=a5d92;b=d091e6d28f954bb59c2201ad04d5fed5;m=2a8222b96;t=615e5de075f15;x=2318d18202527e05
executable:     /usr/bin/nautilus
cmdline:        /usr/bin/nautilus --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus
rootdir:        /
uid:            1000
kernel:         6.8.5-300.fc40.x86_64
package:        nautilus-46.0-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: ptr_array_free
comment:        I wanted to create a zip file from the content of the directory, when Nautilus crashed.

Truncated backtrace:
Thread no. 1 (13 frames)
 #9 ptr_array_free at ../glib/garray.c:1848
 #10 glib_autoptr_clear_GPtrArray at /usr/include/glib-2.0/glib/glib-autocleanups.h:63
 #11 glib_autoptr_cleanup_GPtrArray at /usr/include/glib-2.0/glib/glib-autocleanups.h:63
 #12 nautilus_get_common_filename_prefix.constprop.0 at ../src/nautilus-file-utilities.c:842
 #13 nautilus_files_view_compress_dialog_new at ../src/nautilus-files-view.c:2366
 #14 action_compress at ../src/nautilus-files-view.c:6486
 #16 signal_emit_unlocked_R.isra.0 at ../gobject/gsignal.c:3888
 #17 signal_emit_valist_unlocked at ../gobject/gsignal.c:3520
 #20 g_simple_action_activate at ../gio/gsimpleaction.c:215
 #22 gtk_menu_tracker_item_activated at ../gtk/gtkmenutrackeritem.c:840
 #24 gtk_popover_item_activate at ../gtk/gtkmenusectionbox.c:200
 #26 signal_emit_unlocked_R.isra.0 at ../gobject/gsignal.c:3888
 #27 signal_emit_valist_unlocked at ../gobject/gsignal.c:3520

Comment 1 Lukas Ruzicka 2024-04-12 13:07:22 UTC
Created attachment 2026604 [details]
File: proc_pid_status

Comment 2 Lukas Ruzicka 2024-04-12 13:07:24 UTC
Created attachment 2026605 [details]
File: maps

Comment 3 Lukas Ruzicka 2024-04-12 13:07:25 UTC
Created attachment 2026606 [details]
File: limits

Comment 4 Lukas Ruzicka 2024-04-12 13:07:27 UTC
Created attachment 2026607 [details]
File: environ

Comment 5 Lukas Ruzicka 2024-04-12 13:07:29 UTC
Created attachment 2026608 [details]
File: open_fds

Comment 6 Lukas Ruzicka 2024-04-12 13:07:31 UTC
Created attachment 2026609 [details]
File: mountinfo

Comment 7 Lukas Ruzicka 2024-04-12 13:07:32 UTC
Created attachment 2026610 [details]
File: os_info

Comment 8 Lukas Ruzicka 2024-04-12 13:07:34 UTC
Created attachment 2026611 [details]
File: cpuinfo

Comment 9 Lukas Ruzicka 2024-04-12 13:07:36 UTC
Created attachment 2026612 [details]
File: core_backtrace

Comment 10 Lukas Ruzicka 2024-04-12 13:07:38 UTC
Created attachment 2026613 [details]
File: dso_list

Comment 11 Lukas Ruzicka 2024-04-12 13:07:40 UTC
Created attachment 2026614 [details]
File: var_log_messages

Comment 12 Lukas Ruzicka 2024-04-12 13:07:42 UTC
Created attachment 2026615 [details]
File: backtrace

Comment 13 Fedora Blocker Bugs Application 2024-04-12 13:09:24 UTC
Proposed as a Blocker for 40-final by Fedora user lruzicka using the blocker tracking app because:

 Nautilus is one of the pre-installed applications and this behaviour violates the Default Application criterion.

Comment 14 Fedora Admin user for bugzilla script actions 2024-04-12 13:17:27 UTC
This component is maintained by the GNOME project. Issues with it should be reported directly to GNOME at https://gitlab.gnome.org/GNOME/.

This issue should only be kept open if it:

1. Relates to Fedora packaging or integration with other Fedora components
2. Is required for Fedora release processes, such as blocker bugs and freeze exceptions

If this issue isn't needed for either of these two reasons, please:

 * create an issue with GNOME
 * add a link to the GNOME issue here
 * close this issue as CLOSED/UPSTREAM

Thank you!

Comment 15 Kamil Páral 2024-04-12 14:43:21 UTC
Lukáš, is it repeatable for you? I've created ~10 zip files, no crash.

Comment 16 Garib Dow 2024-04-12 16:47:16 UTC
Happening to me if you try to compress a folder and a file together.

Comment 17 Geraldo Simião 2024-04-12 16:54:08 UTC
Testing with 9+ files from https://filesamples.com/ different formats, downloaded them and tried different combinations to zip'em. All worked fine.
But like @garib.dow said => crashed when I try to compress a folder and a file together.

###################

Fedora-Workstation-Live-x86_64-40-1.13.iso installed on KVM/qemu

#####################################
journalctl -f

abr 12 13:49:44 f40-1-13 nautilus[6746]: free(): double free detected in tcache 2
abr 12 13:49:44 f40-1-13 audit[6746]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=6746 comm="nautilus" exe="/usr/bin/nautilus" sig=6 res=1
abr 12 13:49:44 f40-1-13 systemd[1]: Created slice system-systemd\x2dcoredump.slice - Slice /system/systemd-coredump.
abr 12 13:49:44 f40-1-13 audit: BPF prog-id=102 op=LOAD
abr 12 13:49:44 f40-1-13 audit: BPF prog-id=103 op=LOAD
abr 12 13:49:44 f40-1-13 audit: BPF prog-id=104 op=LOAD
abr 12 13:49:44 f40-1-13 systemd[1]: Started systemd-coredump - Process Core Dump (PID 7347/UID 0).
abr 12 13:49:44 f40-1-13 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@0-7347-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
abr 12 13:49:46 f40-1-13 systemd-coredump[7348]: [🡕] Process 6746 (nautilus) of user 1000 dumped core.
                                                 
                                                 Module libGLESv2.so.2 from rpm libglvnd-1.7.0-4.fc40.x86_64
                                                 Module libpciaccess.so.0 from rpm libpciaccess-0.16-12.fc40.x86_64
                                                 Module libdrm_intel.so.1 from rpm libdrm-2.4.120-3.fc40.x86_64
                                                 Module libdrm_nouveau.so.2 from rpm libdrm-2.4.120-3.fc40.x86_64
                                           ##########################################################################

Comment 18 Geraldo Simião 2024-04-12 16:55:45 UTC
BTW abrt generated this => https://retrace.fedoraproject.org/faf/reports/949439/

Comment 19 Geraldo Simião 2024-04-12 17:06:05 UTC
Testing with 9+ files from https://filesamples.com/ different formats, downloaded them and tried different combinations to zip'em. All worked fine.
But them it crashed when I try to compress a folder and a file together.


reporter:       libreport-2.17.15
type:           CCpp
reason:         nautilus killed by SIGABRT
journald_cursor: s=6fd103b740524984ad0f2fbd9116dec2;i=2e7c;b=e35c869d10984b83b47c60c43580be2b;m=385aa733;t=615e90f2d8009;x=3e1261ceee68904f
executable:     /usr/bin/nautilus
cmdline:        /usr/bin/nautilus --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Nautilus
rootdir:        /
uid:            1000
kernel:         6.8.4-300.fc40.x86_64
package:        nautilus-46.0-1.fc40
runlevel:       N 5
backtrace_rating: 4
crash_function: ptr_array_free

Comment 21 Adam Williamson 2024-04-14 16:33:51 UTC
-3 in https://pagure.io/fedora-qa/blocker-review/issue/1590 , marking rejected blocker. proposing as an FE, as I suspect people might go for that.

Comment 22 Fedora Update System 2024-04-14 16:49:18 UTC
FEDORA-2024-eff9808f9d (nautilus-46.0-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-eff9808f9d

Comment 23 Garib Dow 2024-04-14 18:42:54 UTC
I tested nautilus-46.0-2.fc40 and it solved the issue for me.

Comment 24 Geraldo Simião 2024-04-15 01:37:46 UTC
Yeah, the same for me. It seems to be fixed for me.
Tested the same way I tested the older version and now I can't reproduce the crash anymore.

Comment 25 Fedora Update System 2024-04-15 02:19:12 UTC
FEDORA-2024-eff9808f9d has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-eff9808f9d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-eff9808f9d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Lukas Ruzicka 2024-04-15 09:50:19 UTC
(In reply to Kamil Páral from comment #15)
> Lukáš, is it repeatable for you? I've created ~10 zip files, no crash.

Yes, this is repeatable, however I noticed this when trying to compress files and directories together as people reported above.

Comment 27 Lukas Ruzicka 2024-04-15 09:54:08 UTC
The update seems to have fixed it for me, too.

Comment 28 Geoffrey Marr 2024-04-15 18:49:48 UTC
Discussed during the 2024-04-15 blocker review meeting: [0]

The decision to classify this bug as an "AcceptedFreezeException (Final)" was made as the fix is targeted and well tested.

[0] https://meetbot.fedoraproject.org/blocker-review_matrix_fedoraproject-org/2024-04-15/f40-blocker-review.2024-04-15-16.00.txt

Comment 29 Fedora Update System 2024-04-19 21:35:57 UTC
FEDORA-2024-eff9808f9d (nautilus-46.0-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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