[746] in Pthreads mailing list archive
Re: Pthreads and X11 problem
daemon@ATHENA.MIT.EDU (Jin Guojun (ITG staff))
Mon Dec 8 19:59:00 1997
Date: Mon, 8 Dec 1997 16:45:36 -0800 (PST)
From: Jin Guojun (ITG staff) <jin@george.lbl.gov>
To: monty@analytikerna.se
Cc: pthreads@MIT.EDU, shesh@da.tvol.com
}>> I am using FreeBSD2.2.5 and X11R6 on an intel pentium system.
}ITG> I have not confirmed any threads-pthreads working properly under FreeBSD.
}
}The modified MIT-thread distribution included with the MySQL source
}distribution works on FreeBSD without any problems (at least with MySQL).
}
}You can get this from http://www.tcx.se/
}
}Yours,
}Monty
A few feed back:
(1) compiling errors:
/usr/local/pthreads/include/stdlib.h
/usr/local/pthreads/include/math.h
/usr/local/pthreads/include/time.h
__P_ is not defined. Also, the libary can be only compiled under 2.2.x,
but not 2.1.x.y. So, how it has been tested is "?".
(2) run time errors:
628 /export/src/ccs-lib/tools/x11/tuner/FreeBSD: /export/src/ccs-lib/FreeBSD/bin/getx ~/src/compress.new/fruits.gz
/export/src/ccs-lib/FreeBSD/bin/getx/export/src/threads/mysql-3.20.32a/mit-pthreads/pthreads/fd_kern.c [:A8-2932] : : /home/u2/users/jin/src/compress.new/fruits.gzPhtreads kernel panic.
; Error<9> Bad file descriptor
program quits qith a coredump.
629 /export/src/ccs-lib/tools/x11/tuner/FreeBSD: /export/src/ccs-lib/FreeBSD/bin/getx ~/demo/island.jpg
<Comments: display flushed, but program quits without core dump)
kdump:
\M-d\M-9\M^O\M-:\M-@\M-:\M^V\M-:\M-:\M^O\M-:\M-:\M^Om\M^O\M^P\M^O\M^O\
\M-:\M-:\M^O\M^Off\M^O\M^I\M^P"
25722 getx RET writev 7256/0x1c58
25722 getx CALL writev(0x3,0xefbfd764,0x1)
25722 getx RET writev -1 errno 35 Resource temporarily unavailable
25722 getx CALL fcntl(0,0x4,0)
25722 getx RET fcntl 0
25722 getx CALL fcntl(0x3,0x4,0x4)
25722 getx RET fcntl 0
25722 getx CALL exit(0x1)
Thanks,
-Jin