Bug 181328

Summary: SIGSEGV when klicking too early after kmail startup
Product: [Unmaintained] kmail Reporter: Bernhard Derks <bderks>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, christophe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernhard Derks 2009-01-19 18:45:04 UTC
Version:           4.1.96 (using Devel)
Compiler:          x86_64-pc-linux-gnu-g++ 4.2.4 (Gentoo 4.2.4-r1 p1.1) -O2 -march=k8 -pipe  
OS:                Linux
Installed from:    Compiled sources

kmail crashes when doing some klicks in kmail-window immediately after start

So i have to wait ~20 sec, then i can do any klickedick i want.


Bugreport shows:
Anwendung: KMail (kmail), Signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007ffce3fdad71 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 26527)]

Thread 3 (Thread 0x7ffcd3a69950 (LWP 26674)):
#0  0x00007ffce5a77c0d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffce5ce5bf7 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffce5cdbb8c in QThreadPoolThread::run () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007ffce5ce4d12 in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffce5a73067 in start_thread () from /lib/libpthread.so.0
#5  0x00007ffce400831d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffcd302e950 (LWP 26676)):
#0  0x00007ffce5a77c0d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007ffce5ce5bf7 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007ffce5cdbb8c in QThreadPoolThread::run () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007ffce5ce4d12 in QThreadPrivate::start () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffce5a73067 in start_thread () from /lib/libpthread.so.0
#5  0x00007ffce400831d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffcea20d760 (LWP 26527)):
[KCrash Handler]
#5  0x00007ffcdf707940 in DwHeaders::FindField () from /usr/kde/4.2/lib64/libmimelib.so.4
#6  0x00007ffce8ddc710 in KMMessage::rawHeaderField () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#7  0x00007ffce8de496d in KMMessage::from () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#8  0x00007ffce9020a44 in KMail::FancyHeaderStyle::format () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#9  0x00007ffce8ec9d14 in KMReaderWin::writeMsgHeader () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#10 0x00007ffce8ecf6fd in KMReaderWin::parseMsg () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#11 0x00007ffce8ec77f5 in KMReaderWin::displayMessage () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#12 0x00007ffce8ec7a74 in KMReaderWin::updateReaderWin () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#13 0x00007ffce8eceb3a in KMReaderWin::qt_metacall () from /usr/kde/4.2/lib64/libkmailprivate.so.4
#14 0x00007ffce5dda529 in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007ffce5dd4ea5 in QObject::event () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007ffce4bb264f in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007ffce4bb3ee5 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007ffce9c6b64b in KApplication::notify () from /usr/kde/4.2/lib64/libkdeui.so.5
#19 0x00007ffce5dc6448 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007ffce5df0419 in QTimerInfoList::activateTimers () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007ffce5df0e58 in QEventDispatcherUNIX::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007ffce4c391f6 in QEventDispatcherX11::processEvents () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007ffce5dc57b5 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007ffce5dc590a in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007ffce5dc7759 in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#26 0x0000000000402fca in main ()
#27 0x00007ffce3f605d4 in __libc_start_main () from /lib/libc.so.6
#28 0x0000000000402399 in _start ()

paludis --info:
paludis 0.34.0_alpha2                                                                                                               
Paludis build information:                                                                                                          
    Compiler:                                                                                                                       
        CXX:                   x86_64-pc-linux-gnu-g++ 4.2.4 (Gentoo 4.2.4-r1 p1.1)                                                 
        CXXFLAGS:               -O2 -march=k8 -pipe                                                                                 
        LDFLAGS:               -Wl,-O1                                                                                              
        DATE:                  2009-01-18T15:24:14+0100                                                                             

    Libraries:
        C++ Library:           GNU libstdc++ 20080519

    Reduced Privs:
        reduced_uid:           110
        reduced_uid->name:     paludisbuild
        reduced_uid->dir:      /var/tmp/paludis
        reduced_gid:           1005            
        reduced_gid->name:     paludisbuild    

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib64
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc        
        PYTHONINSTALLDIR:                  
        RUBYINSTALLDIR:        /usr/lib64/ruby/site_ruby/1.8/x86_64-linux

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/db/portage/world

Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       3.2_p39    
        dev-java/java-config:  1.3.7-r1 2.1.6-r1
        dev-lang/python:       2.4.4-r15 2.5.2-r8
        dev-python/pycrypto:   2.0.1-r6          
        dev-util/ccache:       (none)            
        dev-util/cmake:        2.6.2-r1          
        dev-util/confcache:    (none)            
        sys-apps/baselayout:   2.0.0             
        sys-apps/openrc:       0.3.0-r1          
        sys-apps/sandbox:      1.3.2             
        sys-devel/autoconf:    2.13 2.63         
        sys-devel/automake:    1.10.2 1.4_p6 1.5 1.7.9-r1 1.8.5-r3 1.9.6-r2
        sys-devel/binutils:    2.18-r3                                     
        sys-devel/gcc-config:  1.4.0-r4                                    
        sys-devel/libtool:     1.5.26                                      
        virtual/os-headers:    2.6.27-r2 (for sys-kernel/linux-headers::installed)



Package kde-base/kmail-4.1.96:4.2::kde:

        >>> Running ebuild phase killoldmisc as paludisbuild:paludisbuild...
        >>> Starting builtin_killoldmisc                                    
        >>> Done builtin_killoldmisc                                        
        >>> Completed ebuild phase killoldmisc                              
        >>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc                                              
        >>> Done builtin_initmisc                                                  
        >>> Starting builtin_infovars                                              
        ACCEPT_KEYWORDS=amd64                                                      
        CBUILD=x86_64-pc-linux-gnu                                                 
        CFLAGS=-O2 -march=k8 -pipe                                                 
        CHOST=x86_64-pc-linux-gnu                                                  
        CONFIG_PROTECT=                                                            
        CONFIG_PROTECT_MASK=                                                       
        CPPFLAGS=                                                                  
        CTARGET=                                                                   
        CXXFLAGS=-O2 -march=k8 -pipe                                               
        DISTDIR=/usr/portage/distfiles                                             
        FEATURES=strict sfperms                                                    
        FFLAGS=                                                                    
        GENTOO_MIRRORS=                                                            
        INSTALL_MASK=                                                              
        LANG=                                                                      
        LC_ALL=C                                                                   
        LDFLAGS=-Wl,-O1                                                            
        LINGUAS=de                                                                 
        MAKEOPTS=-j3                                                               
        PORTAGE_COMPRESS=                                                          
        PORTAGE_COMPRESS_FLAGS=                                                    
        PORTAGE_RSYNC_EXTRA_OPTS=                                                  
        PORTAGE_RSYNC_OPTS=                                                        
        PORTAGE_TMPDIR=/var/tmp/paludis                                            
        PORTDIR=/usr/portage                                                       
        PORTDIR_OVERLAY=                                                           
        SYNC=                                                                      
        USE=kdeprefix kontact semantic-desktop amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_auth_digest apache2_modules_authn_anon apache2_modules_authn_dbd apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_dbd apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_ident apache2_modules_imagemap apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_proxy apache2_modules_proxy_ajp apache2_modules_proxy_balancer apache2_modules_proxy_connect apache2_modules_proxy_http apache2_modules_rewrite apache2_modules_setenvif apache2_modules_so apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias elibc_glibc input_devices_keyboard input_devices_mouse input_devices_vmmouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_de userland_GNU video_cards_fbdev video_cards_glint video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vmware amd64
        >>> Done builtin_infovars
        >>> Completed ebuild phases initmisc infovars
        >>> Running ebuild phase tidyupmisc as paludisbuild:paludisbuild...
        >>> Starting builtin_tidyupmisc
        rm -fr /var/tmp/paludis/kde-base-kmail-4.1.96-misc
        >>> Done builtin_tidyupmisc
        >>> Completed ebuild phase tidyupmisc
Comment 1 Dario Andres 2009-01-19 21:32:31 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 2 Dario Andres 2009-02-06 12:21:12 UTC
Bug 183404 may be related to this (similar backtracce)
Comment 3 Christophe Marin 2009-03-09 10:39:02 UTC
No useful backtrace was provided for this bug report (see comment #1). Changing its status.
Comment 4 Christophe Marin 2009-10-23 10:17:50 UTC

*** This bug has been marked as a duplicate of bug 193891 ***