Bug 216404 - kile crash while opening non utf8 document
Summary: kile crash while opening non utf8 document
Status: RESOLVED DUPLICATE of bug 196207
Alias: None
Product: kile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-27 18:07 UTC by Werner-Ruebke
Modified: 2009-12-27 01:30 UTC (History)
1 user (show)

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 Werner-Ruebke 2009-11-27 18:07:10 UTC
Application that crashed: kile
Version of the application: 2.0.83
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I saved a .tex file in windows-1258 encoding. When I tried to open it, this crash occured after the message concerning non-utf8 encoding.

I already tried it again and it worked fine, so I don't know, wheather this bug will occur again.

Perhaps this is only another version of Bug 215130, which troubles me also sometimes but not always, but it could be a total different problem as well, since this happend on startup, while the other occured after closing.

 -- Backtrace:
Application: Kile (kile), signal: Aborted
[Current thread is 1 (Thread 0xb7895700 (LWP 1972))]

Thread 2 (Thread 0xb619cb70 (LWP 1978)):
#0  0x00706422 in __kernel_vsyscall ()
#1  0x01c9fae3 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x01c36f07 in _L_lock_9496 () from /lib/tls/i686/cmov/libc.so.6
#3  0x01c35796 in *__GI___libc_free (mem=0x9d69130) at malloc.c:3714
#4  0x0559e186 in g_free () from /lib/libglib-2.0.so.0
#5  0x0756fc28 in ~QEventDispatcherGlib (this=0x9d74520, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:309
#6  0x07453fb8 in QThreadPrivate::finish (arg=0x9bdba20) at thread/qthread_unix.cpp:212
#7  0x07453e3a in ~__pthread_cleanup_class (arg=0x9bdba20) at /usr/include/pthread.h:535
#8  QThreadPrivate::start (arg=0x9bdba20) at thread/qthread_unix.cpp:190
#9  0x06f5180e in start_thread (arg=0xb619cb70) at pthread_create.c:300
#10 0x01c927ee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7895700 (LWP 1972)):
[KCrash Handler]
#6  0x00706422 in __kernel_vsyscall ()
#7  0x01bf04d1 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x01bf3932 in *__GI_abort () at abort.c:92
#9  0x01c26ee5 in __libc_message (do_abort=2, fmt=0x1cea438 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#10 0x01c30ff1 in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x9f05528) at malloc.c:6217
#11 0x01c326f2 in _int_free (av=<value optimized out>, p=<value optimized out>) at malloc.c:4750
#12 0x01c3579d in *__GI___libc_free (mem=0x9f05528) at malloc.c:3716
#13 0x0744e68d in qFree (ptr=0x9f05528) at global/qmalloc.cpp:60
#14 0x0132a2c0 in QList<QAction*>::free (this=0xbfde4e44) at ../../include/QtCore/../../src/corelib/tools/qlist.h:562
#15 QList<QAction*>::detach_helper (this=0xbfde4e44) at ../../include/QtCore/../../src/corelib/tools/qlist.h:527
#16 0x0132980b in QList (this=0xa271e90) at ../../include/QtCore/../../src/corelib/tools/qlist.h:111
#17 QActionGroup::actions (this=0xa271e90) at kernel/qactiongroup.cpp:252
#18 0x00f6f27b in KRecentFilesAction::addUrl (this=0xa271ba0, _url=..., name=...) at ../../kdeui/actions/krecentfilesaction.cpp:137
#19 0x081cbe07 in Kile::addRecentFile (this=0xbfde5cf0, url=...) at /build/buildd/kile-2.1.0~svn1014763beta2/src/kile.cpp:2694
#20 0x081ec241 in Kile::qt_metacall (this=0xbfde5cf0, _c=QMetaObject::InvokeMetaMethod, _id=82, _a=0xbfde4fc8) at /build/buildd/kile-2.1.0~svn1014763beta2/obj-i486-linux-gnu/src/kile.moc:305
#21 0x0755a263 in QMetaObject::activate (sender=0x9d525e0, from_signal_index=13, to_signal_index=13, argv=0xbfde4fc8) at kernel/qobject.cpp:3113
#22 0x0755aec2 in QMetaObject::activate (sender=0x9d525e0, m=0x83e33a0, local_signal_index=9, argv=0xbfde4fc8) at kernel/qobject.cpp:3187
#23 0x082c70e5 in KileDocument::Manager::addToRecentFiles (this=0x9d525e0, _t1=...) at /build/buildd/kile-2.1.0~svn1014763beta2/obj-i486-linux-gnu/src/kiledocmanager.moc:413
#24 0x082c9856 in KileDocument::Manager::createDocument (this=0x9d525e0, url=..., docinfo=0xab3bc60, encoding=..., highlight=...)
    at /build/buildd/kile-2.1.0~svn1014763beta2/src/kiledocmanager.cpp:468
