View Single Post
Old 10-23-2014, 11:04 PM   #1
peci1
Junior Member
peci1 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2014
Device: PocketBook Touch 622
[622] OpenConfig segfaults

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
peci1 is offline   Reply With Quote