Bug 325280 - Internal viewer kills krusader after view of any xml documents
Summary: Internal viewer kills krusader after view of any xml documents
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: krviewer (show other bugs)
Version: 2.4.0-beta3 "Single Step"
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL: https://bugzilla.redhat.com/show_bug....
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-25 06:31 UTC by Andrew Tee
Modified: 2019-03-27 07:43 UTC (History)
3 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 Andrew Tee 2013-09-25 06:31:08 UTC
It self explanatory in summary. Any times i push f3 on any xml documents and close viewer my krusader crashed at once. Same behaviour on arch (testing repo) and fedora (mainstream)

Reproducible: Always

Steps to Reproduce:
1. Press F3 on any xml file
2. See garbled and unformatted output. Close viewer
3. Krusader is dead
Comment 1 Jekyll Wu 2013-09-25 13:44:46 UTC
Can't reproduce. Please provide the backtrace tot make the report more useful ,since you can reproduce the crash every time.

[1] http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Andrew Tee 2013-09-25 14:13:08 UTC
i cant do it on arch. kde crash dialog isnt pop up. i sent report with trace througn abrt in fedora. Url is https://bugzilla.redhat.com/show_bug.cgi?id=996464 
may be there will be some usefull information. i can privately send xml which causing problem
Comment 3 Jekyll Wu 2013-09-25 14:36:10 UTC
>        msg = 0x1a6d570 "The program 'krusader' received an X Window System error.\nThis probably reflects a bug in the program.\nThe error was 'BadWindow (invalid Window parameter)'.\

This part in the fedora tracker is interesting. The problem is probably not related with particular xml file.
Comment 4 Andrew Tee 2016-08-31 10:05:10 UTC
despite years passed i still experience this problem over and over. is concerns fedora (24 on this monent) and arch. There is no problem on stable debian, rosa and bunch of other distros i've tried 

this what i get running krusader from console

loaded the Generic plugin 
krusader(8877)/kparts KParts::PartManager::addPart: Part ' "" ' has a widget  "kwebkitpart"  with a focus policy of NoFocus. It should have at least a ClickFocus policy, for part activation to work well. 

(krusader:8877): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplayManager'
(krusader:8877): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(krusader:8877): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed
(krusader:8877): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(krusader:8877): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(krusader:8877): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(krusader:8877): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(krusader:8877): GLib-GObject-WARNING **: cannot register existing type 'GdkDisplay'
(krusader:8877): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(krusader:8877): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed
(krusader:8877): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(krusader:8877): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

as i see there is problem in internal viewer/editor paired with kwebkitpart. funny fact that konqueror itself opens xml quite in way it should. so, somehow kwebkitpart involved.

i cannot use debug (saying frankly not want to) on my work machine. may be this problems already disappeared from git branch but we (i mean fedora users and maintainers) still ship old good stable release
Comment 5 Alex Bikadorov 2016-10-23 10:58:07 UTC
Please test again with latest stable version (2.5.0)
Comment 6 Amin 2019-03-12 22:46:28 UTC
Fixed in 2.7.1 - xml files view correctly in all modes.
Small and medium size (60 Mb) view correctly
Comment 7 Bug Janitor Service 2019-03-27 04:33:14 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
mark the bug 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!