Le jeudi 28 mai 2015 à 07:17 +0200, Matthias Bodenbinder a écrit : 
> Hello Jeremy,
> 
> I tested your script with newest git master. Here is what I found:
> 
> 1) Version check line #31 is not working
> LUA ERROR : /home/matthias/.config/darktable-1.7//luarc:31: bad argument #1 
> to 'check_version' (string expected, got nil)
> stack traceback:
>       [C]: in function 'check_version'
>       /home/matthias/.config/darktable-1.7//luarc:31: in main chunk
> 
> 2) The frequent crashes are just too much to test it. It crashes most of the 
> time!!
> *** Error in `/opt/darktable-git/bin/darktable': double free or corruption 
> (out): 0x0000000002ab0260 ***
> /home/matthias/bin/darktable-git-starter.sh: line 3: 19762 Aborted            
>      /opt/darktable-git/bin/darktable --configdir 
> /home/matthias/.config/darktable-1.7/ $*

Same thing here, I have found that the crash is fixed with the following
patch.

diff --git a/src/lua/luastorage.c b/src/lua/luastorage.c
index 21c281e..f7e9479 100644
--- a/src/lua/luastorage.c
+++ b/src/lua/luastorage.c
@@ -270,7 +270,7 @@ static int32_t free_param_wrapper_job(dt_job_t *job)
   free_param_wrapper_data *params = dt_control_job_get_params(job);
   lua_storage_t *d = params->data;
   g_list_free(d->imgids);
-  g_list_free_full(d->file_names, free);
+  // g_list_free_full(d->file_names, free);
   if(d->data_created)
   {
     dt_lua_lock();

But this is probably not the right fix. I'll let our Lua expert look at
this issue.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B


------------------------------------------------------------------------------
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to