Re: [ANNOUNCE] NSPR 4.7.2 Release
Joachim Ziegler <[email protected]> Tue, 04 Nov 2008 11:26:25 +0100
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
Wan-Teh Chang wrote:
> Are you using GCC or MinGW to compile?
I use the gcc as supplied by a Cygwin shell. For example, the build
system issues:
sh ../../../mozilla/nsprpub/build/cygwin-wrapper gcc -mno-cygwin
stdio.o -L../
../dist/lib -lplc4 -L../../dist/lib -lnspr4 -lwsock32 -o stdio.exe
I have
$ gcc --version
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
gdb gives me the following backtrace:
$ gdb stdio
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run
Starting program:
/cygdrive/d/nspr-4.7.2-build-dir/nspr-4.7.2/target/pr/tests/st
dio.exe
[New thread 3912.0xe68]
[New thread 3912.0xd08]
Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c901231 in ntdll!DbgUiConnectToDbg ()
from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) bt
#0 0x7c901231 in ntdll!DbgUiConnectToDbg ()
from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1 0x10008261 in PR_Assert (s=0x100411d4 "!(me->flags & _PR_IDLE_THREAD)",
file=0x10041174
"../../../../../mozilla/nsprpub/pr/src/threads/combined/prul
ock.c", ln=234) at ../../../../mozilla/nsprpub/pr/src/io/prlog.c:544
#2 0x100261a3 in PR_Lock (lock=0x3d4680)
at ../../../../../mozilla/nsprpub/pr/src/threads/combined/prulock.c:234
#3 0x10028db9 in _PR_NativeCreateThread (type=PR_SYSTEM_THREAD,
start=0x10034fbe <ContinuationThread>, arg=0x0,
priority=PR_PRIORITY_URGENT, scope=PR_GLOBAL_THREAD,
state=PR_JOINABLE_THREAD, stackSize=0, flags=128)
at ../../../../../mozilla/nsprpub/pr/src/threads/combined/pruthr.c:1059
#4 0x100291b6 in _PR_CreateThread (type=PR_SYSTEM_THREAD,
start=0x10034fbe <ContinuationThread>, arg=0x0,
priority=PR_PRIORITY_URGENT, scope=PR_GLOBAL_THREAD,
state=PR_JOINABLE_THREAD, stackSize=0, flags=128)
at ../../../../../mozilla/nsprpub/pr/src/threads/combined/pruthr.c:1211
#5 0x10029907 in PR_CreateThread (type=PR_SYSTEM_THREAD,
start=0x10034fbe <ContinuationThread>, arg=0x0,
priority=PR_PRIORITY_URGENT, scope=PR_GLOBAL_THREAD,
state=PR_JOINABLE_THREAD, stackSize=0)
at ../../../../../mozilla/nsprpub/pr/src/threads/combined/pruthr.c:1431
#6 0x1002e104 in _PR_MD_INIT_IO ()
at ../../../../../mozilla/nsprpub/pr/src/md/windows/ntio.c:928
#7 0x1001f593 in _PR_InitIO ()
at ../../../../mozilla/nsprpub/pr/src/io/prio.c:78
#8 0x10013175 in _PR_InitStuff ()
at ../../../../mozilla/nsprpub/pr/src/misc/prinit.c:234
#9 0x100131af in _PR_ImplicitInitialization ()
at ../../../../mozilla/nsprpub/pr/src/misc/prinit.c:251
#10 0x100131ff in PR_Initialize (prmain=0x4012e0 <stdio>, argc=1,
argv=0x3d3fc0, maxPTDs=0)
at ../../../../mozilla/nsprpub/pr/src/misc/prinit.c:313
#11 0x004013e5 in main (argc=1, argv=0x3d3fc0)
at ../../../mozilla/nsprpub/pr/tests/stdio.c:79