Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401697 - www-client/firefox-9.0 crashs after download in KDE 4.8
Summary: www-client/firefox-9.0 crashs after download in KDE 4.8
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-31 20:56 UTC by Stefan Foerster
Modified: 2012-04-18 03:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Foerster 2012-01-31 20:56:41 UTC
Two days ago I have update KDE from 4.7.4 to 4.8.0. Since this update I have the following reproducible bug: Whenever I download a file with Firefox 9.0, immediately after the download is finished, Firefox crashes. After restart of Firefox, all the tabs get reloaded. It seems that Firefox crashes upon closing the download window (I always use the setting that downloads are saved to a location that I can choose, not to a standard download folder).

Firefox 9.0 and all versions before have not shown this behaviour under older KDE versions.

Reproducible: Always

Steps to Reproduce:
1. install KDE 4.8.0
2. install Firefox 9.0
3. download a file
4. see Firefox crash after the download is complete.
Actual Results:  
Firefox crashes.

Expected Results:  
no crash
Comment 1 Stefan Foerster 2012-01-31 21:08:38 UTC
It's a segmentation fault.

When I start firefox from the shell and download a file (in this case a patch from www.kernel.org), I get a segmentation fault (Speicherzugriffsfehler in German) in kgtk2-wrapper with libkgtk2.so:

------------------------------------------------------------------
stefan@stefan ~ $ firefox
ACR (Component): component init
FoxyProxy settingsDir: /home/stefan/.mozilla/firefox/ma03wisc.default/foxyproxy.xml
1131662705 > 2249141112

(firefox:6101): Gtk-CRITICAL **: IA__gtk_entry_get_text: assertion `GTK_IS_ENTRY (entry)' failed
/usr/bin/kgtk2-wrapper: Zeile 33:  6101 Speicherzugriffsfehler  LD_PRELOAD=/usr/lib/kgtk/libkgtk2.so:$LD_PRELOAD "$@"
------------------------------------------------------------------
Comment 2 Stefan Foerster 2012-02-01 17:10:10 UTC
In the meantime I have uninstalled the package "kgtk". Firefox no longer crashes. Obviously kgtk is broken with KDE 4.8.
Comment 3 Jory A. Pratt gentoo-dev 2012-02-01 21:18:24 UTC
Has nothing to do with mozilla and everything to do with kde.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2012-02-01 21:37:17 UTC
Which version of kgtk was it?
Comment 5 Stefan Foerster 2012-02-02 12:39:49 UTC
(In reply to comment #4)
> Which version of kgtk was it?

Both versions 0.10 and 0.11.
Comment 6 Chris Reffett (RETIRED) gentoo-dev Security 2012-02-14 21:58:40 UTC
I cannot reproduce the issue with Firefox 10.0, KDE 4.8.0, and kgtk 0.11.0
Comment 7 Johannes Huber (RETIRED) gentoo-dev 2012-02-14 22:01:17 UTC
(In reply to comment #6)
> I cannot reproduce the issue with Firefox 10.0, KDE 4.8.0, and kgtk 0.11.0

Thanks for testing.
Comment 8 Stefan Foerster 2012-02-15 20:09:16 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > I cannot reproduce the issue with Firefox 10.0, KDE 4.8.0, and kgtk 0.11.0
> 
> Thanks for testing.

I can repro this bug also in Firefox 10.0 with kgtk version 0.11. This bug is not resolved, pls reopen!

---------------
$ firefox
ACR (Component): component init
FoxyProxy settingsDir: /home/stefan/.mozilla/firefox/ma03wisc.default/foxyproxy.xml
2424250677 > 2421863860
CHECK IS 2333766647

(firefox:6158): Gtk-CRITICAL **: IA__gtk_entry_get_text: assertion `GTK_IS_ENTRY (entry)' failed
/usr/bin/kgtk2-wrapper: Zeile 33:  6158 Speicherzugriffsfehler  LD_PRELOAD=/usr/lib/kgtk/libkgtk2.so:$LD_PRELOAD "$@"
------------
Comment 9 Chris Reffett (RETIRED) gentoo-dev Security 2012-03-01 05:13:04 UTC
Two requests: first, for the sake of thoroughness: does Firefox still crash when you select Help -> Restart with Add-Ons Disabled ? Second, could you please give us the result of "emerge -pv firefox", in case the issue relates to a particular USE flag or LINGUAS setting? I doubt either of these will actually point to the issue, but I would like to be thorough in order to try and reproduce the bug.
Comment 10 Stefan Foerster 2012-03-03 07:21:47 UTC
(In reply to comment #9)
> Two requests: first, for the sake of thoroughness: does Firefox still crash
> when you select Help -> Restart with Add-Ons Disabled ? Second, could you
> please give us the result of "emerge -pv firefox", in case the issue relates
> to a particular USE flag or LINGUAS setting? I doubt either of these will
> actually point to the issue, but I would like to be thorough in order to try
> and reproduce the bug.

result of "emerge -pv firefox":

stefan stefan # emerge -pv firefox

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] www-client/firefox-10.0.1  USE="alsa crashreporter custom-optimization dbus ipc libnotify minimal pgo startup-notification system-sqlite webm -bindist -custom-cflags -debug (-selinux) -wifi" LINGUAS="de fr -af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zh_CN -zh_TW -zu" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

I'll reinstall kgtk and answer your 1st request in due course.
Comment 11 Stefan Foerster 2012-03-03 08:44:49 UTC
I have tested "Help -> Restart with Add-Ons Disabled". Firefox 10.0.1/ kgtk 0.11.0 also crashes with disabled add-ons.

As I mentioned initially in my bug report, this defect happens since I had upgraded from KDE 4.7.x to KDE 4.8.0, with Firefox 9.0 and kgtk 0.10 installed. I doubt that it's a Firefox issue.
Comment 12 Stefan Foerster 2012-03-03 08:49:11 UTC
If this bug would not be reproducible and it would only me having this issue, I would suggest you don't follow up on this. I live happily without having kgtk installed.
Comment 13 Andreas K. Hüttel archtester gentoo-dev 2012-03-23 08:56:54 UTC
Masked.

# Andreas K. Huettel <dilfridge@gentoo.org> (22 Mar 2012)
# Even its author admits that it's an ugly hack. Crashes e.g. 
# firefox with kde-4.8. Unmask at your own risk.
kde-misc/kgtk
Comment 14 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2012-04-18 03:16:02 UTC
I can't reproduce segfaulting too. And, by the way, I have warnings like:

(process:8624): GLib-CRITICAL **: g_main_context_pop_thread_default: assertion `g_queue_peek_head (stack) == context' failed

even when running without kgtk-wrapper.


So, I'd be happy if gentoo portage team don't remove kgtk from the tree and continue maintaining ;)