Bug 169798 - konqueror misplaces text in SVG file
Summary: konqueror misplaces text in SVG file
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml svg (show other bugs)
Version: SVN
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-08-25 17:25 UTC by dc
Modified: 2021-03-21 00:24 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot showing the (hopefully correct) rendering of the image that I got in 4.1 and SVN trunk (7.17 KB, image/png)
2008-08-30 00:13 UTC, Frank Reininghaus
Details
Actual graphic (70.79 KB, image/svg+xml)
2009-05-07 03:58 UTC, A. Spehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dc 2008-08-25 17:25:51 UTC
Version:           4.1.00 (KDE 4.1.0) (using 4.1.00 (KDE 4.1.0), Kubuntu packages)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-21-generic

Konqueror hangs while displaying a SVG file.

http://perso.f-hauri.ch/~felix/svg/cpu_00.svg

While trying to kill just the "related" tab, konqueror crashes with the following output

Application: Konqueror (konqueror), signal SIGABRT
(no debugging symbols found)                      
[Thread debugging using libthread_db enabled]     
[New Thread 0xb74c8940 (LWP 25165)]               
[New Thread 0xb50eab90 (LWP 32724)]               
(no debugging symbols found)                      
[KCrash handler]                                  
#6  0xb7f69410 in __kernel_vsyscall ()            
#7  0x4b5a4085 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0x4b5a5a01 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0x4b59d10e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb567c910 in KJS::Interpreter::~Interpreter ()                 
   from /usr/lib/kde4/lib/libkjs.so.4                               
#11 0xb59ba02b in ?? () from /usr/lib/kde4/lib/libkhtml.so.5        
#12 0xb5a0741d in ?? () from /usr/lib/kde4/lib/libkhtml.so.5        
#13 0xb5807630 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5        
#14 0xb580031d in KHTMLPart::~KHTMLPart ()                          
   from /usr/lib/kde4/lib/libkhtml.so.5                             
#15 0xb7ed41da in KonqView::~KonqView ()                            
   from /usr/lib/kde4/lib/libkdeinit4_konqueror.so                  
#16 0xb7ede00e in KonqViewManager::removeTab ()                     
   from /usr/lib/kde4/lib/libkdeinit4_konqueror.so                  
#17 0xb7f16ab4 in KonqMainWindow::slotRemoveTab ()                  
   from /usr/lib/kde4/lib/libkdeinit4_konqueror.so                  
#18 0xb7f17485 in KonqMainWindow::closeEvent ()                     
   from /usr/lib/kde4/lib/libkdeinit4_konqueror.so                  
#19 0x4c3cb148 in QWidget::event () from /usr/lib/libQtGui.so.4     
#20 0x4c71d8e5 in QMainWindow::event () from /usr/lib/libQtGui.so.4 
#21 0xb7b16de3 in KMainWindow::event () from /usr/lib/kde4/lib/libkdeui.so.5
#22 0xb7b5263c in KXmlGuiWindow::event () from /usr/lib/kde4/lib/libkdeui.so.5
#23 0xb7f050a1 in KonqMainWindow::event ()                                    
   from /usr/lib/kde4/lib/libkdeinit4_konqueror.so                            
#24 0x4c373d0c in QApplicationPrivate::notify_helper ()                       
   from /usr/lib/libQtGui.so.4                                                
#25 0x4c378998 in QApplication::notify () from /usr/lib/libQtGui.so.4         
#26 0xb7a5ef53 in KApplication::notify () from /usr/lib/kde4/lib/libkdeui.so.5
#27 0x4bf51d69 in QCoreApplication::notifyInternal ()                         
   from /usr/lib/libQtCore.so.4                                               
#28 0x4c3c3a67 in QWidgetPrivate::close_helper () from /usr/lib/libQtGui.so.4 
#29 0x4c3cf588 in ?? () from /usr/lib/libQtGui.so.4                           
#30 0x4c3d0705 in QApplication::x11ClientMessage ()                           
   from /usr/lib/libQtGui.so.4                                                
#31 0x4c3dee65 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#32 0x4c4074ba in ?? () from /usr/lib/libQtGui.so.4                           
#33 0xb753cdd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0   
#34 0xb7540193 in ?? () from /usr/lib/libglib-2.0.so.0                        
#35 0xb754074e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0  
#36 0x4bf7d658 in QEventDispatcherGlib::processEvents ()                      
   from /usr/lib/libQtCore.so.4                                               
