Closed Bug 558521 Opened 14 years ago Closed 14 years ago

ABORT: X_CreatePixmap: BadValue - Need to update Gtk on Rev3 Fedora 12 slaves

Categories

(Release Engineering :: General, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cjones, Assigned: armenzg)

References

Details

(Keywords: intermittent-failure)

Attachments

(3 files, 2 obsolete files)

Filing this on behalf of karlt, to whom more specific questions should be directed.

Those machines have exhibited at least one bug known to be fixed in 2.18.5; see bug 540197 and bug 558260.  There's a fix for another bug (https://bugzilla.gnome.org/show_bug.cgi?id=600865) in 2.18.7 that Karl tells me we should take also because Ubuntu has backported it.

Note that what Ubuntu 9.10 calls Gtk 2.18.3 includes fixes for both of these bugs.
Note that Karl says in bug 558260

Bug 558260 Comment 5 is https://bugzilla.gnome.org/show_bug.cgi?id=603652
(Mozilla bug 540197), fixed in Fedora 12 (and Ubuntu karmic) updates.
Summary: Need to upgrade Gtk on Rev3 Fedora 12 slaves to version 2.18.7 (or FC12 equivalent) → Need to update Gtk on Rev3 Fedora 12 slaves
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1270860729.1270861216.9030.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/09 17:52:09
s: talos-r3-fed-009

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1270845224.1270845653.26075.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/09 13:33:44
s: talos-r3-fed-003

http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1270838801.1270839147.6452.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/09 11:46:41
s: talos-r3-fed-027
Blocks: 438871, 540197
Summary: Need to update Gtk on Rev3 Fedora 12 slaves → ABORT: X_CreatePixmap: BadValue - Need to update Gtk on Rev3 Fedora 12 slaves
Whiteboard: [orange]
###!!! ABORT: X_CreatePixmap: BadValue (integer parameter out of range for
operation); 3 requests ago: file
/builds/slave/mozilla-central-linux/build/toolkit/xre/nsX11ErrorHandler.cpp,
line 194
[snip]
###!!! [Child][RPCChannel] Error: Channel error: cannot send/recv

###!!! ASSERTION: plug removed: 'glib assertion', file
/builds/slave/mozilla-central-linux/build/toolkit/xre/nsSigHandlers.cpp, line
223

** ERROR **: plug removed
aborting...
NEXT ERROR TEST-UNEXPECTED-FAIL | automation.py | Exited with code 6 during
test run

Crash reason:  SIGABRT
Crash address: 0x786

NEXT ERROR Thread 0 (crashed)
 0  linux-gate.so + 0x424
    eip = 0x00f61424   esp = 0xbff72588   ebp = 0xbff725a0   ebx = 0x00000786
    esi = 0x00f28844   edi = 0x00f27ff4   eax = 0x00000000   ecx = 0x00000786
    edx = 0x00000006   efl = 0x00200202
    Found by: given as instruction pointer in context
 1  libc-2.11.so + 0x2c349
    eip = 0x00de334a   esp = 0xbff725a8   ebp = 0xbff726c8
    Found by: previous frame's frame pointer
 2  libnspr4.so!PR_Abort [prlog.c:91694d19d7b2 : 548 + 0x4]
    eip = 0x002f0c15   esp = 0xbff726d0   ebp = 0xbff726d8
    Found by: previous frame's frame pointer
 3  libxul.so!Abort [nsDebugImpl.cpp:91694d19d7b2 : 387 + 0x4]
    eip = 0x01ae3010   esp = 0xbff726e0   ebp = 0xbff72710   ebx = 0x01ea699c
    Found by: call frame info
 4  libxul.so!NS_DebugBreak_P [nsDebugImpl.cpp:91694d19d7b2 : 327 + 0x6]
    eip = 0x01ae3201   esp = 0xbff726f0   ebp = 0xbff72710   ebx = 0x01ea699c
    Found by: call frame info
 5  libxul.so!X11Error [nsX11ErrorHandler.cpp:91694d19d7b2 : 194 + 0x1e]
    eip = 0x0115a7c8   esp = 0xbff72b10   ebp = 0x00000800   ebx = 0x01ea699c
    esi = 0x00000800   edi = 0xbff73398
    Found by: call frame info
 6  libbonoboui-2.so.0.0.0 + 0x20945
    eip = 0x02cc2946   esp = 0xbff73410   ebp = 0xbff73428   ebx = 0x02d0ca3c
    esi = 0xb0db39a0   edi = 0xbff7346c
    Found by: call frame info
 7  libX11.so.6.3.0 + 0x3c120
    eip = 0x00b22121   esp = 0xbff73430   ebp = 0xbff734e8
    Found by: previous frame's frame pointer
 8  libX11.so.6.3.0 + 0x428e6
    eip = 0x00b288e7   esp = 0xbff734f0   ebp = 0xbff73558
    Found by: previous frame's frame pointer
 9  libX11.so.6.3.0 + 0x42f95
    eip = 0x00b28f96   esp = 0xbff73560   ebp = 0xbff735a8
    Found by: previous frame's frame pointer
