pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/46555 (On netbsd-6, radmind server SIGSEVs when talked to)



The following reply was made to PR pkg/46555; it has been noted by GNATS.

From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/46555 (On netbsd-6, radmind server SIGSEVs when talked to)
Date: Fri, 8 Jun 2012 13:01:52 +0200 (CEST)

 [hf@Hochstuhl] /<5>work/radmind-1.14.1 # gdb radmind
 GNU gdb (GDB) 7.3.1
 Copyright (C) 2011 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "i486--netbsdelf".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from 
/var/obj/pkgsrc/sysutils/radmind/work/radmind-1.14.1/radmind...done.
 (gdb) set args -D /u/radmind -w1 -z /u/radmind/cert/radmind.key -d -f
 (gdb) set follow-fork-mode child
 (gdb) run
 Starting program: /var/obj/pkgsrc/sysutils/radmind/work/radmind-1.14.1/radmind 
-D /u/radmind -w1 -z /u/radmind/cert/radmind.key -d -f
 <<< STARTTLS
 <<< STAT COMMAND
 
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to process 11751]
 0x08051c8d in snet_writeftv (sn=0xbb73c180, tv=0x0, format=0x8053bb4 "s\r\n") 
at snet.c:275
 275                     len = strlen( p );
 (gdb) bt
 #0  0x08051c8d in snet_writeftv (sn=0xbb73c180, tv=0x0, format=0x8053bb4 
"s\r\n") at snet.c:275
 #1  0x0804d572 in f_stat (sn=0xbb73c180, ac=2, av=0xbb71d1f0) at 
./command.c:658
 #2  0x0804e442 in cmdloop (fd=5, sin=0xbfbfe80c) at ./command.c:1603
 #3  0x0804b418 in main (ac=8, av=0xbfbfe8a0) at ./daemon.c:623
 (gdb) print *p
 Cannot access memory at address 0x0
 (gdb) print *format
 $1 = 115 's'
 (gdb) print vl
 $2 = (va_list) 0xbfbfe0c0 
"g\345¿¿J\213Z¥\002\327+U\366\240#\302R:\fØj\033µ\035HÄe\t\350à¿¿351N\227¸{\flcommand/spgnts_ubuntu10.K"
 (gdb) frame
 #0  0x08051c8d in snet_writeftv (sn=0xbb73c180, tv=0x0, format=0x8053bb4 
"s\r\n") at snet.c:275
 275                     len = strlen( p );
 (gdb) frame 1
 #1  0x0804d572 in f_stat (sn=0xbb73c180, ac=2, av=0xbb71d1f0) at 
./command.c:658
 658                 snet_writef( sn, "%s %s %o %d %d %d %" PRIofft "d %s\r\n",
 (gdb) print cksum_b64
 $3 = 
"G7ORbBd3WrpaD90Xz2AOmnOd9fE=\000\360V\005\b¸\345¿¿ÖM\234»ðV\005\b\001\000\000\000\350\345¿¿Ás»\000àq»\000\020\000\000Ø\345¿¿\030LÁs»\000àq»\000\020\000\000Ø\345¿¿\030LÁs»\000àq»\000\020\000\000Ø\345¿¿\030LÁs»\000àq»\000\020\000\000Ø\345¿¿\030LÁs»\000àq»\000\020\000\
 [...]
 


Home | Main Index | Thread Index | Old Index