Skip to Content.
Sympa Menu

freetds - [freetds] SIGSEGV in rcpsend

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Gustavo A. Gonzalez" <ggonzalez AT telviso.com.ar>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] SIGSEGV in rcpsend
  • Date: Thu, 8 Jun 2006 13:55:14 -0300

Hi all, i am writing an app that execute an stored procedure, when
dbrpcsend() is called my program dies with segmentation fault. I'm running
freetds 0.63 on a debian sarge distro with kernel 2.6 and, from gdb i gets
thats items:

Program received signal SIGSEGV, Segmentation fault.
0xb7f0fa7d in dbrpcsend (dbproc=0x804f1a0) at rpc.c:271
271 erc = tds_submit_rpc(dbproc->tds_socket,
dbproc->rpc->name, pparam_info);
(gdb) bt
#0 0xb7f0fa7d in dbrpcsend (dbproc=0x804f1a0) at rpc.c:271
#1 0x08048f0b in main ()

and My tdsdump log file says for that situation:

............................................................................................................
............................................................................................................
............................................................................................................
12:26:56.013531 tds_free_all_results()
12:26:56.013586 in dbfreebuf()
12:26:56.013618 dbrpcinit() added rpcname "Telviso_ValidaSaldoTarjetaAni"
12:26:56.013648 dbrpcparam() added parameter "@devuelve"
12:26:56.013668 dbrpcparam() added parameter "@estado"
12:26:56.013680 dbrpcsend()
12:26:56.013694 parm_info_alloc(): parameter null-ness = 0
12:26:56.013710 param_row_alloc, size = 4, offset = 4, row_size = 8
12:26:56.013770 param_row_alloc(): doing data from value
12:26:56.013783 param_row_alloc(): setting parameter #0 to NULL
12:26:56.013795 setting column 0 NULL bit
12:26:56.013808 parm_info_alloc(): parameter null-ness = 0
12:26:56.013825 param_row_alloc, size = 4, offset = 8, row_size = 12
12:26:56.013837 param_row_alloc(): doing data from value
12:26:56.013848 param_row_alloc(): copying 4 bytes of data to parameter #1


with this data what may be goes wrong?...thanks..

G.



  • [freetds] SIGSEGV in rcpsend, Gustavo A. Gonzalez, 06/08/2006

Archive powered by MHonArc 2.6.24.

Top of Page