Bug 102875 - Kmail crashes when klicking on "Check what the server supports"
Summary: Kmail crashes when klicking on "Check what the server supports"
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-30 19:24 UTC by Tilman Keskinöz
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tilman Keskinöz 2005-03-30 19:24:40 UTC
Version:            (using KDE KDE 3.4.0)
Installed from:    FreeBSD Ports
Compiler:          # gcc -v
Using built-in specs.
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728
 
OS:                FreeBSD

I am using QT 3.3.4
The Server is a dovecot IMAPS server.

When clicking on the Button "Check what the server supports". KMail crashes with the following backtrace:


kmail: [void KMail::ImapAccountBase::slotSchedulerSlaveConnected(KIO::Slave*)]
kmail: [void KMail::ImapAccountBase::slotSchedulerSlaveConnected(KIO::Slave*)]
kmail: [void KMail::ImapAccountBase::slotSchedulerSlaveConnected(KIO::Slave*)]
kmail: [void KMail::ImapAccountBase::slotSchedulerSlaveConnected(KIO::Slave*)]
kmail: mCapaNormal = 512; mCapaSSL = 1; mCapaTLS = 512
kmail: checkHighest( [QButtonGroup pointer (0x10bcc00) to unnamed widget, geometry=524x101+11+53] )

Program received signal SIGBUS, Bus error.
[Switching to Thread 1 (LWP 100167)]
QGVector::size (this=0xd0d0d0d0d0d0d0d0) at qgvector.h:66
66          uint  size()    const       { return len; }
(gdb) bt
#0  QGVector::size (this=0xd0d0d0d0d0d0d0d0) at qgvector.h:66
#1  0x00000008051b9cc5 in QPtrVector<QConnectionList>::size (
    this=0xd0d0d0d0d0d0d0d0) at qptrvector.h:62
#2  0x00000008051b9988 in QSignalVec::at (this=0xd0d0d0d0d0d0d0d0, index=3)
    at qsignalslotimp.h:83
#3  0x00000008051b6290 in QObject::receivers (this=0x10e0000, signal=3)
    at kernel/qobject.cpp:1232
#4  0x00000008009d8700 in KMServerTest::capabilities (this=0x10e0000,
    t0=@0x10e0068, t1=@0x10e0070, t2=@0x10e0078, t3=@0x10e0080, t4=@0x10e0088)
    at kmservertest.moc:145
#5  0x00000008009d8476 in KMServerTest::slotSlaveResult (this=0x10e0000,
    aSlave=0x3, error=0, errorText=@0x805856c28) at kmservertest.cpp:184
#6  0x00000008009d8294 in KMServerTest::slotResult (this=0x10e0000,
    job=0xd0d0d0d0d0d0d0d0) at kmservertest.cpp:135
#7  0x00000008009d88a1 in KMServerTest::qt_invoke (this=0x10e0000, _id=3,
    _o=0x7fffffffc4e0) at kmservertest.moc:161
#8  0x00000008051b828b in QObject::activate_signal (this=0x10e5000,
    clist=0x10e2580, o=0x7fffffffc4e0) at kernel/qobject.cpp:2355
#9  0x0000000803a4bd22 in KIO::Job::result (this=0x10e5000, t0=0x10e5000)
    at jobclasses.moc:156
#10 0x0000000803a3ad8b in KIO::Job::emitResult (this=0x10e5000) at job.cpp:217
#11 0x0000000803a3bf0c in KIO::SimpleJob::slotFinished (this=0x10e5000)
    at job.cpp:536
#12 0x0000000803a4c8d7 in KIO::SimpleJob::qt_invoke (this=0x10e5000, _id=7,
    _o=0x7fffffffc770) at jobclasses.moc:396
#13 0x00000008051b828b in QObject::activate_signal (this=0x10dfc00,
    clist=0x109c780, o=0x7fffffffc770) at kernel/qobject.cpp:2355
#14 0x00000008051b8135 in QObject::activate_signal (this=0x10dfc00, signal=6)
    at kernel/qobject.cpp:2324
#15 0x0000000803a3076c in KIO::SlaveInterface::finished (this=0x10dfc00)
    at slaveinterface.moc:226
#16 0x0000000803a2f21c in KIO::SlaveInterface::dispatch (this=0x10dfc00,
    _cmd=104, rawdata=@0x7fffffffc990) at slaveinterface.cpp:243
