Re: MT crash
Sam Steingold <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <[email protected]> |
> * Don Cohen <[email protected]> [2012-04-22 13:19:39 -0700]: > > This is done as a user without permission of some sort - works ok as > root. > > [1]> (POSIX:SET-FILE-STAT "/tmp/test-dir0" :MODE 511 :UID 1 :GID 1) > *** thread is going into lisp land without calling > end_blocking_call();Aborted (core dumped) > > whereas in non-MT version > [1]> (POSIX:SET-FILE-STAT "/tmp/test-dir0" :MODE 511 :UID 1 :GID 1) > > *** - OS-FILE-ERROR(EPERM): Operation not permitted Okay, this is very easy to fix "locally", i.e., by adding "end_blocking_system_call()" before OS_file_error in calls.c:my_chmod et al. However, I wonder if TRT is to replace end_system_call(); /* just in case */ with end_blocking_system_call(); /* just in case */ in OS_error(). Vladimir, WDYT? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://www.childpsy.net/ http://truepeace.org http://iris.org.il http://www.memritv.org http://camera.org http://memri.org The only time you have too much fuel is when you're on fire. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ clisp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-devel