Buenas noches, estoy teniendo problemas con la función ingresaronPerrosFechaTRefugio (al menos eso creo) porque al ejecutar "make testing" pasa todas las pruebas menos las ultima (la 8), cuando ejecuto "valgrind ./principal" no me da errores hasta la funcion ingresaronPerrosFechaTRefugio. Ahora el problema es que la prueba 7 junto con las demás que involucran ingresaronPerrosFechaTRefugio no me da erres con "make testing" solo la 8, este es el error que me devuelve> ==21161== Use of uninitialised value of size 8
> ==21161== at 0x10AE86: fechaIngresoTPerro(rep_perro*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10AC2D: imprimirPerrosFechaTRefugio(rep_refugio*, rep_fecha*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10A549: main_ingresaronPerrosFechaRefugio(rep_refugio*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x109884: main (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161==
> ==21161== Invalid read of size 8
> ==21161== at 0x10AE86: fechaIngresoTPerro(rep_perro*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10AC2D: imprimirPerrosFechaTRefugio(rep_refugio*, rep_fecha*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10A549: main_ingresaronPerrosFechaRefugio(rep_refugio*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x109884: main (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== Address 0xa8 is not stack'd, malloc'd or (recently) free'd
> ==21161==
> ==21161==
> ==21161== Process terminating with default action of signal 11 (SIGSEGV)
> ==21161== Access not within mapped region at address 0xA8
> ==21161== at 0x10AE86: fechaIngresoTPerro(rep_perro*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10AC2D: imprimirPerrosFechaTRefugio(rep_refugio*, rep_fecha*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10A549: main_ingresaronPerrosFechaRefugio(rep_refugio*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x109884: main (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== If you believe this happened as a result of a stack
> ==21161== overflow in your program's main thread (unlikely but
> ==21161== possible), you can try to increase the size of the
> ==21161== main thread stack using the --main-stacksize= flag.
> ==21161== The main thread stack size used in this run was 8388608.
> timeout: la orden monitorizada ha volcado un 'core'
> Segmentation fault
> ==21161== at 0x10AE86: fechaIngresoTPerro(rep_perro*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10AC2D: imprimirPerrosFechaTRefugio(rep_refugio*, rep_fecha*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10A549: main_ingresaronPerrosFechaRefugio(rep_refugio*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x109884: main (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161==
> ==21161== Invalid read of size 8
> ==21161== at 0x10AE86: fechaIngresoTPerro(rep_perro*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10AC2D: imprimirPerrosFechaTRefugio(rep_refugio*, rep_fecha*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10A549: main_ingresaronPerrosFechaRefugio(rep_refugio*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x109884: main (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== Address 0xa8 is not stack'd, malloc'd or (recently) free'd
> ==21161==
> ==21161==
> ==21161== Process terminating with default action of signal 11 (SIGSEGV)
> ==21161== Access not within mapped region at address 0xA8
> ==21161== at 0x10AE86: fechaIngresoTPerro(rep_perro*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10AC2D: imprimirPerrosFechaTRefugio(rep_refugio*, rep_fecha*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x10A549: main_ingresaronPerrosFechaRefugio(rep_refugio*) (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== by 0x109884: main (in /home/vboxuser/Desktop/MaterialesTarea1-Reentrega/tarea1/principal)
> ==21161== If you believe this happened as a result of a stack
> ==21161== overflow in your program's main thread (unlikely but
> ==21161== possible), you can try to increase the size of the
> ==21161== main thread stack using the --main-stacksize= flag.
> ==21161== The main thread stack size used in this run was 8388608.
> timeout: la orden monitorizada ha volcado un 'core'
> Segmentation fault