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
Developer
Developer
Posts: 132
Registered: ‎01-24-2013
My Device: blackberry z10
My Carrier: none

Problems with Webview

Hello,

 

I created a blackberry 10 cascades app in which I have the following code in my main class

 

    Page *Pg = new Page();

    WebView* Wv = new WebView();
    Wv->setUrl(QUrl("https://www.google.de"));
    Pg->setContent(Wv);
    Application::instance()->setScene(Pg);

 

(1) THis builds fine and I can install it onto the device, but the screen just looks black.

When the apps are mimimzed (I swipe vertically from the bottom up to see open apps) , then I can see a minimized version of my app (with the google website displaying) fine! Any idea what Im missing here

 

(2) If I create and use a Button instead of a WebView, everything seems fine!

 

(3) If I change the code so I display a button on top and a webview below its (as in code below), then the webview shows fine. However it tends to crash if one tries to interact with it much.

 

Is this a problem or am I missing something?

Many thanks in Advance.

 

 

Cont->setLayout(StackLayout::create());
      Cont->setTopPadding(20.0f);
      Cont->setBackground(Color::fromARGB(0xff00f800));

        //--------------
        Button* Butt = new Button(Cont);
        Butt->setText("hi") ;

        Cont->add(Butt);

        WebView* Wv = new WebView(Cont);
        //Wv->setUrl(QUrl("https://lh-acpt.sapient.de"));
        Wv->setUrl(QUrl("http://www.google.com"));
        Cont->add(Wv);

        Wv->setHorizontalAlignment(HorizontalAlignment::Fill);
         Wv->setVerticalAlignment(VerticalAlignment::Center);

        Page *Pg = new Page();
        Pg->setContent(Cont);

       Application::instance()->setScene(Pg);

        Page *Pg = new Page();
        Pg->setContent(Cont);


       Application::instance()->setScene(Pg);

Developer
Developer
Posts: 132
Registered: ‎01-24-2013
My Device: blackberry z10
My Carrier: none

Re: Problems with Webview

P.S
Last code snippet should have this line prepended:

Container *Cont = new Container();
Highlighted
Developer
Developer
Posts: 132
Registered: ‎01-24-2013
My Device: blackberry z10
My Carrier: none

With the folRe: Problems with Webview

Looks like it helps with the visibilty problem is I explicitely call setVisibe(true) on the WebView .. (strange...according to the doc the default value for visible should be true).

So now if I try the following code the webpage shows fine (I do have "Internet" checked in the "bar-descriptor.xml")
However when I click on a link the app crashes.

Any ideas?
It would be great if somebody could even reproduce this crash  with the simple code below.

I debugged the app on the device and included the console outputs below..particularly worrying is the "Cannot access memory at address 0x0"

Is this a bug in WebView or am I missing something simple?

Looking forward to any possible help/suggestions.

Thanks in Advance.



        
//Source Code from main class (just create a webview and get it to show a specific internet web page)
---------------------------------------------------------------------------------------
            WebView* Wv = new WebView();
        Wv->setUrl(QUrl("http://www.google.com"));
        Wv->setVisible(true);  // doesnt show right without this ?!

        Page *Pg = new Page();
        Pg->setContent(Wv);
        Application::instance()->setScene(Pg);

---------------------------------------------------------------------------------------
     --------------------
       build console
     --------------------


**** Build of configuration Device-Debug for project Lufthansa ****

make Device-Debug
make -C .//translations -f Makefile update
make[1]: Entering directory `D:/Dev/Blackberry/Cascades/Lufthansa/translations'
C:/Programs/Dev/Blackberry/Ndk/host_10_0_9_529/win32/x86/usr/bin/lupdate Lufthansa.pro
Updating 'Lufthansa.ts'...
    Found 1 source text(s) (0 new and 1 already existing)
make[1]: Leaving directory `D:/Dev/Blackberry/Cascades/Lufthansa/translations'
make -C .//translations -f Makefile release
make[1]: Entering directory `D:/Dev/Blackberry/Cascades/Lufthansa/translations'
C:/Programs/Dev/Blackberry/Ndk/host_10_0_9_529/win32/x86/usr/bin/lrelease Lufthansa.pro
Der Verzeichnisname ist ung?ltig.
Updating 'D:/Dev/Blackberry/Cascades/Lufthansa/translations/Lufthansa.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
make[1]: Leaving directory `D:/Dev/Blackberry/Cascades/Lufthansa/translations'
make -C ./arm -f Makefile debug
make[1]: Entering directory `D:/Dev/Blackberry/Cascades/Lufthansa/arm'
make -f Makefile.Debug
make[2]: Entering directory `D:/Dev/Blackberry/Cascades/Lufthansa/arm'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `D:/Dev/Blackberry/Cascades/Lufthansa/arm'
make[1]: Leaving directory `D:/Dev/Blackberry/Cascades/Lufthansa/arm'
Could not find qmake configuration directoryCould not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATOR

**** Build Finished ****

---------------------------------------------------------------------------------------
     --------------------
     ..ntoarm-gdb.exe
     --------------------

MsgNak received - resending
Remote target is little-endian
[New pid 45695172 tid 2]
[New pid 45695172 tid 3]
warning: Could not load shared library symbols for libusc.so.
Do you need "set solib-search-path" or "set sysroot"?
warning: Could not load shared library symbols for libsrv_um.so.
Do you need "set solib-search-path" or "set sysroot"?
warning: Could not load shared library symbols for libpvr2d.so.
Do you need "set solib-search-path" or "set sysroot"?
warning: Could not load shared library symbols for libIMGegl.so.
Do you need "set solib-search-path" or "set sysroot"?
warning: Could not load shared library symbols for wsegl-screen.so.
Do you need "set solib-search-path" or "set sysroot"?
[New pid 45695172 tid 4]
[New pid 45695172 tid 5]
[New pid 45695172 tid 6]
[New pid 45695172 tid 7]
[Switching to pid 45695172 tid 6]
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0
Cannot access memory at address 0x0

---------------------------------------------------------------------------------------
     --------------------
       device log
     --------------------


Jan 25 10:19:26.190    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    <implicit>    0       SHUTDOWN    -----ONLINE-----
Jan 25 10:19:26.190    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       9000    INFO        Qml debugging is enabled. Only use this in a safe environment!
Jan 25 10:19:26.232    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        QNXApplicationEngineImpl:Smiley Frustratederver Thread: STARTED
Jan 25 10:19:26.232    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        BpsEventServer::BpsServer started
Jan 25 10:19:26.233    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        BpsEventServer::Requested events for navigator
Jan 25 10:19:26.233    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        BpsEventServer::initialized bps and requested critical events, waiting until handlers are added
Jan 25 10:19:26.233    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       9000    NOTICE      OrientationSupportPrivate::getSupportedDisplayOrientation:  portrait
Jan 25 10:19:26.233    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       9000    NOTICE      OrientationSupportPrivate::initDirectionAndOrientation:
   isCardOrViewer:  false
   manifestDisplayOrientation: DisplayPortrait
   displayOrientation: DisplayPortrait
   uiOrientation: Portrait
   displayDirection: North
   nativeDisplayOrientation: Portrait
Jan 25 10:19:26.285    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        CASCADES_BUILD::UNKNOWN
Jan 25 10:19:26.290    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       WARNING     *input_system*[warn @ imf_properties.cpp:162 (tid:2-cascades-server)]: Null call back function request. Notification request ignored.
Jan 25 10:19:26.290    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       SHUTDOWN    *input_system*[ @ client_adapter.cpp:84 (tid:2-cascades-server)]: Accepted properties:0x00000000
Jan 25 10:19:26.299    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        CascadesAppScreenGL:Smiley TonguerepareForRenderFrame: Screen buffers created
Jan 25 10:19:26.314    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        QNXApplicationEngineImpl::startScreenEventThread(SUCCESS)
Jan 25 10:19:26.314    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        QNXPpsSubscriptionServer:Smiley TonguePS Thread: STARTED (11)
Jan 25 10:19:26.316    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        UITreeDumpPpsSubscription::Automation hooks disabled: Unable to access /pps/services/automation/framework/control
Jan 25 10:19:26.316    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        LifecycleDecider::No mode env var found, this process is an application
Jan 25 10:19:26.317    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        PPSEventHandler::Requested BPS events for PPS channel /pps/services/font/settings on file descriptor 23
Jan 25 10:19:26.317    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        PPSEventHandler::Requested BPS events for PPS channel /pps/services/input/options on file descriptor 26
Jan 25 10:19:26.317    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        BpsEventServer::started all handlers, waiting for clearance to consume bps events
Jan 25 10:19:26.325    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        ServerContext:Smiley Surprisedrientation init. angle: 0, orientation: Portrait
Jan 25 10:19:26.583    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        BpsEventServer::clearance to consume bps events given, entering loop
Jan 25 10:19:26.583    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        QNXApplicationEngineImpl::Application window is visible, resuming rendering
Jan 25 10:19:26.583    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        NavigatorEventHandler::Received - BPS - NAVIGATOR_WINDOW_COVER
Jan 25 10:19:26.583    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        NavigatorEventHandler::Reporting new cover sizes to server, width: 334 height: 396
Jan 25 10:19:26.583    com.example.HelloCascades.testDev_lloCascades1bc498e0.10711075    default       0       INFO        NavigatorEventHandler::new WindowStateInternal FOREGROUND



---------------------------------------------------------------------------------------
     --------------------
       gdb traces
     --------------------

664,048 2-environment-cd D:/Dev/Blackberry/Cascades/Lufthansa
664,048 2^done
664,048 (gdb)
664,048 3-gdb-set breakpoint pending on
664,063 3^done
664,063 (gdb)
664,063 4-enable-pretty-printing
664,079 4^done
664,079 (gdb)
664,079 5source .gdbinit
664,079 &"source .gdbinit\n"
664,079 &".gdbinit: No such file or directory.\n"
664,079 5^error,msg=".gdbinit: No such file or directory."
664,079 (gdb)
664,079 6-gdb-set target-async off
664,079 7-list-thread-groups
664,095 6^done
664,095 (gdb)
664,095 7^done,groups=[{id="i1",type="process"}]
664,095 (gdb)
664,095 8-gdb-set auto-solib-add on
664,110 8^done
664,110 (gdb)
664,126 9-gdb-set solib-search-path C:\\Programs\\Dev\\Blackberry\\Ndk\\target_10_0_9_2318\\target-o\
verride\\armle-v7\\lib;C:\\Programs\\Dev\\Blackberry\\Ndk\\target_10_0_9_2318\\target-override\\arml\
e-v7\\usr\\lib;C:\\Programs\\Dev\\Blackberry\\Ndk\\target_10_0_9_2318\\target-override\\armle-v7\\us\
r\\lib\\qt4\\lib;C:\\Programs\\Dev\\Blackberry\\Ndk\\target_10_0_9_2318\\qnx6\\armle-v7\\lib;C:\\Pro\
grams\\Dev\\Blackberry\\Ndk\\target_10_0_9_2318\\qnx6\\armle-v7\\usr\\lib;C:\\Programs\\Dev\\Blackbe\
rry\\Ndk\\target_10_0_9_2318\\qnx6\\armle-v7\\usr\\lib\\qt4\\lib
664,126 9^done
664,126 (gdb)
664,126 10-file-exec-and-symbols D:/Dev/Blackberry/Cascades/Lufthansa/arm/o.le-v7-g/Lufthansa
664,141 10^done
664,141 (gdb)
671,130 11-target-select qnx 192.168.0.120:8000
671,177 ~"MsgNak received - resending\n"
671,193 ~"Remote target is little-endian\n"
671,209 11^connected
671,209 (gdb)
671,209 12attach 45695172
671,225 &"attach 45695172\n"
671,225 ~"Attaching to pid 45695172\n"
671,225 =thread-group-started,id="i1",pid="45695172"
671,225 13-list-thread-groups --available
671,334 =thread-created,id="1",group-id="i1"
671,334 ~"[New pid 45695172 tid 1]\n"
671,432 14-list-thread-groups
672,770 =library-loaded,id="/usr/lib/ldqnx.so.2",target-name="/usr/lib/ldqnx.so.2",host-name="C:\\\\\
Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.s\
o.2",symbols-loaded="0",thread-group="i1"
672,817 ~"Reading symbols from C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\q\
nx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2..."
672,817 ~"(no debugging symbols found)...done.\n"
672,817 ~"Loaded symbols for C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx\
6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2\n"
672,833 ~"0x0186331c in _start_ () from C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_\
2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2\n"
672,833 *stopped,frame={addr="0x0186331c",func="_start_",args=[],from="C:\\\\Programs\\\\Dev\\\\Blac\
kberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},thread-id="1",sto\
pped-threads="all"
672,833 12^done
672,833 (gdb)
672,833 13^error,msg="Can not fetch data now."
672,833 (gdb)
672,848 14^done,groups=[{id="i1",type="process",pid="45695172",executable="D:/Dev/Blackberry/Cascade\
s/Lufthansa/arm/o.le-v7-g/Lufthansa"}]
672,848 (gdb)
672,942 15handle SIGTERM nostop noprint
672,957 &"handle SIGTERM nostop noprint\n"
672,957 ~"Signal        Stop\tPrint\tPass to program\tDescription\n"
672,957 ~"SIGTERM       No\tNo\tYes\t\tTerminated\n"
672,957 15^done
672,957 (gdb)
672,957 16-list-thread-groups i1
672,957 17-gdb-set --thread-group i1 args
672,973 16^done,threads=[{id="1",target-id="pid 45695172 tid 1",details="STOPPED",frame={level="0",a\
ddr="0x0186331c",func="_start_",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_1\
0_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},state="stopped"}]
672,973 (gdb)
672,989 17^done
672,989 (gdb)
672,989 18-stack-info-depth --thread 1 11
672,989 19-break-insert --thread-group i1 -t -f main
673,004 18^done,depth="3"
673,004 (gdb)
673,113 19^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x080497b6",func="ma\
in(int, char**)",file="../src/main.cpp",fullname="D:\\Dev\\Blackberry\\Cascades\\Lufthansa\\arm/../s\
rc/main.cpp",line="16",times="0",original-location="main"}
673,113 (gdb)
673,113 20-exec-continue --thread-group i1
673,129 21-list-thread-groups
673,129 22-thread-info 1
673,160 20^running
673,160 *running,thread-id="all"
673,160 (gdb)
677,563 =library-loaded,id="libbbcascades.so.1",target-name="libbbcascades.so.1",host-name="C:\\\\Pr\
ograms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libbbcasc\
ades.so.1",symbols-loaded="0",thread-group="i1"
677,735 =library-loaded,id="libQtDeclarative.so.4",target-name="libQtDeclarative.so.4",host-name="C:\
\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib\\\\\
qt4\\\\lib/libQtDeclarative.so.4",symbols-loaded="0",thread-group="i1"
677,829 =library-loaded,id="libQtScript.so.4",target-name="libQtScript.so.4",host-name="C:\\\\Progra\
ms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib\\\\qt4\\\\lib\
/libQtScript.so.4",symbols-loaded="0",thread-group="i1"
678,937 =library-loaded,id="libQtSvg.so.4",target-name="libQtSvg.so.4",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib\\\\qt4\\\\lib/libQt\
Svg.so.4",symbols-loaded="0",thread-group="i1"
678,984 =library-loaded,id="libQtSql.so.4",target-name="libQtSql.so.4",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib\\\\qt4\\\\lib/libQt\
Sql.so.4",symbols-loaded="0",thread-group="i1"
679,094 =library-loaded,id="libsqlite3.so.1",target-name="libsqlite3.so.1",host-name="C:\\\\Programs\
\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libsqlite3.so.1\
",symbols-loaded="0",thread-group="i1"
679,125 =library-loaded,id="libz.so.2",target-name="libz.so.2",host-name="C:\\\\Programs\\\\Dev\\\\B\
lackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libz.so.2",symbols-loaded="\
0",thread-group="i1"
679,157 =library-loaded,id="libQtXmlPatterns.so.4",target-name="libQtXmlPatterns.so.4",host-name="C:\
\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib\\\\\
qt4\\\\lib/libQtXmlPatterns.so.4",symbols-loaded="0",thread-group="i1"
679,219 =library-loaded,id="libQtGui.so.4",target-name="libQtGui.so.4",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib\\\\qt4\\\\lib/libQt\
Gui.so.4",symbols-loaded="0",thread-group="i1"
679,422 =library-loaded,id="libQtNetwork.so.4",target-name="libQtNetwork.so.4",host-name="C:\\\\Prog\
rams\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib\\\\qt4\\\\l\
ib/libQtNetwork.so.4",symbols-loaded="0",thread-group="i1"
679,593 =library-loaded,id="libsocket.so.3",target-name="libsocket.so.3",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libsocket.so.3",symbols-\
loaded="0",thread-group="i1"
680,640 =library-loaded,id="libQtCore.so.4",target-name="libQtCore.so.4",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib\\\\qt4\\\\lib/lib\
QtCore.so.4",symbols-loaded="0",thread-group="i1"
682,404 =library-loaded,id="libm.so.2",target-name="libm.so.2",host-name="C:\\\\Programs\\\\Dev\\\\B\
lackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libm.so.2",symbols-loaded="0",thre\
ad-group="i1"
682,451 =library-loaded,id="libbps.so.3",target-name="libbps.so.3",host-name="C:\\\\Programs\\\\Dev\\
\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libbps.so.3",symbols-lo\
aded="0",thread-group="i1"
682,482 =library-loaded,id="libcpp.so.4",target-name="libcpp.so.4",host-name="C:\\\\Programs\\\\Dev\\
\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libcpp.so.4",symbols-loaded="0\
",thread-group="i1"
682,545 =library-loaded,id="libQtXml.so.4",target-name="libQtXml.so.4",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib\\\\qt4\\\\lib/libQt\
Xml.so.4",symbols-loaded="0",thread-group="i1"
682,592 =library-loaded,id="libbb.so.1",target-name="libbb.so.1",host-name="C:\\\\Programs\\\\Dev\\\\
\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libbb.so.1",symbols-loade\
d="0",thread-group="i1"
682,654 =library-loaded,id="libbbsystem.so.1",target-name="libbbsystem.so.1",host-name="C:\\\\Progra\
ms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libbbsystem.s\
o.1",symbols-loaded="0",thread-group="i1"
683,856 =library-loaded,id="libEGL.so.1",target-name="libEGL.so.1",host-name="C:\\\\Programs\\\\Dev\\
\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libEGL.so.1",symbols-lo\
aded="0",thread-group="i1"
683,903 =library-loaded,id="libGLESv2.so.1",target-name="libGLESv2.so.1",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libGLESv2.so.1",s\
ymbols-loaded="0",thread-group="i1"
683,934 =library-loaded,id="libscreen.so.1",target-name="libscreen.so.1",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libscreen.so.1",s\
ymbols-loaded="0",thread-group="i1"
683,981 =library-loaded,id="libpps.so.1",target-name="libpps.so.1",host-name="C:\\\\Programs\\\\Dev\\
\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libpps.so.1",symbols-loaded="0\
",thread-group="i1"
684,028 =library-loaded,id="libimg.so.1",target-name="libimg.so.1",host-name="C:\\\\Programs\\\\Dev\\
\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libimg.so.1",symbols-loaded="0\
",thread-group="i1"
684,075 =library-loaded,id="libslog2.so.1",target-name="libslog2.so.1",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libslog2.so.1",symbols-loa\
ded="0",thread-group="i1"
684,106 =library-loaded,id="libstrpattern.so.1",target-name="libstrpattern.so.1",host-name="C:\\\\Pr\
ograms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libstrpat\
tern.so.1",symbols-loaded="0",thread-group="i1"
684,168 =library-loaded,id="libexpat.so.2",target-name="libexpat.so.2",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libexpat.so.2",symb\
ols-loaded="0",thread-group="i1"
684,199 =library-loaded,id="libwebview.so.2",target-name="libwebview.so.2",host-name="C:\\\\Programs\
\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libwebview.so.2\
",symbols-loaded="0",thread-group="i1"
685,480 =library-loaded,id="libicui18n.so.49",target-name="libicui18n.so.49",host-name="C:\\\\Progra\
ms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libicui18n.so\
.49",symbols-loaded="0",thread-group="i1"
685,526 =library-loaded,id="libpng14.so.0",target-name="libpng14.so.0",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libpng14.so.0",symb\
ols-loaded="0",thread-group="i1"
685,558 =library-loaded,id="libiconv.so.1",target-name="libiconv.so.1",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libiconv.so.1",symb\
ols-loaded="0",thread-group="i1"
685,604 =library-loaded,id="libproxyinfo.so.1",target-name="libproxyinfo.so.1",host-name="C:\\\\Prog\
rams\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libproxyinfo.so.1"\
,symbols-loaded="0",thread-group="i1"
685,636 =library-loaded,id="libclipboard.so.1",target-name="libclipboard.so.1",host-name="C:\\\\Prog\
rams\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libclipboard.so.1"\
,symbols-loaded="0",thread-group="i1"
685,667 =library-loaded,id="libcontext.so.1",target-name="libcontext.so.1",host-name="C:\\\\Programs\
\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libcontext.so.1\
",symbols-loaded="0",thread-group="i1"
685,715 =library-loaded,id="libnfc.so.1",target-name="libnfc.so.1",host-name="C:\\\\Programs\\\\Dev\\
\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libnfc.so.1",symbols-lo\
aded="0",thread-group="i1"
685,746 =library-loaded,id="libnfc_bps.so.1",target-name="libnfc_bps.so.1",host-name="C:\\\\Programs\
\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libnfc_bps.so.1\
",symbols-loaded="0",thread-group="i1"
685,777 =library-loaded,id="libphone-number.so.1",target-name="libphone-number.so.1",host-name="C:\\\
\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libphone-num\
ber.so.1",symbols-loaded="0",thread-group="i1"
685,824 =library-loaded,id="libwebkit.so.0",target-name="libwebkit.so.0",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libwebkit.so.0",s\
ymbols-loaded="0",thread-group="i1"
686,011 =library-loaded,id="libwebkitplatform.so.0",target-name="libwebkitplatform.so.0",host-name="\
C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/l\
ibwebkitplatform.so.0",symbols-loaded="0",thread-group="i1"
686,073 =library-loaded,id="libicuuc.so.49",target-name="libicuuc.so.49",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libicuuc.so.49",s\
ymbols-loaded="0",thread-group="i1"
686,136 =library-loaded,id="libgrskia.so.1",target-name="libgrskia.so.1",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libgrskia.so.1",s\
ymbols-loaded="0",thread-group="i1"
689,414 =library-loaded,id="libimfclient.so.1",target-name="libimfclient.so.1",host-name="C:\\\\Prog\
rams\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libimfclient.so.1"\
,symbols-loaded="0",thread-group="i1"
689,445 =library-loaded,id="libgoogleurl.so.0",target-name="libgoogleurl.so.0",host-name="C:\\\\Prog\
rams\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libgoogleur\
l.so.0",symbols-loaded="0",thread-group="i1"
689,882 =library-loaded,id="libintl.so.1",target-name="libintl.so.1",host-name="C:\\\\Programs\\\\De\
v\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libintl.so.1",symbols\
-loaded="0",thread-group="i1"
689,929 =library-loaded,id="libcpp-ne.so.4",target-name="libcpp-ne.so.4",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libcpp-ne.so.4",symbols-\
loaded="0",thread-group="i1"
689,960 =library-loaded,id="libicudata.so.49",target-name="libicudata.so.49",host-name="C:\\\\Progra\
ms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libicudata.so\
.49",symbols-loaded="0",thread-group="i1"
691,037 =library-loaded,id="libcurl.so.2",target-name="libcurl.so.2",host-name="C:\\\\Programs\\\\De\
v\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libcurl.so.2",symbols\
-loaded="0",thread-group="i1"
691,084 =library-loaded,id="libfontconfig.so.1",target-name="libfontconfig.so.1",host-name="C:\\\\Pr\
ograms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libfontco\
nfig.so.1",symbols-loaded="0",thread-group="i1"
691,115 =library-loaded,id="libharfbuzz.so.0",target-name="libharfbuzz.so.0",host-name="C:\\\\Progra\
ms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libharfbuzz.s\
o.0",symbols-loaded="0",thread-group="i1"
691,178 =library-loaded,id="libxml2.so.1",target-name="libxml2.so.1",host-name="C:\\\\Programs\\\\De\
v\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libxml2.so.1",symbols\
-loaded="0",thread-group="i1"
691,224 =library-loaded,id="libxslt.so.2",target-name="libxslt.so.2",host-name="C:\\\\Programs\\\\De\
v\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libxslt.so.2",symbols\
-loaded="0",thread-group="i1"
691,256 =library-loaded,id="libiType.so.1",target-name="libiType.so.1",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libiType.so.1",symb\
ols-loaded="0",thread-group="i1"
691,287 =library-loaded,id="libharfbuzzng.so.0",target-name="libharfbuzzng.so.0",host-name="C:\\\\Pr\
ograms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libharfbu\
zzng.so.0",symbols-loaded="0",thread-group="i1"
691,380 =library-loaded,id="libppscache.so.1",target-name="libppscache.so.1",host-name="C:\\\\Progra\
ms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libppscache.s\
o.1",symbols-loaded="0",thread-group="i1"
691,412 =library-loaded,id="libmmrndclient.so.1",target-name="libmmrndclient.so.1",host-name="C:\\\\\
Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libmmrndclient\
.so.1",symbols-loaded="0",thread-group="i1"
691,458 =library-loaded,id="libmd.so.1",target-name="libmd.so.1",host-name="C:\\\\Programs\\\\Dev\\\\
\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libmd.so.1",symbols-loade\
d="0",thread-group="i1"
691,490 =library-loaded,id="libaoi.so.1",target-name="libaoi.so.1",host-name="C:\\\\Programs\\\\Dev\\
\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libaoi.so.1",symbols-lo\
aded="0",thread-group="i1"
692,551 =library-loaded,id="libinput_client.so.1",target-name="libinput_client.so.1",host-name="C:\\\
\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libinput_cli\
ent.so.1",symbols-loaded="0",thread-group="i1"
692,598 =library-loaded,id="libcertmgr_client.so.1",target-name="libcertmgr_client.so.1",host-name="\
C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/l\
ibcertmgr_client.so.1",symbols-loaded="0",thread-group="i1"
692,645 =library-loaded,id="libhuapi.so.5",target-name="libhuapi.so.5",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libhuapi.so.5",symbols-loa\
ded="0",thread-group="i1"
692,880 =library-loaded,id="libcamapi.so.1",target-name="libcamapi.so.1",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libcamapi.so.1",s\
ymbols-loaded="0",thread-group="i1"
692,911 =library-loaded,id="libfreetype.so.1",target-name="libfreetype.so.1",host-name="C:\\\\Progra\
ms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libfreetype.s\
o.1",symbols-loaded="0",thread-group="i1"
692,942 =library-loaded,id="libinput_utilities.so.1",target-name="libinput_utilities.so.1",host-name\
="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libinp\
ut_utilities.so.1",symbols-loaded="0",thread-group="i1"
692,989 =library-loaded,id="libcares.so.1",target-name="libcares.so.1",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libcares.so.1",symb\
ols-loaded="0",thread-group="i1"
693,020 =library-loaded,id="libssl.so.2",target-name="libssl.so.2",host-name="C:\\\\Programs\\\\Dev\\
\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libssl.so.2",symbols-lo\
aded="0",thread-group="i1"
693,067 =library-loaded,id="libgssapi.so.1",target-name="libgssapi.so.1",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libgssapi.so.1",s\
ymbols-loaded="0",thread-group="i1"
693,098 =library-loaded,id="libnbutil.so.1",target-name="libnbutil.so.1",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libnbutil.so.1",s\
ymbols-loaded="0",thread-group="i1"
694,206 =library-loaded,id="libstrm.so.1",target-name="libstrm.so.1",host-name="C:\\\\Programs\\\\De\
v\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libstrm.so.1",symbols\
-loaded="0",thread-group="i1"
694,237 =library-loaded,id="libsbgse56.so.0",target-name="libsbgse56.so.0",host-name="C:\\\\Programs\
\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libsbgse56.so.0",symbo\
ls-loaded="0",thread-group="i1"
694,346 =library-loaded,id="libmmedia.so.1",target-name="libmmedia.so.1",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libmmedia.so.1",s\
ymbols-loaded="0",thread-group="i1"
694,393 =library-loaded,id="libmmfilter.so.1",target-name="libmmfilter.so.1",host-name="C:\\\\Progra\
ms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libmmfilter.s\
o.1",symbols-loaded="0",thread-group="i1"
694,440 =library-loaded,id="libaudio_manager.so.1",target-name="libaudio_manager.so.1",host-name="C:\
\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/lib\
audio_manager.so.1",symbols-loaded="0",thread-group="i1"
694,471 =library-loaded,id="libasound.so.2",target-name="libasound.so.2",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libasound.so.2",symbols-\
loaded="0",thread-group="i1"
694,518 =library-loaded,id="libbz2.so.1",target-name="libbz2.so.1",host-name="C:\\\\Programs\\\\Dev\\
\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libbz2.so.1",symbols-lo\
aded="0",thread-group="i1"
694,549 =library-loaded,id="libhiddi.so.1",target-name="libhiddi.so.1",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\lib/libhiddi.so.1",symbols-loa\
ded="0",thread-group="i1"
694,580 =library-loaded,id="libcrypto.so.2",target-name="libcrypto.so.2",host-name="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libcrypto.so.2",s\
ymbols-loaded="0",thread-group="i1"
694,612 =library-loaded,id="libkrb5.so.1",target-name="libkrb5.so.1",host-name="C:\\\\Programs\\\\De\
v\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libkrb5.so.1",symbols\
-loaded="0",thread-group="i1"
694,643 =library-loaded,id="libheimntlm.so.1",target-name="libheimntlm.so.1",host-name="C:\\\\Progra\
ms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libheimntlm.s\
o.1",symbols-loaded="0",thread-group="i1"
694,674 =library-loaded,id="libasn1.so.1",target-name="libasn1.so.1",host-name="C:\\\\Programs\\\\De\
v\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libasn1.so.1",symbols\
-loaded="0",thread-group="i1"
694,722 =library-loaded,id="libcom_err.so.1",target-name="libcom_err.so.1",host-name="C:\\\\Programs\
\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libcom_err.so.1\
",symbols-loaded="0",thread-group="i1"
694,753 =library-loaded,id="libhx509.so.1",target-name="libhx509.so.1",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libhx509.so.1",symb\
ols-loaded="0",thread-group="i1"
694,769 =library-loaded,id="libroken.so.1",target-name="libroken.so.1",host-name="C:\\\\Programs\\\\\
Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libroken.so.1",symb\
ols-loaded="0",thread-group="i1"
694,815 =library-loaded,id="libwind.so.1",target-name="libwind.so.1",host-name="C:\\\\Programs\\\\De\
v\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libwind.so.1",symbols\
-loaded="0",thread-group="i1"
694,847 =library-loaded,id="libheimbase.so.1",target-name="libheimbase.so.1",host-name="C:\\\\Progra\
ms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libheimbase.s\
o.1",symbols-loaded="0",thread-group="i1"
695,486 =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x08049\
7b6",func="main(int, char**)",file="../src/main.cpp",fullname="D:\\\\Dev\\\\Blackberry\\\\Cascades\\\
\\Lufthansa\\\\arm/../src/main.cpp",line="16",times="1",original-location="main"}
695,533 *stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={addr="0x080497b6",func="main",\
args=[{name="argc",value="1"},{name="argv",value="0x751f364"}],file="../src/main.cpp",fullname="D:\\\
Dev\\Blackberry\\Cascades\\Lufthansa\\arm/../src/main.cpp",line="16"},thread-id="1",stopped-threads=\
"all"
695,533 =breakpoint-deleted,id="1"
695,533 (gdb)
695,549 21^done,groups=[{id="i1",type="process",pid="45695172",executable="D:/Dev/Blackberry/Cascade\
s/Lufthansa/arm/o.le-v7-g/Lufthansa"}]
695,549 (gdb)
695,549 23-list-thread-groups i1
695,564 22^done,threads=[{id="1",target-id="pid 45695172 tid 1",details="STOPPED",frame={level="0",a\
ddr="0x080497b6",func="main",args=[{name="argc",value="1"},{name="argv",value="0x751f364"}],file="..\
/src/main.cpp",fullname="D:\\Dev\\Blackberry\\Cascades\\Lufthansa\\arm/../src/main.cpp",line="16"},s\
tate="stopped"}]
695,564 (gdb)
695,580 23^done,threads=[{id="1",target-id="pid 45695172 tid 1",details="STOPPED",frame={level="0",a\
ddr="0x080497b6",func="main",args=[{name="argc",value="1"},{name="argv",value="0x751f364"}],file="..\
/src/main.cpp",fullname="D:\\Dev\\Blackberry\\Cascades\\Lufthansa\\arm/../src/main.cpp",line="16"},s\
tate="stopped"}]
695,580 (gdb)
695,580 24-stack-info-depth --thread 1 11
695,596 24^done,depth="1"
695,596 (gdb)
695,720 25-stack-list-locals --thread 1 --frame 0 1
695,737 25^done,locals=[{name="app",value="<incomplete type>"},{name="translator",value="<incomplete\
 type>"},{name="locale_string",value="Not initialized."},{name="filename",value="Not initialized."}]\

695,737 (gdb)
695,784 26-stack-info-depth --thread 1
695,799 26^done,depth="1"
695,799 (gdb)
695,799 27-var-create --thread 1 --frame 0 - * argc
695,799 28-var-create --thread 1 --frame 0 - * argv
695,799 29-var-create --thread 1 --frame 0 - * app
695,799 30-var-create --thread 1 --frame 0 - * translator
695,799 31-var-create --thread 1 --frame 0 - * locale_string
695,815 27^done,name="var1",numchild="0",value="1",type="int",thread-id="1",has_more="0"
695,815 (gdb)
695,815 28^done,name="var2",numchild="1",value="0x751f364",type="char **",thread-id="1",has_more="0"\

695,815 (gdb)
695,815 29^done,name="var3",numchild="0",value="{...}",type="bb::cascades::Application",thread-id="1\
",has_more="0"
695,815 (gdb)
695,815 30^done,name="var4",numchild="0",value="{...}",type="QTranslator",thread-id="1",has_more="0"\

695,815 (gdb)
695,831 31^done,name="var5",numchild="0",value="Not initialized.",type="QString",thread-id="1",dynam\
ic="1",has_more="0"
695,831 (gdb)
740,119 32-exec-continue --thread 1
740,197 32^running
740,197 *running,thread-id="all"
740,197 (gdb)
755,343 =thread-created,id="2",group-id="i1"
755,343 ~"[New pid 45695172 tid 2]\n"
755,375 *running,thread-id="all"
755,375 =thread-created,id="3",group-id="i1"
755,391 ~"[New pid 45695172 tid 3]\n"
755,406 *running,thread-id="all"
760,980 =library-loaded,id="libusc.so",target-name="libusc.so",host-name="libusc.so",symbols-loaded=\
"0",thread-group="i1"
760,980 &"warning: Could not load shared library symbols for libusc.so.\nDo you need \"set solib-sea\
rch-path\" or \"set sysroot\"?"
760,980 &"\n"
765,790 =library-loaded,id="libsrv_um.so",target-name="libsrv_um.so",host-name="libsrv_um.so",symbol\
s-loaded="0",thread-group="i1"
765,790 &"warning: Could not load shared library symbols for libsrv_um.so.\nDo you need \"set solib-\
search-path\" or \"set sysroot\"?"
765,790 &"\n"
773,333 =library-loaded,id="libpvr2d.so",target-name="libpvr2d.so",host-name="libpvr2d.so",symbols-l\
oaded="0",thread-group="i1"
773,333 &"warning: Could not load shared library symbols for libpvr2d.so.\nDo you need \"set solib-s\
earch-path\" or \"set sysroot\"?"
773,333 &"\n"
785,884 =library-loaded,id="libIMGegl.so",target-name="libIMGegl.so",host-name="libIMGegl.so",symbol\
s-loaded="0",thread-group="i1"
785,884 &"warning: Could not load shared library symbols for libIMGegl.so.\nDo you need \"set solib-\
search-path\" or \"set sysroot\"?"
785,884 &"\n"
798,189 =library-loaded,id="wsegl-screen.so",target-name="wsegl-screen.so",host-name="wsegl-screen.s\
o",symbols-loaded="0",thread-group="i1"
798,189 &"warning: Could not load shared library symbols for wsegl-screen.so.\nDo you need \"set sol\
ib-search-path\" or \"set sysroot\"?"
798,189 &"\n"
798,362 =thread-created,id="4",group-id="i1"
798,362 ~"[New pid 45695172 tid 4]\n"
798,394 *running,thread-id="all"
798,441 =thread-created,id="5",group-id="i1"
798,441 ~"[New pid 45695172 tid 5]\n"
798,456 *running,thread-id="all"
798,488 =thread-created,id="6",group-id="i1"
798,488 ~"[New pid 45695172 tid 6]\n"
798,503 *running,thread-id="all"
798,534 =thread-created,id="7",group-id="i1"
798,534 ~"[New pid 45695172 tid 7]\n"
798,581 *running,thread-id="all"
798,597 ~"[Switching to pid 45695172 tid 6]\n"
798,628 *stopped,reason="signal-received",signal-name="SIGKILL",signal-meaning="Killed",frame={addr=\
"0x01861b80",func="MsgReceive_r",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_\
10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},thread-id="6",stopped-threads="all"
798,628 =thread-selected,id="6"
798,628 (gdb)
798,645 33-list-thread-groups i1
799,862 33^done,threads=[{id="7",target-id="pid 45695172 tid 7",details="STOPPED",frame={level="0",a\
ddr="0x78498210",func="??",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9\
_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libbps.so.3"},state="stopped"},{id="6",target-id="pid 456951\
72 tid 6",details="STOPPED",frame={level="0",addr="0x01861b80",func="MsgReceive_r",args=[],from="C:\\
\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqn\
x.so.2"},state="stopped"},{id="5",target-id="pid 45695172 tid 5",details="STOPPED",frame={level="0",\
addr="0x01861da4",func="MsgSendv",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target\
_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},state="stopped"},{id="4",target-id="pid \
45695172 tid 4 name \"webkit_screen\"",details="REPLY",frame={level="0",addr="0x01861c80",func="MsgS\
end",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle\
-v7\\\\usr\\\\lib/ldqnx.so.2"},state="stopped"},{id="3",target-id="pid 45695172 tid 3",details="STOP\
PED",frame={level="0",addr="0x018621e8",func="SyncCondvarWait_r",args=[],from="C:\\\\Programs\\\\Dev\
\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},state="st\
opped"},{id="2",target-id="pid 45695172 tid 2 name \"cascades-server\"",details="STOPPED",frame={lev\
el="0",addr="0x01861da4",func="MsgSendv",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\
\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},state="stopped"},{id="1",target-i\
d="pid 45695172 tid 1",details="STOPPED",frame={level="0",addr="0x018623d0",func="ThreadCreate_r",ar\
gs=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\\
usr\\\\lib/ldqnx.so.2"},state="stopped"}]
799,862 (gdb)
799,862 34-stack-info-depth --thread 6 11
800,034 &"Cannot access memory at address 0x0\n"
800,050 &"Cannot access memory at address 0x0\n"
800,050 34^done,depth="6"
800,050 (gdb)
800,113 35-list-thread-groups
800,113 36-thread-info 6
800,144 37-stack-list-frames --thread 1
800,175 35^done,groups=[{id="i1",type="process",pid="45695172",executable="D:/Dev/Blackberry/Cascade\
s/Lufthansa/arm/o.le-v7-g/Lufthansa"}]
800,175 (gdb)
800,207 36^done,threads=[{id="6",target-id="pid 45695172 tid 6",details="STOPPED",frame={level="0",a\
ddr="0x01861b80",func="MsgReceive_r",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\tar\
get_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},state="stopped"}]
800,207 (gdb)
800,300 37^done,stack=[frame={level="0",addr="0x018623d0",func="ThreadCreate_r",from="C:\\\\Programs\
\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},fr\
ame={level="1",addr="0x0184562c",func="pthread_create",from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\\
Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},frame={level="2",addr="0x78\
4922a6",func="??",from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\\
armle-v7\\\\usr\\\\lib/libbps.so.3"},frame={level="3",addr="0x784922a6",func="??",from="C:\\\\Progra\
ms\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libbps.so.3"}\
]
800,300 (gdb)
800,363 38-stack-list-locals --thread 6 --frame 0 1
800,378 39-thread-info 7
800,378 40-thread-info 5
800,378 41-thread-info 4
800,378 42-thread-info 3
800,378 43-thread-info 2
800,378 44-thread-info 1
800,394 38^done,locals=[]
800,394 (gdb)
800,487 39^done,threads=[{id="7",target-id="pid 45695172 tid 7",details="STOPPED",frame={level="0",a\
ddr="0x78498210",func="??",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9\
_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libbps.so.3"},state="stopped"}]
800,487 (gdb)
800,487 45-stack-list-frames --thread 6 0 5
800,581 40^done,threads=[{id="5",target-id="pid 45695172 tid 5",details="STOPPED",frame={level="0",a\
ddr="0x01861da4",func="MsgSendv",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_\
10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},state="stopped"}]
800,581 (gdb)
800,675 41^done,threads=[{id="4",target-id="pid 45695172 tid 4 name \"webkit_screen\"",details="REPL\
Y",frame={level="0",addr="0x01861c80",func="MsgSend",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackber\
ry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},state="stopped"}]
800,675 (gdb)
800,784 42^done,threads=[{id="3",target-id="pid 45695172 tid 3",details="STOPPED",frame={level="0",a\
ddr="0x018621e8",func="SyncCondvarWait_r",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\
\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},state="stopped"}]
800,784 (gdb)
801,939 43^done,threads=[{id="2",target-id="pid 45695172 tid 2 name \"cascades-server\"",details="ST\
OPPED",frame={level="0",addr="0x01861da4",func="MsgSendv",args=[],from="C:\\\\Programs\\\\Dev\\\\Bla\
ckberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},state="stopped"}\
]
801,939 (gdb)
804,078 44^done,threads=[{id="1",target-id="pid 45695172 tid 1",details="STOPPED",frame={level="0",a\
ddr="0x018623d0",func="ThreadCreate_r",args=[],from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\t\
arget_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},state="stopped"}]
804,094 (gdb)
804,266 &"Cannot access memory at address 0x0\n"
804,281 &"Cannot access memory at address 0x0\n"
804,281 45^done,stack=[frame={level="0",addr="0x01861b80",func="MsgReceive_r",from="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},fram\
e={level="1",addr="0x79d53b8c",func="BlackBerry:Smiley Tonguelatform::MessageClient::receivePendingMessage(int,\
 int*, BlackBerry:Smiley Tonguelatform::MessageClient:Smiley TongueulseMessageData*)",from="C:\\\\Programs\\\\Dev\\\\Black\
berry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libwebkitplatform.so.0"},frame=\
{level="2",addr="0x79d5622e",func="BlackBerry:Smiley Tonguelatform::MessageClient::receivePendingMessage(int)",\
from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\
\lib/libwebkitplatform.so.0"},frame={level="3",addr="0x79d5632a",func="BlackBerry:Smiley Tonguelatform::Message\
Client:Smiley TonguerocessNextMessage(int)",from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2\
318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libwebkitplatform.so.0"},frame={level="4",addr="0x79ed9000",fu\
nc="??",from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\
\\usr\\\\lib/libwebkitplatform.so.0"},frame={level="5",addr="0x79ed9000",func="??",from="C:\\\\Progr\
ams\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libwebkitpla\
tform.so.0"}]
804,281 (gdb)
804,298 46-stack-list-frames --thread 6
804,313 46^done,stack=[frame={level="0",addr="0x01861b80",func="MsgReceive_r",from="C:\\\\Programs\\\
\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/ldqnx.so.2"},fram\
e={level="1",addr="0x79d53b8c",func="BlackBerry:Smiley Tonguelatform::MessageClient::receivePendingMessage(int,\
 int*, BlackBerry:Smiley Tonguelatform::MessageClient:Smiley TongueulseMessageData*)",from="C:\\\\Programs\\\\Dev\\\\Black\
berry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libwebkitplatform.so.0"},frame=\
{level="2",addr="0x79d5622e",func="BlackBerry:Smiley Tonguelatform::MessageClient::receivePendingMessage(int)",\
from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\
\lib/libwebkitplatform.so.0"},frame={level="3",addr="0x79d5632a",func="BlackBerry:Smiley Tonguelatform::Message\
Client:Smiley TonguerocessNextMessage(int)",from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2\
318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libwebkitplatform.so.0"},frame={level="4",addr="0x79ed9000",fu\
nc="??",from="C:\\\\Programs\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\
\\usr\\\\lib/libwebkitplatform.so.0"},frame={level="5",addr="0x79ed9000",func="??",from="C:\\\\Progr\
ams\\\\Dev\\\\Blackberry\\\\Ndk\\\\target_10_0_9_2318\\\\qnx6\\\\armle-v7\\\\usr\\\\lib/libwebkitpla\
tform.so.0"}]
804,313 (gdb)



Developer
Developer
Posts: 132
Registered: ‎01-24-2013
My Device: blackberry z10
My Carrier: none

Re: With the folRe: Problems with Webview

to be more clear..when I click on a link of the web page the that gets shown in the webview, the app crashes.
I have a dev alpha blackberry 10 device
Developer
Developer
Posts: 132
Registered: ‎01-24-2013
My Device: blackberry z10
My Carrier: none

Re: With the folRe: Problems with Webview

Update:

 

If I implement the same in qml (see below) , everything works fine!

...strange, strange! This really looks like a bug to me.

 

It would be really nice if somebody else could at least try to reproduce the crash with the c++ code. (Its very simple)

Thanks.

 

 

// Default empty project template
import bb.cascades 1.0

    
// creates one page with a label
Page {
    
       function setStatusText(str){ statusLab.text = str;}    
       function setProg(i) {progInd.setValue(parseInt(loadProgress)*100)}
       function showProg(bol) { progInd.setVisible(bol); statusLab.setVisible(bol) }
            
    // A container is used to gather visual items together.
    Container
    {
        // A DockLayout is applied to the main container, making it
        // possible to layout controls and view inside the container.
        layout: DockLayout {
        }
        //-----------------------------------
        ScrollView
        {
            id: scrollView
            scrollViewProperties
            {
                scrollMode: ScrollMode.Vertical
                pinchToZoomEnabled: true
            }
            layoutProperties: StackLayoutProperties { spaceQuota: 1.0 }
             
            Container
            {
                background: Color.LightGray
             
                WebView
                {
                    id: webView
  
                    url: "http://www.google.de"
             
                    onMinContentScaleChanged: {
                        scrollView.scrollViewProperties.minContentScale = minContentScale;
                    }
             
                    onMaxContentScaleChanged: {
                        scrollView.scrollViewProperties.maxContentScale = maxContentScale;                    
                    }
                    //------------------------------------
                    
                    onLoadingChanged:
                    {
                        if (loadRequest.status == WebLoadStatus.Started)
                        {
                            setProg(0)    
                            statusLab.setText("Loading....")
                            statusLab.setVisible(true)
                            progInd.setVisible(true)                 
                        }
                        else if (loadRequest.status == WebLoadStatus.Succeeded)
                        {
                            progInd.setVisible(false)
                            statusLab.setVisible(false)
                           //statusLab.setText("Load finished")
                        }
                        else if (loadRequest.status == WebLoadStatus.Failed)
                        {
                           progInd.setVisible(false)
                           statusLab.setVisible(false)
                           //statusLab.setText("Load failed.")
                        }
                    }          
                    onLoadProgressChanged:
                    {
                        progInd.setValue(parseInt(loadProgress))
                       // statusLab.setText("Loading.... " + parseInt(loadProgress) + "  %" )
                    }
                    //-----------------------------------------------
                }                
            }            
        }

       // Container{
       // horizontalAlignment: HorizontalAlignment.Center; verticalAlignment: VerticalAlignment.Center
        //layout : StackLayout{}
            Label
            {
                id: statusLab;
                horizontalAlignment: HorizontalAlignment.Center; verticalAlignment: VerticalAlignment.Center      
            }
            ProgressIndicator
            {
                id: progInd;
                fromValue: 0;  toValue: 100;   value: 0;
                horizontalAlignment: HorizontalAlignment.Center; verticalAlignment: VerticalAlignment.Center;
                //topPadding: 100  
            }
        }
    //}
}
        //---------------------------------------

Developer
Posts: 1,523
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: With the folRe: Problems with Webview

800,034 &"Cannot access memory at address 0x0\n"
800,050 &"Cannot access memory at address 0x0\n"

Seems NULL pointer is referenced somewhere in C++ code. The lines you pasted look correct though. Can you post a test project please?

Andrey Fidrya, @zmeyc on twitter
Developer
Developer
Posts: 132
Registered: ‎01-24-2013
My Device: blackberry z10
My Carrier: none

Re: With the folRe: Problems with Webview

If you just create a new standard (template) blackberry project in the mementics IDE and us ethe code I posted in the ctr of the main class, it should reproduce the issue.

The only other thing I modified was to check "Internet" in the ap permissions (though oddly this didnt seem to matter!)

Developer
Developer
Posts: 132
Registered: ‎01-24-2013
My Device: blackberry z10
My Carrier: none

Re: With the folRe: Problems with Webview

 

Maybe I should change my question...

 

Is there anyone whos used a (cascades c++) WebView to show internet web pages the user can interact with, without the app crashing?

Developer
Developer
Posts: 132
Registered: ‎01-24-2013
My Device: blackberry z10
My Carrier: none

Re: With the folRe: Problems with Webview

I take it the answer is no.

Developer
Posts: 206
Registered: ‎05-15-2012
My Device: None
My Carrier: Telus

Re: Problems with Webview

[ Edited ]

Try putting your WebView inside of a container before putting that inside of the Page:

 

    Page *Pg = new Page();
    Container *c = new Container();
    WebView* Wv = new WebView();
    Wv->setUrl(QUrl("https://www.google.de"));
    c->add(Wv);
    Pg->setContent(c);
    Application::instance()->setScene(Pg);

 I'm not positive that you're allowed to have the root node of a page not be a container. At the very least the example you're using in QML differs from your C++ example in that the C++ example has no container. Whether this will solve the issue or not, I'm not sure.

 

Edit: Nevermind, it looks like you already tried this/are doing this.

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

And of course, like my post if you found it helpful or informative!