[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KIO - again
From: "Dirk A. Mueller" <mueller () kde ! org>
Date: 2000-03-06 16:48:08
[Download RAW message or body]
On Mon, 06 Mär 2000, David Faure wrote:
> m_error = ERR_MALFORMED_URL;
> m_errorText = m_url.url();
> QTimer::singleShot( 0, slotFinished() );
> Is that ok ?
QTimer::singleShot(0, this, SLOT(slotFinished() )) doesn't work either,
because then slotFinished() tries to remove a job that hasn't been
scheduled yet.
the output is
QObject::disconnect: Unexpected null parameter
Program received signal SIGSEGV, Segmentation fault.
KIO::Slave::isAlive (this=0x0) at ../kio/slave.h:60
60 bool isAlive() { return !dead; }
backtrace:
#0 KIO::Slave::isAlive (this=0x0) at ../kio/slave.h:60
#1 0x402f052d in KIO::Scheduler::_jobFinished (this=0x80823b8,
job=0x8080398,
slave=0x0) at scheduler.cpp:174
#2 0x4030ec61 in KIO::Scheduler::jobFinished (job=0x8080398, slave=0x0)
at scheduler.h:42
#3 0x402f599d in KIO::SimpleJob::slotFinished (this=0x8080398) at
job.cpp:172
with other words m_slave isn't set correctly at that point, so it segfaults.
I'm afraid it isn't that easy ;-)
Dirk
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic