On Sun, Mar 2, 2008 at 12:48 AM, The Rasterman Carsten Haitzler
<[EMAIL PROTECTED]> wrote:
> On Fri, 15 Feb 2008 15:56:12 +0100 "Cedric BAIL" <[EMAIL PROTECTED]> babbled:
>
>  i found a wonderful nasty "bug"...
>
>  1. edje keeps the eet handle open.
>  2. edje uses the string dictionary
>  3. what happens if you delete the edj file edje is depending on and it then
>  tries to make use of any o the strings from the dictionary... :) (hint: some
>  signal around #11 :)).
>
>  :)
>
>  try this. use some theme X in e. have the source and recompile it (be nice -
>  delete the original. recompiling the theme in-place is even worse as u screw
>  with the file that eet has mmaped() in with string dictionary data):
>
>  rm X.edj; edje_cc X.edc
>
>  now go move your mouse around. move a window. bam. segv. :)

this is the same thing for running binaries, but since it's a common
case you get an error and the binary can't be removed with a "file
busy".  There is a correct procedure for doing such things that takes
reference counting from FS to make it behave. I don't have time to
search for it now, will do it tomorrow when I wake up.

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi - Embedded and Mobile Software Development
--------------------------------------
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to