[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: [PATCH] full namespace support
From:       Mario Teijeiro Otero <emeteo () escomposlinux ! org>
Date:       2005-05-06 10:15:02
Message-ID: 200505061215.08006.emeteo () escomposlinux ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


On Friday 06 May 2005 10:39, Carsten Burghardt wrote:
ut refer to KMFolderCachedImap instead of KMFolderImap ).
> >
> > Thanks for the test, kmail crashes when it tries to create an empty
> > namespace folder. Do you see _no_ entry in the account settings under
> > "Shared" or an empty one?
>
> ...and please attach the debug output (from the console). Thanks!

Here, It goes.

I was studing the code, with skipping with if ( !name.isEmpty ) to don't 
create the folder for namespace, and doesn't crash. But the "shared folders" 
are not created. My folders tree was like this ( before of patch applied).

[ Account name]
       [INBOX]
              [Sent]
              [Trash]
              [...]
       [Shared Folder 1]
               [ Shared SubFolder 1]
       [Shared Folder 2]
               ...

And with the patch applied only is:

[ Account name]
       [INBOX]
              [Sent]
              [Trash]
              [...]






["kmail_namespaces_bt.log" (text/x-log)]

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1252885856 (LWP 11360)]
[KCrash handler]
#4  0xffffe410 in __kernel_vsyscall ()
#5  0xb5711885 in raise () from /lib/tls/i686/cmov/libc.so.6
#6  0xb5713002 in abort () from /lib/tls/i686/cmov/libc.so.6
#7  0xb570b318 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#8  0xb7d57cf6 in KMFolderDir::createFolder (this=0x82408a8, 
    aFolderName=@0xbfffe680, aSysFldr=false, aFolderType=KMFolderTypeMbox)
    at /usr/src/kde/trunk/KDE/kdepim/kmail/kmfolderdir.cpp:101
#9  0xb7dba307 in KMFolderImap::slotCheckNamespace (this=0x822d3b0, 
    subfolderNames=@0x8518850, subfolderPaths=@0x8518854, 
    subfolderMimeTypes=@0x8518858, subfolderAttributes=@0x851885c, 
    jobData=@0x8494d98)
    at /usr/src/kde/trunk/KDE/kdepim/kmail/kmfolderimap.cpp:652
#10 0xb7dc2dec in KMFolderImap::qt_invoke (this=0x822d3b0, _id=22, 
    _o=0xbfffe7d0) at kmfolderimap.moc:315
#11 0xb5e3ebdc in QObject::activate_signal ()
   from /usr/local/qt/lib/libqt-mt.so.3
#12 0xb7ce36aa in KMail::ListJob::receivedFolders (this=0x85187d8, 
    t0=@0x8518850, t1=@0x8518854, t2=@0x8518858, t3=@0x851885c, t4=@0x8494d98)
    at listjob.moc:122
#13 0xb7ce2e9f in KMail::ListJob::slotListResult (this=0x85187d8, 
    job=0x85c5fc8) at /usr/src/kde/trunk/KDE/kdepim/kmail/listjob.cpp:173
#14 0xb7ce3771 in KMail::ListJob::qt_invoke (this=0x85187d8, _id=2, 
    _o=0xbfffe980) at listjob.moc:128
#15 0xb5e3ebdc in QObject::activate_signal ()
   from /usr/local/qt/lib/libqt-mt.so.3
#16 0xb6aba165 in KIO::Job::result (this=0x85c5fc8, t0=0x85c5fc8)
    at jobclasses.moc:156
#17 0xb6aa552a in KIO::Job::emitResult (this=0x85c5fc8)
    at /usr/src/kde/trunk/KDE/kdelibs/kio/kio/job.cpp:218
#18 0xb6aa6b72 in KIO::SimpleJob::slotFinished (this=0x85c5fc8)
    at /usr/src/kde/trunk/KDE/kdelibs/kio/kio/job.cpp:551
#19 0xb6aae142 in KIO::ListJob::slotFinished (this=0x85c5fc8)
    at /usr/src/kde/trunk/KDE/kdelibs/kio/kio/job.cpp:2056
#20 0xb6abe2b1 in KIO::ListJob::qt_invoke (this=0x85c5fc8, _id=16, 
    _o=0xbfffec10) at jobclasses.moc:1713
#21 0xb5e3ebdc in QObject::activate_signal ()
   from /usr/local/qt/lib/libqt-mt.so.3
#22 0xb5e3ea04 in QObject::activate_signal ()
   from /usr/local/qt/lib/libqt-mt.so.3
#23 0xb6a97a67 in KIO::SlaveInterface::finished (this=0x853d2b0)
    at slaveinterface.moc:226
#24 0xb6a96072 in KIO::SlaveInterface::dispatch (this=0x853d2b0, _cmd=104, 
    rawdata=@0xbfffee00)
    at /usr/src/kde/trunk/KDE/kdelibs/kio/kio/slaveinterface.cpp:243
#25 0xb6a95ce2 in KIO::SlaveInterface::dispatch (this=0x853d2b0)
    at /usr/src/kde/trunk/KDE/kdelibs/kio/kio/slaveinterface.cpp:173
#26 0xb6a93803 in KIO::Slave::gotInput (this=0x853d2b0)
    at /usr/src/kde/trunk/KDE/kdelibs/kio/kio/slave.cpp:300
