Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Crash upon uploading a file (on KDE Chakra) #15

Closed
johnmagnus opened this issue Oct 19, 2011 · 24 comments
Closed

Crash upon uploading a file (on KDE Chakra) #15

johnmagnus opened this issue Oct 19, 2011 · 24 comments

Comments

@johnmagnus
Copy link

OS: Linux (Chakra), Kernel 3.0

When bookmark sidebar is open, and I try to doble click any items, the browser crashes (segmentation fault).
I first visited google+ (typed manually in adress bar) then clicked a random bookmark. Got the following error message in terminall:

$ qupzilla
No bp log location saved, using default.
[000:038] Browser XEmbed support present: 1
[000:038] Browser toolkit is not Gtk2 (0).
[000:084] Using Xt toolkit
QFont::setPixelSize: Pixel size <= 0 (0)
[006:877] Read port file, port=56152
[006:878] Initiated connection to GoogleTalkPlugin
kfilemodule(24335) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf!
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x68000f2
Segmentation fault

EDIT

crash upon uploading a file - to google+ and gmail. The same error message: Segmentation fault.

@nowrep
Copy link
Member

nowrep commented Oct 19, 2011

Hello,
thank you for your report.
I am aware of this issue, and it was already fixed in this commit:
https://github.com/nowrep/QupZilla/commit/88a5a96bd800e99bba921e2c0cf7812dc64f7ed3

I am now working on Search Engines manager and OpenSearch support, and after that I am planning to release new version (1.0.0-rc1) and also build new packages.
The version will be ready to the end of this week, I hope. So you can wait for it, or build by yourself.
Have a nice day

@ghost ghost assigned nowrep Oct 19, 2011
@johnmagnus
Copy link
Author

Thanks for the swift response!

The browser shows real potential and I'm looking forward for the next release(s).

Since you mention that you're aware of the issue, I do have another: crash upon uploading a file - to google+ and gmail. The same error message: Segmentation fault.

@nowrep
Copy link
Member

nowrep commented Oct 19, 2011

Well,
it's going to be a problem, because I can't reproduce this crash with 1.0.0-b4 version and WebKit version 533.3 nor with 534.3.
I have tested it on Windows 7, Kubuntu 10.10 and on my system (Debian Wheezy) and uploading attachment to e-mail works everywhere without crash.

What is your WebKit version? (Menu Help -> About QupZilla)
Thanks

@johnmagnus
Copy link
Author

Application version 1.0.0-rc1
WebKit version 534.34

@nowrep
Copy link
Member

nowrep commented Oct 19, 2011

That might be that issue.
Is it also crashing with other QtWebKit based browsers or not?
Just to be sure, whether is it bug in QupZilla or QtWebKit.
Thanks

@johnmagnus
Copy link
Author

My bad; I did get an output in terminal:

qupzilla
No bp log location saved, using default.
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is not Gtk2 (0).
[000:001] Using Xt toolkit
QFont::setPixelSize: Pixel size <= 0 (0)
[003:095] Warning(clientchannel.cc:561): Unreadable or no port file. Could not initiate GoogleTalkPlugin connection
[003:096] Warning(clientchannel.cc:404): Could not initiate GoogleTalkPlugin connection
[003:096] Warning(optionsfile.cc:23): Load: Could not open file, err=2
[003:096] Warning(clientchannel.cc:531): Failed to get GoogleTalkPlugin path. Trying default.
[003:112] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
[003:112] Waiting for GoogleTalkPlugin to start...
kfilemodule(18262) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf!
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x44000ec
Segmentation fault

I do not get this in any browser; Opera, rekonq, Chromium

@nowrep
Copy link
Member

nowrep commented Oct 19, 2011

Ok,
is it crashing right after clicking on "Upload file..." button, after choosing a file or after actually sending the e-mail?
And as you are using Chakra OS, can you please reinstall QupZilla to get latest source? (I guess that qupzilla-git is the package that automatically download code from github and build, am I right?)

@johnmagnus
Copy link
Author

After clicking on upload and just before the file chooser is supposed to come up.

I installed from the repo for Chakra;

http://chakra-project.org/packages/index.php?act=show&subdir=apps/i686&sortby=date&file=qupzilla-1.0.1-5-i686.pkg.tar.xz

@nowrep
Copy link
Member

nowrep commented Oct 19, 2011

Ok then,
I'll send you updated binary with proposed fixes to test. But I don't think I will manage it today.
So I'll keep you updated

