Skip to Content.
Sympa Menu

freetds - Re: Timestamp fields.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James Cameron <cameron AT stl.dec.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Timestamp fields.
  • Date: Tue, 06 Mar 2001 10:10:26 +1100


Tim Uckun wrote:
> Program received signal SIGSEGV, Segmentation fault.
> 0x40189f00 in chunk_alloc (ar_ptr=0x4021ed60, nb=32) at malloc.c:2948
> 2948 malloc.c: No such file or directory.
> (gdb) bt
> #0 0x40189f00 in chunk_alloc (ar_ptr=0x4021ed60, nb=32) at malloc.c:2948
> #1 0x401895ce in __libc_malloc (bytes=28) at malloc.c:2696
> #2 0x80c0d0f in _emalloc (size=12) at zend_alloc.c:158
> #3 0x80c1087 in _estrdup (s=0x81946d8 "CreditNotes") at zend_alloc.c:326
> #4 0x80b78a5 in php_if_sybase_query (ht=2, return_value=0x819214c,
> this_ptr=0x0, return_value_used=1) at php_sybase_db.c:810
> #5 0x80f1eec in execute (op_array=0x817afac) at ./zend_execute.c:1519
> #6 0x80cc4f8 in zend_execute_scripts (type=8, file_count=3) at zend.c:729
> #7 0x80620b8 in php_execute_script (primary_file=0xbffff9e4) at main.c:1221
> #8 0x80609b1 in main (argc=2, argv=0xbffffa44) at cgi_main.c:738

Nothing wrong with the arguments. Smells of heap corruption by a
previous free(). Whack in a heap tracker or validator to find the code
that caused the problem. No recommendations, off-hand.

--
James Cameron (cameron AT stl.dec.com)

http://www.linux.org/ http://www.linux.org.au/ http://www.freshmeat.net/




Archive powered by MHonArc 2.6.24.

Top of Page