Bug 1350820 - [abrt] gvfs: atlv_parse_cls_tag(): gvfsd-dav killed by SIGSEGV
Summary: [abrt] gvfs: atlv_parse_cls_tag(): gvfsd-dav killed by SIGSEGV
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Holy
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4f60377d602e9166b1609585c1c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-28 13:12 UTC by rh
Modified: 2016-06-28 14:49 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-06-28 14:49:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (25.39 KB, text/plain)
2016-06-28 13:12 UTC, rh
no flags Details
File: cgroup (148 bytes, text/plain)
2016-06-28 13:12 UTC, rh
no flags Details
File: core_backtrace (4.44 KB, text/plain)
2016-06-28 13:12 UTC, rh
no flags Details
File: dso_list (6.65 KB, text/plain)
2016-06-28 13:12 UTC, rh
no flags Details
File: environ (289 bytes, text/plain)
2016-06-28 13:12 UTC, rh
no flags Details
File: exploitable (100 bytes, text/plain)
2016-06-28 13:12 UTC, rh
no flags Details
File: limits (1.29 KB, text/plain)
2016-06-28 13:12 UTC, rh
no flags Details
File: maps (30.14 KB, text/plain)
2016-06-28 13:13 UTC, rh
no flags Details
File: mountinfo (3.71 KB, text/plain)
2016-06-28 13:13 UTC, rh
no flags Details
File: namespaces (102 bytes, text/plain)
2016-06-28 13:13 UTC, rh
no flags Details
File: open_fds (647 bytes, text/plain)
2016-06-28 13:13 UTC, rh
no flags Details
File: proc_pid_status (1.10 KB, text/plain)
2016-06-28 13:13 UTC, rh
no flags Details
File: var_log_messages (28 bytes, text/plain)
2016-06-28 13:13 UTC, rh
no flags Details

Description rh 2016-06-28 13:12:35 UTC
Version-Release number of selected component:
gvfs-1.28.2-1.fc24

Additional info:
reporter:       libreport-2.7.1
backtrace_rating: 4
cmdline:        /usr/libexec/gvfsd-dav --spawner :1.3 /org/gtk/gvfs/exec_spaw/7
crash_function: atlv_parse_cls_tag
executable:     /usr/libexec/gvfsd-dav
global_pid:     13778
kernel:         4.5.7-300.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
reproducible:   Not sure how to reproduce the problem
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 atlv_parse_cls_tag at egg/egg-asn1x.c:718
 #1 atlv_parse_cls_tag_len at egg/egg-asn1x.c:833
 #2 atlv_parse_der at egg/egg-asn1x.c:946
 #3 egg_asn1x_decode_full at egg/egg-asn1x.c:1311
 #4 egg_asn1x_create_and_decode_full at egg/egg-asn1x.c:4492
 #5 egg_asn1x_create_and_decode at egg/egg-asn1x.c:4510
 #6 certificate_info_load at gcr/gcr-certificate.c:164
 #7 gcr_certificate_get_expiry_date at gcr/gcr-certificate.c:805
 #8 certificate_to_string at gvfsdaemonutils.c:291
 #9 gvfs_accept_certificate at gvfsdaemonutils.c:336

Comment 1 rh 2016-06-28 13:12:43 UTC
Created attachment 1173424 [details]
File: backtrace

Comment 2 rh 2016-06-28 13:12:45 UTC
Created attachment 1173425 [details]
File: cgroup

Comment 3 rh 2016-06-28 13:12:49 UTC
Created attachment 1173426 [details]
File: core_backtrace

Comment 4 rh 2016-06-28 13:12:51 UTC
Created attachment 1173427 [details]
File: dso_list

Comment 5 rh 2016-06-28 13:12:53 UTC
Created attachment 1173428 [details]
File: environ

Comment 6 rh 2016-06-28 13:12:55 UTC
Created attachment 1173429 [details]
File: exploitable

Comment 7 rh 2016-06-28 13:12:57 UTC
Created attachment 1173430 [details]
File: limits

Comment 8 rh 2016-06-28 13:13:01 UTC
Created attachment 1173431 [details]
File: maps

Comment 9 rh 2016-06-28 13:13:02 UTC
Created attachment 1173432 [details]
File: mountinfo

Comment 10 rh 2016-06-28 13:13:04 UTC
Created attachment 1173433 [details]
File: namespaces

Comment 11 rh 2016-06-28 13:13:07 UTC
Created attachment 1173434 [details]
File: open_fds

Comment 12 rh 2016-06-28 13:13:09 UTC
Created attachment 1173435 [details]
File: proc_pid_status

Comment 13 rh 2016-06-28 13:13:12 UTC
Created attachment 1173436 [details]
File: var_log_messages

Comment 14 rh 2016-06-28 13:14:16 UTC
I believe it happened when I connected with "davs://" to a HTTP (not HTTPS) mount.

Comment 15 Ondrej Holy 2016-06-28 14:49:15 UTC
Thanks for your report.

You are right, I can reproduce it as per Comment 14. Same error may happen also for "ftps://". I've pushed fix upstream, which will be part of 1.28.3 release:
https://git.gnome.org/browse/gvfs/commit/?id=da6bf28


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