Qt-interest Archive, March 2002
In file tools/qgarray.cpp, line 227: Out of memory ???
Message 1 in thread
Ok... I don't totally understand this error. My program loads a UI
discription from a shared object (plugin), which is just a list of widgets to
create with optional lables, optional default values, and an optional group,
(widgets are limited to GroupBox, LineEdit, CheckBox, and SpinBox), they are
all placed into a GridLayout which is where I think the problem stems from,
because the trace back in gdb crashes while creating a GridLayout...
#17 0x40618af0 in qFatal () from /usr/lib/libqt.so.3
#18 0x40618bb6 in qt_check_pointer () from /usr/lib/libqt.so.3
#19 0x4061274d in QGArray::resize () from /usr/lib/libqt.so.3
#20 0x403bf04f in QGridLayoutData::setSize () from /usr/lib/libqt.so.3
#21 0x403be8c7 in QGridLayoutData::QGridLayoutData () from /usr/lib/libqt.so.3
#22 0x403c1ac9 in QGridLayout::init () from /usr/lib/libqt.so.3
#23 0x403c15af in QGridLayout::QGridLayout () from /usr/lib/libqt.so.3
The funny thing is it doesn't crash the first time I create a the Dialog but
the second. I 'delete' or 'close' the Dialog, but it doesn't seem to kill any
of the child widgets. especially the Layout.
thanks,
--
[ signature omitted ]
Message 2 in thread
Has anyone seen that problem before? Is it my fault?
Do I need to post more information? Should I use all CAPS for my next
subject? ;)
--
[ signature omitted ]
Message 3 in thread
- Subject: Re: In file tools/qgarray.cpp, line 227: Out of memory ???
- From: Klaus Muth <muth@xxxxxxxx>
- Date: Thu, 7 Mar 2002 17:11:51 +0100
- Organization: HAGOS eG
- To: QT-Interest <qt-interest@xxxxxxxxxxxxx>
Am Donnerstag, 7. März 2002 17:02 schrieb Thomas Fjellstrom:
> Has anyone seen that problem before? Is it my fault?
Looks like the compiler fucked up due to lack of memory.
Search the mailing list.
And seems to be your fault ;). Buy memory! (no, just kidding here).
> Do I need to post more information?
Yepp!
1. Qt version
2. operation sytem + version (win/unix/linux???)
3. In this case: hardware, especially amount of memory installed
4. compiler + compiler version (gcc or what?)
> Should I use all CAPS for my next subject? ;)
Oh, please, do not.
klaus
--
[ signature omitted ]
Message 4 in thread
On March 7, 2002 09:11 am, you wrote:
> Am Donnerstag, 7. März 2002 17:02 schrieb Thomas Fjellstrom:
> > Has anyone seen that problem before? Is it my fault?
>
> Looks like the compiler fucked up due to lack of memory.
> Search the mailing list.
> And seems to be your fault ;). Buy memory! (no, just kidding here).
I have about 256MB I think im good. ;)
> > Do I need to post more information?
>
> Yepp!
> 1. Qt version
3.0.1
> 2. operation sytem + version (win/unix/linux???)
Debian Cid Linux, kernel 2.4.16.
> 3. In this case: hardware, especially amount of memory installed
MSI K7T Turbo, Athlon TBird 900, 256 MB RAM
> 4. compiler + compiler version (gcc or what?)
gcc 2.95.4
> > Should I use all CAPS for my next subject? ;)
>
> Oh, please, do not.
;)
Thanks,
--
[ signature omitted ]
Message 5 in thread
I'm not quite sure if it is a similar problem: on win98/Me happens the
following:
we are using screens with buttons inside, which have bitmaps. We are
switching from one screen to another. We are using the bitmap-cache of qt.
Sometimes some bitmaps disappear, also icons of other applications are
gone. When I press ALT-TAB to switch apps, even these icons are gone.
Then I know I have to quit all apps, or I have to reboot soon.
Is this a feature of win98 or a problem in the memory functionality? I
have really no idea.On other systems it works.
Thomas: you are sure that you always set the correct parent of your
members? So that they are correctly deleted?
Thomas Fjellstrom wrote:
>Has anyone seen that problem before? Is it my fault?
>Do I need to post more information? Should I use all CAPS for my next
>subject? ;)
>