We have been flexing our Java based ERP on the box and all of a sudden we have
problems when we had code to find printers.
I found some example code that we put into the project that we think was the
problem and when I compiled and ran an example class I got...
Fatal error 'Exceeded maximum lock level' at line 201 in file
/usr/src/lib/libpthread/thread/thr_rtld.c (errno = 0)
about a hundred times and then it
Segmentation fault (core dumped)
That line is...
KSE_LOCK_ACQUIRE(curkse, &l->lck);
Does this from UPDATING apply here?
The default threading library has been changed to libthr. If
you wish to have libpthread as your default, use option
DEFAULT_THREAD_LIB=libpthread for the buildworld.
I did that didn't see a change when I built world with
make -j16 buildworld DEFAULT_THREAD_LIB=libpthread
What about the kernel?
I dont see any help with http://www.freebsd.org/kse/index.html
Thanks
--
Walter
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"
> On dual quad core Intel box with 8 gig ram running AMD64.
> FreeBSD-Current from about a week ago and a few hours ago
> SCHED_ULE
>
> We have been flexing our Java based ERP on the box and all of a sudden we
> have problems when we had code to find printers.
>
> I found some example code that we put into the project that we think was the
> problem and when I compiled and ran an example class I got...
>
> Fatal error 'Exceeded maximum lock level' at line 201 in file
> /usr/src/lib/libpthread/thread/thr_rtld.c (errno = 0)
>
> about a hundred times and then it
You probably need to wait for compat6x support. You can't rely
on binaries produced for FreeBSD 6.x to run on -current without
compat6x. There have been too many changes and the libraries
have just been bumped, so you're running with libraries (before
the bump) that are not compatible with FreeBSD 6.x.
--
DE
Or test the proposed port so that we have increased confidence that it
actually does what it is supposed to ;-)
Kris
It's been posted on ports@ for evaluation, check the archives.
>>You probably need to wait for compat6x support
>
>
> Or test the proposed port so that we have increased confidence that it
> actually does what it is supposed to ;-)
Actually I would LOVE to do that but I couldn't turn up instructions.
How do I get the compat6x port into my ports collection. I just did a cvsup and
its not in misc.
Thanks
--
Walter
fetch http://people.freebsd.org/~mnag/compat6x.shar
sh compat6x.shar
cd compat6x
make all install clean
Enjoy
>
> Thanks
> --
>
> Walter
> _______________________________________________
> freebsd...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"
--
Marcus Alves Grando
marcus(at)sbh.eng.br | Personal
mnag(at)FreeBSD.org | FreeBSD.org
Actually, it was posted a couple of days ago on CURRENT.
http://people.freebsd.org/~mnag/compat6x.shar
cd /usr/ports/misc
sh /path_to_compat6x.shar
cd compat6x
make install clean
--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Cordelia: What's going on? Oh god, is the world ending? I have to
research a paper on Bosnia for tomorrow, but if the world's ending,
I'm not gonna bother.
> Walter Vaughan wrote:
>
>> Kris Kennaway wrote:
>>
>>>> You probably need to wait for compat6x support
>>>
>>>
>>>
>>> Or test the proposed port so that we have increased confidence that it
>>> actually does what it is supposed to ;-)
>>
>>
>> Actually I would LOVE to do that but I couldn't turn up instructions.
>>
>> How do I get the compat6x port into my ports collection. I just did a
>> cvsup and its not in misc.
>
>
> fetch http://people.freebsd.org/~mnag/compat6x.shar
> sh compat6x.shar
> cd compat6x
> make all install clean
>
> Enjoy
Argh.
Did that first w/o the "all" option
Then I fetched latest current
put option COMPAT_FREEBSD6 in MYKERNEL
make -j24 buildworld
make -j24 buildkernel KERNCONF=MYKERNEL
make installkernel
make installworld
deinstalled & distcleaned compat6x
then did make all install clean
ran the java class and same error...
whining about libpthread
and a core dump
got upset stomach
Then decided to re-compile the java file and re-execute the .class file
*NO MORE libpthread errors!
still a core dump though...
PROGRESS!
Thanks everyone
Did you try libthr instead of libpthread? check the java archive about
libmap.com if you want to give it a try ;)
--
Regards,
-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/