Bug #59847 [Opn->NoF]: php-fpm

2011-10-23 Thread ohill
Edit report at https://bugs.php.net/bug.php?id=59847&edit=1

 ID: 59847
 Updated by: oh...@php.net
 Reported by:vijeeshk_83 at yahoo dot co dot in
 Summary:php-fpm
-Status: Open
+Status: No Feedback
 Type:   Bug
 Package:geoip
 PHP Version:5.3.5
 Block user comment: N
 Private report: N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:

[2011-07-13 09:16:28] vijeeshk_83 at yahoo dot co dot in

i have backtrace , but php debug was not enabled  that time. 
Let me recompile with debug option and try again. btw, 
installing svn vwrsion will help?  i havent tried that yet

-Vijeesh


[2011-07-13 08:04:43] oh...@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

I need a lot more information than this.

Have you tried with an older PHP version? Have you changed settings since then? 
Can you try using the version available on Subversion? Can you generate stack 
traces? Without these, there is not much I can do to help you.


[2011-07-13 03:01:06] vijeeshk_83 at yahoo dot co dot in

Description:

loaded this module to php5.35 which serves using php-fpm. As soon as the 
textension loaded the clilds started crashing.









-- 
Edit this bug report at https://bugs.php.net/bug.php?id=59847&edit=1


Bug #60066 [Asn->Csd]: PHP segfault when build against GeoIP 1.4.8

2011-10-23 Thread ohill
Edit report at https://bugs.php.net/bug.php?id=60066&edit=1

 ID: 60066
 Updated by: oh...@php.net
 Reported by:fedora at famillecollet dot com
 Summary:PHP segfault when build against GeoIP 1.4.8
-Status: Assigned
+Status: Closed
 Type:   Bug
 Package:geoip
 Operating System:   GNU/Linux (Fedora 15)
 PHP Version:5.3.8
 Assigned To:ohill
 Block user comment: N
 Private report: N

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:

[2011-10-15 15:04:02] fel...@php.net

I've already fixed the crash in the svn months ago, see:
http://svn.php.net/viewvc/pecl/geoip/trunk/geoip.c?r1=297236&r2=311837

But no release has been done as far I know.

Assigning bug to the maintainer.


[2011-10-15 14:43:30] fedora at famillecollet dot com

Description:

Reading the source code (of GeoIP) show that some GeoIPDBFileName are not 
defined, so this cause a segfault when trying to copy it to result.

The trivial attached patch solves this issue.


Test script:
---
php -r 'var_dump(geoip_db_get_all_info());'

Expected result:

array(31) {
  [1]=>
  array(3) {
["available"]=>
bool(true)
["description"]=>
string(21) "GeoIP Country Edition"
["filename"]=>
string(26) "/usr/share/GeoIP/GeoIP.dat"
  }
...


Actual result:
--
Segmentation fault (core dumped)







-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60066&edit=1


Bug #59804 [Opn->Csd]: Failed Tests due to new databases & changes in the timeZone.c api

2011-10-23 Thread ohill
Edit report at https://bugs.php.net/bug.php?id=59804&edit=1

 ID: 59804
 Updated by: oh...@php.net
 Reported by:mike at digitalstruct dot com
 Summary:Failed Tests due to new databases & changes in the
 timeZone.c api
-Status: Open
+Status: Closed
 Type:   Bug
 Package:geoip
 Operating System:   Ubuntu 10.10
 PHP Version:5.3.6
-Assigned To:
+Assigned To:    ohill
 Block user comment: N
 Private report: N

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Except #14, which I will have to change completely.


Previous Comments:

[2011-06-06 10:54:11] mike at digitalstruct dot com

Well; the library changed for timeZone.c for the values in 
test 014.  I can DL some older versions of the library and 
run some tests against those.

In tests 008 and 011 those are values that are now never 
going to be utilized. I could update it based on the version 
of the GeoIP library for the tests to function correctly for 
older editions.  If you look at the GeoIP.h header for the 
library it states:
GEOIP_CITYCONFIDENCEDIST_ISP_ORG_EDITION = 19, /* unsued, 
but gaps are not allowed */
GEOIP_CCM_COUNTRY_EDITION =20,  /* unsued, but gaps are not 
allowed */
which is probably the safest directory as they are the only 
ones that are not looking for a file in any location.

The largest issue I see here is that the tests fail on the 
newer versions of the library which are now becoming 
standard in most of the distributions.


[2011-06-06 10:45:38] oh...@php.net

Your patch works, but will fail with old library installed.

If some values have changed in the lib, perhaps we should not use those tests 
at all.


[2011-06-06 10:33:41] mike at digitalstruct dot com

Description:

The latest GeoIP contains many new files; by changing the 
tests for 2 of the files it fixes 2 tests.  There is also a 
change in how the timeZone.c does "CA" which failed another 
test. 

I have updated the tests to pass for the current SVN.

Reproduce code:
---
Patch file: http://blog.digitalstruct.com/patches/geoip-svn-tests.patch.txt

Expected result:

Tests pass.

Actual result:
--

=
TEST RESULT SUMMARY

-
Exts skipped:0
Exts tested :   45

-

Number of tests :   1515
Tests skipped   :0 (  0.0%) 
Tests warned:0 (  0.0%) (  0.0%)
Tests failed:3 ( 20.0%) ( 20.0%)
Expected fail   :0 (  0.0%) (  0.0%)
Tests passed:   12 ( 80.0%) ( 80.0%)

-
Time taken  :0 seconds

=


=
FAILED TEST SUMMARY

-
Calling geoip_db_filename() with a non-existant database 
type within bound. [tests/008.phpt]
Calling geoip_database_info() with a non-existant database 
type within bound. [tests/011.phpt]
Checking timezone info with (some) empty fields 
[tests/014.phpt]

=







-- 
Edit this bug report at https://bugs.php.net/bug.php?id=59804&edit=1