Segfault (core dump) on geoip_db_get_all_info() method call
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-geoip (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
To reproduce the bug
$ sudo apt-get install php5 php5-geoip geoip-database
$ php --version
PHP 5.4.6-1ubuntu1.1 (cli) (built: Nov 15 2012 01:18:34)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
$ php -r "print_
Segmentation fault (core dumped)
php5-geoip need to upgrade from 1.0.7 to 1.0.8. Still haven't apply the fix for php bug 60066 (fixed in version 1.0.8)
Temporary solution is to install the package using PHP's PECL.
$ sudo apt-get install php-pear php5-dev libgeoip-dev geoip-database
$ sudo pecl install geoip
$ echo "extension=
See
1. http://
2. https:/
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1153008
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.