public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
@ 2002-07-10 19:26 Lenny Primak
  0 siblings, 0 replies; 9+ messages in thread
From: Lenny Primak @ 2002-07-10 19:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/7168; it has been noted by GNATS.

From: Lenny Primak <lprimak@hope.nyc.ny.us>
To: bkoz@redhat.com
Cc: bkoz@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org, tprince@computer.org,
   cygwin@cygwin.com, phil@jaj.com
Subject: Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
Date: Wed, 10 Jul 2002 22:19:09 -0400

 This problem appears to be solved with the latest version
 of cygwin (as of jul 1 d/l)
 
 I still need help determining gcc3's MT-exception capability.
 Can anybody help me with this?
 
 Thanks a lot.
 
 Someone can close this bug (7168)
 
 On Wednesday, July 3, 2002, at 01:38  PM, Benjamin Kosnik wrote:
 
 >
 >> Can somebody verify that C++ MT-exceptions work in the latest
 >> gcc 3.0 builds for cygwin?  If true, I can volunteer to build the
 >> binaries.
 >
 > I don't have access to a windows setup, so I am unable to help you. I
 > suggest you email some of the people building current gcc under cygwin,
 > the people who submit results to gcc-testresults, and ask them politely
 > to try your sample code.
 >
 > I suspect it works, but do not know for certain. The C++ results, in
 > general, look quite good for cygwin with recent toolchains.
 >
 > -benjamin
 >
 Lenny Primak
 PP-ASEL,H-IA
 http://hope.nyc.ny.us
 


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

* Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
@ 2002-07-25 13:15 bkoz
  0 siblings, 0 replies; 9+ messages in thread
From: bkoz @ 2002-07-25 13:15 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, lprimak, nobody

Synopsis: C++ Exceptions in Multithreaded Applications Crash (cygwin)

State-Changed-From-To: suspended->closed
State-Changed-By: bkoz
State-Changed-When: Thu Jul 25 13:15:47 2002
State-Changed-Why:
    Closed by request.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7168


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

* Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
@ 2002-07-03 10:56 Benjamin Kosnik
  0 siblings, 0 replies; 9+ messages in thread
From: Benjamin Kosnik @ 2002-07-03 10:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/7168; it has been noted by GNATS.

From: Benjamin Kosnik <bkoz@redhat.com>
To: Lenny Primak <lprimak@hope.nyc.ny.us>
Cc: bkoz@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   lprimak@hope.nyc.ny.us, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
   tprince@computer.org, cygwin@cygwin.com, phil@jaj.com
Subject: Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
Date: Wed, 3 Jul 2002 10:38:56 -0700

 > Can somebody verify that C++ MT-exceptions work in the latest
 > gcc 3.0 builds for cygwin?  If true, I can volunteer to build the 
 > binaries.
 
 I don't have access to a windows setup, so I am unable to help you. I
 suggest you email some of the people building current gcc under cygwin,
 the people who submit results to gcc-testresults, and ask them politely
 to try your sample code. 
 
 I suspect it works, but do not know for certain. The C++ results, in
 general, look quite good for cygwin with recent toolchains.
 
 -benjamin 


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

* Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
@ 2002-07-03 10:56 Lenny Primak
  0 siblings, 0 replies; 9+ messages in thread
From: Lenny Primak @ 2002-07-03 10:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/7168; it has been noted by GNATS.

From: Lenny Primak <lprimak@hope.nyc.ny.us>
To: bkoz@redhat.com
Cc: bkoz@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org, tprince@computer.org,
   cygwin@cygwin.com, phil@jaj.com
Subject: Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
Date: Wed, 3 Jul 2002 13:53:44 -0400

 Thanks, already done w/cc on the previous e-mail.
 
 Thanks for the help you are giving me anyway.
 
 btw: the example that's submitted with the bug will not work with gcc 3,
 so this presents another problem of how to specifically test for this 
 error
 in the gcc 3.0 tree.
 
 On Wednesday, July 3, 2002, at 01:38  PM, Benjamin Kosnik wrote:
 
 >
 >> Can somebody verify that C++ MT-exceptions work in the latest
 >> gcc 3.0 builds for cygwin?  If true, I can volunteer to build the
 >> binaries.
 >
 > I don't have access to a windows setup, so I am unable to help you. I
 > suggest you email some of the people building current gcc under cygwin,
 > the people who submit results to gcc-testresults, and ask them politely
 > to try your sample code.
 >
 > I suspect it works, but do not know for certain. The C++ results, in
 > general, look quite good for cygwin with recent toolchains.
 >
 > -benjamin
 >
 Lenny Primak
 PP-ASEL,H-IA
 http://hope.nyc.ny.us
 


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

* Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
@ 2002-07-03 10:26 Lenny Primak
  0 siblings, 0 replies; 9+ messages in thread
From: Lenny Primak @ 2002-07-03 10:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/7168; it has been noted by GNATS.

