05-02-2012 10:44 AM
I'm trying to setup native Cascades development, and I've gotten to the point where my hello world app runs on the new BB10 Simulator in vmwareFusion. The roadblock I'm not facing is a crash (ntox86-gdb.exe) when trying to debug the same app in the simulator. The Console prints this out:
MsgNak received - resending
Remote target is little-endian
No inferior.
warning: Corrupted shared library list: 0x0 != 0x882e800
warning: Could not load shared library symbols for 9 libraries, e.g. libQtDeclarative.so.4.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
../../gdb/utils.c:1246: internal-error: virtual memory exhausted: can't allocate 1647386432 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
../../gdb/utils.c:1246: internal-error: virtual memory exhausted: can't allocate 1647386432 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB?
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Then the app crashes in the simulator. Is anyone else experiencing this? any tips?
05-04-2012 11:12 PM
Try adding all the missing Qt libs in assets so the bar descriptor has correct paths.. Encountered this error tonight. You are probably seeing a empty shell app start up in the simulator with just the BlackBerry watermark.
I'll post more detail tomorrow.
John
05-05-2012 02:14 PM
Has anyone got solution to this? I'm also stuck with same error.
05-07-2012 01:12 PM
This is caused by an issue with the Cascades SDK. Our development team is aware of the problem and is working on a fix. I'll post here when I have more information to share.
05-09-2012 09:56 AM
A new KB article has just been created that should provide the fix for this issue.
ntox86-gdb.exe Stops Responding when Debugging a Cascades Application
Please give that a try and let me know your results.
05-10-2012 05:12 PM - edited 05-10-2012 05:15 PM
I tried this without success. I am able to step though until I hit my code to open a db.
mDb = QSqlDatabase::addDatabase("QSQLITE")
This worked fine in the example app quotes.
Here is my console output:
MsgNak received - resending
Remote target is little-endian
No source file named quotesdbhelper.cpp.
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Could not load shared library symbols for 9 libraries, e.g. libQtDeclarative.so.4.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Corrupted shared library list: 0x0 != 0x8c87800
[New pid 609525855 tid 2]
[New pid 609525855 tid 3]
[New pid 609525855 tid 4]
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Could not load shared library symbols for libHwEGL.so.
Do you need "set solib-search-path" or "set sysroot"?
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Could not load shared library symbols for 3 libraries, e.g. libegl_gallium.so.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Could not load shared library symbols for libHwGLESv2.so.
Do you need "set solib-search-path" or "set sysroot"?
[New pid 609525855 tid 5]
[New pid 609525855 tid 6]
[New pid 609525855 tid 7]
warning: Corrupted shared library list: 0x0 != 0x8c87800
warning: Could not load shared library symbols for libqsqlite.so.
Do you need "set solib-search-path" or "set sysroot"?
05-11-2012 09:45 AM
It looks like there are a number of corrupt libraries. Could you try to re-install the BlackBerry NDK, rebuild and try debugging again?
05-11-2012 12:34 PM
I have the same issue... Here is my output:
warning: Corrupted shared library list: 0x0 != 0x8851800
warning: Could not load shared library symbols for 2 libraries, e.g. libQtGui.so.4.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
warning: Corrupted shared library list: 0x0 != 0x8851800
warning: Corrupted shared library list: 0x0 != 0x8851800
warning: Corrupted shared library list: 0x0 != 0x8851800
warning: Corrupted shared library list: 0x0 != 0x8851800
warning: Corrupted shared library list: 0x0 != 0x8851800
warning: Corrupted shared library list: 0x0 != 0x8851800
warning: Corrupted shared library list: 0x0 != 0x8851800
warning: Corrupted shared library list: 0x0 != 0x8851800
info sharedlibrary
warning: Corrupted shared library list: 0x0 != 0x8851800
From To Syms Read Shared Object Library
0xb117b000 0xb1204670 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/ldqnx.so
0xb8ba3000 0xb8bd58e0 Yes C:/bbndk-10.0.099/target/qnx6/x86/lib/libm.so.2
0xb83d0000 0xb83fd7c8 Yes C:/bbndk-10.0.099/target/qnx6/x86/lib/libsocket.so
0xb8323000 0xb839f438 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libsqlit
0xb826b000 0xb8295464 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libbps.s
0xb8240000 0xb8251114 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libscree
0xb8217000 0xb823d408 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libpng14
0xb8200000 0xb821512c Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libz.so.
No libQtGui.so.4
No libQtCore.so.4
0xb829a000 0xb8301a58 Yes C:/bbndk-10.0.099/target/qnx6/x86/lib/libcpp.so.4
0xb8555000 0xb86f3598 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libicui1
0xb8256000 0xb825b0e4 Yes C:/bbndk-10.0.099/target/qnx6/x86/lib/libpps.so.1
0xb843d000 0xb85170c8 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libiconv
0xb8a50000 0xb8b7b420 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libicuuc
0xbac00000 0xbbaa21c8 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libicuda
0xb8be3000 0xb8c439f8 Yes C:/bbndk-10.0.099/target/qnx6/x86/lib/libcpp-ne.so
05-11-2012 12:35 PM
05-11-2012 01:41 PM
I am now running other programs like the tutorial I built and it is now failing too when it worked before.
What is strange though is that it is dumping warnings on files that are from my other projects:
MsgNak received - resending
Remote target is little-endian
No source file named trackerapp.cpp.
No source file named quotesdbhelper.cpp.
No source file named trackerapp.cpp.
warning: Corrupted shared library list: 0x0 != 0x8e48800
warning: Could not load shared library symbols for 9 libraries, e.g. libQtDeclarative.so.4.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
../../gdb/utils.c:1246: internal-error: virtual memory exhausted: can't allocate 1647943488 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
../../gdb/utils.c:1246: internal-error: virtual memory exhausted: can't allocate 1647943488 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]