On Sat, 21 Sep 2024 00:37:32 -0700 jose....@metztli.com said:

> I installed all these dbgs:
> (< http://www.enlightenment.org/ss/e-66ee76f50c86a5.48118502.jpg >)
> 
> Hopefully pasted below e crash log will be adequate:

...

> #4  0x00007fe29b8c4050 in <signal handler called> () at 
> /lib/x86_64-linux-gnu/libc.so.6
> #5  eet_write_cipher (ef=0x55a72dc62c50, name=0x55a72cb112d4 "config", 
> data=0x55a72eb0cbe0, size=14526, comp=11, cipher_key=0x0) at 
> ../src/lib/eet/eet_lib.c:2479
>          in = 0x55a72e654c70
>          efn = 0x2775becd05b78900
>          exists_already = 0
>          hash = 46
> #6  0x00007fe29c97ac01 in eet_data_write_cipher (ef=0x55a72dc62c50, 
> edd=0x55a72d5d03f0, name=0x55a72cb112d4 "config", cipher_key=0x0, 
> data=0x55a72d5d8180, comp=11) at ../src/lib/eet/eet_data.c:2410
>          ed = 0x55a72dc3c100
>          data_enc = 0x55a72eb0cbe0
>          size = 14526
>          val = 32765
>          __func__ = "eet_data_write_cipher"
> #7  0x00007fe29c97ac6f in eet_data_write (ef=0x55a72dc62c50, 
> edd=0x55a72d5d03f0, name=0x55a72cb112d4 "config", data=0x55a72d5d8180, 
> comp=11) at ../src/lib/eet/eet_data.c:2422
> #8  0x000055a72c9949bf in e_config_domain_save (domain=0x55a72cb13c33 
> "e_bindings", edd=0x55a72d5d03f0, data=0x55a72d5d8180) at 
> ../src/bin/e_config.c:2328
>          ef = 0x55a72dc62c50
>          buf = "/home/jose/.e/e/config/standard/e_bindings.cfg", '\000' 
> <repeats 370 times>...
>          buf2 = 
> "/home/jose/.e/e/config/standard/e_bindings.cfg.tmp\000efox", '\000' 
> <repeats 3137 times>...
>          ok = 0
>          len = 46
>          len2 = 10

ok. so eet_lib.c:2479 ... it's writing out e's bindings cfg file. we're getting
somewhere. that's

   LOCK_FILE(ef);
   /* Does this node already exist? */
   for (efn = ef->header->directory->nodes[hash]; efn; efn = efn->next)
     {
        /* if it matches */

the for () line there.... gee... at this point i don't know - that should not
crash. the header should be there as should the directory etc. and the
directory size is fixed as the hash is calculated and limited to that size.
unfortunately this has moved us along but not given us the problem. it's time
to use valgrind.

https://www.enlightenment.org/contrib/enlightenment-debug.md

we need to find out what there is wrong and why. it should not be. something
deeper has gone wrong and it's time to dig out some tooling.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



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

Reply via email to