Quantcast
Channel: MobileRead Forums - PocketBook
Viewing all articles
Browse latest Browse all 1255

[622] OpenConfig segfaults

$
0
0
I've got an app and it segfaults on OpenConfig call when run on the reader (622 with 4.4 FW). In emulator everything works as expected. As well as on 623 with 4.2 FW.

The segfault provides me with no error message except "Segmentation fault". How could I debug it better? I use the PBSDK 1.1.0 on virtualized Ubuntu for the development.

Here's the affected code:

Code:

oldconfigedit myce[] = {
        { "Color scheme", "Scheme", CFG_CHOICE,"1",choice_var4},
        { "Board", "Board", CFG_INDEX,"0",choice_var2},
        { NULL, NULL, 0,NULL,NULL}
};

#ifndef IVSAPP
  mycfg = OpenConfig("/mnt/ext1/system/config/pipes.cfg",myce);
#else
  mycfg = OpenConfig(CONFIGPATH "/pipes.cfg",myce);
#endif

Thx for help ;)

Viewing all articles
Browse latest Browse all 1255

Trending Articles