Bug 246853

Summary: konqueror using webkit crashs opening a pdf or video in same tab
Product: [Unmaintained] kdelibs Reporter: David Goller <david.goller>
Component: kdewebkitAssignee: webkit-devel
Status: RESOLVED DUPLICATE    
Severity: crash CC: adawit
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: backtrace
Valgrind backtrace

Description David Goller 2010-08-06 00:34:03 UTC
Version:           unspecified (using KDE 4.4.95) 
OS:                Linux

Konqueror 4.4.95, opensuse 11.3
i use webkit as rendering engine in konqueror, it crash when opening a pdf or video (perhaps something else, i did not test) embedded in the same tab, opening embedded in a new tab or with an external program works.

Reproducible: Always

Steps to Reproduce:
just left click on the link to pdf or video
Comment 1 Tommi Tervo 2010-08-06 07:27:04 UTC
backtrace?
Comment 2 Christoph Feck 2010-08-06 11:22:15 UTC
Please read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports for information about getting the backtrace.
Comment 3 David Goller 2010-08-06 20:46:51 UTC
Created attachment 49888 [details]
backtrace
Comment 4 Christoph Feck 2010-08-08 16:06:31 UTC
This looks like bug 235417 that is apparently fixed for rekonq.
Comment 5 David Goller 2010-08-08 18:16:26 UTC
i tried that with rekonq (0.5.0), it crashed both opening the PDF file in the same tab or in another tab.
with konqueror i can open it in another tab it only crashed opening in the same tab
Comment 6 Dawit Alemayehu 2010-08-13 00:57:21 UTC
(In reply to comment #5)
> i tried that with rekonq (0.5.0), it crashed both opening the PDF file in the
> same tab or in another tab.
> with konqueror i can open it in another tab it only crashed opening in the same
> tab

Hmm... I cannot duplicate the issue. I tried with a PDF document embeded in the same tab, opened in another tab (middle click) and opened in the PDF viewer application directly, which is the default setting. All of them work fine for me and the PDF document is opened using Okular... May I ask what component (read: application) is configured to display a PDF document on your system ? And can you provide your system information, machine type (x86 or x86_64) ?, os version etc ?
Comment 7 David Goller 2010-08-13 11:03:18 UTC
When opening in a new tab okular is used, but on "about:plugins" there is also Adobe Reader. In Systemsettings Okular is before Adobe Reader.
I use opensuse 11.3 64bit with the kde 4.5.0 Packages from http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_11.3
Comment 8 David Goller 2010-08-17 13:23:32 UTC
i installed qt 4.6.70, konqueror does not crash any more, it seems to load (progress bar), but okular does not start, there is only a gray page.
Opening in a new tab still works.
Comment 9 Alvise 2010-08-19 13:37:50 UTC
Created attachment 50737 [details]
Valgrind backtrace

While running Konqueror+webkit with valgrind, I got the following message in the terminal window:

*** NSPlugin Wrapper *** WARNING:(/usr/src/packages/BUILD/nspluginwrapper-1.3.0/src/npw-wrapper.c:3160):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
*** NSPlugin Wrapper *** WARNING:(/usr/src/packages/BUILD/nspluginwrapper-1.3.0/src/npw-wrapper.c:3160):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
KCrash: Application 'konqueror' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/alvise/.kde4/socket-alvinux.alvise.ch/kdeinit4__0
Comment 10 Dawit Alemayehu 2010-08-20 07:00:35 UTC
(In reply to comment #9)
> Created an attachment (id=50737) [details]
> Valgrind backtrace
> 
> While running Konqueror+webkit with valgrind, I got the following message in
> the terminal window:
> 
> *** NSPlugin Wrapper ***
> WARNING:(/usr/src/packages/BUILD/nspluginwrapper-1.3.0/src/npw-wrapper.c:3160):invoke_NP_Initialize:
> assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
> *** NSPlugin Wrapper ***
> WARNING:(/usr/src/packages/BUILD/nspluginwrapper-1.3.0/src/npw-wrapper.c:3160):invoke_NP_Initialize:

There is the cause of your problem. See bug #229247. The crash is caused by nspluginwrapper which does not support webkit properly. Uninstall it and everything should work fine for you.

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