Esa si que buena... ----- Original Message ----- From: Diego Sisto To: Una lista para consultas de programación Sent: Monday, October 08, 2007 2:16 PM Subject: [Prog] Segmentation Fault al final de la ejecucion
Buenos dias, tengo el siguiente problema. Tengo un programa en c que trabaja con memoria dinámica (aclaro por si da pistas) que me tira un segmentation fault en la última linea. El valgrind dice lo siguiente: ==14094== Use of uninitialised value of size 4 ==14094== at 0x8048A70: main (main.c:127) ==14094== ==14094== Jump to the invalid address stated on the next line ==14094== at 0x0: ??? ==14094== by 0x80485A0: (within /home/diego/workspace/ej2/src/ej2) ==14094== Address 0x0 is not stack'd, malloc'd or (recently) free'd ==14094== ==14094== Process terminating with default action of signal 11 (SIGSEGV) ==14094== Bad permissions for mapped region at address 0x0 ==14094== at 0x0: ??? ==14094== by 0x80485A0: (within /home/diego/workspace/ej2/src/ej2) Ademas en la FAQ del Valgrind encontre: Also, for leak reports involving shared objects, if the shared object is unloaded before the program terminates, Valgrind will discard the debug information and the error message will be full of ??? entries. The workaround here is to avoid calling dlclose() on these shared objects. Que, por lo menos a mi, no me ayuda mucho. Gracias por la atención. ------------------------------------------------------------------------------ _______________________________________________ Lista de correo Programacion. [email protected] http://listas.fi.uba.ar/mailman/listinfo/programacion
_______________________________________________ Lista de correo Programacion. [email protected] http://listas.fi.uba.ar/mailman/listinfo/programacion