Edit: Yay, that Comment & Close button is really bad :D

@nowrep nowrep closed this as completed Oct 19, 2011
@nowrep nowrep reopened this Oct 19, 2011
@nowrep
Copy link
Member

nowrep commented Oct 19, 2011

Can you please test, whether file uploading is global issue or it is only gmail specific?
Test on some image uploads / file uploads etc.
Thank you

@johnmagnus
Copy link
Author

Strangest of things; gmail works -- had a reboot, maybe that's an explanation? Dropbox works as well. However, Google+ doesn't. I now get to the file chooser, select file, press ok -- then crash and no upload.

@nowrep
Copy link
Member

nowrep commented Oct 19, 2011

Hmm, that's strange.
I don't think that reboot may fix it, this could solve problems only on Windows :D
I will make that binaries for you tomorrow and I hope it will clear this out.

It looks like that problem is calling my implementation of QWebPage::chooseFile http://doc.qt.nokia.com/4.7/qwebpage.html#chooseFile
But it is strange, as it is working well on 533.3 and 534.3.

@nowrep
Copy link
Member

nowrep commented Oct 20, 2011

Ok,
I've made 4 test binaries for you. Just unzip the package, mark the binary as executed and run. You can execute binary from your home directory, no need to move to /usr/bin

http://www.2shared.com/file/GXB1V-MR/qupzilla-tests.html

Sorry for this share server, I'm not home and I lost my dropbox password :D
After you test all 4 of them, please post the results here.
Thank you

@johnmagnus
Copy link
Author

All 4 work on google+. However it looks like an gtk-application and I get the gtk file chooser. Was that intentional? I'm on 64 bit now; can test i686 later tonight if need be.

@nowrep
Copy link
Member

nowrep commented Oct 20, 2011

No it wasn't intented, it is probably because you are running 64bit system and don't have corresponding 32bit libs.
But it is good thing that it doesn't crash anymore.

Test on i686 is very important to confirm this crash solved or not.

@johnmagnus
Copy link
Author

Bad news; none are working -- native kde file chooser comes up, file is selected, the file appears to upload through google+, but then it crashes and no file(s) are succesfully uploaded :(

Oh, and on a side note; feature requests, where to put?

@nowrep
Copy link
Member

nowrep commented Oct 20, 2011

Mmm, backtrace would help me, but in order to do that, you must rebuild QupZilla from source in debug configuration.

You can make feature requests as normal issues and put on the "feature request" label.

@nowrep
Copy link
Member

nowrep commented Oct 20, 2011

Maybe last thing before I am actually going to install chakra in virtual machine, can you install and test it in Arora?
You said it is working ok in rekonq, but rekonq use KDE WebKit, not QtWebKit as QupZilla and Arora do.

@johnmagnus
Copy link
Author

That's a bit above my skill level I'm afraid. I'll ask around on Chakra forums. Or try to look at it on monday - or during the weekend if I find the time.

EDIT: Opera was my browser of choice until Rekonq gained the possibility to use QtWebKit -- it was quite recently. And browsing around on chakra forums I also stumbled across Qupzilla.

... Oh well ... Just did the same with Arora; it crashed. And now Rekonq crashes as well. Hmm ... Google-specific?

@nowrep
Copy link
Member

nowrep commented Oct 20, 2011

So this looks like a QtWebKit issue and unfortunately I can't do anything with it. You can maximally open issue on QtWebKit bug tracker.

Or it could also be QtWebKit build in chakra specific issue, but rather than that, I think it is global QtWebKit 534.34 issue.

@nowrep nowrep closed this as completed Oct 20, 2011
@abveritas
Copy link

I'm continuing testing on this issue. Confirmed the crashes on Chakra with rekonq & qupzilla trying to upload a file. Using the qttestbrowser, available after building qtwebkit 2.2, it doesn't crash, but hangs, upload never starts.
On the same system, used an Arch linux install, which runs webkit 533.33, and installed latest qupzilla from git, build today > no issue. Arch should move to 534.4 soon too, will report then if it is a qtwebkit, qupzilla, or Chakra error in building qtwebkit.

@abveritas
Copy link

Sorry, one more comment on this, more tests needed if this crash occurs, bc of the google-talk-plugin being loaded. I've been in contact with qtwebkit devs about supporting this plugin, seems to cause issues in many webkit browsers atm.

@ghost ghost mentioned this issue Oct 21, 2014
@ghost ghost mentioned this issue Aug 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants