Closed Bug 827876 Opened 11 years ago Closed 11 years ago

When editing addons, an "IA__gtk_clipboard_set_with_data: assertion `targets != NULL' failed" occurs

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mozilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121130221702

Steps to reproduce:

Attempted to disable Download-helper (or any other) extension
1. Tools->Add-on
2. Click Extensions
3. On Download-helper, click disable


Actual results:

In the UI: Nothing
On stdout:
(firefox:13177): Gtk-CRITICAL **: IA__gtk_clipboard_set_with_data: assertion `targets != NULL' failed



Expected results:

Extension should have been disabled, and button should have turned into enable.
Can you check, is this reproducible in current nightly build from http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/firefox-21.0a1.en-US.linux-i686.tar.bz2? Just unpack it to separate dir and run from there
Component: Untriaged → Plug-ins
Product: Firefox → Core
Please note that extensions are not the same as plugins.
Component: Plug-ins → General
Product: Core → Firefox
(In reply to Phoenix from comment #1)
> Can you check, is this reproducible in current nightly build from
> http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-
> central/firefox-21.0a1.en-US.linux-i686.tar.bz2? Just unpack it to separate
> dir and run from there

Same issue with that version...
(In reply to Alain Knaff from comment #3)
> Same issue with that version...
Okay, next step is to check if problem exists in clean profile - http://kb.mozillazine.org/Profile_Manager
Flags: needinfo?(mozilla)
Version: 17 Branch → Trunk
Problem does not occur with "clean" profile
Flags: needinfo?(mozilla)
So, then possible problem sources are
1) Misbehaving extension or plugin. Run browser in Safe Mode, this would disable all extensions, then try to turn them on/off to find offending one.
2) Some settings interfere
3) Corrupted profile folder
In cases 2-3 best way to move your data to new profile and delete old one
Whiteboard: closeme WFM 2013-02-01
(In reply to Phoenix from comment #6)
> So, then possible problem sources are
> 1) Misbehaving extension or plugin. Run browser in Safe Mode, this would
> disable all extensions, then try to turn them on/off to find offending one.

Tried that one, even with all extensions and plugins disabled, it still happens

> 2) Some settings interfere

Even with the prefs.js from the "clean" profile copied to the current one, it still happens

> 3) Corrupted profile folder

How chan I check for that?

> In cases 2-3 best way to move your data to new profile and delete old one

N.B. I now took the opposite approach, of copying what I need from my formerly current profile to the clean profile: extensions folder, *.sqlite, foxyproxy.xml, bookmarks.html, prefs.js, key3.db, and the (now no longer...) clean profile still works...

For analysis, I've still got the broken profile around, if you want me to test some more stuff.
(In reply to Alain Knaff from comment #7)
> For analysis, I've still got the broken profile around, if you want me to
> test some more stuff.
It is that somebody from developers look at that, but looking at similar Bug 632025 and Bug 781788 I wouldn't expect much response. If nobody would be interested in further investigation, I'll close this bug in a month as your problem is solved with new profile :)
Component: General → Widget: Gtk
Product: Firefox → Core
Found it. This was due to a chrome/userContent.css where I had defined attributes for -moz-user-select instead of user-select.

It worked on earlier versions of Firefox which probably had user-select as a local CSS extension, but broke once this became "official" and the name with the -moz prefix got retired.

Still, a nicer message such as "unknown CSS attribute -moz-user-select" would have been helpful...
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Whiteboard: closeme WFM 2013-02-01
You need to log in before you can comment on or make changes to this bug.