473,748 Members | 2,672 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

GCC in linux 2.6.8

GCC in linux 2.6.8
pthread_mutex_l ock.c:78: __pthread_mutex _lock: Assertion
`mutex->__data.__own er == 0' failed.
Aborted

Feb 27 '06 #1
4 4012
ni************@ gmail-dot-com.no-spam.invalid (highstatesmans hip) writes:
GCC in linux 2.6.8
pthread_mutex_l ock.c:78: __pthread_mutex _lock: Assertion
`mutex->__data.__own er == 0' failed.
Aborted


Did you have a question, or did you just feel like showing us an error
message?

You might try comp.programmin g.threads. If you post there, show them
your failing code; don't make them guess what's causing the problem.

--
Keith Thompson (The_Other_Keit h) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Feb 27 '06 #2
//Code sample

pthread_mutex_l ock(&AskBidMgmt _Mutex[stockSymbolInde x %
cMaxBidMinAskMu texNum]);

//Call inetBidCrossTra deMgmt
inetBidCrossTra deMgmt();

pthread_mutex_u nlock(&AskBidMg mt_Mutex[stockSymbolInde x %
cMaxBidMinAskMu texNum]);

pthread_mutex_l ock(&AskBidMgmt _Mutex[stockSymbolInde x %
cMaxBidMinAskMu texNum]);

//Call GeneralInsert
int r = GeneralInsert() ;

pthread_mutex_u nlock(&AskBidMg mt_Mutex[stockSymbolInde x %
cMaxBidMinAskMu texNum]);

//...

Feb 27 '06 #3
highstatesmansh ip wrote:
//Code sample


<snip meaningless, and non-standard C code example>

So, you not only enjoy posting error messages, without any question or
explanation whatsoever. Now it's the code as well, and it's not even
barely Standard C.

I don't think mind-readers regularly hang out in comp.* newsgroups.

--
BR, Vladimir

Calm down, it's *only* ones and zeroes.

Feb 27 '06 #4

highstatesmansh ip wrote:
GCC in linux 2.6.8
pthread_mutex_l ock.c:78: __pthread_mutex _lock: Assertion
`mutex->__data.__own er == 0' failed.
Aborted


Minimalistic post?
A new marketing strategy to promote a WWW trading service?
The dark side of trolling?
Probably, the subject in the program is the same than in the post: init
line missing.

Feb 27 '06 #5

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

Similar topics

4
2819
by: Jhuola Hoptire | last post by:
Just installed J2RE 1.4.2 on a Linux server. I am very knew to the POSIX world. I couldn't dig-up much in the docs or via google about the following: 1 - Is there a standard way to make sure users (all, or some) can "reach" java? eg one could presumably create a java.sh or aliases ... Where is the standard Linux directory to put such a script (and why)?
0
2384
by: Eric Raymond | last post by:
When installing the rpms (or the tar file) onto Red Hat Enteprise Linux AS Beta 1 (Taroon), we get the follwing error: Installing all prepared tables /usr/bin/mysql_install_db: line 1: 7690 Segmentation fault /usr/sbin/mysqld --bootstrap --skip-grant-tables --basedir=/ --datadir=/var/lib/mysql --skip-innodb --skip-bdb Installation of grant tables failed The log file simply shows a start and a stop of the server.
6
2326
by: gnu | last post by:
Rationale to use Linux ======================= - I can't afford paying for $199 for the license of an OS that's arguably better thank Linux for each of 10 computers I have. - I want to be free of Microsoft stigma, and of constant lockdown on Microsoft products. The world is better than that. - Linux runs .NET :-) Reverse engineers in less than a year. That's
21
2092
by: Travis 'Bailo' Bickel | last post by:
Lately, I have been having a bear of a time trying to acquire a Linux driver for my S3/ProSavage chipset -- but that quest is now almost at an end as I have located a noble band of people who are pushing the envelop with S3 and Savage chipset drivers! Though my quest might sound like food for trolls to mock Linux -- hear me out. I think I have discovered part of the message of the new Linux economy. Many of us have criticized the...
1
8101
by: srihari | last post by:
Hai, I am trying to install IBM DB2 8.1 on Red Hat linux 8.0. My machine is Intel XEON 64bit. The installation went well except for the creation of tools catalog. When I tried to install the tools catalog as a post installation task I get some java error. $ db2 CREATE TOOLS CATALOG SYSTOOLS USE EXISTING DATABASE TOOLSDB FORCE SQL22209N The DB2 Administration Server encountered an unexpected Java error on host "". I have jdk1.3 already...
0
4546
by: Zorba.GR | last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64 bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager Express Edition v1.3.2 Win, IBM Tivoli System Automation v1.2.0 Linux, IBM Tivoli Workload Scheduler Virtualized Data Centers v8.2 , other IBM Tivoli CDs, WEBSPHERE EVERYPLACE MOBILE PORTAL v5.0 - ALTIUM , other IBM WebSphere Business CDs...
5
5679
by: cranium.2003 | last post by:
hi, Here is my code #include <iostream.h> int main() { cout <<"HI"; return 0; } and using following command to compile a C++ program g++ ex1.cpp -o ex1
1
2618
by: rada.lambretha | last post by:
Configuring Linux as a Firewall * Making installation choices * Introducing iptables * Using iptables commands * Simplifying things with firewall GUIs * Adding proxy functionality As Linux gains increasing acceptance in corporate datacenters and
1
11297
Nepomuk
by: Nepomuk | last post by:
You might have heard about Linux, but you don't know what it is? Or you know a few things about it, but they terrify you? Well, then this article is for you. Don't be afraid - Everyone can use Linux! Part 1: What is Linux and why should I use it? Linux is an Operating System (short: OS). OK, so what is an OS? Let me explain: Nearly everybody knows Windows. But what exactly does it actually do? Windows is an example for a OS and one of it's...
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9561
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.