c++ - My application always crashes in sqlite3utf8CharLen -


i'm developing application using sqlite3. application crashes in sqlite3utf8charlen , have no idea why. name of function suggests problem might related character encodings. sqlite3utf8charlen takes 2 parameters, const char* z , int nbyte. values of arguments when sqlite3utf8charlen crashes are:

z= "tpcagsubcfg2(                     agid                real,       -- id des haupt-ag                     linie               real,       -- linie auf der dieser ag laeuft                     subagid         real,       -- id des subs, hat ein ag keine subs, dann hier die id des ag selbst                                            skalertdist real,       -- distanz, ab der auf ein sk ereignis hingewiesen wird                      skalerttime real,       -- zeit, die vergehen muss, bis für dieses ereignis wieder ein sound gespielt wird                     skalertsnd  text)"  nbyte=426 

there's german umlaut in string. might related problem?

since have no clue problem might rooted, i'll give contextual information: i'm developing on windows. make heavy use of stl , i'm using std::wstring throughout project.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -