Bug 154956

Summary: Changing the file type of an icon fails and crashes KEditFileType
Product: [Applications] systemsettings Reporter: Jeffrey Coleman <Maguscrowley>
Component: kcm_filetypesAssignee: Marie Loise Nolden <nolden>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Backtrace

Description Jeffrey Coleman 2008-01-02 05:49:15 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.2 Target: i686-pc-linux-gnu
Configured with: /home/build/portage/sys-devel/gcc-4.2.2/work/gcc-4.2.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.2.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.2.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.2.2 (Gentoo 4.2.2 p1.0)
OS:                Linux

Add a icon to the desktop and click the create new file type. Kedit filetype is called then crashes.

Backtrace:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5ed66d0 (LWP 5978)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb63798a1 in raise () from /lib/libc.so.6
#8  0xb637b088 in abort () from /lib/libc.so.6
#9  0xb7e417d7 in qt_message_output () from /usr/lib/qt4/libQtCore.so.4
#10 0xb7e418b9 in qFatal () from /usr/lib/qt4/libQtCore.so.4
#11 0xb7e41b05 in qt_assert () from /usr/lib/qt4/libQtCore.so.4
#12 0x080531ac in KSharedPtr<KMimeType>::operator-> (this=0x818a6f8)
    at /usr/kde/svn/include/ksharedptr.h:114
#13 0x0805d87d in MimeTypeData (this=0x818a6f8, mime=@0xbff9a978, newItem=64)
    at /home/build/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/settings/filetypes/mimetypedata.cpp:53
#14 0x08051e04 in FileTypeDialog::init (this=0xbff9aa18, mime=@0xbff9a9ac, 
    newItem=false)
    at /home/build/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/settings/filetypes/keditfiletype.cpp:60
#15 0x08051fb1 in FileTypeDialog (this=0xbff9aa18, mime=@0xbff9aa68, 
    newItem=false)
    at /home/build/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/settings/filetypes/keditfiletype.cpp:54
#16 0x08052885 in main (argc=4, argv=0xbff9abe4)
    at /home/build/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/settings/filetypes/keditfiletype.cpp:168
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Jeffrey Coleman 2008-01-02 05:52:31 UTC
Created attachment 22793 [details]
Backtrace
Comment 2 David Faure 2008-01-22 17:26:51 UTC

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