Bug 1065494

Summary: [abrt] epiphany: ephy_history_service_find_url_rows(): epiphany-search-provider killed by SIGTRAP
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: epiphanyAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: debarshir, gecko-bugs-nobody, icywind90, jfrieben, mcatanzaro+wrong-account-do-not-cc, rob.townley, sabol.michal, sgallagh, smocktaylor, thunderbirdtr
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/48529d01d6beaf029a6790a2e370352b8b088bdf
Whiteboard: abrt_hash:279567622304837f32e4cb1b48fa9b601b1bb0f9
Fixed In Version: epiphany-3.14.2-3.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-18 06:08:33 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: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Joachim Frieben 2014-02-14 19:00:35 UTC
Version-Release number of selected component:
epiphany-3.11.4-1.fc21

Additional info:
reporter:       libreport-2.1.12
backtrace_rating: 4
cmdline:        /usr/libexec/epiphany-search-provider
crash_function: ephy_history_service_find_url_rows
executable:     /usr/libexec/epiphany-search-provider
kernel:         3.14.0-0.rc2.git3.2.fc21.x86_64
runlevel:       N 5
type:           CCpp
uid:            1001

Truncated backtrace:
Thread no. 1 (5 frames)
 #2 ephy_history_service_find_url_rows at ephy-history-service-urls-table.c:302
 #3 ephy_history_service_execute_query_urls at ephy-history-service.c:767
 #4 ephy_history_service_process_message at ephy-history-service.c:1278
 #5 run_history_service_thread at ephy-history-service.c:524
 #6 g_thread_proxy at gthread.c:765

Comment 1 Joachim Frieben 2014-02-14 19:00:46 UTC
Created attachment 863378 [details]
File: backtrace

Comment 2 Joachim Frieben 2014-02-14 19:00:50 UTC
Created attachment 863379 [details]
File: cgroup

Comment 3 Joachim Frieben 2014-02-14 19:00:53 UTC
Created attachment 863382 [details]
File: core_backtrace

Comment 4 Joachim Frieben 2014-02-14 19:00:58 UTC
Created attachment 863384 [details]
File: dso_list

Comment 5 Joachim Frieben 2014-02-14 19:01:04 UTC
Created attachment 863387 [details]
File: environ

Comment 6 Joachim Frieben 2014-02-14 19:01:09 UTC
Created attachment 863390 [details]
File: limits

Comment 7 Joachim Frieben 2014-02-14 19:01:12 UTC
Created attachment 863391 [details]
File: maps

Comment 8 Joachim Frieben 2014-02-14 19:01:16 UTC
Created attachment 863393 [details]
File: open_fds

Comment 9 Joachim Frieben 2014-02-14 19:01:18 UTC
Created attachment 863395 [details]
File: proc_pid_status

Comment 10 Joachim Frieben 2014-02-14 19:01:21 UTC
Created attachment 863398 [details]
File: var_log_messages

Comment 11 Stephen Gallagher 2014-09-05 12:08:18 UTC
I also hit this bug if I take the following steps:

1) Log in to the GNOME desktop
2) Enter the Overview
3) Type "software"
4) Hit enter (to launch GNOME Software)

Results:
This crash occurs and GNOME Software displays a screen with "No Application Data Found"

I'm not certain if these are exactly the same bug or simply related.

Comment 12 Michael Catanzaro 2014-11-19 17:30:55 UTC
*** Bug 1165353 has been marked as a duplicate of this bug. ***

Comment 13 Michael Catanzaro 2014-11-19 17:37:47 UTC
(In reply to Stephen Gallagher from comment #11)
> I also hit this bug if I take the following steps:
> 
> 1) Log in to the GNOME desktop
> 2) Enter the Overview
> 3) Type "software"
> 4) Hit enter (to launch GNOME Software)
> 
> Results:
> This crash occurs

