FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Crash Utility

 
 
LinkBack Thread Tools
 
Old 08-29-2012, 08:45 PM
Bruce Korb
 
Default WRT: too many redirections bug

In regards to the 409 line command file containing a long series of:
bt n > output-n
with "n" taking on 407 different values and then ending with the line:
! bash script
[[That last command fails because the pipe call fails.]]

I thought I'd let you know the oldish version, too.
In doing so, it seems the program goes through all the startup rigmarole
before processing options. It shouldn't do that. No point in bumping into
failing configurations if all you are going to do is print out a version.



# crash --version > c-cmd.log
gdb called without error_hook: No struct type named ldlm_lock.
gdb called without error_hook: No struct type named ldlm_lock.
gdb called without error_hook: /root/.gdbinit:78: Error in sourced command file:
No struct type named ldlm_lock.
/root/.gdbinit:78: Error in sourced command file:
No struct type named ldlm_lock.

crash 5.1.1-2.el6
Copyright (C) 2002-2011 Red Hat, Inc.
Copyright (C) 2004, 2005, 2006 IBM Corporation
Copyright (C) 1999-2006 Hewlett-Packard Co
Copyright (C) 2005, 2006 Fujitsu Limited
Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
Copyright (C) 2005 NEC Corporation
Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc.
This program 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. Enter "help copying" to see the conditions.
This program has absolutely no warranty. Enter "help warranty" for details.

GNU gdb (GDB) 7.0
Copyright (C) 2009 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 "x86_64-unknown-linux-gnu".

--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
 
Old 08-30-2012, 02:31 PM
Dave Anderson
 
Default WRT: too many redirections bug

----- Original Message -----

> In doing so, it seems the program goes through all the startup rigmarole
> before processing options. It shouldn't do that. No point in bumping into
> failing configurations if all you are going to do is print out a
> version.
>
> # crash --version > c-cmd.log
> gdb called without error_hook: No struct type named ldlm_lock.
> gdb called without error_hook: No struct type named ldlm_lock.
> gdb called without error_hook: /root/.gdbinit:78: Error in sourced
> command file:
> No struct type named ldlm_lock.
> /root/.gdbinit:78: Error in sourced command file:
> No struct type named ldlm_lock.
>
> crash 5.1.1-2.el6
> Copyright (C) 2002-2011 Red Hat, Inc.
> Copyright (C) 2004, 2005, 2006 IBM Corporation
> Copyright (C) 1999-2006 Hewlett-Packard Co
> Copyright (C) 2005, 2006 Fujitsu Limited
> Copyright (C) 2006, 2007 VA Linux Systems Japan K.K.
> Copyright (C) 2005 NEC Corporation
> Copyright (C) 1999, 2002, 2007 Silicon Graphics, Inc.
> Copyright (C) 1999, 2000, 2001, 2002 Mission Critical Linux, Inc.
> This program 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. Enter "help copying" to see the conditions.
> This program has absolutely no warranty. Enter "help warranty" for
> details.
>
> GNU gdb (GDB) 7.0
> Copyright (C) 2009 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 "x86_64-unknown-linux-gnu".

Right -- currently when "crash --version" is invoked, gdb is invoked
as "gdb" alone with no arguments. I'll change that to "gdb -version"
so that it will avoid the reading of your .gdbinit file.

Thanks,
Dave

--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
 

Thread Tools




All times are GMT. The time now is 07:53 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org