strange error
BogDan
bog_dan_ro at yahoo.com
Mon Jul 4 17:55:39 CEST 2011
Hi Thomas,
Yes that is the right way/place to fix it !
Thanks.
BogDan.
----- 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: Monday, July 4, 2011 6:50 PM
> Subject: Re: strange error
>
> Ah! Actually I can debug ... i just can't debug on my galaxy s2... dumn
> device.
>
> Back on my nexus one I could pin point the problem.
>
> This fixes the error:
>
> diff --git
> a/src/plugins/platforms/android/src/qandroidassetsfileenginehandler.cpp
> b/src/plugins/platforms/android/src/qandroidassetsfileenginehandler.cpp
> index 11883cc..a2ca458 100644
> --- a/src/plugins/platforms/android/src/qandroidassetsfileenginehandler.cpp
> +++ b/src/plugins/platforms/android/src/qandroidassetsfileenginehandler.cpp
> @@ -121,6 +121,9 @@
> AndroidAssetsFileEngineHandler::~AndroidAssetsFileEngineHandler()
>
> QAbstractFileEngine * AndroidAssetsFileEngineHandler::create ( const QString
> & fileName ) const
> {
> + if(fileName.isEmpty())
> + return 0;
> +
> AAsset* asset;
> if (fileName[0]==QChar(QLatin1Char('/')))
> asset=AAssetManager_open(m_assetManager,
> fileName.toUtf8().constData()+1, AASSET_MODE_BUFFER);
>
>
>
>
> I'm not sure if this is the right way/place to "fix"
>
> BogDan: You should know how to fix this probably.
> If my fix is not the right one and you need help to reproduce the problem or
> something like that: let me know!
>
>
> Greets
> Thomas
>
> On Monday, July 04, 2011 04:59:39 PM ext BogDan wrote:
>> I'll take a look tomorrow.
>>
>> Cheers,
>> Bogdan.
>>
>>
>> ----- Original Message -----
>>
>> > From: Thomas Senyk <thomas.senyk at nokia.com>
>> > To: "necessitas-devel at kde.org"
> <necessitas-devel at kde.org>
>> > Cc:
>> > Sent: Monday, July 4, 2011 3:57 PM
>> > Subject: strange error
>> >
>> > Anyone saw this before:
>> >
>> > F/Qt ( 6956): ASSERT: "uint(i) < uint(size())" in
> file
>> > ../../../../../../include/QtCore/../../src/corelib/tools/qstring.h,
> line
>> > 700
>> >
>> >
>> > I'm wondering if this is caused by my setup or my src.
>> >
>> > (I can't remote debug currently, therefor I haven't got more
>> > information)
>> >
>> >
>> >
>> > Greets
>> > Thomas
>> > _______________________________________________
>> > Necessitas-devel mailing list
>> > Necessitas-devel at kde.org
>> > https://mail.kde.org/mailman/listinfo/necessitas-devel
>
More information about the Necessitas-devel
mailing list