bobthecow / genghis

The single-file MongoDB admin app
http://genghisapp.com
MIT License
1.45k stars 165 forks source link

Document update fails with php-mongo 1.5.1 + genghis 2.3.11 #172

Open willianpts opened 10 years ago

willianpts commented 10 years ago

Document update fails with "Error updating document." Some system info:

$ext = new ReflectionExtension('mongo');
echo $ext->getVersion(); // outputs 1.5.1
echo phpversion(); // outputs 5.5.11

Here's the apache error:

[core:notice] [pid 9105] AH00052: child pid 9109 exit signal Segmentation fault (11)

php-mongo 1.4.5 dont have the issue.

bobthecow commented 10 years ago

I'll take a look, but in the meantime can you check a few more things? Does it fail on inserts? Does it fail on every update, or just specific ones?

willianpts commented 10 years ago
willianpts commented 10 years ago

With the latest update of the php extension the bug disappeared. http://pecl.php.net/package/mongo/1.5.2

php-mongo 1.4.5: no issue; php-mongo 1.5.1: update fails as described; php-mongo 1.5.2: no issue;

hmm, maybe you can simply blacklist and forget about 1.5.1

bobthecow commented 10 years ago

Yeah, must have been a regression in 1.5.1. Blacklisting it sounds like a great answer :)