[ace-users] corrupted double-linked list?
shuston at riverace.com
Tue Jul 10 15:22:32 CDT 2007
I bet you a Starbuck's venti vanilla latte that you have deleted an
event handler but left it registered with the reactor. The variations
could be that you have a thread that's cleaning up while the main() is
Steve Huston, Riverace Corporation
Would you like ACE to run great on your platform?
> -----Original Message-----
> From: ace-users-bounces at cse.wustl.edu
> [mailto:ace-users-bounces at cse.wustl.edu] On Behalf Of Douglas
> C. Schmidt
> Sent: Tuesday, July 10, 2007 3:46 PM
> To: eric.gosnell at embedded-sys.com; ace-users at cse.wustl.edu
> Subject: Re: [ace-users] corrupted double-linked list?
> Hi Eric,
> >I have some C++ code that is functioning well on Redhat
> Linux AS3 with
> >gcc 3.4.2 (which uses libstdc++.so.5). I am testing it in
> my lab on a
> >box with Redhat Linux ES3 with gcc 3.4.5 (which uses libstdc++.so.
> >6.0.3). When testing, my application aborts while it is exiting.
> >*** glibc detected *** myapp: corrupted double-linked list:
> >I am using ACE-5.4 using ACE_Reactor in a few places. I have found
> >that the error will go away if I stop using multiple threads. It
> >happens less frequently with fewer threads. It doesn't happen
> >time I run. We tried replacing all of our threading code with code
> >using ACE_Task to provide the threads. We tried using ACE 5.5. We
> >tried using gcc 4.1.1 (which uses libstdc++.6.0.8). We tried most
> >the permutations of these three variables. Same results.
> >The abort happens while (I think) static members are being
> >destructed. It is happening during the call to exit(). Since my
> >machine isn't on the web, I have to type the GDB output... GDB
> >the following trace when I ask it "where:"
> >ACE_Select_Reactor_T<...<...> >::close()
> Have you tried using valgrind to see if there are problems with
> corruption in your program or in ACE?
> >Is this a known issue? Does ACE have problems with libstdc++.so.
> >6? ...or is it unique to me?
> I recommend you upgrade to ACE+TAO+CIAO x.5.9 (i.e., ACE 5.5.9, TAO
> 1.5.9, and CIAO 0.5.9), which you can download from
> under the heading: "Latest Beta Kit".
> The DOC groups at Washington University, UC Irvine, and Vanderbilt
> University only provide "best effort" support for non-sponsors for
> latest release, as described in
Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out
for a list of companies that will provide you with ACE+TAO commercial
Dr. Douglas C. Schmidt Professor and Associate
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB:
Nashville, TN 37203 NET:
d.schmidt at vanderbilt.edu
ace-users mailing list
ace-users at mail.cse.wustl.edu
More information about the Ace-users