#25 0x082c99bb in KileDocument::Manager::loadText (this=0x9d525e0, type=KileDocument::LaTeX, url=..., encoding=..., create=true, highlight=..., text=..., index=-1, baseDirectory=...)
    at /build/buildd/kile-2.1.0~svn1014763beta2/src/kiledocmanager.cpp:537
#26 0x082c9b52 in KileDocument::Manager::fileOpen (this=0x9d525e0, url=..., encoding=..., index=-1) at /build/buildd/kile-2.1.0~svn1014763beta2/src/kiledocmanager.cpp:862
#27 0x082c9d49 in KileDocument::Manager::fileSelected (this=0x9d525e0, url=...) at /build/buildd/kile-2.1.0~svn1014763beta2/src/kiledocmanager.cpp:736
#28 0x0810f77e in Kile::openDocument (this=0xbfde5cf0, url=...) at /build/buildd/kile-2.1.0~svn1014763beta2/src/kile.cpp:1330
#29 0x083399c8 in MainAdaptor::openDocument (this=0x9e24138, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfde530c)
    at /build/buildd/kile-2.1.0~svn1014763beta2/obj-i486-linux-gnu/src/mainadaptor.cpp:51
#30 MainAdaptor::qt_metacall (this=0x9e24138, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfde530c) at /build/buildd/kile-2.1.0~svn1014763beta2/obj-i486-linux-gnu/src/mainadaptor.moc:100
#31 0x061017b4 in QDBusConnectionPrivate::deliverCall (this=0x9bd3c10, object=0x9e24138, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:891
#32 0x0610295d in QDBusConnectionPrivate::activateCall (this=0x9bd3c10, object=0x9e24138, flags=273, msg=...) at qdbusintegrator.cpp:796
#33 0x06103234 in QDBusConnectionPrivate::activateObject (this=0x9bd3c10, node=..., msg=..., pathStartPos=5) at qdbusintegrator.cpp:1347
#34 0x061034da in QDBusActivateObjectEvent::placeMetaCall (this=0xa7afc70) at qdbusintegrator.cpp:1464
#35 0x075545fe in QObject::event (this=0xbfde5cf0, e=0xa7afc70) at kernel/qobject.cpp:1111
#36 0x07543ffb in QCoreApplication::event (this=0xbfde5cf0, e=0xa7afc70) at kernel/qcoreapplication.cpp:1434
#37 0x013309a6 in QApplication::event (this=0xbfde5cf0, e=0xa7afc70) at kernel/qapplication.cpp:2317
#38 0x0132af54 in QApplicationPrivate::notify_helper (this=0x9bd8b10, receiver=0xbfde5cf0, e=0xa7afc70) at kernel/qapplication.cpp:4056
#39 0x0133267c in QApplication::notify (this=0xbfde5cf0, receiver=0xbfde5cf0, e=0xa7afc70) at kernel/qapplication.cpp:3603
#40 0x0104abfa in KApplication::notify (this=0xbfde5cf0, receiver=0xbfde5cf0, event=0xa7afc70) at ../../kdeui/kernel/kapplication.cpp:302
#41 0x075446cb in QCoreApplication::notifyInternal (this=0xbfde5cf0, receiver=0xbfde5cf0, event=0xa7afc70) at kernel/qcoreapplication.cpp:610
#42 0x075452b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9bbb0c8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9bbb0c8) at kernel/qcoreapplication.cpp:1247
#44 0x0754547d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#45 0x0756f3ff in QCoreApplication::sendPostedEvents (s=0x9bda390) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#46 postEventSourceDispatch (s=0x9bda390) at kernel/qeventdispatcher_glib.cpp:210
#47 0x05595e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x05599720 in ?? () from /lib/libglib-2.0.so.0
#49 0x05599853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x0756f02c in QEventDispatcherGlib::processEvents (this=0x9bbacc8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#51 0x013cbbe5 in QGuiEventDispatcherGlib::processEvents (this=0x9bbacc8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#52 0x07542c79 in QEventLoop::processEvents (this=0xbfde5c44, flags=) at kernel/qeventloop.cpp:149
#53 0x075430ca in QEventLoop::exec (this=0xbfde5c44, flags=...) at kernel/qeventloop.cpp:201
#54 0x0754553f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#55 0x0132add7 in QApplication::exec () at kernel/qapplication.cpp:3525
#56 0x081ee3f3 in main (argc=2, argv=0xbfde6314) at /build/buildd/kile-2.1.0~svn1014763beta2/src/main.cpp:167

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-19 16:13:34 UTC
"malloc_printer" could be related to bug 196207.
If you can reproduce this crash all the times, can you try running Kile using the command "MALLOC_CHECK=   kile" from Konsole and checking if it also crashes ? 
Thanks
Comment 2 Pino Toscano 2009-12-27 01:30:49 UTC

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