[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #32340 [Core Tor/Tor]: FAIL src/test/test_process_slow.c:240: assert(smartlist_len(process_data->stdout_data) OP_EQ 12): 2 vs 12



#32340: FAIL src/test/test_process_slow.c:240:
assert(smartlist_len(process_data->stdout_data) OP_EQ 12): 2 vs 12
-----------------------+------------------------------
 Reporter:  eighthave  |          Owner:  (none)
     Type:  defect     |         Status:  new
 Priority:  Medium     |      Component:  Core Tor/Tor
  Version:             |       Severity:  Normal
 Keywords:  Android    |  Actual Points:
Parent ID:             |         Points:
 Reviewer:             |        Sponsor:
-----------------------+------------------------------
 Running the ''test-slow'' suite fails every time with this error on
 0.4.1.x, 0.4.2.x, and master:

 {{{
 slow/process/callbacks:
   FAIL src/test/test_process_slow.c:240:
 assert(smartlist_len(process_data->stdout_data) OP_EQ 12): 2 vs 12
   [callbacks FAILED]
 }}}

 The full build/test log is here:
 https://gitlab.com/eighthave/tor/-/jobs/336701282

 To try this yourself, it'll be easiest using the Guardian Project fork,
 which is in sync on GitHub and GitLab:
 * https://github.com/guardianproject/tor
 * https://gitlab.com/guardianproject/tor

 I looked into it a bit, but couldn't quite figure out what was being
 tested there.  Is it Tor's "smartlist" functions?  stdin/stdout/stderr
 have annoying, arbitrary restrictions in Android, so it could be related
 to that.  For example, "native" code loaded from a shared library will
 have stdin/stdout/stderr redirected to /dev/null, while in Java code, it
 is reachable.  There is a related example on #32036

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32340>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs