Re: [sqlite] Issue with SQLite3 for WinRT ARM

2012-09-28 Thread Christian Le Gall
Sorry about that.

Here is the project:
http://dl.dropbox.com/u/4076650/Direct3DApp_ProblemExample.zip

> This typically indicates a bug in your program, such as threading
> issues, objects used after being freed, or just general memory
> corruption.

Typically I would agree with you but in the case above I have replicated
the issue in a stripped down example project so there should be no rogue
memory allocation or threading happening. It even happens if you comment
out all unnecessary calls so all you're left with is an empty Metro
application and it still happens on ARM. I've sent this to Microsoft
developer support who tell me it is most likely a problem with SQLite.

Regards,

Christian.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] Issue with SQLite3 for WinRT ARM

2012-09-28 Thread Christian Le Gall
Hey,

We need to use SQLite3 for a game we are building on the WinRT platform,
the same codebase has worked for a long time but doesn't work when
compiling for the WinRT ARM platform. I have tried using the SQLite for
Windows Runtime Visual Studio extension (visx) as well as the latest source
amalgamation directly but experience the same issue with both.

I have included an example project that demonstrates the issue when
compiling for ARM (it works targeting x86). If you compile as is you should
experience the error I've been getting. In the Direct3DApp2.cpp there are
some strings with SQL statements in the SetWindow method. There are some
lines commented, if you uncomment them and comment the block below it will
work. A simple change in order of execution and it works. Surely there is
more going on behind the scenes here than I am aware of.

The error I am getting is generally "critical error detected c000374" which
my research tells me is a corrupted heap.

Has anyone else experienced issues on WinRT ARM platform? Is there anything
I can do or a newer version I can get?

Any help appreciated.

Note: The project is for Visual Studio 2012 and to replicate the issue you
need to be building to an ARM device.

Regards,

Christian.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users