Mail Archives: djgpp/2002/02/06/08:19:45
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f
|
Date: | Wed, 6 Feb 2002 14:18:41 +0100 (MET)
|
From: | Paul Muehlbach <traexx AT gmx DOT de>
|
To: | djgpp AT delorie DOT com
|
MIME-Version: | 1.0
|
Subject: | multithreading
|
X-Priority: | 3 (Normal)
|
X-Authenticated-Sender: | #0012439405 AT gmx DOT net
|
X-Authenticated-IP: | [62.224.228.186]
|
Message-ID: | <29223.1013001521@www3.gmx.net>
|
X-Mailer: | WWW-Mail 1.5 (Global Message Exchange)
|
X-Flags: | 0001
|
Reply-To: | djgpp AT delorie DOT com
|
On Tue, 5 Feb 2002, Paul Muehlbach wrote:
> I have the following problem: I need a multithreading library,found lwp
and
> if I want to use it it crashs with PAGEFAULT (the given examples to!).
> Nothing helps! It crashes after the start of the program. I use Win95 and
a
> FPU-Emulator.
Please post here the full text of the crash message, after running SYMIFY
on it.
I work with LWP 2.0:
*********Program*********
LWP: Example1.
This program spawns 4 threads that each print a message.
Press any key to start....MAIN
Exiting due to signal SIGSEGV
General Protection Fault at eip=00003fc5
eax=00000000 ebx=00000021 ecx=00000000 edx=0000fe20 esi=00000006
edi=00093b54
ebp=00093b30 esp=00093b1c program=C:\THREAD\CONTRIB\LWP\EXAMPLE1.EXE
cs: sel=00a7 base=82954000 limit=000affff
ds: sel=00af base=82954000 limit=000affff
es: sel=00b7 base=82954000 limit=000affff
fs: sel=0087 base=0000fe20 limit=0000ffff
gs: sel=00bf base=00000000 limit=0010ffff
ss: sel=00af base=82954000 limit=000affff
App stack: [00095070..00015070] Exceptn stack: [00014fd0..00013090]
Call frame traceback EIPs:
0x00003fc5 __lwpasmEnd+149
0x00008def __write+159
0x0000f44a __flsbuf+298
0x0000e2b2 _putc+178
0x0000ac7b __doprnt+147
0x00005e16 _printf+22
0x00001fd2 _main+322, line 54 of example1.c
0x00005a12 ___crt1_startup+178
C:\thread\CONTRIB\LWP>symify example1.exe
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
- Raw text -