logo       

Mysterious DESTROY warnings from PerlQt 3.008: msg#00014

Subject: Mysterious DESTROY warnings from PerlQt 3.008
Hello!

I am developing a Qt frontend for the Debian configuration system DebConf. It 
uses (as you might have guessed) the PerlQt bindings. After the frontend 
finishes, i get messages like this:
"DESTROY created new reference to dead object ' Qt::VBoxLayout', <GEN1> line 5 
during global destruction."
"DESTROY created new reference to dead object ' Qt::CheckBox', <GEN1> line 7 
during global destruction."
Et cetera (varies with different code-paths).

If it is relevant, i run these debian packages related to PerlQt:
ii  libqt-perl     3.008-1        Perl bindings for the Qt library
ii  libqt3c102-mt  3.2.1-6        Qt GUI Library (Threaded runtime version)
ii  perl           5.8.2-2        Larry Wall's Practical Extraction and Report
ii  perl-base      5.8.2-2        The Pathologically Eclectic Rubbish Lister.
ii  perl-modules   5.8.2-2        Core Perl modules.

Trying to valgrind the whole beast, i got only the following error (probably 
unrelated and maybe harmless). I was doing this as it was segfaulting at me 
(at the point where the app should have been exiting). However, this 
behaviour disappeared (mysteriously). The backtraces mentioned QCheckBox 
destructor. This made me believe the DESTROY messages and the crashes were 
related. So, the question remains, whether the warnings indicate some bug on 
my part or a bug on your (PerlQt's) part or are utterly harmless.

Thank for your help and cheers.

---------- here is the backtrace from valgrind: -----
==13798== Syscall param write(buf) contains uninitialised or unaddressable 
byte(s)
==13798==    at 0x40359908: __libc_write (in /lib/libc-2.3.2.so)
==13798==    by 0x4460484F: (within /usr/X11R6/lib/libICE.so.6.3)
==13798==    by 0x446055FE: _IceTransWrite (in /usr/X11R6/lib/libICE.so.6.3)
==13798==    by 0x445FC3DA: _IceWrite (in /usr/X11R6/lib/libICE.so.6.3)
==13798==    by 0x445FBFF1: IceFlush (in /usr/X11R6/lib/libICE.so.6.3)
==13798==    by 0x445CAD04: SmcSetProperties (in /usr/X11R6/lib/libSM.so.6.0)
==13798==    by 0x43604C73: (within /usr/lib/libqt-mt.so.3.2.1)
==13798==    by 0x43604D0B: (within /usr/lib/libqt-mt.so.3.2.1)
==13798==    by 0x43605092: (within /usr/lib/libqt-mt.so.3.2.1)
==13798==    by 0x43604E61: (within /usr/lib/libqt-mt.so.3.2.1)
==13798==    by 0x445CC458: _SmcProcessMessage (in /usr/X11R6/lib/
libSM.so.6.0)
==13798==    by 0x445FCB05: IceProcessMessages (in /usr/X11R6/lib/
libICE.so.6.3)
==13798==    by 0x436059C5: QSmSocketReceiver::socketActivated(int) (in /usr/
lib/libqt-mt.so.3.2.1)
==13798==    by 0x43605C71: QSmSocketReceiver::qt_invoke(int, QUObject*) (in /
usr/lib/libqt-mt.so.3.2.1)
==13798==    by 0x436C48CB: QObject::activate_signal(QConnectionList*, 
QUObject*) (in /usr/lib/libqt-mt.so.3.2.1)
==13798==    by 0x436C4A2C: QObject::activate_signal(int, int) (in /usr/lib/
libqt-mt.so.3.2.1)
==13798==    Address 0x43043748 is 12 bytes inside a block of size 1024 
alloc'd
==13798==    at 0x40015F65: calloc (vg_replace_malloc.c:284)
==13798==    by 0x445F94DF: IceOpenConnection (in /usr/X11R6/lib/
libICE.so.6.3)
==13798==    by 0x445CA408: SmcOpenConnection (in /usr/X11R6/lib/libSM.so.6.0)
==13798==    by 0x43606190: QSessionManager::QSessionManager(QApplication*, 
QString&, QString&) (in /usr/lib/libqt-mt.so.3.2.1)
==13798==    by 0x43664B74: QApplication::initialize(int, char**) (in /usr/
lib/libqt-mt.so.3.2.1)
==13798==    by 0x436643CD: QApplication::construct(int&, char**, 
QApplication::Type) (in /usr/lib/libqt-mt.so.3.2.1)
==13798==    by 0x43663FE8: QApplication::QApplication(int&, char**) (in /usr/
lib/libqt-mt.so.3.2.1)
==13798==    by 0x449E4845: xcall_QApplication(short, void*, 
Smoke::StackItem*) (in /usr/lib/libsmokeqt.so.1.2.1)
==13798==    by 0x433A2F86: MethodCall::next() (in /usr/lib/perl5/auto/Qt/
Qt.so)
==13798==    by 0x433A868E: (within /usr/lib/perl5/auto/Qt/Qt.so)
==13798==    by 0x433A2EFA: MethodCall::next() (in /usr/lib/perl5/auto/Qt/
Qt.so)
==13798==    by 0x433A803B: (within /usr/lib/perl5/auto/Qt/Qt.so)
==13798==    by 0x4339299C: XS_AUTOLOAD(interpreter*, cv*) (in /usr/lib/perl5/
auto/Qt/Qt.so)
==13798==    by 0x80CD985: Perl_pp_entersub (in /usr/bin/perl)
==13798==    by 0x80C7368: Perl_runops_standard (in /usr/bin/perl)
==13798==    by 0x8063477: (within /usr/bin/perl)

-- 
Peter Rockai (mornfall), mornfall()logisys!dyndns!org, mornfall.homeip.net
---------------------------------------------------------------------------
He says gods like to see an atheist around. Gives them something to aim at.
                       -- (Terry Pratchett, Small Gods)


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe