Bug 360281 - Running latest stable kate from konsole results in BadWindow error
Summary: Running latest stable kate from konsole results in BadWindow error
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: Git
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-09 05:30 UTC by cat22
Modified: 2016-09-06 10:36 UTC (History)
2 users (show)

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 cat22 2016-03-09 05:30:40 UTC
Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id:  0x2800a5f


Reproducible: Always

Steps to Reproduce:
1. download (git download) and compile kate following the directions here: http://kate-editor.org/get-it-kde-4-x/
2. run kate from the terminal using the run.sh info shown on the above referenced url page
3.  Sometimes when saving a file or closing a file tab the error reported in details above is reported on the console
4. Sometimes it is reproducible if you select "Open" icon then just click the "cancel" button

Actual Results:  
The following info is printed on the konsole window:
Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id:  0x2800a5f



Compiled on OpenSuse 13.1 (x86_64) with gcc 4.8.1 
git cmds used:
  git clone git://anongit.kde.org/kate
  git checkout KDE/4.14

This (the above reported errors) does not cause a crash but should be investigated

I also tried running "kate/run-tests-in-xvfb.sh" with the following results
 # ./run-tests-in-xvfb.sh  build
Waiting for Xvfb with pid 25970 to launch...
Running tests...
Test project /home/erbenton/sdb/kde/kate/build
      Start  1: katetextbuffertest
 1/48 Test  #1: katetextbuffertest ...............***Failed    0.06 sec
      Start  2: kate-range_test
 2/48 Test  #2: kate-range_test ..................   Passed    0.46 sec
      Start  3: kate-undomanager_test
 3/48 Test  #3: kate-undomanager_test ............   Passed    0.39 sec
      Start  4: kate-plaintextsearch_test
 4/48 Test  #4: kate-plaintextsearch_test ........   Passed    0.68 sec
      Start  5: kate-regexpsearch_test
 5/48 Test  #5: kate-regexpsearch_test ...........   Passed    0.80 sec
      Start  6: kate-scriptdocument_test
 6/48 Test  #6: kate-scriptdocument_test .........   Passed    0.52 sec
      Start  7: kate-completion_test
 7/48 Test  #7: kate-completion_test .............   Passed   20.76 sec
      Start  8: kate-wordcompletion_test
 8/48 Test  #8: kate-wordcompletion_test .........   Passed    9.64 sec
      Start  9: kate-searchbar_test
 9/48 Test  #9: kate-searchbar_test ..............   Passed    3.31 sec
      Start 10: kate-vimode_test
10/48 Test #10: kate-vimode_test .................   Passed   40.44 sec
      Start 11: kate-movingcursor_test
11/48 Test #11: kate-movingcursor_test ...........   Passed    0.18 sec
      Start 12: kate-movingrange_test
12/48 Test #12: kate-movingrange_test ............   Passed    0.94 sec
      Start 13: kate-katedocument_test
13/48 Test #13: kate-katedocument_test ...........   Passed    1.04 sec
      Start 14: kate-kateview_test
14/48 Test #14: kate-kateview_test ...............   Passed    0.59 sec
      Start 15: kate-revision_test
15/48 Test #15: kate-revision_test ...............   Passed    0.13 sec
      Start 16: kate-modificationsystem_test
16/48 Test #16: kate-modificationsystem_test .....   Passed    0.11 sec
      Start 17: kate-templatehandler_test
17/48 Test #17: kate-templatehandler_test ........   Passed    0.20 sec
      Start 18: codefoldingtest
18/48 Test #18: codefoldingtest ..................   Passed    0.57 sec
      Start 19: kate-indenttest
19/48 Test #19: kate-indenttest ..................***Failed    9.83 sec
      Start 20: kate-commands_test
20/48 Test #20: kate-commands_test ...............   Passed    0.30 sec
      Start 21: kate-scripting_test
21/48 Test #21: kate-scripting_test ..............   Passed    0.23 sec
      Start 22: kate-syntax_highlighting_test
22/48 Test #22: kate-syntax_highlighting_test ....   Passed    0.23 sec
      Start 23: kate-bug286887_test