#17 0x0000000803a2efbb in KIO::SlaveInterface::dispatch (this=0x10dfc00)
    at slaveinterface.cpp:173
#18 0x0000000803a2d1ed in KIO::Slave::gotInput (this=0x10dfc00)
    at slave.cpp:300
#19 0x0000000803a2e6a8 in KIO::Slave::qt_invoke (this=0x10dfc00, _id=4,
    _o=0x7fffffffcaf0) at slave.moc:113
#20 0x00000008051b828b in QObject::activate_signal (this=0x10ddf00,
    clist=0x10db940, o=0x7fffffffcaf0) at kernel/qobject.cpp:2355
#21 0x00000008051b85ad in QObject::activate_signal (this=0x10ddf00, signal=2,
    param=22) at kernel/qobject.cpp:2448
#22 0x000000080550910a in QSocketNotifier::activated (this=0x10ddf00, t0=22)
    at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:85
#23 0x00000008051d846b in QSocketNotifier::event (this=0x10ddf00,
    e=0x7fffffffce90) at kernel/qsocketnotifier.cpp:258
#24 0x00000008051545f6 in QApplication::internalNotify (this=0x7fffffffe740,
    receiver=0x10ddf00, e=0x7fffffffce90) at kernel/qapplication.cpp:2635
#25 0x0000000805153a0f in QApplication::notify (this=0x7fffffffe740,
    receiver=0x10ddf00, e=0x7fffffffce90) at kernel/qapplication.cpp:2358
#26 0x0000000804560704 in KApplication::notify (this=0x7fffffffe740,
    receiver=0x10ddf00, event=0x7fffffffce90) at kapplication.cpp:549
#27 0x0000000800f51664 in QApplication::sendEvent (receiver=0x10e0078,
    event=0x3) at qapplication.h:491
#28 0x0000000805142db4 in QEventLoop::activateSocketNotifiers (this=0x618f00)
    at kernel/qeventloop_unix.cpp:578
#29 0x00000008050f9769 in QEventLoop::processEvents (this=0x618f00, flags=4)
    at kernel/qeventloop_x11.cpp:383
#30 0x00000008051694c0 in QEventLoop::enterLoop (this=0x618f00)
    at kernel/qeventloop.cpp:198
#31 0x0000000805154792 in QApplication::enter_loop (this=0x7fffffffe740)
    at kernel/qapplication.cpp:2790
#32 0x000000080534b1fe in QDialog::exec (this=0x7fffffffd290)
    at dialogs/qdialog.cpp:432
#33 0x00000008008ecfd4 in AccountsPageReceivingTab::slotAddAccount (
    this=0x1064200) at configuredialog.cpp:1209
#34 0x000000080090ba88 in AccountsPageReceivingTab::qt_invoke (this=0x1064200,
    _id=47, _o=0x7fffffffd950) at configuredialog_p.moc:969
#35 0x00000008051b828b in QObject::activate_signal (this=0x1069600,
    clist=0x1066b00, o=0x7fffffffd950) at kernel/qobject.cpp:2355
#36 0x00000008051b8135 in QObject::activate_signal (this=0x1069600, signal=4)
    at kernel/qobject.cpp:2324
#37 0x00000008055107a5 in QButton::clicked (this=0x1069600)
    at .moc/debug-shared-mt/moc_qbutton.cpp:152
#38 0x000000080524be7a in QButton::mouseReleaseEvent (this=0x1069600,
    e=0x7fffffffdee0) at widgets/qbutton.cpp:836
#39 0x00000008051efaaa in QWidget::event (this=0x1069600, e=0x7fffffffdee0)
    at kernel/qwidget.cpp:4676
#40 0x00000008051545f6 in QApplication::internalNotify (this=0x7fffffffe740,
    receiver=0x1069600, e=0x7fffffffdee0) at kernel/qapplication.cpp:2635
#41 0x0000000805153ccc in QApplication::notify (this=0x7fffffffe740,
    receiver=0x1069600, e=0x7fffffffdee0) at kernel/qapplication.cpp:2421
#42 0x0000000804560704 in KApplication::notify (this=0x7fffffffe740,
    receiver=0x1069600, event=0x7fffffffdee0) at kapplication.cpp:549
#43 0x00000008050e52c6 in QApplication::sendSpontaneousEvent (
    receiver=0x1069600, event=0x7fffffffdee0) at qapplication.h:494
#44 0x00000008050df498 in QETWidget::translateMouseEvent (this=0x1069600,
    event=0x7fffffffe430) at kernel/qapplication_x11.cpp:4291