#27 0xb6a951e7 in KIO::Slave::qt_invoke (this=0x853d2b0, _id=4, _o=0xbfffef20)
    at slave.moc:113
#28 0xb5e3ebdc in QObject::activate_signal ()
   from /usr/local/qt/lib/libqt-mt.so.3
#29 0xb5e3ed3d in QObject::activate_signal ()
   from /usr/local/qt/lib/libqt-mt.so.3
#30 0xb617e932 in QSocketNotifier::activated ()
   from /usr/local/qt/lib/libqt-mt.so.3
#31 0xb5e5b3c0 in QSocketNotifier::event ()
   from /usr/local/qt/lib/libqt-mt.so.3
#32 0xb5de22af in QApplication::internalNotify ()
   from /usr/local/qt/lib/libqt-mt.so.3
#33 0xb5de18ae in QApplication::notify () from /usr/local/qt/lib/libqt-mt.so.3
#34 0xb6469b74 in KApplication::notify (this=0xbffff570, receiver=0x8569528, 
    event=0xbffff240)
    at /usr/src/kde/trunk/KDE/kdelibs/kdecore/kapplication.cpp:549
#35 0xb5dd1caa in QEventLoop::activateSocketNotifiers ()
   from /usr/local/qt/lib/libqt-mt.so.3
#36 0xb5d8acc3 in QEventLoop::processEvents ()
   from /usr/local/qt/lib/libqt-mt.so.3
#37 0xb5df46c8 in QEventLoop::enterLoop () from /usr/local/qt/lib/libqt-mt.so.3
#38 0xb5df4578 in QEventLoop::exec () from /usr/local/qt/lib/libqt-mt.so.3
#39 0xb5de2501 in QApplication::exec () from /usr/local/qt/lib/libqt-mt.so.3
#40 0x0804aa44 in main (argc=2, argv=0xbffff724)
    at /usr/src/kde/trunk/KDE/kdepim/kmail/main.cpp:110

["kmail_namespaces_debug.log" (text/x-log)]

kmail: KMKernel::KMKernel
kmail: No Qt-native utf-7 codec found; registering QUtf7Codec from libkdenetwork
kmail: [void KMKernel::init()] foldersPath (from config): '/home/emeteo/Mail'
kmail: instantating KPIM::IdentityManager
kmail: Identity::readConfig(): UOID = 376966409 for identity named "Default"
kmail: Identity::readConfig(): UOID = 1845036049 for identity named "iOn Systems"
kmail: pPopFilter set
kmail: [void KMailICalIfaceImpl::readConfig()] mCalendar=0x825d950 \
/home/emeteo/.kde/share/apps/kmail/dimap/.1433895594.directory/.INBOX.directory/Calendar
                
kmail: [void KMailICalIfaceImpl::readConfig()] mContacts=0x8262f50 \
/home/emeteo/.kde/share/apps/kmail/dimap/.1433895594.directory/.INBOX.directory/Contacts
                
kmail: [void KMailICalIfaceImpl::readConfig()] mNotes=0x82655e0 \
                /home/emeteo/.kde/share/apps/kmail/dimap/.1433895594.directory/.INBOX.directory/Notes
                
kmail: KMailApplication::newInstance()
kmail: KMKernel::openReader called
kmail: Initting systray
kmail: Setting systray mMode to 0
kmail: slotListNamespaces - waiting for connection
kmail: slotListNamespaces
kmail: 3 namespaces fetched
kmail: slotSaveNamespaces GED Uvigo
kmail: processNextCheck, remaining 1
kmail: for host 193.146.33.69 current connections=0 and limit is 0
kmail: connection limit reached: false
kmail: processing next mail check for GED Uvigo
kmail: check mail started - connections for host 193.146.33.69 now is 1
kmail: [virtual void KMSender::cleanup()] 
kmail: processNextCheck, remaining 0
kmail: account GED Uvigo finished check
kmail: connections to server 193.146.33.69 now 0
kmail: getNamespaces - wait for connection
kmail: 3 namespaces fetched
kmail: slotListNamespaces - waiting for connection
kmail: slotListNamespaces
kmail: start listjob for /INBOX./;TYPE=LIST
kmail: start listjob for /user./;TYPE=LIST
kmail: start listjob for /;TYPE=LIST
kmail: slotListNamespaces
kmail: start listjob for /INBOX./;TYPE=LIST
kmail: start listjob for /user./;TYPE=LIST
kmail: start listjob for /;TYPE=LIST
kmail: KMFolderImap::slotListResult - pass listing to inbox
kmail: start listjob for /INBOX.test/;TYPE=LIST
kmail: slotCheckNamespace - 
kmail: slotCheckNamespace - INBOX
kmail: create namespace folder 
kmail: /usr/src/kde/trunk/KDE/kdepim/kmail/kmfolderdir.cpp:101: virtual KMFolder* \
KMFolderDir::createFolder(const QString&, bool, KMFolderType): La declaración \
                `!aFolderName.isEmpty()' no se cumple.
*** KMail got signal 6 (Crashing)
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kmail path = <unknown> pid = 11360


["tree_namespaces.png" (image/png)]
[Attachment #10 (application/pgp-signature)]

_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic