--- Comment #10 from stewart at neuron dot com 2005-10-07 13:49 ---
(In reply to comment #9)
> Yes, I'm sure. I know what's going on here.
>
This is the only bug I was able to find regarding AttachCurrentThread. I'm
working on getting FUSE-J (Java bindings for FUSE userspace filesystem) working
with GCJ and have run across an apparent bug with
AttachCurrentThread/AttachCurrentThreadAsDaemon whereby the returned JNIEnv has
a corrupted pointer to CallObjectMethod. I emailed the following to :
You should be able to setup/reproduce this quickly. First is to
get/build/install the fuse library:
http://fuse.sourceforge.net/
http://easynews.dl.sourceforge.net/sourceforge/fuse/fuse-2.4.0.tar.gz
./configure --prefix=/usr/local &&
make &&
make install &&
depmod -a &&
modprobe fuse
Second, get fuse-j, the java language bindings
http://www.select-tech.si/fuse/
http://www.select-tech.si/fuse/fuse-j-2.2.3.tar.gz
get and apply my patch for gcj:
http://mrallen.com/misc/fuse-j-2.2.3-gcj.diff
inside fuse-j-2.2.3:
patch -p1 < path_to_patch
then you will need a zip file to test and a mount point. next:
make
sh zipfs_gcj.sh
once it's running, doing a 'df' in another term will crash cause the segfault.
you will have to have /usr/local/bin in your PATH and execute 'fusermount -u
' to undo the mount. (In reply to comment #9)
> Yes, I'm sure. I know what's going on here.
>
--
stewart at neuron dot com changed:
What|Removed |Added
--------------------
CC||stewart at neuron dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13212