Closed
Bug 230137
Opened 22 years ago
Closed 21 years ago
The function _PR_NativeRunThread is of incorrect type.
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 216021
4.5
People
(Reporter: afterimage_134us, Assigned: wtc)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
Recently, while looking at Mozilla in the debugger, I noticed some threads
exited with a non-zero exit code, although they were exiting normally. The
problem seems to be the function _PR_NativeRunThread; its type should be
unsigned __stdcall _PR_NativeRunThread(void*) in pruthr.c (as required by
_beginthreadex).
Reproducible: Sometimes
Steps to Reproduce:
1. Attach a debugger to firebird, and see the output.
2.
3.
See <URL:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt__beginthread.2c_._beginthreadex.asp>
for the definitions of the beginthread family of functions.
Comment 1•22 years ago
|
||
-> NSPR, apologize if its a dupe
Component: General → NSPR
Product: Firebird → NSPR
Version: unspecified → other
| Reporter | ||
Comment 2•22 years ago
|
||
[2004-01-05, Jim Polubinski Jr.]
I apologize if this breaks process, but the important part of this bug is to fix
the calling convention; not doing that might lead to a hard to find bug due to
stack corruption (the two calling conventions in question, _cdecl (the default)
and __stdcall (to be changed to) do it differently).
| Assignee | ||
Comment 3•21 years ago
|
||
Thanks for the bug report. This has been fixed.
*** This bug has been marked as a duplicate of 216021 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Target Milestone: --- → 4.5
You need to log in
before you can comment on or make changes to this bug.
Description
•