Qt-interest Archive, November 2007
Internal Error
Message 1 in thread
Hello all,
I've just compiled my application which I've been developing in my
free time and after such amount of work of solving syntax errors and
stuff like that I get a Qt internal error.
$ ./amazonkuku
ASSERT: "!isEmpty()" in file /usr/include/qt4/QtCore/qlist.h, line 244
I can't even begin to understand what I can do because there's not
much info. I'm running Qt 4.3.2 in linux 64bit, gentoo distro.
Probably I'll try to install a previous qt version. Any suggestions are welcome.
Cheers,
--
[ signature omitted ]
Message 2 in thread
On 29.11.07 15:39:59, Paulo J. Matos wrote:
> Hello all,
>
> I've just compiled my application which I've been developing in my
> free time and after such amount of work of solving syntax errors and
> stuff like that I get a Qt internal error.
> $ ./amazonkuku
> ASSERT: "!isEmpty()" in file /usr/include/qt4/QtCore/qlist.h, line 244
>
> I can't even begin to understand what I can do because there's not
> much info. I'm running Qt 4.3.2 in linux 64bit, gentoo distro.
Run your app in a debugger, when you hit the problem you can create a
backtrace and thus see where in your code the problem is (i.e. where you
use qlist in the wrong way).
Another thing to do is check the qlist.h header line 244, doing so
you'll see that it asserts when first() is called on an empty list.
Thats also documented in the API docs, so somewhere in your code a
isEmpty check is missing.
Andreas
--
[ signature omitted ]
Message 3 in thread
On 29.11.07 15:39:59, Paulo J. Matos wrote:
> Hello all,
>
> I've just compiled my application which I've been developing in my
> free time and after such amount of work of solving syntax errors and
> stuff like that I get a Qt internal error.
> $ ./amazonkuku
> ASSERT: "!isEmpty()" in file /usr/include/qt4/QtCore/qlist.h, line 244
>
> I can't even begin to understand what I can do because there's not
> much info. I'm running Qt 4.3.2 in linux 64bit, gentoo distro.
>
> Probably I'll try to install a previous qt version. Any suggestions are welcome.
PS: This is not a problem of your Qt, those asserts are sanity checks
and almost always when you hit one, you did something wrong in your code
using the Qt class/method that asserts.
Andreas
--
[ signature omitted ]
Message 4 in thread
On Nov 29, 2007 3:46 PM, Andreas Pakulat <apaku@xxxxxx> wrote:
> PS: This is not a problem of your Qt, those asserts are sanity checks
> and almost always when you hit one, you did something wrong in your code
> using the Qt class/method that asserts.
>
Let me add that when this happens a window shows up very fast saying:
"Getting empty access id. Internal Error."
That's why I thought it was internal error. I'll check that out.
> Andreas
>
> --
> Your supervisor is thinking about you.
>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
>
>
--
[ signature omitted ]
Message 5 in thread
On Nov 29, 2007 3:53 PM, Paulo J. Matos <pocm@xxxxxxxxxxx> wrote:
> On Nov 29, 2007 3:46 PM, Andreas Pakulat <apaku@xxxxxx> wrote:
> > PS: This is not a problem of your Qt, those asserts are sanity checks
> > and almost always when you hit one, you did something wrong in your code
> > using the Qt class/method that asserts.
> >
>
> Let me add that when this happens a window shows up very fast saying:
> "Getting empty access id. Internal Error."
>
Hehehe, the message box is mine! :) Is my code that it is creating it.
Oh well, sorry for the mess! :)
> That's why I thought it was internal error. I'll check that out.
>
> > Andreas
> >
> > --
> > Your supervisor is thinking about you.
> >
> >
> > --
> > To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> > List archive and information: http://lists.trolltech.com/qt-interest/
> >
> >
> >
> >
>
>
>
>
> --
> Paulo Jorge Matos - pocm at soton.ac.uk
> http://www.personal.soton.ac.uk/pocm
> PhD Student @ ECS
> University of Southampton, UK
>
--
[ signature omitted ]
Message 6 in thread
Paulo J. Matos wrote:
> Hello all,
>
> I've just compiled my application which I've been developing in my
> free time and after such amount of work of solving syntax errors and
> stuff like that I get a Qt internal error.
> $ ./amazonkuku
> ASSERT: "!isEmpty()" in file /usr/include/qt4/QtCore/qlist.h, line 244
I've seen that one before; I believe that means that you've tried to do
a takeAt() or an erase() or some such, when the list is already empty.
--
[ signature omitted ]