Artifacts Associated With Ticket 76d79516f1338bf7
Ticket change [4376aa4c65] (rid 142912) by bch on 2015-08-27 23:48:32:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Using a tcl-driven forking build system, scripts that previously ran now consume 100% cpu without any apparent work happening. fossil bisected to [9f8b7bea53]. env: tclsh (--enable-symbols=all) NetBSD (-current) build system == "smake"
- foundin initialized to: "9f8b7bea53"
- is_private initialized to: "0"
- login: "bch"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0746e03eb1f21cc2294b137720ade97f6fd4c456"
- resolution initialized to: "None"
- severity initialized to: "Severe"
- status initialized to: "Open"
- submitter initialized to: "bch"
- subsystem initialized to: "49. Threading"
- title initialized to: "forking broken"
- type initialized to: "Bug"
Ticket change [b8403eb749] (rid 142913) by bch on 2015-08-28 00:38:14:
- icomment:
additionally: % parray tcl_platform tcl_platform(byteOrder) = littleEndian tcl_platform(machine) = amd64 tcl_platform(os) = NetBSD tcl_platform(osVersion) = 7.99.21 tcl_platform(pathSeparator) = : tcl_platform(platform) = unix tcl_platform(pointerSize) = 8 tcl_platform(threaded) = 1 tcl_platform(user) = bch tcl_platform(wordSize) = 8 ...and backing out the suspicious commit from [983b5afdc0] (fossil merge --backout ...) returns the affected script to expected behaviour.
- login: "bch"
- mimetype: "text/plain"
- icomment:
Ticket change [e171f3b018] (rid 142918) by bch on 2015-08-28 00:49:14:
- icomment:
and further (from a hung process w/ pure current tip-of-trunk): (gdb) bt full #0 0x00007f7ff623c51a in _sys___select50 () from /usr/lib/libc.so.12 No symbol table info available. #1 0x00007f7ff6e073d6 in __select50 (nfds=<optimized out>, readfds=<optimized out>, writefds=<optimized out>, exceptfds=<optimized out>, timeout=<optimized out>) at /usr/src/lib/libpthread/pthread_cancelstub.c:514 retval = <optimized out> #2 0x00007f7ff77cf11c in NotifierThreadProc (clientData=0x0) at /home/bch/work/tcl/unix/tclUnixNotfy.c:1216 tsdPtr = 0x0 readableMask = {fds_bits = {8, 0, 0, 0, 0, 0, 0, 0}} writableMask = {fds_bits = {0, 0, 0, 0, 0, 0, 0, 0}} exceptionMask = {fds_bits = {0, 0, 0, 0, 0, 0, 0, 0}} fds = {3, 4} i = 0 numFdBits = 4 receivePipe = 3 found = 0 poll = {tv_sec = 0, tv_usec = 0} timePtr = 0x0 buf = "\000" #3 0x00007f7ff6e0aac4 in pthread__create_tramp (cookie=0x7f7ff7b2e000) at /usr/src/lib/libpthread/pthread.c:576 self = 0x7f7ff7b2e000 retval = <optimized out> #4 0x00007f7ff62853b0 in ?? () from /usr/lib/libc.so.12 No symbol table info available. Backtrace stopped: Cannot access memory at address 0x7f7ff6200000 (gdb) - login: "bch"
- mimetype: "text/plain"
- icomment:
Ticket change [75a521bd77] (rid 142931) by jan.nijtmans on 2015-08-28 12:51:58:
- icomment:
Probably, this is a dup of [5d170b5ca5]: checkin 9f8b7bea5344f1b0 broke netbsd's thread notifier.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [73f9f247a4] (rid 143033) by dkf on 2015-09-06 12:55:44:
- closedate changed to: "2457272.0387072"
- closer changed to: "dkf"
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Closed"