10  libX11.so.6.3.0 + 0x20a13
    eip = 0x00b06a14   esp = 0xbff735b0   ebp = 0xbff73628
    Found by: previous frame's frame pointer
11  libX11.so.6.3.0 + 0x20b92
    eip = 0x00b06b93   esp = 0xbff73630   ebp = 0xbff73658
    Found by: previous frame's frame pointer
12  libgdk-x11-2.0.so.0.1800.3 + 0x694e6
    eip = 0x0548a4e7   esp = 0xbff73660   ebp = 0xbff736d8
    Found by: previous frame's frame pointer
13  libgdk-x11-2.0.so.0.1800.3 + 0x19460
    eip = 0x0543a461   esp = 0xbff736e0   ebp = 0xbff73708
    Found by: previous frame's frame pointer
14  libgdk-x11-2.0.so.0.1800.3 + 0x19460
    eip = 0x0543a461   esp = 0xbff73710   ebp = 0xbff73738
    Found by: previous frame's frame pointer
15  libgdk-x11-2.0.so.0.1800.3 + 0x5cd9f
    eip = 0x0547dda0   esp = 0xbff73740   ebp = 0xbff73788
    Found by: previous frame's frame pointer
16  libgdk-x11-2.0.so.0.1800.3 + 0x260a0
    eip = 0x054470a1   esp = 0xbff73790   ebp = 0xbff737a8
    Found by: previous frame's frame pointer
17  libgdk-x11-2.0.so.0.1800.3 + 0x3606e
    eip = 0x0545706f   esp = 0xbff737b0   ebp = 0xbff73828
    Found by: previous frame's frame pointer
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1270925393.1270925660.10337.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/10 11:49:53
s: talos-r3-fed-023
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1270998268.1270998614.3316.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/11 08:04:28
s: talos-r3-fed-003
This is what we have installed in our machines (yum list | grep gtk2):
gtk2.x86_64    2.18.3-19.fc12   @anaconda-InstallationRepo-200911081904.x86_64
gtk2.i686      2.18.3-19.fc12   @anaconda-InstallationRepo-200911081854.i386

These are the following stabled 2.18.x packages:
http://ftp.gnome.org/pub/gnome/sources/gtk+/2.18/?C=M;O=D

Would this be the right one to go with:
http://ftp.gnome.org/pub/gnome/sources/gtk+/2.18/gtk+-2.18.9.tar.bz2

