Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 153977 - Building glade2-2.6.0-1.src.rpm produces a binary that starts in a continuos loop
Summary: Building glade2-2.6.0-1.src.rpm produces a binary that starts in a continuos ...
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: glade2
Version: 4.0
Hardware: i386
OS: Linux
Target Milestone: ---
: ---
Assignee: Matthias Clasen
QA Contact:
Whiteboard: RHEL4U3NAK
Depends On:
TreeView+ depends on / blocked
Reported: 2005-04-06 11:38 UTC by Johnny Hughes
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-09-05 20:05:09 UTC
Target Upstream Version:

Attachments (Terms of Use)
Fixes infinite loop bug in startup (deleted)
2005-04-06 16:22 UTC, David L. Parsley
no flags Details | Diff

Description Johnny Hughes 2005-04-06 11:38:30 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050324 Firefox/1.0.2 Red Hat/1.0.2-1.4.1.centos4

Description of problem:
After building glade2-2.6.0-1.src.rpm on a RHEL-4 machine and installing the produced glade2-2.6.0-1.i386.rpm, running the command "glade-2" produces a blank palette and the program hangs.

Same issue if the SRPM is built on an x86_64 machine.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.  rpmbuild --rebuild glade2-2.6.0-1.src.rpm

Additional info:

running an strace when starting produces this continuos loop:

open("/home/testuser/.icons/Bluecurve/cursors/xterm", O_RDONLY) = 16
fstat(16, {st_mode=S_IFREG|0644, st_size=5020, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a98c3c000
read(16, "Xcur\20\0\0\0\0\0\1\0\3\0\0\0\2\0\375\377\30\0\0\0004\0"..., 4096) = 4096
lseek(16, 0, SEEK_SET)                  = 0
read(16, "Xcur\20\0\0\0\0\0\1\0\3\0\0\0\2\0\375\377\30\0\0\0004\0"..., 4096) = 4096
close(16)                               = 0
munmap(0x2a98c3c000, 4096)              = 0 

I went to the site for glade2 and noticed the following line:

Fixed bug that could cause an infinite loop on startup.


So I downloaded the file:

and modified the spec file so the version is:

Version:        2.6.8

then rebuilt and installed the rpm ... it seems to work fine with this version of glade2.

Obviously, this needs to be tested.

Comment 1 David L. Parsley 2005-04-06 16:21:30 UTC
This was a small change in glade/glade_atk.c; applying the patch to the 2.6.0
src.rpm fixes it for me.  I'll attach 'glade-infinite-loop.patch'.

Comment 2 David L. Parsley 2005-04-06 16:22:43 UTC
Created attachment 112762 [details]
Fixes infinite loop bug in startup

Comment 3 Johnny Hughes 2005-04-07 00:38:03 UTC
I can verifiy that this patch fixes the above problem for me in i386 and x86_64.

Comment 14 RHEL Product and Program Management 2006-09-05 19:53:51 UTC
The component this request has been filed against is not planned for inclusion
in the next update. The decision is based on weighting the priority and number
of requests for a component as well as the impact on the Red Hat Enterprise
Linux user-base: other components are considered having higher priority and the
number of changes we intend to include in update cycles is limited.

Comment 15 RHEL Product and Program Management 2006-09-05 20:05:10 UTC
Product Management has reviewed and declined this request.  You may appeal this
decision by reopening this request. 

Note You need to log in before you can comment on or make changes to this bug.