osNpcLoadApparence severe issue

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

osNpcLoadApparence severe issue

Olivier van Helden
(note: too bad I noticed that *after* the 0.7.3.1 release, sorry Justin)

In my install osNpcLoadAppearence makes the simulator severely crash if called twice and too fast for the same NPC.
(I say "severly" because console does not respond anymore, kill doesn't kill and I have to kill the parent process to actually kill mono)

I tested on Linux and FreeBSD. I didn't have the chance (and didn't want) to check on anyone else installation (I definitively don't want to crash somebody else server just for tests).
But if anyone has a crash-test simulator with NPC allowed, I would be happy to test my script there.

I have an NPC creator, which allows to switch appearance. Works fine, unless I click too fast.

If I call osNpcLoadAppearence a second time, before the appearance is razzed, the (let's say within the next second), the simulator crashes, without specific error in the log.

Of course, I can update my lsl script to handle that. But the crash makes a high thread risk.

The script engine should do at least one of the following:
        - force sleep after osNpcLoadAppearance
        - fail, silently or with an error code if fired twice for the same NPC within a given interval, or before the new appearance has finished loading.


_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: osNpcLoadApparence severe issue

InuYasha Meiji
Well before I said, "Now with the osNpcLoadAppearence with the release
of 0.7.3.1, I can give NPCs a try."  I guess I will just wait again
until this is worked on.  Don't worry, so many other wonderful things
have been given to us by these brilliant minds working on opensim, I
have so much else to work on before I try this new NPC functionality.

I think opensim will keep me busy for the rest of my life.

InuYasha.





On 3/31/2012 8:42 AM, Olivier van Helden wrote:

> (note: too bad I noticed that *after* the 0.7.3.1 release, sorry Justin)
>
> In my install osNpcLoadAppearence makes the simulator severely crash if called twice and too fast for the same NPC.
> (I say "severly" because console does not respond anymore, kill doesn't kill and I have to kill the parent process to actually kill mono)
>
> I tested on Linux and FreeBSD. I didn't have the chance (and didn't want) to check on anyone else installation (I definitively don't want to crash somebody else server just for tests).
> But if anyone has a crash-test simulator with NPC allowed, I would be happy to test my script there.
>
> I have an NPC creator, which allows to switch appearance. Works fine, unless I click too fast.
>
> If I call osNpcLoadAppearence a second time, before the appearance is razzed, the (let's say within the next second), the simulator crashes, without specific error in the log.
>
> Of course, I can update my lsl script to handle that. But the crash makes a high thread risk.
>
> The script engine should do at least one of the following:
> - force sleep after osNpcLoadAppearance
> - fail, silently or with an error code if fired twice for the same NPC within a given interval, or before the new appearance has finished loading.
>
>
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/opensim-users
>


--
________________________________________________________________
Opensim User: Standalone Grid on Version 0.7.2 with 56 Regions
on Windows 7, 64-bit. Phenom 9500 2.2 ghz Quad Core, Terabyte Hard
Drive, 8gig DDR2 RAM.  Used XAMPP to load PHP Version 5.3.0, Apache
and MySQL 5.1.41-community edition.  Groups, Profiles, Voice and
Offline Mesages all working.
________________________________________________________________

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

I think we all agree on this! (was Re: osNpcLoadApparence severe issue

Karen Palen
I think just about everyone on this list feels the same way about
opensim and the developer team!

A well deserved pat on the back to all of you!

Karen

On 03/31/2012 02:03 PM, InuYasha Meiji wrote:
> I think opensim will keep me busy for the rest of my life.
>
> InuYasha.
_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: I think we all agree on this! (was Re: osNpcLoadApparence severe issue

Dr Ramesh Ramloll
Let me join to congratulate the opensim dev team. I think you guys are awesome.
:)


On Sat, Mar 31, 2012 at 3:54 PM, Karen Palen <[hidden email]> wrote:

> I think just about everyone on this list feels the same way about
> opensim and the developer team!
>
> A well deserved pat on the back to all of you!
>
> Karen
>
> On 03/31/2012 02:03 PM, InuYasha Meiji wrote:
>> I think opensim will keep me busy for the rest of my life.
>>
>> InuYasha.
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/opensim-users



--
'Consider how the lilies grow. They do not labor or spin.'
Rameshsharma Ramloll PhD, CEO CTO DeepSemaphore LLC, Affiliate
Research Associate Professor, Idaho State University, Pocatello, ID
83209 Tel: 208-240-0040
Blog, LinkedIn, DeepSemaphore LLC, Google+ profile
_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: I think we all agree on this! (was Re: osNpcLoadApparence severe issue

InuYasha Meiji
WEll I am guessing

Karen is corect, but sometimes I think we forget to tell them enough.  So many error reports, so many complaints, it is nice to let them know every now and again how we fell about all the good they have and continue to do with this project.

InuYasha.




On 3/31/2012 6:29 PM, Dr Ramesh Ramloll wrote:

> Let me join to congratulate the opensim dev team. I think you guys are awesome.
> :)
>
>
> On Sat, Mar 31, 2012 at 3:54 PM, Karen Palen<[hidden email]>  wrote:
>> I think just about everyone on this list feels the same way about
>> opensim and the developer team!
>>
>> A well deserved pat on the back to all of you!
>>
>> Karen
>>
>> On 03/31/2012 02:03 PM, InuYasha Meiji wrote:
>>> I think opensim will keep me busy for the rest of my life.
>>>
>>> InuYasha.
>> _______________________________________________
>> Opensim-users mailing list
>> [hidden email]
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>
>


--
________________________________________________________________
Opensim User: Standalone Grid on Version 0.7.2 with 56 Regions
on Windows 7, 64-bit. Phenom 9500 2.2 ghz Quad Core, Terabyte Hard
Drive, 8gig DDR2 RAM.  Used XAMPP to load PHP Version 5.3.0, Apache
and MySQL 5.1.41-community edition.  Groups, Profiles, Voice and
Offline Mesages all working.
________________________________________________________________

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: osNpcLoadApparence severe issue

justincc
In reply to this post by Olivier van Helden
Interesting Olivier.  Could you open a Mantis on this?  It would be great if, when the simulator does lock up, you could
capture a VM thread dump from mono (send it a SIGQUIT signal).  Don't worry if this isn't possible.

The code should be fixed to not crash even if somebody does pound the function rather than trying to avoid this by
inserting a delay.  However, it might be a good idea to have tunable script delays in some OSSL functions just like LSL
functions anyway.

On 31/03/12 13:42, Olivier van Helden wrote:

> (note: too bad I noticed that *after* the 0.7.3.1 release, sorry Justin)
>
> In my install osNpcLoadAppearence makes the simulator severely crash if called twice and too fast for the same NPC.
> (I say "severly" because console does not respond anymore, kill doesn't kill and I have to kill the parent process to actually kill mono)
>
> I tested on Linux and FreeBSD. I didn't have the chance (and didn't want) to check on anyone else installation (I definitively don't want to crash somebody else server just for tests).
> But if anyone has a crash-test simulator with NPC allowed, I would be happy to test my script there.
>
> I have an NPC creator, which allows to switch appearance. Works fine, unless I click too fast.
>
> If I call osNpcLoadAppearence a second time, before the appearance is razzed, the (let's say within the next second), the simulator crashes, without specific error in the log.
>
> Of course, I can update my lsl script to handle that. But the crash makes a high thread risk.
>
> The script engine should do at least one of the following:
> - force sleep after osNpcLoadAppearance
> - fail, silently or with an error code if fired twice for the same NPC within a given interval, or before the new appearance has finished loading.
>
>
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/opensim-users
> .
>


--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: I think we all agree on this! (was Re: osNpcLoadApparence severe issue

justincc
In reply to this post by Dr Ramesh Ramloll
 From me, thanks :).

On 31/03/12 23:29, Dr Ramesh Ramloll wrote:

> Let me join to congratulate the opensim dev team. I think you guys are awesome.
> :)
>
>
> On Sat, Mar 31, 2012 at 3:54 PM, Karen Palen<[hidden email]>  wrote:
>> I think just about everyone on this list feels the same way about
>> opensim and the developer team!
>>
>> A well deserved pat on the back to all of you!
>>
>> Karen
>>
>> On 03/31/2012 02:03 PM, InuYasha Meiji wrote:
>>> I think opensim will keep me busy for the rest of my life.
>>>
>>> InuYasha.
>> _______________________________________________
>> Opensim-users mailing list
>> [hidden email]
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>
>
>


--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users
Reply | Threaded
Open this post in threaded view
|

Re: osNpcLoadApparence severe issue

Olivier van Helden
In reply to this post by justincc
http://opensimulator.org/mantis/view.php?id=5955

We tried SIGQUIT as well ass SIGKILL, no effect



Le 3 avr. 2012 à 05:36, Justin Clark-Casey a écrit :

> Interesting Olivier.  Could you open a Mantis on this?  It would be great if, when the simulator does lock up, you could capture a VM thread dump from mono (send it a SIGQUIT signal).  Don't worry if this isn't possible.
>
> The code should be fixed to not crash even if somebody does pound the function rather than trying to avoid this by inserting a delay.  However, it might be a good idea to have tunable script delays in some OSSL functions just like LSL functions anyway.
>
> On 31/03/12 13:42, Olivier van Helden wrote:
>> (note: too bad I noticed that *after* the 0.7.3.1 release, sorry Justin)
>>
>> In my install osNpcLoadAppearence makes the simulator severely crash if called twice and too fast for the same NPC.
>> (I say "severly" because console does not respond anymore, kill doesn't kill and I have to kill the parent process to actually kill mono)
>>
>> I tested on Linux and FreeBSD. I didn't have the chance (and didn't want) to check on anyone else installation (I definitively don't want to crash somebody else server just for tests).
>> But if anyone has a crash-test simulator with NPC allowed, I would be happy to test my script there.
>>
>> I have an NPC creator, which allows to switch appearance. Works fine, unless I click too fast.
>>
>> If I call osNpcLoadAppearence a second time, before the appearance is razzed, the (let's say within the next second), the simulator crashes, without specific error in the log.
>>
>> Of course, I can update my lsl script to handle that. But the crash makes a high thread risk.
>>
>> The script engine should do at least one of the following:
>> - force sleep after osNpcLoadAppearance
>> - fail, silently or with an error code if fired twice for the same NPC within a given interval, or before the new appearance has finished loading.
>>
>>
>> _______________________________________________
>> Opensim-users mailing list
>> [hidden email]
>> https://lists.berlios.de/mailman/listinfo/opensim-users
>> .
>>
>
>
> --
> Justin Clark-Casey (justincc)
> http://justincc.org/blog
> http://twitter.com/justincc
> _______________________________________________
> Opensim-users mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/opensim-users

_______________________________________________
Opensim-users mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/opensim-users