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 1180874

Summary: [abrt] GeoIP: geoiplookup(): geoiplookup killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Lorenzo Pistone <blaffablaffa>
Component: GeoIPAssignee: Paul Howarth <paul>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: goschwald, paul, philipp
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/05fea60bb57def0d9a08ebc77103d636891c6c82
Whiteboard: abrt_hash:897cfdbf51248e9da8f56a0d78ece1d67d2bca9d
Fixed In Version: GeoIP-1.6.5-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-26 15:40:01 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: exploitable
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Lorenzo Pistone 2015-01-11 11:56:48 UTC
Description of problem:
passing a CSV database (or I suppose any non valid .dat database) to option -f

Version-Release number of selected component:
GeoIP-1.5.1-6.fc21

Additional info:
reporter:       libreport-2.3.0
backtrace_rating: 4
cmdline:        geoiplookup -f /home/pisto/GeoIPASNum2.csv 69.55.48.0
crash_function: geoiplookup
executable:     /usr/bin/geoiplookup
kernel:         3.17.7-300.fc21.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (1 frames)
 #0 geoiplookup at geoiplookup.c:281

Potential duplicate: bug 987666

Comment 1 Lorenzo Pistone 2015-01-11 11:56:51 UTC
Created attachment 978729 [details]
File: backtrace

Comment 2 Lorenzo Pistone 2015-01-11 11:56:52 UTC
Created attachment 978730 [details]
File: cgroup

Comment 3 Lorenzo Pistone 2015-01-11 11:56:54 UTC
Created attachment 978731 [details]
File: core_backtrace

Comment 4 Lorenzo Pistone 2015-01-11 11:56:55 UTC
Created attachment 978732 [details]
File: dso_list

Comment 5 Lorenzo Pistone 2015-01-11 11:56:56 UTC
Created attachment 978733 [details]
File: environ

Comment 6 Lorenzo Pistone 2015-01-11 11:56:57 UTC
Created attachment 978734 [details]
File: exploitable

Comment 7 Lorenzo Pistone 2015-01-11 11:56:58 UTC
Created attachment 978735 [details]
File: limits

Comment 8 Lorenzo Pistone 2015-01-11 11:57:00 UTC
Created attachment 978736 [details]
File: maps

Comment 9 Lorenzo Pistone 2015-01-11 11:57:01 UTC
Created attachment 978737 [details]
File: open_fds

Comment 10 Lorenzo Pistone 2015-01-11 11:57:02 UTC
Created attachment 978738 [details]
File: proc_pid_status

Comment 11 Lorenzo Pistone 2015-01-11 11:57:03 UTC
Created attachment 978739 [details]
File: var_log_messages

Comment 12 Greg Oschwald 2015-01-13 17:00:56 UTC
I confirmed this bug on the latest upstream version. I created an internal issue to fix it. Hopefully it will be done in our next iteration.

Comment 13 Greg Oschwald 2015-02-02 17:42:04 UTC
We have fixed this upstream:

https://github.com/maxmind/geoip-api-c/commit/6866b0270ec1a748c1412ebdfdd7a00ef1123c6d

The fixes will be in our next release, which will hopefully be soon.

Comment 14 Fedora Update System 2015-04-14 07:57:53 UTC
GeoIP-GeoLite-data-2015.04-1.el5,geoipupdate-2.2.1-2.el5,GeoIP-1.6.5-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/GeoIP-GeoLite-data-2015.04-1.el5,geoipupdate-2.2.1-2.el5,GeoIP-1.6.5-1.el5

Comment 15 Fedora Update System 2015-04-14 07:59:14 UTC
GeoIP-GeoLite-data-2015.04-1.el6,geoipupdate-2.2.1-2.el6,GeoIP-1.6.5-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/GeoIP-GeoLite-data-2015.04-1.el6,geoipupdate-2.2.1-2.el6,GeoIP-1.6.5-1.el6

Comment 16 Fedora Update System 2015-04-14 08:00:33 UTC
GeoIP-GeoLite-data-2015.04-1.fc21,geoipupdate-2.2.1-2.fc21,GeoIP-1.6.5-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/GeoIP-GeoLite-data-2015.04-1.fc21,geoipupdate-2.2.1-2.fc21,GeoIP-1.6.5-1.fc21

Comment 17 Fedora Update System 2015-04-14 08:00:50 UTC
GeoIP-GeoLite-data-2015.04-1.fc22,geoipupdate-2.2.1-2.fc22,GeoIP-1.6.5-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/GeoIP-GeoLite-data-2015.04-1.fc22,geoipupdate-2.2.1-2.fc22,GeoIP-1.6.5-1.fc22

Comment 18 Fedora Update System 2015-04-14 08:03:13 UTC
GeoIP-GeoLite-data-2015.04-1.fc20,geoipupdate-2.2.1-2.fc20,GeoIP-1.6.5-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/GeoIP-GeoLite-data-2015.04-1.fc20,geoipupdate-2.2.1-2.fc20,GeoIP-1.6.5-1.fc20

Comment 19 Paul Howarth 2015-04-14 14:41:21 UTC
I've built updates to GeoIP 1.6.5 for all current Fedora releases, plus EPEL-5 and EPEL-6, which should address this.

However, EL-7 ships with GeoIP 1.5.0 so it still may be an issue there.

Comment 20 Fedora Update System 2015-04-21 19:15:05 UTC
GeoIP-GeoLite-data-2015.04-1.fc22, geoipupdate-2.2.1-2.fc22, GeoIP-1.6.5-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 21 Fedora Update System 2015-04-26 12:48:35 UTC
GeoIP-GeoLite-data-2015.04-1.fc20, geoipupdate-2.2.1-2.fc20, GeoIP-1.6.5-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 22 Fedora Update System 2015-04-26 12:58:42 UTC
GeoIP-GeoLite-data-2015.04-1.fc21, geoipupdate-2.2.1-2.fc21, GeoIP-1.6.5-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 23 Fedora Update System 2015-05-14 06:27:57 UTC
geoipupdate-2.2.1-2.el6, GeoIP-1.6.5-1.el6, GeoIP-GeoLite-data-2015.04-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 24 Fedora Update System 2015-05-14 06:28:41 UTC
geoipupdate-2.2.1-2.el5, GeoIP-GeoLite-data-2015.04-2.el5, GeoIP-1.6.5-2.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.