3

I'm trying to use Berkeley DB for a Bitcon project. On simulator the project works perfectly. On the device, it fails in DbEnv::open(char const*, unsigned int, int), with this message:

************************
EXCEPTION: 11DbException       
DbEnv::open: Operation not supported on socket       
bitcoin in AppInit()

All used paths correspond to sandbox restrictions:

Default data directory /private/var/mobile/Applications/CA8DA82B-0540-459F-A634-6BA4A43F9E70/Library/.bitcoin
Loading addresses...
dbenv.open strLogDir=/var/mobile/Applications/CA8DA82B-0540-459F-A634-6BA4A43F9E70/Documents/database strErrorFile=/var/mobile/Applications/CA8DA82B-0540-459F-A634-6BA4A43F9E70/Documents/db.log

UPDATE: On a jailbroken phone still crashes. It means that the issue is not caused by sandbox.

Has anyone met such problems while using Berkeley DB on iPhone?Does anyone know how to fix this problems?

mxg
  • 20,946
  • 12
  • 59
  • 80

0 Answers0