Epiphany on Fedora is split into two packages: the epiphany package contains the desktop file and search provider (the thing that could crash if you're tying a search in the overview) but is not installed by default, and the epiphany-runtime package that is installed by default contains the actual browser without any desktop file (so it appears that it is uninstalled), for running web apps that you can install with GNOME Software. My first thought was that this must be a search provider bug, but I guess it's possible that Software is starting Epiphany itself. We can easily rule out the search provider if you have only the epiphany-runtime and not the epiphany package installed: is that the case?

Comment 14 Stephen Gallagher 2014-11-19 20:10:24 UTC
(In reply to Michael Catanzaro from comment #13)
> (In reply to Stephen Gallagher from comment #11)
> > I also hit this bug if I take the following steps:
> > 
> > 1) Log in to the GNOME desktop
> > 2) Enter the Overview
> > 3) Type "software"
> > 4) Hit enter (to launch GNOME Software)
> > 
> > Results:
> > This crash occurs
> 
> Epiphany on Fedora is split into two packages: the epiphany package contains
> the desktop file and search provider (the thing that could crash if you're
> tying a search in the overview) but is not installed by default, and the
> epiphany-runtime package that is installed by default contains the actual
> browser without any desktop file (so it appears that it is uninstalled), for
> running web apps that you can install with GNOME Software. My first thought
> was that this must be a search provider bug, but I guess it's possible that
> Software is starting Epiphany itself. We can easily rule out the search
> provider if you have only the epiphany-runtime and not the epiphany package
> installed: is that the case?

I have both packages installed, but I don't recall if I did when I submitted that comment. I'm not seeing this crash anymore, but I have no idea when or how that happened. (I may have told ABRT to ignore it; I'm not sure how to check)

Comment 15 Michael Catanzaro 2014-11-20 00:15:13 UTC
OK. Well actually, using my powers of deduction (aka by reading comment #0) I've determined that the search provider is to blame, and not Software after all.

Comment 16 Michael Catanzaro 2014-11-20 02:25:49 UTC
So it crashed with the "fatal" error: "Could not build urls table query statement: no such table: urls" -- fatal in quotes since it's not robust to intentionally crash whenever a database update fails.

I was not able to reproduce this crash with the search provider, but I was able to get the same backtrace by deleting ~/.config/epiphany/ephy-history.db when I had the browser open. We'll need to handle this failure a bit better.

Comment 17 Michal Sabol 2014-12-12 09:12:09 UTC
Another user experienced a similar problem:

from cold start of laptop, running a PAE kernel, loged in to gnome shell, uninstalled i686 kernel packages which were unnecessary, error got raised. Epeiphany was not executed from initial installation.

reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        /usr/libexec/epiphany-search-provider
crash_function: ephy_history_service_find_url_rows
executable:     /usr/libexec/epiphany-search-provider
kernel:         3.17.4-301.fc21.i686+PAE
package:        epiphany-3.14.2-2.fc21
reason:         epiphany-search-provider killed by SIGTRAP
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 18 Fedora Update System 2014-12-12 12:19:50 UTC
epiphany-3.14.2-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/epiphany-3.14.2-3.fc21

Comment 19 Fedora Update System 2014-12-13 09:50:36 UTC
Package epiphany-3.14.2-3.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing epiphany-3.14.2-3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-16901/epiphany-3.14.2-3.fc21
then log in and leave karma (feedback).

Comment 20 Fedora Update System 2014-12-18 06:08:33 UTC
epiphany-3.14.2-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2015-02-28 04:05:28 UTC
epiphany-3.15.90-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/epiphany-3.15.90-3.fc22

Comment 22 Michael Catanzaro 2015-02-28 04:07:07 UTC
(In reply to Fedora Update System from comment #21)
> epiphany-3.15.90-3.fc22 has been submitted as an update for Fedora 22.
> https://admin.fedoraproject.org/updates/epiphany-3.15.90-3.fc22

Ignore, I pasted the wrong bug URL.