1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| gdb arbre
GNU gdb 6.3-debian
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 conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program: /home/premium/v0.2/arbre
[Thread debugging using libthread_db enabled]
[New Thread -1213376832 (LWP 14398)]
Debut du parsing
Parsing reussi
Debut chargement de l'image
Chargement de l'image reussi
Debut creation de l'arbre
Creation de l'arbre reussie
nw(0,0,114) sw(0,1024,113) se(1024,1024,173) ne(1024,0,143) type:-1
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213376832 (LWP 14398)]
rechercheBord (feuille=0x0, sommets=0x804c56c, provenance=1) at vertexarray.c:138
138 if(feuille->NW) rechercheBord(feuille->NW, sommets, provenance);
(gdb) bt
#0 rechercheBord (feuille=0x0, sommets=0x804c56c, provenance=1) at vertexarray.c:138
#1 0x08049d5c in calculBordFeuilleDir (feuille=0x804c518, dir=1) at vertexarray.c:354
#2 0x08049da1 in calculBordFeuille (feuille=0x804c518) at vertexarray.c:196
#3 0x08049dde in parcours (feuille=0x804c4b0) at vertexarray.c:178
#4 0x08049dde in parcours (feuille=0x804c448) at vertexarray.c:178
#5 0x08049dde in parcours (feuille=0x804c3e0) at vertexarray.c:178
#6 0x08049dde in parcours (feuille=0x804c378) at vertexarray.c:178
#7 0x08049dde in parcours (feuille=0x804c310) at vertexarray.c:178
#8 0x08049dde in parcours (feuille=0x804c2a8) at vertexarray.c:178
#9 0x08049dde in parcours (feuille=0x804c240) at vertexarray.c:178
#10 0x08049dde in parcours (feuille=0x804c1d8) at vertexarray.c:178
#11 0x08049dde in parcours (feuille=0x804c170) at vertexarray.c:178
#12 0x08049e79 in main () at vertexarray.c:383 |
Partager