public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Identifying pthread threading bug
@ 2004-05-24 15:48 Roger Leigh
  2004-05-24 16:34 ` Yaakov Selkowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Roger Leigh @ 2004-05-24 15:48 UTC (permalink / raw)
  To: cygwin

I am building glib on cygwin, using this release:

http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.1/sources/glib-2.4.1.tar.bz2

When I build with

  ./configure -C --prefix=/usr --enable-threads --with-libiconv \
                 --enable-shared --disable-static

the build succeeds, but the unit test test/child-test waits indefinitely
on a child.

When I build with

  ./configure -C --prefix=/usr --disable-threads --with-libiconv \
                 --enable-shared --disable-static
  
the test succeeds.

I infer that the problem is due to enabling threading, and since the
code works on most, if not all, other platforms supporting POSIX
threads, I think it's likely that it's doing something that Cygwin
doesn't like, or is racy.  Could anyone suggest how I might track down
the cause of the problem?  I'm not particularly familiar with the Cygwin
internals, or threading, but I'm OK with gdb and C.


Many thanks,
Roger

-- 
Roger Leigh

                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Identifying pthread threading bug
  2004-05-24 15:48 Identifying pthread threading bug Roger Leigh
@ 2004-05-24 16:34 ` Yaakov Selkowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Yaakov Selkowitz @ 2004-05-24 16:34 UTC (permalink / raw)
  To: cygwin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roger Leigh wrote:

| I am building glib on cygwin, using this release:
|
|
http://ftp.gnome.org/pub/GNOME/desktop/2.6/2.6.1/sources/glib-2.4.1.tar.bz2
|
| When I build with
|
|   ./configure -C --prefix=/usr --enable-threads --with-libiconv \
|                  --enable-shared --disable-static
|
| the build succeeds, but the unit test test/child-test waits indefinitely
| on a child.
|
| When I build with
|
|   ./configure -C --prefix=/usr --disable-threads --with-libiconv \
|                  --enable-shared --disable-static
|
| the test succeeds.
|
| I infer that the problem is due to enabling threading, and since the
| code works on most, if not all, other platforms supporting POSIX
| threads, I think it's likely that it's doing something that Cygwin
| doesn't like, or is racy.  Could anyone suggest how I might track down
| the cause of the problem?  I'm not particularly familiar with the Cygwin
| internals, or threading, but I'm OK with gdb and C.

I suggest you visit the CyGnome2 project at
http://cygnome2.sourceforge.net/ and perhaps ask this question on their
cygnome2-devel list.  I know the project head has built GTK+ 2.4 but
hasn't released it due to bugs; I think he could give you more details.

Yaakov

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAsh40piWmPGlmQSMRAvhJAJ9eMfnFrmKZ9Lu7cydmCXr37+dodgCfdrw5
kNzfK0zXlxpRhLXrcyxcZ5o=
=yN8p
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-24 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-24 15:48 Identifying pthread threading bug Roger Leigh
2004-05-24 16:34 ` Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).