Strange crash + Car3D
Lauri Laanmets
lauri.laanmets at proekspert.ee
Fri Sep 23 15:07:46 UTC 2011
Hello
I don't think it's in the Java files. I have also been trying to start up the Card3D demo. That crashed as well (mainly working libandroid-9) - I spend at least 5 hours (huh...) to track down the cause. And the finging is so strange and funny. If there is an Item3D (and mesh) on screen then, if one would put also a Rectangle on the screen, it would still be OK. But giving a radius to the rectangle crashes the whole app (log file attached to the letter). So removing all radius-es made the Card3D working :)
I have also attached the screen shot (to the letter) of the car which seems to be incorrect (notice the white rectangle on left-up, it's OK till it has no radius). I have no idea why it's so or who to address such issues :)
The following simplified code crashes on Motorola Xoom:
import QtQuick 1.0
import Qt3D 1.0
import Qt3D.Shapes 1.0
Rectangle{
id: root
color: "black"
width: 1280
height: 750
Viewport {
id: view
anchors.fill: parent
Item3D{
anchors.fill: parent
mesh: Mesh { id: carCoreMesh;source: "HyundaiGenesis_sliced_0.2/wheel-left-back.3ds" }
}
}
Rectangle {
id: root2
width: 180
height: 30
// This radius makes program crach
radius: 5
}
}
Regards
Lauri
----- Original Message -----
From: "BogDan" <bog_dan_ro at yahoo.com>
To: "Lauri Laanmets" <lauri.laanmets at proekspert.ee>
Cc: necessitas-devel at kde.org
Sent: Thursday, September 22, 2011 5:50:38 PM
Subject: Re: Strange crash
Hi,
No is not, it should work on all android devices with api-5. Make sure you are using the right java files.
BogDan.
From: Lauri Laanmets <lauri.laanmets at proekspert.ee>
To:
Cc: necessitas-devel at kde.org
Sent: Thursday, September 22, 2011 11:50 AM
Subject: Re: Strange crash
Hi all
I had my first try on opengl. I have Motorola Xoom and when I try "libandroidGL-9" then everything (to an extent) is OK but lower numbers (5 and 8) crash.
Is that normal?
Lauri
On 21.09.2011 15:39, thomas.senyk at nokia.com wrote:
just did git pull
and now let ./runtests.pl run on my notebook (nexus one) and my desktop (galaxy s2)
Let's see :)
From: ext BogDan [ bog_dan_ro at yahoo.com ]
Sent: Tuesday, September 20, 2011 8:40 PM
To: Senyk Thomas (Nokia-DXM/Munich)
Cc: necessitas-devel at kde.org
Subject: Re: Strange crash
More tests (159) !
Cheers,
BogDan.
From: "thomas.senyk at nokia.com" <thomas.senyk at nokia.com>
To: bog_dan_ro at yahoo.com
Cc: necessitas-devel at kde.org
Sent: Tuesday, September 20, 2011 1:08 PM
Subject: RE: Strange crash
I got a first run working.
(It's a merge of experimental and experimental-staging (I will not push) though!)
I crashed/stopped somewhere down the road:
...
timeount in 5 seconds
timeount in 0 seconds
... failed
Can't run networkselftest stopping tests ...
But a lot of testes succeeded!
Awesome work! :)
I won't have much time this week, but I'll take a look at the .xml files eventually :)
Greets
Thomas
________________________________________
From: Senyk Thomas (Nokia-DXM/Munich)
Sent: Monday, September 19, 2011 5:39 PM
To: BogDan
Subject: Re: Strange crash
I should check my email more often.
Got it working another way (using /data/local instead) ... but I your way is
the right one :)
Anyway, I just let "auto" run on my galaxy s2 and send you the output when
it's finished
Greets
Thomas
On Monday, September 19, 2011 08:22:03 AM ext BogDan wrote:
> Done
> http://commits.kde.org/android-qt/a6359a892aeb01062a73ca3a691a881e9462306a
> BogDan.
>
> >________________________________
> >From: Thomas Senyk < thomas.senyk at nokia.com >
> >To: BogDan < bog_dan_ro at yahoo.com >
> >Sent: Monday, September 19, 2011 4:49 PM
> >Subject: Re: Strange crash
> >
> >Are you using a rooted-device?
> >
> >I took closer (the first real) look and quickly found:
> >failed to copy '/tmp/96J7e6B73C/libtst_qdebug.so' to
> >'/data/data/org.kde.necessitas.quadruplor/files/libtst_qdebug.so':
> >Permission denied
> >
> >
> >... later he can't start/load anything.
> >But he still says "Success" :)
> >
> >
> >Greets
> >Thomas
> >
> >On Friday, September 16, 2011 07:33:17 AM ext BogDan wrote:
> >> If you add that code it should work ok.
> >>
> >>
> >>
> >> ----- Original Message -----
> >>
> >> > From: Thomas Senyk < thomas.senyk at nokia.com >
> >> > To: BogDan < bog_dan_ro at yahoo.com >
> >> > Cc:
> >> > Sent: Friday, September 16, 2011 4:46 PM
> >> > Subject: Re: Strange crash
> >> >
> >> >T he pull of the output is still not working, right?
> >> >
> >> > On Friday, September 16, 2011 06:27:38 AM ext BogDan wrote:
> >> >> Now you should be able to gui tests (please pull latest
> >> >>experimental
> >> >> and recompile it !!!). Also you must add another line to
> >> >>runtest.pl
> >> >> add: "waitForProcess($packageName,1,10);" between
> >> >>
> >> >> system("$adb_tool $device_serial shell am start -n
> >> >>$intentName");
> >> >>
> >> > # create
> >> >
> >> >> application folders waitForProcess($packageName,0,20);
> >> >>
> >> >> so it will become:
> >> >>
> >> >> ########### build & install quadruplor ###########
> >> >> pushd($quadruplor_dir);
> >> >> system("$android_sdk_dir/tools/android update project -p . -t
> >> >> android-10")==0 or die "Can't update project ...\n";
> >> >>
> >> > system("$ant_tool
> >> >
> >> >> uninstall install")==0 or die "Can't install
> >> >>
> >> > Quadruplor\n";
> >> >
> >> >> system("$adb_tool $device_serial shell am start -n
> >> >>$intentName");
> >> >>
> >> > # create
> >> >
> >> >> application folders waitForProcess($packageName,1,10);
> >> >> waitForProcess($packageName,0,20);
> >> >> popd();
> >> >>
> >> >>
> >> >> P.S. I can push the fix now because I'm at work :)
> >> >>
> >> >>
> >> >> Cheers,
> >> >> BogDan.
> >> >>
> >> >>
> >> >>
> >> >> ----- Original Message -----
> >> >>
> >> >> > From: Thomas Senyk < thomas.senyk at nokia.com >
> >> >> > To: BogDan < bog_dan_ro at yahoo.com >
> >> >> > Cc:
> >> >> > Sent: Friday, September 16, 2011 4:22 PM
> >> >> > Subject: Re: Strange crash
> >> >> >
> >> >> > same here ... although runtests is not though yet :)
> >> >> >
> >> >> > On Thursday, September 15, 2011 08:31:25 AM ext BogDan wrote:
> >> >> >> I tested yesterday qt tests with it and at least qtcore is
> >> >>ok
> >> >> >>:)
> >> >>
> >> > !
> >> >
> >> >> >>
> >> >> >> Cheers,
> >> >> >> BogDan.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> ----- Original Message -----
> >> >> >>
> >> >> >> > From: Thomas Senyk < thomas.senyk at nokia.com >
> >> >> >> > To: BogDan < bog_dan_ro at yahoo.com >
> >> >> >> > Cc:
> >> >> >> > Sent: Thursday, September 15, 2011 6:18 PM
> >> >> >> > Subject: Re: Strange crash
> >> >> >> >
> >> >> >> > Ah you did a fresh merge, right? cool! :)
> >> >> >> >
> >> >> >> > I'm going to do a armabi-v7a build and test it on nexus
> >> >>
> >> > one,
> >> >
> >> >> > galaxy tab
> >> >> >
> >> >> >> > and galaxy s2
> >> >> >> >
> >> >> >> > On Thursday, September 15, 2011 08:08:38 AM ext BogDan
> >> >>
> >> > wrote:
> >> >> >> >> Done !
> >> >> >> >> I had to delete/create it.
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> BogDan.
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> ----- Original Message -----
> >> >> >> >>
> >> >> >> >> > From: Thomas Senyk < thomas.senyk at nokia.com >
> >> >> >> >> > To: BogDan < bog_dan_ro at yahoo.com >
> >> >> >> >> > Cc:
> >> >> >> >> > Sent: Thursday, September 15, 2011 5:57 PM
> >> >> >> >> > Subject: Re: Strange crash
> >> >> >> >> >
> >> >> >> >> > But we want to track Qt4.8 :)
> >> >> >> >> >
> >> >> >> >> > We should stay as close as possible -> do a
> >> >>
> >> > merge from
> >> >
> >> >> > 4.8 as
> >> >> >
> >> >> >> >> > often
> >> >> >> >>
> >> >> >> > as
> >> >> >> >
> >> >> >> >> > someone
> >> >> >> >> > finds the time to do it :)
> >> >> >> >> >
> >> >> >> >> > Just reset head by ... one? ... and merge to
> >> >>
> >> > experimantal
> >> >
> >> >> > ..
> >> >> >
> >> >> >> >> > right?>> >
> >> >> >> >> > On Thursday, September 15, 2011 07:55:21 AM ext
> >> >>
> >> > BogDan
> >> >
> >> >> > wrote:
> >> >> >> >> >> Is not fixing anything :)
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> ----- Original Message -----
> >> >> >> >> >>
> >> >> >> >> >> > From: Thomas Senyk
> >> >>
> >> > < thomas.senyk at nokia.com >
> >> >
> >> >> >> >> >> > To: BogDan < bog_dan_ro at yahoo.com >
> >> >> >> >> >> > Cc: " necessitas-devel at kde.org "
> >> >> >> >> >>
> >> >> >> >> > < necessitas-devel at kde.org >
> >> >> >> >> >
> >> >> >> >> >> > Sent: Thursday, September 15, 2011 5:53
> >> >>
> >> > PM
> >> >
> >> >> >> >> >> > Subject: Re: Strange crash
> >> >> >> >> >> >
> >> >> >> >> >> > remotes/origin/experimental-staging
> >> >> >> >> >> >
> >> >> >> >> >> > On Thursday, September 15, 2011 07:34:57
> >> >>
> >> > AM ext
> >> >
> >> >> > BogDan
> >> >> >
> >> >> >> > wrote:
> >> >> >> >> >> >> > First off all: Yes I have to
> >> >>
> >> > do more
> >> >
> >> >> >> >>
> >> >> >> > debugging/investigation
> >> >> >> >
> >> >> >> >> > to
> >> >> >> >> >
> >> >> >> >> >> > resolve
> >> >> >> >> >> >
> >> >> >> >> >> >> > the problem
> >> >> >> >> >> >> >
> >> >> >> >> >> >> > But on the other side: This is
_______________________________________________
Necessitas-devel mailing list Necessitas-devel at kde.org https://mail.kde.org/mailman/listinfo/necessitas-devel
_______________________________________________
Necessitas-devel mailing list
Necessitas-devel at kde.org
https://mail.kde.org/mailman/listinfo/necessitas-devel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Car3D_crash_log.txt
URL: <http://mail.kde.org/pipermail/necessitas-devel/attachments/20110923/c66b75b7/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: device.png
Type: image/png
Size: 284230 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/necessitas-devel/attachments/20110923/c66b75b7/attachment-0001.png>
More information about the Necessitas-devel
mailing list