#37 0x4c4072b5 in ?? () from /usr/lib/libQtGui.so.4                           
#38 0x4bf50fed in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4   
#39 0x4bf5117d in QEventLoop::exec () from /usr/lib/libQtCore.so.4            
#40 0xb7d025f7 in KIO::NetAccess::enter_loop ()                               
   from /usr/lib/kde4/lib/libkio.so.5                                         
#41 0xb7d027d4 in KIO::NetAccess::synchronousRunInternal ()                   
   from /usr/lib/kde4/lib/libkio.so.5                                         
#42 0xb7d03020 in KIO::NetAccess::synchronousRun ()                           
   from /usr/lib/kde4/lib/libkio.so.5                                         
#43 0xb5a2747d in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#44 0xb5a280c6 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#45 0xb56777c5 in KJS::JSObject::call () from /usr/lib/kde4/lib/libkjs.so.4   
#46 0xb56941ad in ?? () from /usr/lib/kde4/lib/libkjs.so.4                    
#47 0xb567357d in KJS::FunctionImp::callAsFunction ()                         
   from /usr/lib/kde4/lib/libkjs.so.4                                         
#48 0xb56777c5 in KJS::JSObject::call () from /usr/lib/kde4/lib/libkjs.so.4   
#49 0xb5a1b359 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#50 0xb5832ce8 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#51 0xb584dd2a in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#52 0xb58970b0 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#53 0xb57eec42 in KHTMLPart::checkEmitLoadEvent ()                            
   from /usr/lib/kde4/lib/libkhtml.so.5                                       
#54 0xb57f170d in KHTMLPart::slotFinishedParsing ()                           
   from /usr/lib/kde4/lib/libkhtml.so.5                                       
#55 0xb57fb583 in KHTMLPart::qt_metacall ()                                   
   from /usr/lib/kde4/lib/libkhtml.so.5                                       
#56 0x4bf66bb9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4       
#57 0x4bf67282 in QMetaObject::activate () from /usr/lib/libQtCore.so.4       
#58 0xb5830dd7 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#59 0xb5830e33 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#60 0xb5896867 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#61 0x4bf66bb9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4       
#62 0x4bf67282 in QMetaObject::activate () from /usr/lib/libQtCore.so.4       
#63 0xb5861637 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#64 0xb587fe29 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#65 0xb5882d23 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#66 0xb5830718 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5                  
#67 0xb57f1b56 in KHTMLPart::end () from /usr/lib/kde4/lib/libkhtml.so.5      
#68 0xb57f1e8d in KHTMLPart::slotFinished ()                                  
   from /usr/lib/kde4/lib/libkhtml.so.5                                       
#69 0xb57fb476 in KHTMLPart::qt_metacall ()                                   
   from /usr/lib/kde4/lib/libkhtml.so.5                                       
#70 0x4bf66bb9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4       
#71 0x4bf67282 in QMetaObject::activate () from /usr/lib/libQtCore.so.4       
#72 0xb77a9743 in KJob::result () from /usr/lib/kde4/lib/libkdecore.so.5      
#73 0xb77a9c62 in KJob::emitResult () from /usr/lib/kde4/lib/libkdecore.so.5  
#74 0xb7c8314f in KIO::SimpleJob::slotFinished ()                             
   from /usr/lib/kde4/lib/libkio.so.5                                         
#75 0xb7c83790 in KIO::TransferJob::slotFinished ()                           
   from /usr/lib/kde4/lib/libkio.so.5                                         
#76 0xb7c89f88 in KIO::TransferJob::qt_metacall ()                            
   from /usr/lib/kde4/lib/libkio.so.5                                         
#77 0x4bf66bb9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4       
#78 0x4bf67282 in QMetaObject::activate () from /usr/lib/libQtCore.so.4       
#79 0xb7d24be7 in KIO::SlaveInterface::finished ()                            
   from /usr/lib/kde4/lib/libkio.so.5                                         
#80 0xb7d26dcb in KIO::SlaveInterface::dispatch ()                            
   from /usr/lib/kde4/lib/libkio.so.5                                         
#81 0xb7d2720d in KIO::SlaveInterface::dispatch ()                            
   from /usr/lib/kde4/lib/libkio.so.5                                         
#82 0xb7d19dc7 in KIO::Slave::gotInput () from /usr/lib/kde4/lib/libkio.so.5  
#83 0xb7d1b19d in KIO::Slave::qt_metacall ()                                  
   from /usr/lib/kde4/lib/libkio.so.5                                         