bhearsum any concerns? sounds good to deploy this package in our Fedora talos slaves?
(In reply to comment #6)
> bhearsum any concerns? sounds good to deploy this package in our Fedora talos
> slaves?

We will not be installing custom core libs, such as GTK, on slaves IMHO. Maybe there's an updated package in yum, though?
I am looking at Fedora's packages and gtk2-2.18.9-3.fc12 should be available but I can't see it when I do "yum check-updates":
https://admin.fedoraproject.org/updates/gtk2-2.18.9-3.fc12?_csrf_token=9736558c100ce4ec4e69b6222bd72b9088df3987

Any ideas?
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271110536.1271111600.17585.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/12 15:15:36
s: talos-r3-fed-031
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271119034.1271119520.8230.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/12 17:37:14
s: talos-r3-fed-033
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271177326.1271177860.32021.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/13 09:48:46
s: talos-r3-fed-038
(In reply to comment #7)
> (In reply to comment #6)
> > bhearsum any concerns? sounds good to deploy this package in our Fedora talos
> > slaves?
> 
> We will not be installing custom core libs, such as GTK, on slaves IMHO. Maybe
> there's an updated package in yum, though?

Karlt: is there a *released* version of GTK on Fedora12 that you know will work with this test? Or can the test be modified to work with GTK 2.18.3-19.fc12 installed by default in Fedora12? 

We're concerned about the idea of installing an unsupported version...
(In reply to comment #8)
> I am looking at Fedora's packages and gtk2-2.18.9-3.fc12 should be available
> but I can't see it when I do "yum check-updates":
> https://admin.fedoraproject.org/updates/gtk2-2.18.9-3.fc12?_csrf_token=9736558c100ce4ec4e69b6222bd72b9088df3987
> 
> Any ideas?

I suspect that the slaves aren't configured to look at mirrors for packages, since they were installed from a DVD.
Assignee: nobody → armenzg
Status: NEW → ASSIGNED
Priority: -- → P3
Priority: P3 → P2
This is the first to get this moving.
> yum --enablerepo updates update gtk2

Now I will have to work on the puppet changes.
(In reply to comment #14)
> update gtk to 2.18.9 log

That looks good, thank you.
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271233104.1271233715.9841.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/14 01:18:24
s: talos-r3-fed-033
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271290299.1271290885.25184.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/14 17:11:39
s: talos-r3-fed-027
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271302844.1271303571.15378.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/14 20:40:44
s: talos-r3-fed-033
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271341944.1271342230.24718.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/15 07:32:24
s: talos-r3-fed-030
Blocks: fedora-oranges
No longer blocks: 548768
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271389065.1271389428.12723.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/15 20:37:45
s: talos-r3-fed-009
Attached patch upgrade gtk to 2.18.9 (obsolete) — Splinter Review
Attachment #439598 - Flags: review?(bhearsum)
Comment on attachment 439598 [details] [diff] [review]
upgrade gtk to 2.18.9

I jumped too fast.
This didn't work for the other Fedora slave with:

err: //Node[talos-r3-fed-001.build.mozilla.org]/staging-talosslave/talos_fedora/Package[gtk2]/ensure: change from 2.18.3-19.fc12 to 2.18.9-3.fc12 failed: Could not update: Execution of '/bin/rpm -U --oldpackage http://staging-puppet.build.mozilla.org//talos/linux/RPMS/i686/gtk2-2.18.9-3.fc12.i686.rpm' returned 1: error: Failed dependencies:
        gtk2 = 2.18.3-19.fc12 is needed by (installed) gtk2-immodule-xim-2.18.3-19.fc12.i686
 at /etc/puppet/manifests/os/talos_fedora.pp:12

Investigating.
Attachment #439598 - Flags: review?(bhearsum)
The first slave worked because we used yum updates at some point.

This worked for me:
$ rpm -e gtk2-immodule-xim
$ rpm -U gtk2-2.18.9-3.fc12.i686.rpm

I will have to see if unit tests will still work and announce in dev.platform to see if need immodule-xim at all.

The only hard dependency was that:
$ rpm -e --test gtk2
...
gtk2 = 2.18.3-19.fc12 is needed by (installed) gtk2-immodule-xim-2.18.3-19.fc12.i686

I will continue next week (hrrmm work week)
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271502181.1271502791.12669.gz#err0
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/17 04:03:01
try running 

yumdownloader --resolve gtk2 

on a standard image.  This will figure out which packages need to be installed/upgraded on the fedora machines.
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271670803.1271671176.13985.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/19 02:53:23
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271687026.1271687970.8478.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/19 07:23:46
s: talos-r3-fed-022
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271691974.1271692445.19932.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/19 08:46:14
s: talos-r3-fed-014
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271704877.1271705347.27270.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/19 12:21:17
(In reply to comment #23)
> This worked for me:
> $ rpm -e gtk2-immodule-xim
> $ rpm -U gtk2-2.18.9-3.fc12.i686.rpm
> 
> I will have to see if unit tests will still work and announce in dev.platform
> to see if need immodule-xim at all.

AFAIK we don't have an input method tests yet.
However, if practical, i'd install / upgrade to
gtk2-immodule-xim-2.18.9-3.fc12.i686 to keep things as close as possible to what default installations have.  (I'm not sure it matters though.)
(In reply to comment #30)
> AFAIK we don't have an input method tests yet.

Yes. But if we will create it, it cannot test the actual immodule behavior, it will test only our code in my plan. See bug 460056 comment 2.
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271736509.1271742696.18208.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/19 21:08:29
s: talos-r3-fed-024
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271773553.1271773958.26399.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/20 07:25:53
Attached patch upgrade gtk to 2.18.9 (obsolete) — Splinter Review
I need a clean slave to test the patch against.
Therefore, I can't ask for review yet.
Attachment #439598 - Attachment is obsolete: true
(In reply to comment #31)
> (In reply to comment #30)
> > AFAIK we don't have an input method tests yet.
> 
> Yes. But if we will create it, it cannot test the actual immodule behavior, it
> will test only our code in my plan. See bug 460056 comment 2.

The patch will still gives us room to re-add it.
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271788040.1271788487.3907.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/20 11:27:20
s: talos-r3-fed-008
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1271794661.1271795537.25110.gz
Rev3 Fedora 12 mozilla-central opt test mochitests-5/5 on 2010/04/20 13:17:41
s: talos-r3-fed-005
Tested that it works.

The first 3 steps are to put the slave as it was before my manual attempts last week.
[root@talos-r3-fed-001 ~]# rpm -e --nodeps gtk2
[root@talos-r3-fed-001 ~]# rpm -i gtk2-2.18.3-19.fc12.i686.rpm 
[root@talos-r3-fed-001 ~]# rpm -i gtk2-immodule-xim-2.18.3-19.fc12.i686.rpm 
[root@talos-r3-fed-001 ~]# puppetd --test --server staging-puppet.build.mozilla.org
info: Caching catalog at /var/lib/puppet/localconfig.yaml
notice: Starting catalog run
notice: //Node[talos-r3-fed-001.build.mozilla.org]/staging-talosslave/talos_fedora/Package[gtk2-immodule-xim]/ensure: removed
notice: //Node[talos-r3-fed-001.build.mozilla.org]/staging-talosslave/talos_fedora/Package[gtk2]/ensure: ensure changed '2.18.3-19.fc12' to '2.18.9-3.fc12'
notice: Finished catalog run in 7.71 seconds
[root@talos-r3-fed-001 ~]# puppetd --test --server staging-puppet.build.mozilla.org
info: Caching catalog at /var/lib/puppet/localconfig.yaml
notice: Starting catalog run
notice: Finished catalog run in 0.82 seconds
Attachment #440248 - Attachment is obsolete: true
Attachment #440326 - Flags: review?(bhearsum)
Attachment #440326 - Flags: review?(bhearsum) → review+
Comment on attachment 440326 [details] [diff] [review]
upgrade gtk to 2.18.9

http://hg.mozilla.org/build/puppet-manifests/rev/768c68b51522

[root@production-puppet i686]# cvs ci -m "Bug 558521. Update gtk on talos fedora slaves. (armenzg) r=bhearsum"
cvs commit: Examining .
RCS file: /mofo/puppet-files/talos/linux/RPMS/i686/gtk2-2.18.9-3.fc12.i686.rpm,v
done
Checking in gtk2-2.18.9-3.fc12.i686.rpm;
/mofo/puppet-files/talos/linux/RPMS/i686/gtk2-2.18.9-3.fc12.i686.rpm,v  <--  gtk2-2.18.9-3.fc12.i686.rpm
initial revision: 1.1
done
Attachment #440326 - Flags: checked-in+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
(In reply to comment #40)
> these 2 failures are still on ABORT: X_CreatePixmap
> 
> http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1272543145.1272543952.7364.gz
> http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1272540472.1272540708.16768.gz
> 
> both on Fedora Linux 64

Hrmm we never upgraded gtk on Linux 64 since we weren't hitting (or not as often).
I guess I should get it update in there too.
Status: RESOLVED → REOPENED
Priority: P2 → P3
Resolution: FIXED → ---
Now the same version of gtk2 will be used by both 32 and 64 bit platforms.


[root@talos-r3-fed64-001 ~]# rpm -qi gtk2
Name        : gtk2                         Relocations: (not relocatable)
Version     : 2.18.3                            Vendor: Fedora Project
Release     : 19.fc12                       Build Date: Mon 02 Nov 2009 04:22:02 AM PST
Install Date: Tue 19 Jan 2010 10:07:50 PM PST      Build Host: xenbuilder4.fedora.phx.redhat.com
Group       : System Environment/Libraries   Source RPM: gtk2-2.18.3-19.fc12.src.rpm
Size        : 12392729                         License: LGPLv2+
Signature   : RSA/8, Tue 03 Nov 2009 02:36:49 AM PST, Key ID 9d1cc34857bbccba
Packager    : Fedora Project
URL         : http://www.gtk.org
Summary     : The GIMP ToolKit (GTK+), a library for creating GUIs for X
Description :
GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK+ is suitable for
projects ranging from small one-off tools to complete application
suites.
[root@talos-r3-fed64-001 ~]# puppetd --test --server staging-puppet.build.mozilla.org
info: Caching catalog at /var/lib/puppet/localconfig.yaml
notice: Starting catalog run
notice: //Node[talos-r3-fed64-001.build.mozilla.org]/talos_fedora/Package[gtk2-immodule-xim]/ensure: removed
notice: //Node[talos-r3-fed64-001.build.mozilla.org]/talos_fedora/Package[gtk2]/ensure: ensure changed '2.18.3-19.fc12' to '2.18.9-3.fc12'
notice: Finished catalog run in 10.08 seconds
[root@talos-r3-fed64-001 ~]# rpm -qi gtk2
Name        : gtk2                         Relocations: (not relocatable)
Version     : 2.18.9                            Vendor: Fedora Project
Release     : 3.fc12                        Build Date: Wed 07 Apr 2010 05:38:35 AM PDT
Install Date: Fri 30 Apr 2010 10:38:30 AM PDT      Build Host: x86-03.phx2.fedoraproject.org
Group       : System Environment/Libraries   Source RPM: gtk2-2.18.9-3.fc12.src.rpm
Size        : 12982805                         License: LGPLv2+
Signature   : (none)
Packager    : Fedora Project
URL         : http://www.gtk.org
Summary     : The GIMP ToolKit (GTK+), a library for creating GUIs for X
Description :
GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK+ is suitable for
projects ranging from small one-off tools to complete application
suites.
Attachment #442740 - Flags: review?(bhearsum)
Attachment #442740 - Flags: review?(bhearsum) → review+
Comment on attachment 442740 [details] [diff] [review]
upgrade gtk to 2.18.9 (Fedora 64 as well)

http://hg.mozilla.org/build/puppet-manifests/rev/471c16dcc10a
The Fedora 64 bit machines should be updating to the specified gtk2 version upon reboot.
Attachment #442740 - Flags: checked-in+
Added the rpm to our repos as well (see log below).

Re-open if there are any reocurrences (well, if you could give the machines few hours to make sure they all have the right gtk2 version).


[root@production-puppet ~]# cd /N/talos/linux/RPMS/x86_64/
[root@production-puppet x86_64]# cvs add gtk2-2.18.9-3.fc12.x86_64.rpm 
cvs add: scheduling file `gtk2-2.18.9-3.fc12.x86_64.rpm' for addition
cvs add: use 'cvs commit' to add this file permanently
[root@production-puppet x86_64]# cvs ci -m "Bug 558521. Add gtk2 rpm for x86_64. r=armenzg"
cvs commit: Examining .
RCS file: /mofo/puppet-files/talos/linux/RPMS/x86_64/gtk2-2.18.9-3.fc12.x86_64.rpm,v
done
Checking in gtk2-2.18.9-3.fc12.x86_64.rpm;
/mofo/puppet-files/talos/linux/RPMS/x86_64/gtk2-2.18.9-3.fc12.x86_64.rpm,v  <--  gtk2-2.18.9-3.fc12.x86_64.rpm
initial revision: 1.1
done
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Whiteboard: [orange]
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.