Bug 176478 - Crash after enter changing contents of one of five vertical windows
Summary: Crash after enter changing contents of one of five vertical windows
Status: RESOLVED DUPLICATE of bug 171027
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-29 20:05 UTC by Peter C. Trenholme
Modified: 2008-12-15 11:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot prior to crash (81.37 KB, application/octet-stream)
2008-12-01 23:45 UTC, Peter C. Trenholme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter C. Trenholme 2008-11-29 20:05:12 UTC
Version:           3.1.3 (using KDE 4.1.3)
Compiler:          gcc 4, i86_x64 Precomiled bt Red hat for Fedora 10
OS:                Linux
Installed from:    Fedora RPMs

I was trying to create a file merging the contents of four files as columns into another file. Since the files were short, and since kate, for some obscure reason, does not have a "column" feature set, I was going to merge the files by hand.

I opened the four files into vertical windows and an empty file in the fifth, left-most, vertical window. I entered column headings - literally "file1  file2  file3 file4" the the left-most, empty, window. Because the first vertical window was too narrow to display the four names I attempted to resize the leftmost window by clicking on the right-hand separator between it and the window to its right. This failed, so I attempted to move some of the other vertical separators, but they were all immovable. Giving up, I then tried I decided to add dashes under the file names, so I started to type line of dashes in the second line, but kate crashed when I pressed the "enter" key to finish the first line.

Here's the backtrace, although, as you can see, I'm not using the "debug" versions.

Application: Kate (kate), signal SIGSEGV      
(no debugging symbols found)                  
(no debugging symbols found)                  
(no debugging symbols found)                  
(no debugging symbols found)                  
(no debugging symbols found)                  
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(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 0x7f9bb829a800 (LWP 12051)]                                          
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
(no debugging symbols found)                                                     
[KCrash handler]                                                                 
#5  0x000000352b171dcc in QTextLine::cursorToX ()                                
   from /usr/lib64/libQtGui.so.4                                                 
#6  0x000000000091fd0d in ?? () from /usr/lib64/kde4/katepart.so                 
#7  0x000000000091feb1 in ?? () from /usr/lib64/kde4/katepart.so                 
#8  0x000000352b496c75 in ?? () from /usr/lib64/libQtGui.so.4                    
#9  0x000000352afca53a in QWidget::updateMicroFocus ()                           
   from /usr/lib64/libQtGui.so.4                                                 
#10 0x00000000009222c0 in ?? () from /usr/lib64/kde4/katepart.so                 
#11 0x0000000000925cab in ?? () from /usr/lib64/kde4/katepart.so                 
#12 0x00000000008a8904 in ?? () from /usr/lib64/kde4/katepart.so                 
#13 0x00000000008ad3c7 in ?? () from /usr/lib64/kde4/katepart.so                 
#14 0x0000000000921621 in ?? () from /usr/lib64/kde4/katepart.so                 
#15 0x0000000000922b58 in ?? () from /usr/lib64/kde4/katepart.so                 
#16 0x000000000092127d in ?? () from /usr/lib64/kde4/katepart.so                 
#17 0x0000003e70d42358 in QCoreApplicationPrivate::sendThroughObjectEventFilters() from /usr/lib64/libQtCore.so.4
#18 0x000000352af827ac in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#19 0x000000352af8b434 in QApplication::notify ()
   from /usr/lib64/libQtGui.so.4
#20 0x000000352bbfb46b in KApplication::notify ()
   from /usr/lib64/libkdeui.so.5
#21 0x0000003e70d43081 in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#22 0x000000352b010064 in ?? () from /usr/lib64/libQtGui.so.4
#23 0x000000352b012347 in ?? () from /usr/lib64/libQtGui.so.4
#24 0x000000352afed200 in QApplication::x11ProcessEvent ()
   from /usr/lib64/libQtGui.so.4
#25 0x000000352b013d9c in ?? () from /usr/lib64/libQtGui.so.4
#26 0x0000003e6743775b in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#27 0x0000003e6743af2d in ?? () from /lib64/libglib-2.0.so.0
#28 0x0000003e6743b0eb in g_main_context_iteration ()
   from /lib64/libglib-2.0.so.0
#29 0x0000003e70d6b56f in QEventDispatcherGlib::processEvents ()
   from /usr/lib64/libQtCore.so.4
#30 0x000000352b01350f in ?? () from /usr/lib64/libQtGui.so.4
#31 0x0000003e70d41992 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#32 0x0000003e70d41b1d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#33 0x0000003e70d43fed in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#34 0x0000003528e04c95 in kdemain () from /usr/lib64/libkdeinit4_kate.so
#35 0x0000003e6441e546 in __libc_start_main () from /lib64/libc.so.6
#36 0x0000000000400869 in _start ()
Comment 1 Dario Andres 2008-11-30 12:47:02 UTC
Can you post a screenshot of the moment previous to the crash? (to explain in a more graphical way the situation). Thanks :)
May be related to bug 171027.
Comment 2 Peter C. Trenholme 2008-12-01 23:45:59 UTC
Created attachment 28990 [details]
Screenshot prior to crash

Here's the screenshot. I made this whilst running Kate in a GNOME session, and, interestingly, I was able to go on from this point and finish the editing without Kate crashing. (Although, once again, putting the cursor on a vertical separator changed its shape to the "double headed horizontal arrow," but the separator was not movable.)

When run from a terminal under KDE, a large number of warning messages are generated. When run in a GNOME session from a terminal window, this is all I see:
[Peter ~/tmp]$ kate &
[1] 5744
[Peter ~/tmp]$

Perhaps Kate should be a GNOME project, eh?
Comment 3 Dario Andres 2008-12-04 10:53:50 UTC
I think I managed to reproduce it, but it's the same as bug 171027. Maybe when you were using Kate on GNOME you do the steps to reproduce the bug in a different order. As described by bug 171027, the order of the steps it's important(in that bug, you have to , first create a new file, then split vertically the window and then pressing Enter). May be you can describe (in numbered order) the steps to reproduce this crash. Thanks :)
Comment 4 Dominik Haumann 2008-12-15 11:47:03 UTC
Darío is right, the backtraces are the same in the important parts:
  QTextLine::cursorToX ()                               
  [...]
  QWidget::updateMicroFocus
So mark is as duplicate.

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