#45 0x00000008050dd199 in QApplication::x11ProcessEvent (this=0x7fffffffe740,
    event=0x7fffffffe430) at kernel/qapplication_x11.cpp:3442
#46 0x00000008050f8946 in QEventLoop::processEvents (this=0x618f00, flags=4)
    at kernel/qeventloop_x11.cpp:192
#47 0x00000008051694c0 in QEventLoop::enterLoop (this=0x618f00)
    at kernel/qeventloop.cpp:198
#48 0x00000008051693af in QEventLoop::exec (this=0x618f00)
    at kernel/qeventloop.cpp:145
#49 0x0000000805154732 in QApplication::exec (this=0x7fffffffe740)
    at kernel/qapplication.cpp:2758
#50 0x0000000000403799 in main (argc=-6752, argv=0x7fffffffe9b0) at main.cpp:95


#0  QGVector::size (this=0xd0d0d0d0d0d0d0d0) at qgvector.h:66
No locals.
#1  0x00000008051b9cc5 in QPtrVector<QConnectionList>::size (
    this=0xd0d0d0d0d0d0d0d0) at qptrvector.h:62
No locals.
#2  0x00000008051b9988 in QSignalVec::at (this=0xd0d0d0d0d0d0d0d0, index=3)
    at qsignalslotimp.h:83
No locals.
#3  0x00000008051b6290 in QObject::receivers (this=0x10e0000, signal=3)
    at kernel/qobject.cpp:1232
No locals.
#4  0x00000008009d8700 in KMServerTest::capabilities (this=0x10e0000,
    t0=@0x10e0068, t1=@0x10e0070, t2=@0x10e0078, t3=@0x10e0080, t4=@0x10e0088)
    at kmservertest.moc:145
        clist = (class QConnectionList *) 0x8066088d4
        o = {{type = 0x80062fdc0, payload = {b = 208, c = -48 'Ð', s = 21712,
      i = 13784272, l = 34373522640, uc = 208 'Ð', us = 21712, ui = 13784272,
      ul = 34373522640, f = 1.93158792e-38, d = 1.698277666297031e-313,
      byte = "ÐTÒ\000\b\000\000\000\001\000\000\000\000\000\000", bytearray = {
        data = 0x800d254d0 " \206\235", size = 1}, ptr = 0x800d254d0,
      voidstar = {ptr = 0x800d254d0, owner = true}, charstar = {
        ptr = 0x800d254d0 " \206\235", owner = true}, utf8 = {
        ptr = 0x800d254d0 " \206\235", owner = true}, local8bit = {
        ptr = 0x800d254d0 " \206\235", owner = true}, iface = 0x800d254d0,
     idisp = 0x800d254d0}}, {type = 0x80050ee4a, payload = {b = 160,
      c = -96 ' ', s = -31072, i = 10323616, l = 34370061984, uc = 160 ' ',
      us = 34464, ui = 10323616, ul = 34370061984, f = 1.44664672e-38,
      d = 1.6981066871728636e-313,
      byte = " \206\235\000\b\000\000\000FµP\000\b\000\000", bytearray = {
        data = 0x8009d86a0 "H\211\\$ÐH\211l$ØL\211d$àL\211l$èL\211t$ðL\211|$øH\201ìè", size = 34365027654}, ptr = 0x8009d86a0, voidstar = {ptr = 0x8009d86a0,
        owner = 70}, charstar = {
        ptr = 0x8009d86a0 "H\211\\$ÐH\211l$ØL\211d$àL\211l$èL\211t$ðL\211|$øH\201ìè", owner = 70}, utf8 = {
        ptr = 0x8009d86a0 "H\211\\$ÐH\211l$ØL\211d$àL\211l$èL\211t$ðL\211|$øH\201ìè", owner = 70}, local8bit = {
        ptr = 0x8009d86a0 "H\211\\$ÐH\211l$ØL\211d$àL\211l$èL\211t$ðL\211|$øH\201ìè", owner = 70}, iface = 0x8009d86a0, idisp = 0x8009d86a0}}, {
    type = 0x7fffffffc3a8, payload = {b = false, c = 0 '\0', s = -32256,
      i = 5407232, l = 34365145600, uc = 0 '\0', us = 33280, ui = 5407232,
      ul = 34365145600, f = 7.5771459e-39, d = 1.6978637855292472e-313,
      byte = "\000\202R\000\b\000\000\000p\000\016\001\000\000\000",
      bytearray = {data = 0x800528200 "z¸PÕ", size = 17694832},
      ptr = 0x800528200, voidstar = {ptr = 0x800528200, owner = 112},
      charstar = {ptr = 0x800528200 "z¸PÕ", owner = 112}, utf8 = {
        ptr = 0x800528200 "z¸PÕ", owner = 112}, local8bit = {
        ptr = 0x800528200 "z¸PÕ", owner = 112}, iface = 0x800528200,
      idisp = 0x800528200}}, {type = 0x10e0000, payload = {b = 104,
     c = 104 'h', s = 104, i = 17694824, l = 17694824, uc = 104 'h',
      us = 104, ui = 17694824, ul = 17694824, f = 2.60815724e-38,
      d = 8.7424046476071895e-317,
      byte = "h\000\016\001\000\000\000\000]§P\000\b\000\000", bytearray = {
        data = 0x10e0068 'Ð' <repeats 152 times>, "P¸y\004\b",
        size = 34365024093}, ptr = 0x10e0068, voidstar = {ptr = 0x10e0068,
        owner = 93}, charstar = {
        ptr = 0x10e0068 'Ð' <repeats 152 times>, "P¸y\004\b", owner = 93},
      utf8 = {ptr = 0x10e0068 'Ð' <repeats 152 times>, "P¸y\004\b",
        owner = 93}, local8bit = {
        ptr = 0x10e0068 'Ð' <repeats 152 times>, "P¸y\004\b", owner = 93},
      iface = 0x10e0068, idisp = 0x10e0068}}, {type = 0x202, payload = {
      b = false, c = 0 '\0', s = 0, i = 0, l = 0, uc = 0 '\0', us = 0, ui = 0,
      ul = 0, f = 0, d = 0,
      byte = "\000\000\000\000\000\000\000\000\210\000\016\001\000\000\000",
      bytearray = {data = 0x0, size = 17694856}, ptr = 0x0, voidstar = {
        ptr = 0x0, owner = 136}, charstar = {ptr = 0x0, owner = 136}, utf8 = {
        ptr = 0x0, owner = 136}, local8bit = {ptr = 0x0, owner = 136},
      iface = 0x0, idisp = 0x0}}, {type = 0x10e0080, payload = {b = false,
      c = 0 '\0', s = 0, i = 17694720, l = 17694720, uc = 0 '\0', us = 0,
      ui = 17694720, ul = 17694720, f = 2.60812809e-38,
      d = 8.7423532647800221e-317,
      byte = "\000\000\016\001\000\000\000\000h\000\016\001\000\000\000",
      bytearray = {data = 0x10e0000 'Ð' <repeats 200 times>...,
       size = 17694824}, ptr = 0x10e0000, voidstar = {ptr = 0x10e0000,
        owner = 104}, charstar = {ptr = 0x10e0000 'Ð' <repeats 200 times>...,
        owner = 104}, utf8 = {ptr = 0x10e0000 'Ð' <repeats 200 times>...,
        owner = 104}, local8bit = {ptr = 0x10e0000 'Ð' <repeats 200 times>...,
        owner = 104}, iface = 0x10e0000, idisp = 0x10e0000}}}
#5  0x00000008009d8476 in KMServerTest::slotSlaveResult (this=0x10e0000,
    aSlave=0x3, error=0, errorText=@0x805856c28) at kmservertest.cpp:184
No locals.
Comment 1 Lauri Watts 2005-07-26 16:09:40 UTC
Still reproducible, using trunk kmail from the 9th of July on FreeBSD 6.0 compiler is gcc 3.4.2, the backtrace with debug looks almost identical to the above (since I can reproduce on demand, let me know if you want to see it)

To reproduce:
Create a new disconnected imap account, using the KDE kolab server address and my (correct) login information, and try the Check what server supports button. Crashes immediately.  Modifying an existing account also fails.

See also FreeBSD bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=84116
Comment 2 Matt Douhan 2005-07-26 16:31:31 UTC
I have configured all my kolab accounts this way, using the check what the server supports button, and not seen a single crash, tried it today with trunk and FBSD 5.4 STABLE and it works just fine.
Comment 3 Tilman Keskinöz 2006-01-13 00:43:35 UTC
Still reproducable with KDE 3.5 / QT 3.3.5
Comment 4 Tom Albers 2007-05-21 18:39:18 UTC
The test mechanism has been replaced for KDE4. Closing this crash report.