Bug 336418 - Kate crash opening file
Summary: Kate crash opening file
Status: RESOLVED DUPLICATE of bug 270442
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 3.11.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-06-19 07:22 UTC by GSU
Modified: 2014-06-19 10:33 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 GSU 2014-06-19 07:22:20 UTC
Application: kate (3.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.5
Operating System: Linux 3.11.10-11-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
I was opening a file and it suddently crashed. 
File's content was the following:
----------------------------------START HERE------------------------------------------------------
==12395== Memcheck, a memory error detector
==12395== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==12395== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==12395== Command: ./dubnium --user SYSTEM --password PASSWORD --batch /home/jmalo/tmp/70/70.xml
==12395== Parent PID: 12381
==12395== 
==12395== Warning: set address range perms: large range [0x8fc8040, 0x1a70dd48) (undefined)
==12395== Warning: set address range perms: large range [0x39fe0040, 0x8889a2ea) (undefined)
==12395== Warning: set address range perms: large range [0x1a70e040, 0x2a70e050) (undefined)
==12395== Warning: set address range perms: large range [0x8889b040, 0x9889b050) (undefined)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c160) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c178) (noaccess)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c130) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c148) (noaccess)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c140) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c158) (noaccess)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c150) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c168) (noaccess)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c140) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c158) (noaccess)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c120) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c138) (noaccess)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c130) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c148) (noaccess)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c120) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c138) (noaccess)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c130) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c148) (noaccess)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c120) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c138) (noaccess)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c120) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c138) (noaccess)
==12395== Warning: set address range perms: large range [0x9889c040, 0xac89c140) (undefined)
==12395== Warning: set address range perms: large range [0x9889c028, 0xac89c158) (noaccess)
==12395== Warning: set address range perms: large range [0x1a70e028, 0x2a70e068) (noaccess)
==12395== Warning: set address range perms: large range [0x8889b028, 0x9889b068) (noaccess)
==12395== Warning: set address range perms: large range [0x8fc8028, 0x1a70dd60) (noaccess)
==12395== Warning: set address range perms: large range [0x39fe0028, 0x8889a302) (noaccess)
==12395== Warning: set address range perms: large range [0x39fe0080, 0x596bff00) (undefined)
==12395== Warning: set address range perms: large range [0x39fe0080, 0x596bfedc) (defined)
==12395== Warning: set address range perms: large range [0x596c0080, 0x78d9ff00) (undefined)
==12395== Warning: set address range perms: large range [0x39fe0068, 0x596bff18) (noaccess)
==12395== Warning: set address range perms: large range [0x78da0040, 0xb447b724) (undefined)
==12395== Warning: set address range perms: large range [0x78da0028, 0xb447b73c) (noaccess)
==12395== Warning: set address range perms: large range [0x596c0068, 0x78d9ff18) (noaccess)
==12395== Warning: set address range perms: large range [0x596c0080, 0x78d9eec0) (undefined)
==12395== Warning: set address range perms: large range [0x596c0080, 0x78d9ee91) (defined)
==12395== Warning: set address range perms: large range [0x78da0080, 0x9847eec0) (undefined)
==12395== Warning: set address range perms: large range [0x596c0068, 0x78d9eed8) (noaccess)
==12395== Warning: set address range perms: large range [0x9847f040, 0xd3b5a724) (undefined)
==12395== Warning: set address range perms: large range [0x9847f028, 0xd3b5a73c) (noaccess)
==12395== Warning: set address range perms: large range [0x78da0068, 0x9847eed8) (noaccess)
==12395== Warning: set address range perms: large range [0x9847f080, 0xb7b63b80) (undefined)
==12395== Warning: set address range perms: large range [0x9847f080, 0xb7b63b4e) (defined)
==12395== Warning: set address range perms: large range [0xb7b64080, 0xd7248b80) (undefined)
==12395== Warning: set address range perms: large range [0x9847f068, 0xb7b63b98) (noaccess)
==12395== Warning: set address range perms: large range [0xd7249040, 0x112924724) (undefined)
==12395== Warning: set address range perms: large range [0xd7249028, 0x11292473c) (noaccess)
==12395== Warning: set address range perms: large range [0xb7b64068, 0xd7248b98) (noaccess)
==12395== Warning: set address range perms: large range [0xd7249040, 0x112924724) (undefined)
==12395== Warning: set address range perms: large range [0xd7249028, 0x11292473c) (noaccess)
==12395== Warning: set address range perms: large range [0xb7b64080, 0xcc415040) (undefined)
==12395== Warning: set address range perms: large range [0xb7b64080, 0xcc41501c) (defined)
==12395== Warning: set address range perms: large range [0xb7b64068, 0xcc415058) (noaccess)
==12395== Jump to the invalid address stated on the next line
==12395==    at 0x0: ???
==12395==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==12395== 
==12395== 
==12395== Process terminating with default action of signal 11 (SIGSEGV)
==12395==  Bad permissions for mapped region at address 0x0
==12395==    at 0x0: ???
==12395== 
==12395== HEAP SUMMARY:
==12395==     in use at exit: 8,615,315 bytes in 133,511 blocks
==12395==   total heap usage: 49,540,534 allocs, 49,407,023 frees, 19,215,256,492 bytes allocated
==12395== 
==12395== LEAK SUMMARY:
==12395==    definitely lost: 0 bytes in 0 blocks
==12395==    indirectly lost: 0 bytes in 0 blocks
==12395==      possibly lost: 4,301,241 bytes in 125,066 blocks
==12395==    still reachable: 4,314,074 bytes in 8,445 blocks
==12395==         suppressed: 0 bytes in 0 blocks
==12395== Rerun with --leak-check=full to see details of leaked memory
==12395== 
==12395== For counts of detected and suppressed errors, rerun with: -v
==12395== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2)
-------------------------------END HERE--------------------------------------------------

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fd1d8704849 in raise () from /lib64/libc.so.6
#7  0x00007fd1d8705cd8 in abort () from /lib64/libc.so.6
#8  0x00007fd1d6576204 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2323
#9  0x00007fd1d6dc2009 in QDebug::~QDebug (this=0x7fffa1ddd5d0, __in_chrg=<optimized out>) at /usr/include/QtCore/qdebug.h:85
#10 0x00007fd1d6e9a268 in KApplicationPrivate::init (this=0x13947d0, GUIenabled=GUIenabled@entry=true) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:516
#11 0x00007fd1d6e9ac52 in KApplication::KApplication (this=0x7fffa1ddd900, GUIenabled=true) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:352
#12 0x00007fd1d72efd94 in KateApp::KateApp (this=0x7fffa1ddd900, args=0x12cb910) at /usr/src/debug/kate-4.11.5/kate/app/kateapp.cpp:52
#13 0x00007fd1d8a83a85 in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kate-4.11.5/kate/app/katemain.cpp:376
#14 0x00007fd1d86f0be5 in __libc_start_main () from /lib64/libc.so.6
#15 0x0000000000400761 in _start () at ../sysdeps/x86_64/start.S:122

Possible duplicates by query: bug 333347, bug 331379, bug 330345, bug 329712, bug 328478.

Reported using DrKonqi
Comment 1 GSU 2014-06-19 07:28:33 UTC
I have just realized that the bug is not related to the content of the file, but from where I launched kate. It was launched from konsole after resuming a 'screen' session ('screen -r'). Within that session kate is unable to start.
Comment 2 Dominik Haumann 2014-06-19 10:33:35 UTC
Probably your dbus connection inside this screen session is not setup, or maybe the DISPLAY variable is not properly set. Known issue, hence mark as duplicate of bug #270442.

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