Ticket #264 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

endless recursion detected

Reported by: regs@… Owned by: omry
Priority: Normal Milestone:
Component: FireStats Version: 1.1.5
Severity: Important Keywords:
Cc:

Description

Firestats (for Wordpress) worked superb for weeks, today I get this:

Notice: IP2Country : Internal error - endless recursion detected, code = 16981 in /var/www/***myurl***/htdocs/wp-content/plugins/firestats/php/ip2c/ip2c.php on line 128

Notice: IP2Country : Internal error - endless recursion detected, code = 16984 in /var/www/***myurl***/htdocs/wp-content/plugins/firestats/php/ip2c/ip2c.php on line 128

Notice: IP2Country : Internal error - endless recursion detected, code = 16984 in /var/www/***myurl***/htdocs/wp-content/plugins/firestats/php/ip2c/ip2c.php on line 128

Warning: unpack() [function.unpack]: Type n: not enough input, need 2, have 0 in /var/www/***myurl***/htdocs/wp-content/plugins/firestats/php/ip2c/ip2c.php on line 230

Warning: unpack() [function.unpack]: Type n: not enough input, need 2, have 0 in /var/www/***myurl***/htdocs/wp-content/plugins/firestats/php/ip2c/ip2c.php on line 230

Warning: unpack() [function.unpack]: Type n: not enough input, need 2, have 0 in /var/www/***myurl***/htdocs/wp-content/plugins/firestats/php/ip2c/ip2c.php on line 230

Warning: unpack() [function.unpack]: Type n: not enough input, need 2, have 0 in /var/www/***myurl***/htdocs/wp-content/plugins/firestats/php/ip2c/ip2c.php on line 230

Warning: unpack() [function.unpack]: Type n: not enough input, need 2, have 0 in /var/www/***myurl***/htdocs/wp-content/plugins/firestats/php/ip2c/ip2c.php on line 230

... etc ...

Not sure whether this is a bug or whether my logfiles might be broken or inaccessible. Tried to emerge -av webalizer this yesterday but havent gotten it to work yet. (n00b to gentoo/apache2)

Cheers!

Attachments

Change History

Changed 3 years ago by omry

this looks like a bug with the ip2c library, * what is your ip-to-country database version? * is it reproducible?

Changed 3 years ago by omry

(the ip2country database version is in the settings tab).

Changed 3 years ago by omry

  • type changed from support request to bug
  • severity changed from Minor to Important
  • milestone Later deleted

also, are you running a 64bit OS?

Changed 3 years ago by anonymous

I updated today from FireStats 1.1.5 to 1.1.6 before posting here. ip2country db version in my 1.1.6 is 2007.3.5

Changed 3 years ago by anonymous

How can I check whether it's a 64bit OS? i'm not really the admin of that server

Changed 3 years ago by anonymous

(will phpinfo(); be of any help here?)

Changed 3 years ago by omry

I need to know how to reproduce the problem, specifically - which IP address triggered this error.

also, it will help to know if you use a 64bit linux (uname -a should tell you)

Changed 3 years ago by anonymous

uname -a output is: "Linux v31420 2.6.8-022stab076.4-smp #1 SMP Fri Apr 14 19:06:44 MSD 2006 x86_64 AMD Opteron(tm) Processor 246 AuthenticAMD GNU/Linux"

Can't tell you which IP address made this happen since the error msg always appears when I open the page while the hourglass graphic is on screen. Just tell me if I misunderstood something here.

Changed 3 years ago by omry

it is a 64bit kernel, you can tell by the x86_64 part.
you say you get this when you open the admin page? this is very strange - because as far as I can tell, its not supposed to resolve any ip addresses at that point...

Changed 3 years ago by anonymous

yep, this happens BEFORE I get to see any stats at all. The HTML stuff builds up alright, it just stays empty and I get the error msg after a few seconds.

Changed 3 years ago by omry

can you dump your firestats tables and send me an email with them archived?

Changed 3 years ago by anonymous

mail is on the way

Changed 3 years ago by anonymous

omry,

I got a mail from you today; yes, I'm definitely still interested in solving this issue. I'm sorry I'm not allowed to give you shell access. Don't know whether you've received my previous mail.

Changed 3 years ago by omry

  • status changed from new to closed
  • resolution set to invalid

This is a bug in PHP 5.2.1 on 64bit linux systems: see this

Changed 3 years ago by omry

see workaround in #304

Changed 3 years ago by mk

the workaround seems to work fine, I'll use it till I have a PHP version other than 5.2.1 on my server.

Add/Change #264 (endless recursion detected)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.