From: Lenny Primak <lprimak@hope.nyc.ny.us>
To: bkoz@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   lprimak@hope.nyc.ny.us, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc: tprince@computer.org, cygwin@cygwin.com, phil@jaj.com
Subject: Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
Date: Wed, 3 Jul 2002 13:16:51 -0400

 Can somebody verify that C++ MT-exceptions work in the latest
 gcc 3.0 builds for cygwin?  If true, I can volunteer to build the 
 binaries.
 
 http://gcc.gnu.org/ml/gcc-testresults/2002-07/msg00030.html
 
 On Wednesday, July 3, 2002, at 12:38  PM, bkoz@gcc.gnu.org wrote:
 
 > Synopsis: C++ Exceptions in Multithreaded Applications Crash (cygwin)
 >
 > State-Changed-From-To: open->suspended
 > State-Changed-By: bkoz
 > State-Changed-When: Wed Jul  3 09:38:21 2002
 > State-Changed-Why:
 >     As Phil noted, this bug tracking report system is only for 
 > libstdc++-v3, which comes with gcc-3.0.x and later. I suggest you use a 
 > recent version of gcc.
 >
 >     Binaries for cygwin can be found here:
 >     http://www.xraylith.wisc.edu/~khan/software/gnu-win32/gcc.htm
 >
 >     However, I've noticed that there are none for the gcc-3.0.x series, 
 > sadly.
 >
 >     However, I see good-looking builds of current gcc toolchains on 
 > this platform all the time:
 >
 >     http://gcc.gnu.org/ml/gcc-testresults/2002-07/msg00046.html
 >     http://gcc.gnu.org/ml/gcc-testresults/2002-07/msg00030.html
 >
 >     Perhaps you could contact one of these people for help and advice 
 > on building a current toolchain under cygwin.
 >
 >     Again, I'm surprised this is not already a package for cygwin.
 >
 >
 >     -benjamin
 >
 >
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-
 > trail&database=gcc&pr=7168
 >
 Lenny Primak
 PP-ASEL,H-IA
 http://hope.nyc.ny.us
 


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

* Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
@ 2002-07-03  9:38 bkoz
  0 siblings, 0 replies; 9+ messages in thread
From: bkoz @ 2002-07-03  9:38 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, lprimak, nobody

Synopsis: C++ Exceptions in Multithreaded Applications Crash (cygwin)

State-Changed-From-To: open->suspended
State-Changed-By: bkoz
State-Changed-When: Wed Jul  3 09:38:21 2002
State-Changed-Why:
    As Phil noted, this bug tracking report system is only for libstdc++-v3, which comes with gcc-3.0.x and later. I suggest you use a recent version of gcc.
    
    Binaries for cygwin can be found here:
    http://www.xraylith.wisc.edu/~khan/software/gnu-win32/gcc.htm
    
    However, I've noticed that there are none for the gcc-3.0.x series, sadly.
    
    However, I see good-looking builds of current gcc toolchains on this platform all the time:
    
    http://gcc.gnu.org/ml/gcc-testresults/2002-07/msg00046.html
    http://gcc.gnu.org/ml/gcc-testresults/2002-07/msg00030.html
    
    Perhaps you could contact one of these people for help and advice on building a current toolchain under cygwin. 
    
    Again, I'm surprised this is not already a package for cygwin.
    
    
    -benjamin
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7168


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

* Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
@ 2002-07-01 21:16 Lenny Primak
  0 siblings, 0 replies; 9+ messages in thread
From: Lenny Primak @ 2002-07-01 21:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/7168; it has been noted by GNATS.

From: Lenny Primak <lprimak@hope.nyc.ny.us>
To: Phil Edwards <phil@jaj.com>
Cc: gcc-gnats@gcc.gnu.org, khan@nanotech.wisc.edu
Subject: Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
Date: Tue, 2 Jul 2002 00:08:38 -0400

 I reported this to the cygwin lists as well,
 I am not sure this is a libstdc++ issue, but it might be an issue in 
 libgcc,
 and since there isn't a cygwin gcc 3.0, maybe there's an expert in this
 that's listening on this list as well.
 
 Thanks a lot.
 
 On Monday, July 1, 2002, at 06:42 PM, Phil Edwards wrote:
 
 > On Sat, Jun 29, 2002 at 09:39:27PM -0000, lprimak@hope.nyc.ny.us wrote:
 >>> Release:        2.95.3-5 (cygwin special)
 >
 > We no longer support 2.x in the gerneral libstdc++ development; the code
 > has been completely rewritten.  If you are having a cygwin problem, you
 > should report it to the cygwin lists.
 >
 >
 > --
 > If ye love wealth greater than liberty, the tranquility of servitude 
 > greater
 > than the animating contest for freedom, go home and leave us in peace.  
 > We seek
 > not your counsel, nor your arms.  Crouch down and lick the hand that 
 > feeds you;
 > and may posterity forget that ye were our countrymen.            - 
 > Samuel Adams
 


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

* Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
@ 2002-07-01 15:46 Phil Edwards
  0 siblings, 0 replies; 9+ messages in thread
