Comments (4)
(gdb) bt
#0 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:35
#1 0x00007fffe97091ae in mongoc_cluster_fetch_stream_single (cluster=0x7ffff7fdc0e0, topology=0x7ffff7fd99d8, sd=0x7ffff7fddbb8, reconnect_ok=true, error=0x0) at /home/vagrant/mongodb-1.0.1/src/libmongoc/src/mongoc/mongoc-cluster.c:1455
#2 0x00007fffe9708e1f in mongoc_cluster_fetch_stream (cluster=0x7ffff7fdc0e0, server_id=1, reconnect_ok=true, error=0x0) at /home/vagrant/mongodb-1.0.1/src/libmongoc/src/mongoc/mongoc-cluster.c:1376
#3 0x00007fffe97096fa in mongoc_cluster_select_by_optype (cluster=0x7ffff7fdc0e0, optype=MONGOC_SS_WRITE, read_prefs=0x7ffff7fda408, error=0x0) at /home/vagrant/mongodb-1.0.1/src/libmongoc/src/mongoc/mongoc-cluster.c:1621
#4 0x00007fffe9709805 in mongoc_cluster_preselect_description (cluster=0x7ffff7fdc0e0, opcode=MONGOC_OPCODE_QUERY, read_prefs=0x7ffff7fda408, error=0x0) at /home/vagrant/mongodb-1.0.1/src/libmongoc/src/mongoc/mongoc-cluster.c:1681
#5 0x00007fffe9709857 in mongoc_cluster_preselect (cluster=0x7ffff7fdc0e0, opcode=MONGOC_OPCODE_QUERY, read_prefs=0x7ffff7fda408, error=0x0) at /home/vagrant/mongodb-1.0.1/src/libmongoc/src/mongoc/mongoc-cluster.c:1709
#6 0x00007fffe96d31c8 in zim_Manager_selectServer (ht=1, return_value=0x7ffff7fd8608, return_value_ptr=0x7ffff7fa5190, this_ptr=0x7ffff7fd8668, return_value_used=1) at /home/vagrant/mongodb-1.0.1/src/MongoDB/Manager.c:270
#7 0x00000000006caf8b in dtrace_execute_internal (execute_data_ptr=<optimized out>, fci=<optimized out>, return_value_used=<optimized out>) at /build/php5-agHTMf/php5-5.6.16+dfsg/Zend/zend_dtrace.c:97
#8 0x00007ffff4ebbe42 in xdebug_execute_internal (current_execute_data=0x7ffff7fa52c8, fci=0x0, return_value_used=1) at /build/buildd/xdebug-2.3.2/xdebug-2.3.2/xdebug.c:1649
#9 0x0000000000780394 in zend_do_fcall_common_helper_SPEC (execute_data=<optimized out>) at /build/php5-agHTMf/php5-5.6.16+dfsg/Zend/zend_vm_execute.h:560
#10 0x0000000000715ee8 in execute_ex (execute_data=0x7ffff7fa52c8) at /build/php5-agHTMf/php5-5.6.16+dfsg/Zend/zend_vm_execute.h:363
#11 0x00000000006cae89 in dtrace_execute_ex (execute_data=<optimized out>) at /build/php5-agHTMf/php5-5.6.16+dfsg/Zend/zend_dtrace.c:73
#12 0x00007ffff4ebb5d2 in xdebug_execute_ex (execute_data=0x7ffff7fa52c8) at /build/buildd/xdebug-2.3.2/xdebug-2.3.2/xdebug.c:1526
#13 0x00000000006dd230 in zend_execute_scripts (type=type@entry=8, retval=retval@entry=0x0, file_count=file_count@entry=3) at /build/php5-agHTMf/php5-5.6.16+dfsg/Zend/zend.c:1341
#14 0x000000000067b482 in php_execute_script (primary_file=primary_file@entry=0x7fffffffd520) at /build/php5-agHTMf/php5-5.6.16+dfsg/main/main.c:2597
#15 0x000000000078220e in do_cli (argc=2, argv=0xe937f0) at /build/php5-agHTMf/php5-5.6.16+dfsg/sapi/cli/php_cli.c:994
#16 0x0000000000462910 in main (argc=2, argv=0xe937f0) at /build/php5-agHTMf/php5-5.6.16+dfsg/sapi/cli/php_cli.c:1378
from mongo-php-driver.
I cannot reproduce this in current master, only in the 1.0.1 tag
from mongo-php-driver.
I built it from VCS and got MongoDB\Driver\Exception\AuthenticationException
so I guess it was fixed at some point. I'll be sure to test on the current master before reporting in future.
While we're here, quick question: is the cursor just an iterator now or am I missing something? The old MongoCursor had additional methods like hint and explain.
from mongo-php-driver.
Correct. The driver itself has no "additional functionality". It only does the heavy lifting of connection handling and BSON encoding/decoding -- quite literally nothing else.
https://github.com/mongodb/mongo-php-library is meant for everything else -- the nice to have functionality and more user-friendly interface, while mongo-php-driver is just meant to be high performing, simple and dull API we can represent on various runtimes, and then the library has the meat.
That way we only have to do vast majority of the work once -- rather then 3times :)
from mongo-php-driver.
Related Issues (20)
- l
- apache stop when I added extension=mongodb.so to php.ini HOT 3
- `selectServer` takes too long on official php base image (connections opened sequentially) HOT 13
- libbson Bug Report : variable ret value type error HOT 8
- No suitable servers found (`serverSelectionTryOnce` set) when rs.initiate with localhost HOT 5
- Extract mongodb-1.6.2.tgz error HOT 5
- Sporadic "Authentication failed" errors HOT 8
- MongoDB PHP Driver 1.15+ increases PHP memory consumption HOT 7
- Error while compiling on macOS HOT 7
- Major slowdown since version 1.17.0 HOT 8
- PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb.so' HOT 2
- MongoDB reporting "AuthenticationAbandoned: Overridden by new authentication session" for a PHP client HOT 14
- Windows build after 1.13.0 HOT 4
- linux general protection fault , sorry for my poor english HOT 1
- PHP refusing to load MongoDB PHP driver on Windows (on one machine but not another) HOT 1
- Can't download desired extension HOT 2
- Unable to install pecl mongodb-1.15.1 in php 8.2 HOT 1
- Bug & Question: How to compile mongodb statically into PHP? HOT 9
- PHPStorm Stub for Manager class has outdated signature HOT 1
- Cannot install with laravel 11 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongo-php-driver.