Comments (7)
either skip or fix segfault in tests.
Why would skipping be a good idea at all?
from py-lmdb.
Why would skipping be a good idea at all?
If the temporary files are not supported by mingw for example (I am not sure though, it looks like it would work fine with MSVC), then probably it would be better to skip and mark as not supported features
from py-lmdb.
Why would temporary files not being supported cause a segfault?
from py-lmdb.
Well the true issue appears to be in these lines:
https://github.com/LMDB/lmdb/blob/3947014aed7ffe39a79991fa7fb5b234da47ad1a/libraries/liblmdb/mdb.c#L1737-L1745
The same code is in this repo.
Looks like I'll need to change C API a bit to handle these strings properly
from py-lmdb.
Haha this is such garbage code. Can you just do something like static char buf[MSGSIZE]
? It's not thread-safe, but I'm not sure if the current code is any better...
from py-lmdb.
And Python doesn't have real threads due to the GIL so it probably doesn't matter here.
from py-lmdb.
Updated patch with segfault fix: msys2/MINGW-packages#17095
from py-lmdb.
Related Issues (20)
- Written data in the database contains weird character sequences. HOT 3
- SIGBUS when reading from Environment HOT 4
- json.JSONDecoder causes Environment.begin to throw ReadersFullError HOT 2
- MDB_BAD_RSLOT after fork due to spare txn
- installing lmdb for Blender bundled Python 3.5.3 on Ubuntu 22.04 from pip or scratch HOT 1
- py-lmdb: Using system version of liblmdb. Using cffi extension. /usr/bin/ld: cannot open linker script file python.map: No such file or directory HOT 1
- installing lmdb for bundled Python 3.5.3 from Blender 2.79a in Ubuntu 16.04 HOT 3
- lmdb stuck/hang when use multiprocessing process(pytorch dataloder). HOT 2
- install error on windows with python 3.12 backend HOT 2
- Consider upgrading the LMDB library HOT 3
- [Bug] Memory leak occurring when using `lmdb.open`
- Linux x86_64 wheel for Python 3.12 HOT 1
- Remove me from PyPI HOT 1
- Does py-lmdb support python coroutines (asyncio)? HOT 1
- Path to patch command is hardcoded
- Env memory leak HOT 1
- Project Status? HOT 1
- Fails to build with Python 3.13 due to removal of PyObject_AsReadBuffer HOT 4
- 1.5.0 release on PyPI is incomplete (only 3.10 MacOS wheel present) HOT 2
- LMDB v < 1.4.1 fails to install with pip HOT 3
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 py-lmdb.