From: Phil Edwards @ 2002-07-01 15:46 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/7168; it has been noted by GNATS.

From: Phil Edwards <phil@jaj.com>
To: lprimak@hope.nyc.ny.us
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
Date: Mon, 1 Jul 2002 18:42:27 -0400

 On Sat, Jun 29, 2002 at 09:39:27PM -0000, lprimak@hope.nyc.ny.us wrote:
 > >Release:        2.95.3-5 (cygwin special)
 
 We no longer support 2.x in the gerneral libstdc++ development; the code
 has been completely rewritten.  If you are having a cygwin problem, you
 should report it to the cygwin lists.
 
 
 -- 
 If ye love wealth greater than liberty, the tranquility of servitude greater
 than the animating contest for freedom, go home and leave us in peace.  We seek
 not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
 and may posterity forget that ye were our countrymen.            - Samuel Adams


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

* libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin)
@ 2002-06-29 15:46 lprimak
  0 siblings, 0 replies; 9+ messages in thread
From: lprimak @ 2002-06-29 15:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7168
>Category:       libstdc++
>Synopsis:       C++ Exceptions in Multithreaded Applications Crash (cygwin)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 29 14:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lenny Primak
>Release:        2.95.3-5 (cygwin special)
>Organization:
>Environment:
Cygwin stock cygwin.com 1.3 install, MS Windows  (any)
>Description:
Superceeds gnats/7167,
using the C++ exception system from multiple threads corrupts the gcc's internal exception stack, due to not including the thread-specific exception context in the compile.
>How-To-Repeat:
The attached program will determine whether the exception context is thread-specific or not
>Fix:
Looking for one
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="gcc_exception.C"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gcc_exception.C"

I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxwdGhyZWFkLmg+CiNpbmNsdWRlIDxzeXMvcG9s
bC5oPgoKCmV4dGVybiAiQyIgdm9pZCAqCl9fZ2V0X2VoX2NvbnRleHQgKCk7CgoKc3RhdGljIHZv
aWQqIHNhdmVkX2VoX2NvbnRleHQgPSAwOwoKc3RhdGljIHZvaWQqIGZ1bmModm9pZCopIHRocm93
KGNoYXIqKQp7Cgl2b2lkKiBlaF9jbnR4dCA9IF9fZ2V0X2VoX2NvbnRleHQoKTsKCXByaW50Zigi
ZnVuYygpIC0gZWhfY29udGV4dCA9ICVYXG4iLCBlaF9jbnR4dCk7CglpZihzYXZlZF9laF9jb250
ZXh0ID09IDApCgl7CgkJc2F2ZWRfZWhfY29udGV4dCA9IGVoX2NudHh0OwoJfQoJZWxzZQoJewoJ
CWlmKGVoX2NudHh0ID09IHNhdmVkX2VoX2NvbnRleHQpCgkJewoJCQlwcmludGYoIkZBVEFMOiBJ
ZGVudGljYWwgRXhjZXB0aW9uIFN0YWNrcyFcbiIpOwoJCX0KCQllbHNlCgkJewoJCQlwcmludGYo
IkdyZWF0ISBFeGNlcHRpb24gU3RhY2tzIERpZmZlci5cbiIpOwoJCX0KCX0KCWludCBzdmFyID0g
NTsKCXRyeSB7CgkJdGhyb3cgMTsKCX0KCWNhdGNoKGNoYXIqKQoJewoJCXByaW50ZigiY2F1Z2h0
IHN0cmluZ1xuIik7Cgl9CgljYXRjaChpbnQpCgl7CgkJLy8gbm90aGluZwoJfQoKCXBvbGwoMCwg
MCwgNTAwMCk7CglyZXR1cm4gMDsKfQoKaW50IG1haW4oKQp7CglwdGhyZWFkX3QgdGhyLCB0aHIy
OwoJcHRocmVhZF9jcmVhdGUoJnRociwgMCwgJmZ1bmMsIDApOwoJcG9sbCgwLCAwLCAxMDAwKTsK
CXB0aHJlYWRfY3JlYXRlKCZ0aHIyLCAwLCAmZnVuYywgMCk7CglwdGhyZWFkX2pvaW4odGhyLCAw
KTsKCXB0aHJlYWRfam9pbih0aHIyLCAwKTsKCXJldHVybiAwOwp9Cg==


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

end of thread, other threads:[~2002-07-25 20:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-10 19:26 libstdc++/7168: C++ Exceptions in Multithreaded Applications Crash (cygwin) Lenny Primak
  -- strict thread matches above, loose matches on Subject: below --
2002-07-25 13:15 bkoz
2002-07-03 10:56 Lenny Primak
2002-07-03 10:56 Benjamin Kosnik
2002-07-03 10:26 Lenny Primak
2002-07-03  9:38 bkoz
2002-07-01 21:16 Lenny Primak
2002-07-01 15:46 Phil Edwards
2002-06-29 15:46 lprimak

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).