Closed oprudkyi closed 10 years ago
Thanks for the report. I haven't tested with hhvm master in a while.
Please try db339c8. Thanks.
Thank you 1.6.0. and 1.6.1 have passed test with ab I'm going to check with production
Seems error is gone Thank you very much
hhvm and hhvm-ext-geo-ip from repositories libGeoIP - 1.6.1
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2aaac55ff940 (LWP 5828)] 0x00002aaab8c48689 in _GeoIP_setup_dbfilename () at GeoIP.c:815 815 GeoIPDBFileName[GEOIP_USERTYPE_EDITION] = _GeoIP_full_path_to( (gdb) bt
0 0x00002aaab8c48689 in _GeoIP_setup_dbfilename () at GeoIP.c:815
1 0x00002aaab8c488b1 in GeoIP_db_avail (type=1) at GeoIP.c:900
2 0x00002aaab8a2f8c4 in HPHP::geoipExtension::updateCustomDirectory (value=...) at /root/hhvm/hhvm-ext-geoip/ext_geoip.cpp:840
3 0x000000000102f70e in std::_Function_handler<bool (std::string const&), bool (*)(std::string const&)>::_M_invoke(std::_Any_data const&, std::string const&) (functor=..., args#0=...)
info sharedlibrary x00002aaab88142f0 0x00002aaab8820fc8 Yes /opt/hhvm/lib/hphp/extensions/20140702/geoip.so 0x00002aaab8a31cc0 0x00002aaab8a46b68 Yes /opt/hhvm/lib/libGeoIP.so.1
ls -la /opt/hhvm/lib/libGeoIP* lrwxrwxrwx 1 root root 17 Jul 7 21:58 /opt/hhvm/lib/libGeoIP.so.1 -> libGeoIP.so.1.6.1 -rwxr-xr-x 1 root root 929820 Jul 7 21:58 /opt/hhvm/lib/libGeoIP.so.1.6.1
segfault happens after some time I can repeat it locally with ab -c 20 -n 1000 ...url for checking geo ip
php code some like
though, I will check with prev version of libGeoIP