Bug 321118

Summary: crash if opening a large file of roughly 2GB
Product: [Applications] okteta Reporter: Ken <bugs.kde.org>
Component: generalAssignee: Friedrich W. H. Kossebau <kossebau>
Status: RESOLVED WORKSFORME    
Severity: grave Keywords: triaged
Priority: NOR    
Version First Reported In: 0.8.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ken 2013-06-13 16:09:18 UTC
load okteta. Click file->open and select a file of around 2GB in size.

Okteta will crash.

Reproducible: Always

Steps to Reproduce:
1.Load Okteta. 
2. Click file->open and 
3. Select a file of around 2GB in size.
4. Okteta crashes.
Actual Results:  
Okteta crashes

Expected Results:  
Okteta successfully loads the large file and works as usual.

user@ubuntu:~$ okteta 2gb_file_test.iso
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
okteta(5289)/kdeui (kdelibs): Attempt to use QAction "" with KXMLGUIFactory! 
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
KCrash: Application 'okteta' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/ken/.kde/socket-ubuntu/kdeinit4__0
kdeinit4: Shutting down running client.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
KDE Daemon (kded) already running.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
kbuildsycoca4 running..
Comment 1 Ken 2013-06-13 16:10:58 UTC
user@ubuntu:~$ okteta --version
Qt: 4.8.1
KDE Development Platform: 4.8.5 (4.8.5)
Okteta: 0.8.5
Comment 2 Ken 2013-06-18 08:05:34 UTC
IMPORTANT:

Interestingly, since restarting my computer, Okteta successfully loads the file in question. I therefore cannot reproduce this bug now.

I discovered this whilst running Okteta through 'strace'.
Comment 3 Andrew Crouthamel 2018-09-24 02:16:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 02:48:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!