> Program received signal EXC_BAD_ACCESS, Could not access memory. > Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 > 0x969721e5 in strtol_l () > (gdb) list > 1 > 2 /* png.c - location for general purpose libpng functions > 3 * > 4 * Last changed in libpng 1.2.21 October 4, 2007 > 5 * For conditions of distribution and use, see copyright > notice in png.h > 6 * Copyright (c) 1998-2007 Glenn Randers-Pehrson > 7 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) > 8 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, > Group 42, Inc.) > 9 */ > 10
I dont suppose anyone else would be willing to try to build this? lol ... I noticed the list pointing to png.c and the fact that it was a slightly dated version so I removed libpng(3) and shlibs related. Then I compiled the latest zlib and png and managed to get the same error in the same spot but pointing to the new version: 1 2 /* png.c - location for general purpose libpng functions 3 * 4 * Last changed in libpng 1.2.30 [August 15, 2008] 5 * For conditions of distribution and use, see copyright notice in png.h 6 * Copyright (c) 1998-2008 Glenn Randers-Pehrson 7 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) 8 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) 9 */ 10 Does anyone know a good resource for debugging properly with gdb? I've been hitting man pages and a few mini howto's but I'm just not finding anything I can work with. I did a set on the symbol hoping that if I could get past it I'd see something new but to no avail: (gdb) display strtol_l 1: {<text variable, no debug info>} 0x969721b1 <strtol_l> = {<text variable, no debug info>} 0x969721b1 <strtol_l> (gdb) set strtol_l (gdb) display strtol_l 2: {<text variable, no debug info>} 0x969721b1 <strtol_l> = {<text variable, no debug info>} 0x969721b1 <strtol_l> (gdb) whatis strtol_l type = <text variable, no debug info> (gdb) x 0x969721b2 <strtol_l+1>: 0x5657e589 (gdb) enable mem (gdb) c Continuing. Eventually I got it to progress ... kind of: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000000 0x969721e5 in strtol_l () 2: {<text variable, no debug info>} 0x969721b1 <strtol_l> = {<text variable, no debug info>} 0x969721b1 <strtol_l> 1: {<text variable, no debug info>} 0x969721b1 <strtol_l> = {<text variable, no debug info>} 0x969721b1 <strtol_l> (gdb) return Make selected stack frame return now? (y or n) y #0 0x969721ab in atoi () (gdb) c Continuing. invalid arguments Usage: ffmpegthumbnailer [options] Options: -i<s> : input file -o<s> : output file -s<n> : thumbnail size (default: 128) -t<n> : time to seek to (percentage) (default: 10) -f : create a movie strip overlay -w : workaround issues in old versions of ffmpeg -h : display this help Program exited normally (gdb) I'm thinking this is just because I _side stepped_ the error *shrug*. Let me know if you'd prefer I take this off the list. The content is changing slowly migrating away from _fink dev_ but I would like to get it working and add it to the packages if aproved. Thanks guys, Lonny ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel