Bug 2178253

Summary: [abrt] gnome-photos: fast_validate(): gnome-photos killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Said Urtabajev <said>
Component: gnome-photosAssignee: GNOME SIG Unassigned <gnome-sig>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: debarshir, gnome-sig, klember, loganb, pranav913
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2b4193c37312495c1bbfa09caaaea2a6208896f
Whiteboard: abrt_hash:758ce9293756a81dff88b2e2fc5216638ff7a6c2;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-21 14:31:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: proc_pid_status
none
File: maps
none
File: limits
none
File: open_fds
none
File: mountinfo
none
File: os_info
none
File: cpuinfo
none
File: core_backtrace
none
File: exploitable
none
File: dso_list
none
File: var_log_messages
none
File: backtrace none

Description Said Urtabajev 2023-03-14 16:25:38 UTC
Description of problem:
1. Start gnome-photos.
2. Insert SD card.
3. Try to import pictures from SD card.
4. gnome-photos crashes

User journal reveals following:

märts 14 18:06:49 fedora dleyna-renderer-service[3121]: dLeyna core version 0.8.2
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: dleyna-renderer-service version 0.8.2
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: Type[0] Level[0x13] Mask[0x4C] Flags[0x4F]
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: Load file [/home/said/.config/dleyna-renderer-service.conf]
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: [General settings]
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: Never Quit: F
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: Connector Name: dbus
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: Port: 0
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: Push host port: 0
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: [Logging settings]
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: Log Type : 0
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: Log Level: 0x13
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: [Network filtering settings]
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: Enabled : F
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: Entries: (null)
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: Connector 'dbus' not found
märts 14 18:06:49 fedora dleyna-renderer-service[3121]: dLeyna: Exit

märts 14 18:06:49 fedora gnome-photos[2999]: Unable to fetch the list of available renderers: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer: unit failed.

märts 14 18:06:54 fedora systemd-coredump[3153]: [🡕] Process 2999 (gnome-photos) of user 1000 dumped core.

Version-Release number of selected component:
gnome-photos-43.0-3.fc38

Additional info:
reporter:       libreport-2.17.8
type:           CCpp
reason:         gnome-photos killed by SIGSEGV
journald_cursor: s=0c9cd813e63d4e00b9f38c5189fdb580;i=c24d;b=e8dff3d1c04b444eaae5069a1bba70a1;m=d4ae104;t=5f6de6a9383ba;x=fd15a39696f0de29
executable:     /usr/bin/gnome-photos
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Photos
rootdir:        /
uid:            1000
kernel:         6.2.6-300.fc38.x86_64
package:        gnome-photos-43.0-3.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: fast_validate
cmdline:        /usr/bin/gnome-photos --gapplication-service

Truncated backtrace:
Thread no. 1 (17 frames)
 #0 fast_validate at ../glib/gutf8.c:1516
 #1 g_utf8_validate at ../glib/gutf8.c:1699
 #3 g_variant_new_string at ../glib/gvariant.c:1270
 #4 g_variant_new_strv at ../glib/gvariant.c:1577
 #5 g_variant_valist_new_nnp at ../glib/gvariant.c:4893
 #6 g_variant_valist_new_leaf at ../glib/gvariant.c:5065
 #7 g_variant_valist_new at ../glib/gvariant.c:5299
 #8 g_variant_new_va at ../glib/gvariant.c:5475
 #9 g_variant_new at ../glib/gvariant.c:5410
 #10 tracker_miner_files_index_call_index_location at src/photos-tracker-miner-files-index.c:348
 #11 photos_tracker_import_controller_next_files at ../src/photos-tracker-import-controller.c:193
 #12 next_async_callback_wrapper at ../gio/gfileenumerator.c:307
 #13 g_task_return_now at ../gio/gtask.c:1309
 #14 complete_in_idle_cb at ../gio/gtask.c:1323
 #18 g_main_context_iterate.isra.0 at ../glib/gmain.c:4276
 #19 g_main_context_iteration at ../glib/gmain.c:4343
 #20 g_application_run at ../gio/gapplication.c:2573


Potential duplicate: bug {crossver_id}

Comment 1 Said Urtabajev 2023-03-14 16:25:41 UTC
Created attachment 1950676 [details]
File: proc_pid_status

Comment 2 Said Urtabajev 2023-03-14 16:25:42 UTC
Created attachment 1950677 [details]
File: maps

Comment 3 Said Urtabajev 2023-03-14 16:25:44 UTC
Created attachment 1950678 [details]
File: limits

Comment 4 Said Urtabajev 2023-03-14 16:25:46 UTC
Created attachment 1950679 [details]
File: open_fds

Comment 5 Said Urtabajev 2023-03-14 16:25:47 UTC
Created attachment 1950680 [details]
File: mountinfo

Comment 6 Said Urtabajev 2023-03-14 16:25:49 UTC
Created attachment 1950681 [details]
File: os_info

Comment 7 Said Urtabajev 2023-03-14 16:25:50 UTC
Created attachment 1950682 [details]
File: cpuinfo

Comment 8 Said Urtabajev 2023-03-14 16:25:52 UTC
Created attachment 1950683 [details]
File: core_backtrace

Comment 9 Said Urtabajev 2023-03-14 16:25:53 UTC
Created attachment 1950684 [details]
File: exploitable

Comment 10 Said Urtabajev 2023-03-14 16:25:55 UTC
Created attachment 1950685 [details]
File: dso_list

Comment 11 Said Urtabajev 2023-03-14 16:25:56 UTC
Created attachment 1950686 [details]
File: var_log_messages

Comment 12 Said Urtabajev 2023-03-14 16:25:58 UTC
Created attachment 1950687 [details]
File: backtrace

Comment 13 amit 2023-04-06 23:06:19 UTC
A new USB flash drive was inserted, Photos showed an "Import?" dialog which I clicked, and it crashed.


reporter:       libreport-2.17.9
type:           CCpp
reason:         gnome-photos killed by SIGSEGV
journald_cursor: s=1ca16023e62e42e5ace3cbe3706aad1e;i=a9063;b=ac367bf8ae5b40049c44fefa90964b04;m=960c82d27;t=5f8b2ebfd5080;x=eb4271a39a4b1645
executable:     /usr/bin/gnome-photos
cmdline:        /usr/bin/gnome-photos --gapplication-service
cgroup:         0::/user.slice/user-1002.slice/user/app.slice/dbus-:1.2-org.gnome.Photos
rootdir:        /
uid:            1002
kernel:         6.2.9-300.fc38.x86_64
package:        gnome-photos-43.0-3.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: fast_validate
comment:        A new USB flash drive was inserted, Photos showed an "Import?" dialog which I clicked, and it crashed.

Comment 14 redhatbugzilla 2023-04-12 03:14:57 UTC
I opened the app and I tried to press in the top left button.


reporter:       libreport-2.17.9
type:           CCpp
reason:         gnome-photos killed by SIGSEGV
journald_cursor: s=bb5fc3772c314cd0b0b19ce326993dff;i=1305f;b=1c247be246124acaa893d9dda82677d1;m=12e942fd43;t=5f91adfd8ff07;x=e49f7e91ec54d96e
executable:     /usr/bin/gnome-photos
cmdline:        /usr/bin/gnome-photos --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Photos
rootdir:        /
uid:            1000
kernel:         6.2.10-300.fc38.x86_64
package:        gnome-photos-43.0-3.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: fast_validate
comment:        I opened the app and I tried to press in the top left button.

Comment 15 Renich Bon Ciric 2023-04-25 02:41:21 UTC
GNOME Photos offers the option to use devices attached. It detects them automagically. 

It detected all my btrfs subvolumes (addional ones) mounted at $HOME. 

When I try to access one of those subvolumes/devices, it crashes consistently. 


reporter:       libreport-2.17.9
type:           CCpp
reason:         gnome-photos killed by SIGSEGV
journald_cursor: s=2518178113e24fb3996ae80f9e2e2412;i=2aa38;b=67048acc380747d5bba73a412d3cfc10;m=78f33a39d;t=5fa1fd706b128;x=2909fd065f1c9d70
executable:     /usr/bin/gnome-photos
cmdline:        /usr/bin/gnome-photos --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Photos
rootdir:        /
uid:            1000
kernel:         6.2.11-300.fc38.x86_64
package:        gnome-photos-43.0-3.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: fast_validate

Comment 16 Hans-Henrik Jakobsen 2023-05-10 06:12:08 UTC
Open Photos app (version 43.0)
Information is given that new media is found - OneDrive (mounted using OneDriver app)
Click Import and list of files are displayed for a short while and app crashes


reporter:       libreport-2.17.9
type:           CCpp
reason:         gnome-photos killed by SIGSEGV
journald_cursor: s=8179d80b41684809b870a9f4491b1284;i=1b647;b=e63e49ee35aa42c18f20e81620014fa1;m=3fc27ab3;t=5fb5093ee23dd;x=20c9436fc189360e
executable:     /usr/bin/gnome-photos
cmdline:        /usr/bin/gnome-photos --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Photos
rootdir:        /
uid:            1000
kernel:         6.2.14-300.fc38.x86_64
package:        gnome-photos-43.0-3.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: fast_validate

Comment 17 laufor 2023-05-23 08:13:05 UTC
Importing photos from my Fujifilm X-30 camera


reporter:       libreport-2.17.10
type:           CCpp
reason:         gnome-photos killed by SIGSEGV
journald_cursor: s=b63b59cb4e0440a8aee6206ec010b2f5;i=879e4;b=57102e28bfbb4c51a2f31c77b269d499;m=1d3dcfa9c4;t=5fc2762806aef;x=a0e5fdd03c8b51f2
executable:     /usr/bin/gnome-photos
cmdline:        /usr/bin/gnome-photos --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Photos
rootdir:        /
uid:            1000
kernel:         6.2.14-300.fc38.x86_64
package:        gnome-photos-43.0-3.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: fast_validate
comment:        Importing photos from my Fujifilm X-30 camera

Comment 18 Arne 2023-06-07 18:44:42 UTC
Crashed when I pressed the  "Devices" button


reporter:       libreport-2.17.10
type:           CCpp
reason:         gnome-photos killed by SIGSEGV
journald_cursor: s=3301fdb2766042cd9d4846042193bb1b;i=ab076;b=f5063a5de4eb4d37832a8edb147feedb;m=2ba01d68da;t=5fd8e7a77fbfe;x=f9e02de54c197072
executable:     /usr/bin/gnome-photos
cmdline:        /usr/bin/gnome-photos --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Photos
rootdir:        /
uid:            1000
kernel:         6.3.5-200.fc38.x86_64
package:        gnome-photos-43.0-3.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: fast_validate
comment:        Crashed when I pressed the  "Devices" button

Comment 19 David 2023-06-28 01:56:10 UTC
maybe having Shotwell runing.


reporter:       libreport-2.17.10
type:           CCpp
reason:         gnome-photos killed by SIGSEGV
journald_cursor: s=b7b79725c5e641b494e1d2603a11c419;i=629f8;b=79146bf94cd14827a7a794d541ff3bb4;m=e0f7875d;t=5ff2661187d7f;x=981e3e40af0b952c
executable:     /usr/bin/gnome-photos
cmdline:        /usr/bin/gnome-photos --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Photos
rootdir:        /
uid:            1000
kernel:         6.3.8-200.fc38.x86_64
package:        gnome-photos-43.0-3.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: fast_validate
comment:        maybe having Shotwell runing.

Comment 20 geosearchef 2023-08-07 00:10:46 UTC
Opened Gnome Photos on new Fedora 38 install.
Clicked on the suggested drive in the top left.

Partition displayed there was mounted but belongs to a parallel Ubuntu 20.04 installation (its home partition).
(mounted at /run/media/geosearchef/0088e169-3c8b-4165-9aa8-be771263a35d)

After 2-3 seconds, the app segfaults.


reporter:       libreport-2.17.11
journald_cursor: s=c75c7a3e89c64c07b84a19ecbd3331df;i=5c52;b=a028d77d936c41b487101b4bf4c39a52;m=1c108765c;t=60249d762f012;x=259c839557827922
package:        gnome-photos-43.0-3.fc38
reason:         gnome-photos killed by SIGSEGV
uid:            1000
rootdir:        /
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Photos
executable:     /usr/bin/gnome-photos
runlevel:       N 5
kernel:         6.4.7-200.fc38.x86_64
backtrace_rating: 4
type:           CCpp
cmdline:        /usr/bin/gnome-photos --gapplication-service
crash_function: fast_validate

Comment 21 Logan Brunkhorst 2023-08-23 17:47:40 UTC
Fresh install of Workstaion 38. Opened the Photos app and insterted SD card from my Fujifilm camera. 

Followed banner prompt to import photos. App crashed immediately uppon clicking the first "Import" button on the banner. 

Folder structure of the SD card follows...

Hopefully Bugzilla keeps this formatting correct. :p

SD Card Munt (/run/media/loganb/disk)
	|
	 -> DCIM
		|
		 -> 742_FUJI
		|	|
		|	 -> DSCF####.JPG
		|	 -> DSCF####.RAF
		|	 -> ... (1,060 items)
		|	
		 -> 743_FUJI
			|
			 -> DSCF####.JPG
			 -> DSCF####.RAF
			 -> ... (474 items)


I don't see it listed in the dump, I'm running a NVIDIA 1660 Super with the latest (535.98) closed source drivers from RPM Fusion - Nonfree - NVIDIA Driver.


reporter:       libreport-2.17.11
type:           CCpp
reason:         gnome-photos killed by SIGSEGV
journald_cursor: s=240053165ccc41f5a7c512833de069ac;i=21d86;b=7acf95c6c4764806ab7bf1a2ce21937b;m=36dcd2a61;t=6039a74de12e2;x=b7a5f644efb6248e
executable:     /usr/bin/gnome-photos
cmdline:        /usr/bin/gnome-photos --gapplication-service
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.gnome.Photos
rootdir:        /
uid:            1000
kernel:         6.4.11-200.fc38.x86_64
package:        gnome-photos-43.0-3.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: fast_validate

Comment 22 theUser 2023-11-07 02:41:04 UTC
I opened the Photos app for the first time ever.
The Photos app seemed to locate my photos on a usb stick.
I did not try to import any photos.
Instead I clicked on the name of the usb stick in the upper left of the app presentation, TRANSFERUSB, hoping to change the location of the import.
The app crashed.
This is reproducible.


reporter:       libreport-2.17.11
type:           CCpp
reason:         gnome-photos killed by SIGSEGV
journald_cursor: s=8c68354f3edb4e62b204a1f3d24da86a;i=4211;b=5a96a2b3c42241d290bd46100372c917;m=abe920c4;t=6098630c8e6d7;x=62f41237d84bd5e6
executable:     /usr/bin/gnome-photos
cmdline:        /usr/bin/gnome-photos
cgroup:         0::/user.slice/user-1001.slice/user/app.slice/app-gnome-org.gnome.Software-5968.scope
rootdir:        /
uid:            1001
kernel:         6.5.9-200.fc38.x86_64
package:        gnome-photos-43.0-3.fc38
runlevel:       N 5
backtrace_rating: 4
crash_function: fast_validate

Comment 23 Aoife Moloney 2024-05-07 16:00:31 UTC
This message is a reminder that Fedora Linux 38 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 38 on 2024-05-21.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '38'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 38 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 24 Aoife Moloney 2024-05-21 14:31:32 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.