Open
Bug 414067
Opened 17 years ago
Updated 2 years ago
pt_LinuxSendFile failures on RHEL3 and RHEL4
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: glenbeasley, Unassigned)
References
(Blocks 1 open bug)
Details
While looking into bug 307576 for the nspr test "socket" it fails (cores) in the function Socket_Misc_Test of RHEL3 and RHEL4 when it calls the function: pt_LinuxSendFile. If I change the code in pt_SendFile to call PR_EmulateSendFile rather than pt_LinuxSendFile the test "socket" runs successfully. when pt_LinuxSendFile is called once the current test "socket" cores on the assertion http://mxr.mozilla.org/nspr/source/nsprpub/pr/src/pthreads/ptio.c#2623 the test "socket" will leave behind the directory /tmp/prsocket_test_dir and then on the next excution the test "socket" fails on making the directory. So you have to manually delete the /tmp/prsocket_test_dir directory. If I remove the two assertions for pt_LinuxSendFile and pt_linux_sendfile_cont then run the test I then see prsocket_test: TransmitFile_Client ERROR - large file data corruption SendFile 2. ERROR - large file data corruption socket: Error - 5. PR_SendFile send_size = 1049163, bytes sent = -1 prsocket_test: PR_SendFile failed: (-5961, 32) socket: Error - 6. PR_SendFile send_size = 2112, bytes sent = -1 The function pt_LinuxSendFile was introduced in 2002 https://bugzilla.mozilla.org/show_bug.cgi?id=132208
Comment 1•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Assignee: wtc → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•