Bug 125986 - crash when deleting text
Summary: crash when deleting text
Status: RESOLVED DUPLICATE of bug 89042
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-21 01:13 UTC by Laco Gubik
Modified: 2006-04-22 15:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laco Gubik 2006-04-21 01:13:42 UTC
Version:           3.3.1 (using KDE KDE 3.5.1)
Installed from:    Slackware Packages

aplication crashed when i was deleting whitespaces. It crashed when i deleted end of line.

Backtrace

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(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)
(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 16384 (LWP 4396)]
(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)
(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]
#6  0x41841130 in QGArray::find () from /usr/lib/qt/lib/libqt-mt.so.3
#7  0x425a496d in KateCodeFoldingTree::removeEnding ()
   from /opt/kde/lib/kde3/libkatepart.so
#8  0x425a7e67 in KateCodeFoldingTree::cleanupUnneededNodes ()
   from /opt/kde/lib/kde3/libkatepart.so
#9  0x425a85b2 in KateCodeFoldingTree::updateLine ()
   from /opt/kde/lib/kde3/libkatepart.so
#10 0x4251579e in KateBuffer::doHighlight ()
   from /opt/kde/lib/kde3/libkatepart.so
#11 0x425167b7 in KateBuffer::editEnd () from /opt/kde/lib/kde3/libkatepart.so
#12 0x42545324 in KateDocument::editEnd ()
   from /opt/kde/lib/kde3/libkatepart.so
#13 0x4254edcd in KateDocument::removeText ()
   from /opt/kde/lib/kde3/libkatepart.so
#14 0x4254f4ff in KateDocument::removeText ()
   from /opt/kde/lib/kde3/libkatepart.so
#15 0x4254c0e9 in KateDocument::del () from /opt/kde/lib/kde3/libkatepart.so
#16 0x425aa2cc in KateViewInternal::doDelete ()
   from /opt/kde/lib/kde3/libkatepart.so
#17 0x42590643 in KateView::keyDelete () from /opt/kde/lib/kde3/libkatepart.so
#18 0x4258f490 in KateView::qt_invoke () from /opt/kde/lib/kde3/libkatepart.so
#19 0x415734e4 in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#20 0x41573c7c in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#21 0x40df2fa9 in KAction::activated () from /opt/kde/lib/libkdeui.so.4
#22 0x40df3a33 in KAction::slotActivated () from /opt/kde/lib/libkdeui.so.4
#23 0x40df84b7 in KAction::qt_invoke () from /opt/kde/lib/libkdeui.so.4
#24 0x415734e4 in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#25 0x41573c7c in QObject::activate_signal ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#26 0x411319c9 in KAccelPrivate::menuItemActivated ()
   from /opt/kde/lib/libkdecore.so.4
#27 0x41131f97 in KAccelPrivate::emitActivatedSignal ()
   from /opt/kde/lib/libkdecore.so.4
#28 0x41132b30 in KAccelPrivate::eventFilter ()
   from /opt/kde/lib/libkdecore.so.4
#29 0x4157086f in QObject::activate_filters ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#30 0x41570944 in QObject::event () from /usr/lib/qt/lib/libqt-mt.so.3
#31 0x415acc8f in QWidget::event () from /usr/lib/qt/lib/libqt-mt.so.3
#32 0x4150ef2f in QApplication::internalNotify ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#33 0x4150f563 in QApplication::notify () from /usr/lib/qt/lib/libqt-mt.so.3
#34 0x4109d8c5 in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#35 0x411306a4 in KAccelEventHandler::x11Event ()
   from /opt/kde/lib/libkdecore.so.4
#36 0x410a0dd7 in KApplication::x11EventFilter ()
   from /opt/kde/lib/libkdecore.so.4
#37 0x41499a55 in qt_set_x11_event_filter ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#38 0x414a71d8 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#39 0x414bacd5 in QEventLoop::processEvents ()
   from /usr/lib/qt/lib/libqt-mt.so.3
#40 0x41525691 in QEventLoop::enterLoop () from /usr/lib/qt/lib/libqt-mt.so.3
#41 0x415255e6 in QEventLoop::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#42 0x4150e08f in QApplication::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#43 0x0804e249 in ?? ()
#44 0xbffff830 in ?? ()
#45 0x080b7a30 in ?? ()
#46 0xbffff770 in ?? ()
#47 0x00000001 in ?? ()
#48 0x08052211 in typeinfo name for QGList ()
#49 0x00000001 in ?? ()
#50 0x08052310 in typeinfo name for QGList ()
#51 0x080522b5 in typeinfo name for QGList ()
#52 0x08051ad9 in typeinfo name for QGList ()
#53 0x08051b04 in typeinfo name for QGList ()
#54 0x00000000 in ?? ()
Comment 1 Amilcar do Carmo Lucas 2006-04-21 01:50:02 UTC
Kate issue
Comment 2 Philip Rodrigues 2006-04-21 10:37:36 UTC
Can you reproduce the crash? Does it happen with any file, or just some particular file? If it's just one file, please attach the file.
Comment 3 Laco Gubik 2006-04-22 00:12:44 UTC
No I cant reproduce crash, It happened just once up now. It was was with this file (a was deleting lines about line 52):

#server program
from socket import *

#Constants
port = 8888
host = "localhost"
msg_welcome = "Welcome on chat server "
msg_connectError = "Error in comunication occured"
term = "CLOSE"

#Functions

#Gets client name and response with welcome message
def	open():
	name = receivedData[4:]
	data = msg_welcome + name + term
	newSocket.send(data)
	#adds name+address into list			<------ TODO
	newSocket.close()
	return

def	msg():
	msg_data = receivedData[3:]
	data = msg_data + term
	#sends to everybody						<------- TODO
	newSocket.send(data)
	newSocket.close()

def	quit():
	data = receivedData + term
	newSocket.send(data)
	newSocket.close()
	print "Disconnected from", address

#Create an INET, STREAMing socket and bind the socket to port, and hostname
serversocket = socket(AF_INET, SOCK_STREAM)
serversocket.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
serversocket.bind((host, port))

#Prints hostname							<--- TODO
#name = socket.gethostname()
print "Hostname: "#, name

#set the number of clients waiting for conection
serversocket.listen(5)

try:

	while 1:
		#accept connections from outside
		(newSocket, address) = serversocket.accept()
		
		print "Connected from", address
		receivedData = newSocket.recv(1024)
		if receivedData[:4] == "OPEN":
			open()
		elif receivedData[:3] == "MSG":
			msg()
		elif receivedData[:4] == "QUIT":
			quit()
		else:
			newSocket.send(msg_connectError)
			

finally:
	serversocket.close()	
	
	
	#now do something with the client socket, threaded server
	#ct = client_thread(cliensocket)
	#ct.run()
	
Comment 4 Dominik Haumann 2006-04-22 15:46:45 UTC

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