Opened 16 years ago

Last modified 16 years ago

#890 closed defect

pjlib-test failed on select() test Windows Vista 64bit — at Version 2

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.3
Component: unit-tests Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description (last modified by nanang)

Error log:

pjlib-test error:
 19:24:28.914 Running select_test()...
 19:24:28.916 ...Testing simple UDP select()
 19:24:28.917 ..ERROR(-70)

The select() returns immediately with *only* write-fdset is set (while the test also expects that read-fdset is set). So perhaps it is just that the system hasn't got time/context to deliver the packet, since select(), with write-fdset included, is called directly after sendto().

Experiments:

  • inserting pj_thread_sleep(1) between sendto() & select(): OK
  • inserting pj_thread_sleep(0) between sendto() & select(): failed
  • inserting PJ_LOG() between sendto() & select(): OK

Change History (2)

comment:1 Changed 16 years ago by bennylp

  • Summary changed from pjlib-test failed on Windows Vista 64bit to pjlib-test failed on select() test Windows Vista 64bit

comment:2 Changed 16 years ago by nanang

  • Description modified (diff)
Note: See TracTickets for help on using tickets.