473,378 Members | 1,156 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

"_pthread_deactivatex" problem under AIX

Hello,

I have a multi-thread programm in C under AIX.

I get some lock or core dump that I cannot explain. I debugged the core and
I found that it cored on the "_pthread_deactivatex". I also found only 1
ariticle with google which speak about this. It is :

PROBLEM SUMMARY:
Child process from a fork may hang or fail if parent was doing
sigwait at the time of fork. The faulting thread will be in
either _pthread_deactivatex or _wait_list_add.
PROBLEM CONCLUSION:
Properly initialize the pthread library's internal list
of sigwaiting threads in its post-fork handler.
I don't understand what I did wrong, if you have any idea please help me. I
also posted another message on a UNIX forum with no success ...

Thanks Sebastien
Nov 13 '05 #1
1 1577
Sebastien wrote:

Hello,

I have a multi-thread programm in C under AIX.

I get some lock or core dump that I cannot explain. I debugged the core and
I found that it cored on the "_pthread_deactivatex". I also found only 1
ariticle with google which speak about this. It is :

PROBLEM SUMMARY:
Child process from a fork may hang or fail if parent was doing
sigwait at the time of fork. The faulting thread will be in
either _pthread_deactivatex or _wait_list_add.

PROBLEM CONCLUSION:
Properly initialize the pthread library's internal list
of sigwaiting threads in its post-fork handler.

I don't understand what I did wrong, if you have any idea please help me. I
also posted another message on a UNIX forum with no success ...

Thanks Sebastien


Hi Sebastian,
over in comp.unix.programmer, comp.unix.aix or at news.software.ibm.com
you will find the knowledge to answer your questions.
Hint: don't mix threads and fork, unless ...

Wolfgang
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Adrian B. | last post by:
Does anyone know of a framework or library that will enable me to use publish/subscribe comms? I want to create a server (using Python) running on a Unix box that will accept client connections...
1
by: dumblede | last post by:
Hello fellows, i would like to center a 800px wide 600px high content area without using frames. I have "come up" with the following solution so far. It works under IE 6.0, Firefox 1 (under...
1
by: VNG | last post by:
I have an ANSI C program that was compiled under Windows MSVC++ 6.0 (SP6) and under Linux gnu, and ran under P3, P4 and AMD. It runs fine on P3 and AMD under both Windows and Linux, but under P4...
5
by: Andrew Poulos | last post by:
The web pages that I've been building under Windows and which validate and display without error or problem with IE, MZ and FF are problematic under Linux - Fedora Core 3. I have a 512K ADSL...
3
by: Christopher | last post by:
One of our ASP.NET Pages is starting a new Process using the Process object. When the process starts, it is started under the ASPNET User. We tried editing the web.config file and the...
5
by: cdlipfert | last post by:
Our intranet is running under windows integrated security. We have domain users that want to access our intranet site via ssl vpn. SSL VPN can not authenticate against services that run under...
6
by: Adam | last post by:
On an xp machine, the caching works as expected. I have deployed to a win2k server, and an item I add to the cache expires almost immediately some times and in under a minute in other times. The...
3
by: Philip Wagenaar | last post by:
Framework 1.1 I want to start AcrobatReader to print a printjob under a specific username (so that the owner of the printjob is not the username of the application that the .net application runs...
0
by: Tom | last post by:
I am not sure if this should be under the SourceSafe or the VB.NET forum, so I will post to both and hope someone has the answer: I have a VB.NET project stored under SourceSafe - Let's say the...
5
by: rogersw8n | last post by:
Some how, some way the account that creates folders under Temporary Internet files has been changed to a domain account for VS 2003 and VS 2005. I recently installed VS 2005. All seemed to be ok...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.