23/48 Test #23: kate-bug286887_test ..............   Passed    1.74 sec
      Start 24: kate-bug313759_test
24/48 Test #24: kate-bug313759_test ..............   Passed    0.71 sec
      Start 25: kate-bug313769_test
25/48 Test #25: kate-bug313769_test ..............   Passed    1.72 sec
      Start 26: kate-bug317111_test
26/48 Test #26: kate-bug317111_test ..............   Passed    0.25 sec
      Start 27: kte-documentcursor_test
27/48 Test #27: kte-documentcursor_test ..........   Passed    0.11 sec
      Start 28: kte-messageinterface
28/48 Test #28: kte-messageinterface .............   Passed   26.25 sec
      Start 29: utf8.txt_create
29/48 Test #29: utf8.txt_create ..................   Passed    0.04 sec
      Start 30: utf8.txt_diff
30/48 Test #30: utf8.txt_diff ....................   Passed    0.00 sec
      Start 31: latin15.txt_create
31/48 Test #31: latin15.txt_create ...............   Passed    0.03 sec
      Start 32: latin15.txt_diff
32/48 Test #32: latin15.txt_diff .................   Passed    0.00 sec
      Start 33: utf32.txt_create
33/48 Test #33: utf32.txt_create .................   Passed    0.03 sec
      Start 34: utf32.txt_diff
34/48 Test #34: utf32.txt_diff ...................   Passed    0.00 sec
      Start 35: utf16.txt_create
35/48 Test #35: utf16.txt_create .................   Passed    0.02 sec
      Start 36: utf16.txt_diff
36/48 Test #36: utf16.txt_diff ...................   Passed    0.00 sec
      Start 37: utf32be.txt_create
37/48 Test #37: utf32be.txt_create ...............   Passed    0.02 sec
      Start 38: utf32be.txt_diff
38/48 Test #38: utf32be.txt_diff .................   Passed    0.00 sec
      Start 39: utf16be.txt_create
39/48 Test #39: utf16be.txt_create ...............   Passed    0.02 sec
      Start 40: utf16be.txt_diff
40/48 Test #40: utf16be.txt_diff .................   Passed    0.00 sec
      Start 41: cyrillic_utf8.txt_create
41/48 Test #41: cyrillic_utf8.txt_create .........   Passed    0.02 sec
      Start 42: cyrillic_utf8.txt_diff
42/48 Test #42: cyrillic_utf8.txt_diff ...........   Passed    0.00 sec
      Start 43: cp1251.txt_create
43/48 Test #43: cp1251.txt_create ................   Passed    0.02 sec
      Start 44: cp1251.txt_diff
44/48 Test #44: cp1251.txt_diff ..................   Passed    0.00 sec
      Start 45: koi8-r.txt_create
45/48 Test #45: koi8-r.txt_create ................   Passed    0.02 sec
      Start 46: koi8-r.txt_diff
46/48 Test #46: koi8-r.txt_diff ..................   Passed    0.00 sec
      Start 47: one-char-latin-15.txt_create
47/48 Test #47: one-char-latin-15.txt_create .....   Passed    0.02 sec
      Start 48: one-char-latin-15.txt_diff
48/48 Test #48: one-char-latin-15.txt_diff .......   Passed    0.00 sec

96% tests passed, 2 tests failed out of 48

Total Test time (real) = 122.50 sec

The following tests FAILED:
          1 - katetextbuffertest (Failed)
         19 - kate-indenttest (Failed)
Errors while running CTest
make: *** [test] Error 8
Killing Xvfb with pid 25970...
Comment 1 Buovjaga 2016-07-02 09:55:54 UTC
Does this still happen? Only with your compiled version or also from version installed from your distro packages?
Comment 2 Christoph Cullmann 2016-09-06 08:57:12 UTC
My self compiled version based on master doesn't show that problem nor my archlinux version.
Comment 3 cat22 2016-09-06 10:36:26 UTC
I haven't messed with this in awhile, I will experiment and report back. At the time it was intermittent.