Sat 27 May 2006 03:38:32 PM UTC, original submission:
Lorsque je lance thales avec les options -dv j'ai un beau segfault :
ircd@s15202115:~/Thales$ ./thales -dv
[May 27 17:08:27.154798 2006] GNU Thales ЦB??* starting up with (null) support(null)
[May 27 17:08:27.186785 2006] >SQL :
[May 27 17:08:27.222771 2006] >SQL :
[May 27 17:08:27.238764 2006] >SQL :
[May 27 17:08:27.302739 2006] >SQL :
[May 27 17:08:27.302739 2006] Erreur de segmentation
ircd@s15202115:~/Thales$
voici quelques informations qui peuvent être utiles et si vous avez besoin d'autres informations, faites le moi savoir :
ircd@s15202115:~/Unreal3.2$ ./unreal version
Unreal3.2.4 build 1.1.1.1.2.22 2006/02/05 18:03:15
ircd@s15202115:~/Unreal3.2$ uname -a
Linux s15202115 2.6.14.3-051207a #1 SMP Wed Dec 7 12:17:16 CET 2005 x86_64 GNU/Linux
ircd@s15202115:~/Unreal3.2$ mysql --version
mysql Ver 14.12 Distrib 5.0.16, for pc-linux-gnu (x86_64) using readline 5.0
ircd@s15202115:~/Thales$ gdb thales
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 "x86_64-linux"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r -dv
Starting program: /home/ircd/Thales/thales -dv
[May 27 17:37:59.351223 2006] GNU Thales ЦB??* starting up with (null) support(null)
[May 27 17:37:59.353279 2006] >SQL :
[May 27 17:37:59.353600 2006] >SQL :
[May 27 17:37:59.353800 2006] >SQL :
[May 27 17:37:59.353965 2006] >SQL :
[May 27 17:37:59.354149 2006]
Program received signal SIGSEGV, Segmentation fault.
0x00002aaaab012500 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x00002aaaab012500 in strlen () from /lib/libc.so.6
#1 0x00002aaaaafe427b in vfprintf () from /lib/libc.so.6
#2 0x00002aaaaafe08aa in cuserid () from /lib/libc.so.6
#3 0x00002aaaaafe0a91 in vfprintf () from /lib/libc.so.6
#4 0x000000000040229e in mylog (fmt=0x408765 ">SQL : %s") at log.c:96
#5 0x0000000000405597 in db_query (fmt=0x204d4f5246206c61 <Address 0x204d4f5246206c61 out of bounds>) at db.c:134
#6 0x000000000040525f in db_connect () at db.c:78
#7 0x0000000000401d71 in main (argc=2, argv=0x7fffff8d2468) at main.c:163
(gdb)
|