#84 0x4bf66bb9 in QMetaObject::activate () from /usr/lib/libQtCore.so.4       
#85 0x4bf67282 in QMetaObject::activate () from /usr/lib/libQtCore.so.4       
#86 0xb7c566b7 in KIO::Connection::readyRead ()                               
   from /usr/lib/kde4/lib/libkio.so.5                                         
#87 0xb7c57528 in ?? () from /usr/lib/kde4/lib/libkio.so.5                    
#88 0xb7c5836e in KIO::Connection::qt_metacall ()                             
   from /usr/lib/kde4/lib/libkio.so.5                                         
#89 0x4bf6054b in QMetaCallEvent::placeMetaCall ()                            
   from /usr/lib/libQtCore.so.4
#90 0x4bf62591 in QObject::event () from /usr/lib/libQtCore.so.4
#91 0x4c373d0c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#92 0x4c3788a9 in QApplication::notify () from /usr/lib/libQtGui.so.4
#93 0xb7a5ef53 in KApplication::notify () from /usr/lib/kde4/lib/libkdeui.so.5
#94 0x4bf51d69 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#95 0x4bf53119 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#96 0x4bf5333d in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#97 0x4bf7d28f in ?? () from /usr/lib/libQtCore.so.4
#98 0xb753cdd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#99 0xb7540193 in ?? () from /usr/lib/libglib-2.0.so.0
#100 0xb754074e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#101 0x4bf7d658 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#102 0x4c4072b5 in ?? () from /usr/lib/libQtGui.so.4
#103 0x4bf50fed in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#104 0x4bf5117d in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#105 0x4bf533fd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#106 0x4c373667 in QApplication::exec () from /usr/lib/libQtGui.so.4
#107 0xb7f4f6fd in kdemain () from /usr/lib/kde4/lib/libkdeinit4_konqueror.so
#108 0x08048582 in _start ()
#0  0xb7f69410 in __kernel_vsyscall ()

dc
Comment 1 Frank Reininghaus 2008-08-30 00:13:42 UTC
Created attachment 27137 [details]
Screenshot showing the (hopefully correct) rendering of the image that I got in 4.1 and SVN trunk

Thanks for the report. I cannot confirm this - I opened the SVG image in 4.1 (Kubuntu) and SVN trunk 854508, but Konqueror did not hang (see attached screenshot for the rendering). Closing the tab with the SVG image caused no crash for me.

Is this always reproducible for you? Does it depend on which pages you have open in other tabs?
Comment 2 Dario Andres 2008-11-29 18:54:43 UTC
Here (KDE 4.1.3 on ArchLinux x86_64): I can't reproduce this bug. The SVG file is displayed OK without hanging the whole app.
Comment 3 Frank Reininghaus 2008-12-07 21:58:48 UTC
Actually, I can reproduce the "hanging" now in Konqueror 4.1.3 (Kubuntu): If I have this bug report page open and middle-click the link to the SVG file to open it in a new tab in the background, Konqueror hangs. It still repaints the window when I resize it or change desktops, but scrolling, selecting text and clicking menus is impossible. Also selecting the tab with the SVG file (whose URL is shown in the tab title) does not work.

This problem does not occur in trunk rev. 893016 for me.
Comment 4 Dario Andres 2009-05-07 01:46:31 UTC
Here using:

Qt: 4.5.1 (qt-copy  960517)
KDE: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
kdelibs svn rev. 963904 / kdebase svn rev. 963904
on ArchLinux i686 - Kernel 2.6.29.1

Even with the steps provided by Frank I can't reproduce the described behaviour. 
Can this be marked as WORKSFORME/FIXED now ?
Thanks
Comment 5 A. Spehr 2009-05-07 03:40:12 UTC
Interesting. It renders differently for me if I open it the middle-mouse-button click way vs. directly. If I do it MMB, I can't scroll it, but nothing else frezes. It then also says "Loading..." in the tab.
Comment 6 A. Spehr 2009-05-07 03:58:46 UTC
Created attachment 33414 [details]
Actual graphic

These go away, so let's put the original graphic on the report. :)
Comment 7 A. Spehr 2009-05-07 04:11:24 UTC
The text moves around depending on what viewer you look at this in.
Comment 8 A. Spehr 2009-05-07 05:28:23 UTC
oh, and rev964169 of the kdelibs/khtml/svg component
Comment 9 Justin Zobel 2021-03-21 00:24:54 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.