Bug 182942 - Konqueror crashes when I click on a bookmark
Summary: Konqueror crashes when I click on a bookmark
Status: RESOLVED DUPLICATE of bug 174737
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 4.1.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 01:35 UTC by Jean-Philippe Fleury
Modified: 2010-06-09 14:48 UTC (History)
2 users (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 Jean-Philippe Fleury 2009-02-03 01:35:56 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

I'm able to always reproduce the bug:

1. In a terminal:

$ export LANG=en_EN.utf8
$ konqueror

I have this output in the terminal:

konqueror(23598) KLocalePrivate::initEncoding: Cannot resolve system encoding, defaulting to ISO 8859-1.

2. With Konqueror, visit http://www.alsacreations.com/

3. Add a bookmark: Bookmarks > Add Bookmark. The bookmark name is:

Alsacréations : XHTML, CSS et Standards web

Remark the accent é in the name.

4. Close Konqueror.

5. In the terminal, reopen Konqueror:

$ konqueror

6. Go to Bookmarks and remark the name of the previous bookmark:

Alsacr�ations : XHTML, CSS et Standards web

The name is bad encoded.

7. Remove this bookmark: Bookmarks > right click on the bookmark > Delete Bookmark > Delete.

8. Visit again http://www.alsacreations.com/

9. Add again a bookmark: Bookmarks > Add Bookmark. The bookmark name is now ok:

Alsacréations : XHTML, CSS et Standards web

10. Click on the bookmark.

Konqueror crashes.
Comment 1 Jean-Philippe Fleury 2009-02-03 01:36:26 UTC
The backtrace:

Application : Konqueror (konqueror), signal SIGABRT
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb603fa60 (LWP 24717)]
[KCrash handler]
#6  0xb8038430 in __kernel_vsyscall ()
#7  0xb7df6880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb7df8248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7361795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7361872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7361915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7c64310 in KBookmark::address (this=0x90f4dd8)
    at /build/buildd/kde4libs-4.1.3/kio/bookmarks/kbookmark.cc:456
#13 0xb7c644a4 in KBookmark::updateAccessMetadata (this=0x90f4dd8)
    at /build/buildd/kde4libs-4.1.3/kio/bookmarks/kbookmark.cc:513
#14 0xb7c69de5 in KBookmarkManager::updateAccessMetadata (this=0x8152620, 
    url=@0xbff397d8)
    at /build/buildd/kde4libs-4.1.3/kio/bookmarks/kbookmarkmanager.cc:616
#15 0xb7dc1eed in KonqHistoryManager::slotNotifyHistoryEntry ()
   from /usr/lib/libkonquerorprivate.so.4
#16 0xb7dc37eb in KonqHistoryManager::qt_metacall ()
   from /usr/lib/libkonquerorprivate.so.4
#17 0xb718b26e in ?? () from /usr/lib/libQtDBus.so.4
#18 0xb7192627 in ?? () from /usr/lib/libQtDBus.so.4
#19 0xb7469771 in QObject::event () from /usr/lib/libQtCore.so.4
#20 0xb695c8ec in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#21 0xb696472e in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0xb7928b2d in KApplication::notify (this=0xbff3a264, receiver=0x8151640, 
    event=0x9315c98)
    at /build/buildd/kde4libs-4.1.3/kdeui/kernel/kapplication.cpp:311
#23 0xb7459e61 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#24 0xb745aae5 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#25 0xb745acdd in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#26 0xb748482f in ?? () from /usr/lib/libQtCore.so.4
#27 0xb63d06f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb63d3da3 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0xb63d3f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb7484478 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#31 0xb69f6ea5 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb745852a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#33 0xb74586ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#34 0xb745ada5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#35 0xb695c767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#36 0xb7fee2ed in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#37 0x080485b2 in _start ()
#0  0xb8038430 in __kernel_vsyscall ()
Comment 2 Oliver Putz 2009-02-04 10:10:12 UTC
I can reproduce this crash (with slight modifications) on KDE-4.2.0

First of all: It does not seem to be a problem with the encoding or the page. (I get the utf8 names encoded right and can make konqueror crash with other pages as well)

So I think a more general crashing pattern is the following:

1) Go to some webpage
2) Add a bookmark for that webpage
3) Close konqueror
4) Open konqueror again
5) remove that bookmark
6) Visit the site you bookmarked and visited in steps 1 & 2

Backtrace I get is:

Application: Konqueror (konqueror), signal SIGABRT
0x00007f44328c2ca1 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c
[Current thread is 0 (LWP 30357)]

Thread 2 (Thread 0x412ad950 (LWP 30362)):
#0  0x00007f443500b02d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f443527d907 in QWaitCondition::wait (this=0xbf64c8, mutex=0xbf64c0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f4435272382 in QThreadPoolThread::run (this=0xb7e710) at concurrent/qthreadpool.cpp:141
#3  0x00007f443527c7a2 in QThreadPrivate::start (arg=0xb7e710) at thread/qthread_unix.cpp:191
#4  0x00007f4435007037 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f44328f2fdd in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4437c24700 (LWP 30357)):
[KCrash Handler]
#5  0x00007f4432855235 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f4432856753 in *__GI_abort () at abort.c:88
#7  0x00007f44352738a5 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2108
#8  0x00007f44352739e7 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2309
#9  0x00007f4436b8e975 in KBookmark::address (this=0xa5dec0) at /var/tmp/portage/kde-base/kdelibs-4.2.0-r1/work/kdelibs-4.2.0/kio/bookmarks/kbookmark.cc:456
#10 0x00007f4436b8ea97 in KBookmark::updateAccessMetadata (this=0xa5dec0) at /var/tmp/portage/kde-base/kdelibs-4.2.0-r1/work/kdelibs-4.2.0/kio/bookmarks/kbookmark.cc:513
#11 0x00007f4436b90cf8 in KBookmarkManager::updateAccessMetadata (this=0x72e600, url=@0x7fff3fc64440)
    at /var/tmp/portage/kde-base/kdelibs-4.2.0-r1/work/kdelibs-4.2.0/kio/bookmarks/kbookmarkmanager.cc:617
#12 0x00007f44375674db in KonqHistoryManager::slotNotifyHistoryEntry (this=0x72ec30, data=<value optimized out>, msg=@0x93aa28)
    at /var/tmp/portage/kde-base/konqueror-4.2.0/work/konqueror-4.2.0/apps/konqueror/src/konqhistorymanager.cpp:485
#13 0x00007f443756767c in KonqHistoryManager::qt_metacall (this=0x72ec30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff3fc64580)
    at /var/tmp/portage/kde-base/konqueror-4.2.0/work/konqueror_build/apps/konqueror/src/konqhistorymanager.moc:117
#14 0x00007f4435684713 in QDBusConnectionPrivate::deliverCall (this=0x6887f0, object=0x72ec30, msg=@0x93aa28, metaTypes=@0x93aa30, slotIdx=19) at qdbusintegrator.cpp:855
#15 0x00007f443568c19f in QDBusCallDeliveryEvent::placeMetaCall (this=0x0, object=0x7695) at qdbusintegrator_p.h:136
#16 0x00007f4435380ddd in QObject::event (this=0x72ec30, e=0x93a9e0) at kernel/qobject.cpp:1152
#17 0x00007f443462c68d in QApplicationPrivate::notify_helper (this=0x61a880, receiver=0x72ec30, e=0x93a9e0) at kernel/qapplication.cpp:3809
#18 0x00007f443463366e in QApplication::notify (this=0x7fff3fc65320, receiver=0x72ec30, e=0x93a9e0) at kernel/qapplication.cpp:3774
#19 0x00007f44361132a8 in KApplication::notify (this=0x7fff3fc65320, receiver=0x72ec30, event=0x93a9e0)
    at /var/tmp/portage/kde-base/kdelibs-4.2.0-r1/work/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307
#20 0x00007f44353709d0 in QCoreApplication::notifyInternal (this=0x7fff3fc65320, receiver=0x72ec30, event=0x93a9e0) at kernel/qcoreapplication.cpp:593
#21 0x00007f44353719bb in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x603a60) at kernel/qcoreapplication.h:215
#22 0x00007f443539c033 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:220
#23 0x00007f443105b2f7 in IA__g_main_context_dispatch (context=0x61c9b0) at gmain.c:2012
#24 0x00007f443105d1b7 in g_main_context_iterate (context=0x61c9b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2645
#25 0x00007f443105d29d in IA__g_main_context_iteration (context=0x61c9b0, may_block=1) at gmain.c:2708
#26 0x00007f443539bd5f in QEventDispatcherGlib::processEvents (this=0x6161f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#27 0x00007f44346c242f in QGuiEventDispatcherGlib::processEvents (this=0x7695, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f443536f582 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1069961392}) at kernel/qeventloop.cpp:149
#29 0x00007f443536f70d in QEventLoop::exec (this=0x7fff3fc650f0, flags={i = 1069961472}) at kernel/qeventloop.cpp:200
#30 0x00007f4435371ccd in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#31 0x00007f443780ead4 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/konqueror-4.2.0/work/konqueror-4.2.0/apps/konqueror/src/konqmain.cpp:257
#32 0x00007f4432841486 in __libc_start_main (main=0x4009ac <main>, argc=1, ubp_av=0x7fff3fc65dd8, init=0x4009d0 <__libc_csu_init>, fini=<value optimized out>, rtld_fini=<value optimized out>, 
    stack_end=0x7fff3fc65dc8) at libc-start.c:226
#33 0x00000000004008e9 in _start ()
Current language:  auto; currently asm
#0  0x00007f44328c2ca1 in nanosleep () from /lib/libc.so.6
Current language:  auto; currently c
Comment 3 Nicolas L. 2010-06-09 14:48:22 UTC

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