Hello to all. Right now I’m on finish stage in some reather big appliacation. Almost verything works fine, but… yeah always is some “but”.
Some task in app are realized by separate threads: downloading, parsing and storing in memory and disc data. Those data rather big, even 700k of JSON script. Sometime those threads crashes, every time in the same fragment of code:
if (reply->isReadable()) {
response = reply->readAll(); //nug here
}
“reply” is a QNetworkReply object (which as you can see – calling to „isReadable” exists and is valid).
Error messages – Panic, Reason 44 suggests there is no enough memory. HALData::EMemoryRAMFree allways returns value over 100 Mb (onb E7 and E8), so we trying to change stack sizde (as far as I know,, on Symbian Qthread object running with default stack size for app). And here is another problem, previous value for TARGET.EPOCSTACKSIZE was 0x1400 (~82K), on emulator if we set it to 0x20000 (~130Kb) treads stop crashing, but… (another) if we trying to debug/run app with settings:
TARGET.EPOCSTACKSIZE = 0x14000
We have crashes, but app works… till crash ofcouse.
With setting:
TARGET.EPOCSTACKSIZE = 0x28000
Application don’t run on the device.
If trying to build directly to device, after successful build and installing we receive error: Can’t run application – General OS related error.
If trying to install manually, work perfectly (app installed on device) but not start at all, w/o anny message.
Any ideas?
--- Ok I Found information: http://lists.macosforge.org/pipermai...er/143753.html
wich suggest, we cant change stack size over 0x14000, so must think other solution.... Help please![]()



