Open mflerackers opened 8 years ago
I tried your query and got two rows from the database and no allocation errors.
Does this test work for you?
No, it crashes with the same error
I might be able to fix the issue if you can help me reproduce it.
Which commit are you compiling from? Have you patched the code in any way? What compiler are you using? How are you invoking the compiler and linker? What platform are you running the code on? What version of RethinkDB are you running it against?
I tried both the current master and work branches I only fixed some includes I use clang (Apple LLVM version 7.0.2 (clang-700.1.81)) with -std=c++14 The platform is iOS 9.3.1 RethinkDB is a stock rethinkdb 2.2.6~0trusty (GCC 4.8.2)
When using order_by, the query fails to return results, and the cursor's destructor crashes.
malloc: *\ error for object 0x14e6e6c0: pointer being freed was not allocated
I also tried
Which also doesn't seem to work