From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17758 invoked by alias); 27 May 2005 20:18:26 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 17736 invoked by uid 22791); 27 May 2005 20:18:22 -0000 Received: from mail-relay4.mirrorimage.net (HELO mail-relay4.mirrorimage.net) (65.219.237.195) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 27 May 2005 20:18:22 +0000 Received: from localhost (leblanc.eng.mirrorimage.net [65.219.237.158]) by mail-relay4.mirrorimage.net (Postfix) with SMTP id 3F47B692C7 for ; Fri, 27 May 2005 16:18:21 -0400 (EDT) Received: by localhost (sSMTP sendmail emulation); Fri, 27 May 2005 16:19:25 -0400 Date: Fri, 27 May 2005 20:18:00 -0000 From: Louis LeBlanc To: gdb@sources.redhat.com Subject: Re: thread apply all - not working? Message-ID: <20050527201925.GI59006@keyslapper.net> Reply-To: Louis LeBlanc Mail-Followup-To: gdb@sources.redhat.com References: <20050527184645.GA59006@keyslapper.net> <20050527191534.GA18636@nevyn.them.org> <20050527192506.GE59006@keyslapper.net> <20050527193022.GA19269@nevyn.them.org> <20050527194956.GG59006@keyslapper.net> <20050527195735.GA20173@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050527195735.GA20173@nevyn.them.org> User-Agent: Mutt/1.5.9i X-SW-Source: 2005-05/txt/msg00359.txt.bz2 On 05/27/05 03:57 PM, Daniel Jacobowitz sat at the `puter and typed: > On Fri, May 27, 2005 at 03:49:56PM -0400, Louis LeBlanc wrote: > > (gdb) thread apply all bt > > > > Thread 104 (process 6772575 ): > > #0 0xfea1e574 in __tbl_2_big_digits () from /usr/lib/libc.so.1 > > #1 0xff34db00 in read () from /usr/lib/lwp/libthread.so.1 > > #2 0xfef86960 in snttread () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #3 0xfef842f0 in nttrd () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #4 0xfee3ec2c in nsprecv () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #5 0xfee43740 in nsrdr () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #6 0xfee2968c in nsdo () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #7 0xfeeafb74 in nioqrc () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #8 0xfefffe54 in ttcdrv () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #9 0xfeeb81e0 in nioqwa () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #10 0xfed3b5cc in upirtrc () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #11 0xfed8b64c in kpurcsc () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #12 0xfed5b104 in kpuexecv8 () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #13 0xfed5d2d4 in kpuexec () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #14 0xfed9a318 in OCIStmtExecute () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > #15 0x000e5234 in execute_statement (connID=1533288, stmntID=3, args=0xf837a650, dbTimingRec=0xf8379b80, inOpCode=18758) at dbase.c:873 > > #16 0x0002f1dc in handle_check (thread=0x759b30) at miniget.c:1044 > > #17 0x000e3134 in spawn (arg=0x759b30) at xpcthread.c:195 > > #18 0xff354978 in _lwp_start () from /usr/lib/lwp/libthread.so.1 > > #19 0xff354978 in _lwp_start () from /usr/lib/lwp/libthread.so.1 > > Previous frame identical to this frame (corrupt stack?) > > #0 0xff024044 in ttcpip () from /opt/oracle/8.1.7/lib/libclntsh.so.8.0 > > That's the problem. It's an error message; it stops "thread apply" > from continuing. > > Jeff Johnston fixed this in CVS on 2004-11-05; try a CVS HEAD snapshot. BTW, this app is compiled with the following flags: -ggdb -g3 -Wall -Wno-multichar -Wno-unused-function -mcpu=ultrasparc -O1 The gcc version, as mentioned before, is gcc-3.3. Lou -- Louis LeBlanc dev@keyslapper.net Fully Funded Hobbyist, KeySlapper Extrordinaire :þ http://www.keyslapper.net Ô¿Ô¬ Key fingerprint = C5E7 4762 F071 CE3B ED51 4FB8 AF85 A2FE 80C8 D9A2 If mathematically you end up with the wrong answer, try multiplying by the page number.