Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Cascades app crashes on Debug (but not run) in Simulator


dmeetrich wrote:

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.2
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.3
0xb8323000 0xb839f438 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libsqlite3.so.1
0xb826b000 0xb8295464 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libbps.so.3
0xb8240000 0xb8251114 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libscreen.so.1
0xb8217000 0xb823d408 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libpng14.so.0
0xb8200000 0xb821512c Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libz.so.2
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/libicui18n.so.46
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.so.1
0xb8a50000 0xb8b7b420 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libicuuc.so.46
0xbac00000 0xbbaa21c8 Yes C:/bbndk-10.0.099/target/qnx6/x86/usr/lib/libicudata.so.46
0xb8be3000 0xb8c439f8 Yes C:/bbndk-10.0.099/target/qnx6/x86/lib/libcpp-ne.so.4


Did you modify the install directory of the NDK? The root folder should be bbndk-10.0.4-beta where yours is bbndk-10.0.099.



Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 206
Registered: ‎05-15-2012
My Device: None
My Carrier: Telus

Re: Cascades app crashes on Debug (but not run) in Simulator

I have been struggling with the same error (or a similar one at least). I had this issue at first, and I resolved it somehow (I might have reinstalled the IDE, I can't recall), now the error has reappeared. I tried the 'fix', to no avail.

 

MsgNak received - resending
Remote target is little-endian
warning: Corrupted shared library list: 0x0 != 0x853e800
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 1625382720 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? 
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
(y or n) [answered Y; input not from terminal]
../../gdb/utils.c:1246: internal-error: virtual memory exhausted: can't allocate 1625382720 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]

 

----------------------
Check out my app, Alien Flow for reddit

And of course, like my post if you found it helpful or informative!
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Cascades app crashes on Debug (but not run) in Simulator

[ Edited ]

I have my own shared library that compiles and trying to add to a simple app to test the shared library (no GUI).  I get:

MsgNak received - resending
Remote target is little-endian
warning: Corrupted shared library list: 0x0 != 0x880cc00
warning: Could not load shared library symbols for libtest.so.
Do you need "set solib-search-path" or "set sysroot"?

 Can anyone indicate what might need to be set/configured to allow the SO to run?

This is trying to run as debug on the simulator.

Highlighted
New Contributor
Posts: 3
Registered: ‎04-11-2013
My Device: BB10
My Carrier: Megafon

Re: Cascades app crashes on Debug (but not run) in Simulator

Trying to run program under debugger (SDK version 10.1.0.1020) and get:

 

MsgNak received - resending
Remote target is little-endian
../../gdb/utils.c:1081: internal-error: virtual memory exhausted: can't allocate 262184 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:1081: internal-error: virtual memory exhausted: can't allocate 262184 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.
(y or n) [answered Y; input not from terminal]

 Physical memory loading 6Gb of 16Gb (40%)