ecore_event_handler_add(): member access within null pointer of type 'struct Ecore_Event_Handler'
Any idea about this ?
$ cat tests/suite/eagain.log
Warning: no private key and certificate pairs were set.
Echo Server listening on IPv4 0.0.0.0 port 44517...done
Echo Server listening on IPv6 :: port 44517...done
ecore/src/lib/ecore_events.c:137:7: runtime error: member access within null pointer of type 'struct Ecore_Event_Handler'
#0 0x562619617a0e in ecore_event_handler_add ecore/src/lib/ecore_events.c:137
#1 0x562619621c0e in _ecore_job_init ecore/src/lib/ecore_job.c:27
#2 0x5626196171e3 in ecore_init ecore/src/lib/ecore.c:122
#3 0x56261961626a in main /home/tim/src/gnutls/tests/suite/mini-eagain2.c:171
#4 0x7f2c4e19cbba in __libc_start_main ../csu/libc-start.c:308
#5 0x562619615a59 in _start (/home/tim/src/gnutls/tests/suite/eagain-cli+0x9aa59)
FAIL eagain.sh (exit status: 1)
Fixing the above leads to the next issue:
$ cat tests/suite/eagain.log
Warning: no private key and certificate pairs were set.
Echo Server listening on IPv4 0.0.0.0 port 61742...done
Echo Server listening on IPv6 :: port 61742...done
ecore/src/lib/ecore_main.c:618:6: runtime error: member access within null pointer of type 'struct Ecore_Fd_Handler'
#0 0x55d050285311 in ecore_main_fd_handler_add ecore/src/lib/ecore_main.c:618
#1 0x55d0502773ce in main /home/tim/src/gnutls/tests/suite/mini-eagain2.c:203
#2 0x7fd4395afbba in __libc_start_main ../csu/libc-start.c:308
#3 0x55d050276a59 in _start (/home/tim/src/gnutls/tests/suite/eagain-cli+0x9aa59)
Error in handshake: The TLS connection was non-properly terminated.
FAIL eagain.sh (exit status: 1)
After fixing this tests/suite/eagain-cli
hangs at
0x00007f308bf68177 in __GI___select (nfds=1, readfds=0x7ffc8d7c3440, writefds=0x7ffc8d7c34e0,
exceptfds=0x7ffc8d7c3580, timeout=0x0) at ../sysdeps/unix/sysv/linux/select.c:41
41 ../sysdeps/unix/sysv/linux/select.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 0x00007f308bf68177 in __GI___select (nfds=1, readfds=0x7ffc8d7c3440, writefds=0x7ffc8d7c34e0,
exceptfds=0x7ffc8d7c3580, timeout=0x0) at ../sysdeps/unix/sysv/linux/select.c:41
#1 0x000055c15f965447 in _ecore_main_select (timeout=<optimized out>, timeout@entry=-1)
at ecore/src/lib/ecore_main.c:903
#2 0x000055c15f966b4e in _ecore_main_loop_iterate_internal (once_only=once_only@entry=0)
at ecore/src/lib/ecore_main.c:1186
#3 0x000055c15f967037 in ecore_main_loop_begin () at ecore/src/lib/ecore_main.c:494
#4 0x000055c15f9593dd in main () at mini-eagain2.c:210