Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: fsvs & openbsd & MacOS 10.4

Discussion topic

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

Back to topic list

Re: fsvs & openbsd & MacOS 10.4

Author benjaminm
Full name Benjamin M.
Date 2006-09-16 14:52:29 PDT
Message Philipp Marek wrote, On 16/09/06 11:56:
> Do you have some debugger on this system? gdb, ddd, something else?
> Please try running fsvs with it's control, or have a look at fsvs.c:308 -
> there a debugger is started if configured with --enable-debug and on a
> segmentation violation.
> I'd like to see a backtrace, or at least the code line where it faults - with
> only debug outputs it a bit tiring to find the place where fsvs dies ...

$ gdb ./fsvs
GNU gdb 6.1-20040303 (Apple version gdb-384) (Mon Mar 21 00:05:26 GMT 2005)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-apple-darwi​n"...Reading symbols for
shared libraries ........... done

(gdb) run
Starting program: /Users/benjamin/fsvs​/fsvs/src/fsvs
Reading symbols for shared libraries
...+.++.............​............+..++..+​ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000368
0x900030e8 in strlen ()
(gdb) bt
#0 0x900030e8 in strlen ()
#1 0x9000d990 in __vfprintf$LDBL128 ()
#2 0x9010364c in vfprintf_l$LDBL128 ()
#3 0x901059bc in printf$LDBL128 ()
#4 0x0000da60 in st__status (sts=0x180f5f4, path=0x1812200
"./.svn/text-base/bu​ild.c.svn-base") at status.c:74
#5 0x000042d0 in ac__dispatch (sts=0x180f5f4, path=0x1812200
"./.svn/text-base/bu​ild.c.svn-base") at actions.c:42
#6 0x00012cf8 in waa__build_tree (root=0x180f184) at waa.c:623
#7 0x00012c84 in waa__build_tree (root=0x180cb6c) at waa.c:612
#8 0x00012c84 in waa__build_tree (root=0xbffff9ac) at waa.c:612
#9 0x00014624 in waa__read_or_build_tree (root=0xbffff9ac) at waa.c:1365
#10 0x0000dacc in st__work (root=0x36a, argc=-1073745853, argv=0x1) at
#11 0x0000417c in main (argc=95136, args=0xbffffb00) at fsvs.c:563


« Previous message in topic | 32 of 51 | Next message in topic »


Show all messages in topic

                                                         Re: fsvs & openbsd & MacOS 10.4 pmarek P.Marek 2006-09-12 03:52:08 PDT
Page: of 3 « Previous | Next »
Messages per page: