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

Re: bash coredumping?



"Christopher C. Chimelis" <chris@debian.org> writes:

> Sorry about this.  Because of the autobuilder, all of my uploads are
> frozen-only.  I figured it would be better to do this and work out the
> uploads for woody later.

Tis ok, agreed.

> > But, bash (!) is now coredumping in some cases.  For instance, teh cvs
> > postinst, which is all shellscripts.  If I run
> > /var/lib/dpkg/info/cvs.postinst configure, it crashes with coredump.
> > If I run bash -c /var/lib/dpkg/info/cvs.postinst configure, it works.
> > I am puzzled.  Also tex is demonstrating some of the same problems.
> > Ideas anyone?  Here are the messages.
> 
> Ack!  This is bad.  Any idea why it's coredumping (strace, gdb)?

strace sez:


munmap(0x20000026000, 8192)             = 0
osf_sigprocmask(0x1, 0, 0x11ffff750)    = 0
osf_sigprocmask(0x3, 0, 0)              = 0
osf_sigprocmask(0x1, 0, 0x11ffff750)    = 0
osf_sigprocmask(0x1, 0, 0x11ffff750)    = 0
osf_sigprocmask(0x1, 0, 0x11ffff750)    = 0
osf_sigprocmask(0x1, 0, 0x11ffff750)    = 0
osf_sigprocmask(0x1, 0, 0x11ffff6c0)    = 0
osf_sigprocmask(0x1, 0, 0x11ffff6c0)    = 0
exit(139)                               = ?

gdb sez:

(gdb) bt
#0  0x20000652710 in memcpy () from /lib/libc.so.6.1
#1  0x12004d8a4 in unwind_protect_var ()
#2  0x120028d18 in execute_command_internal ()
#3  0x12002945c in execute_shell_function ()
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0xffffffffffffffff

that's about it.

ii  bash           2.04-0beta5db1 The GNU Bourne Again SHell
iF  cvs            1.10.7-6       Concurrent Versions System
ii  dpkg           1.6.11         Package maintenance system for Debian
ii  libc6.1        2.1.3-7        GNU C Library: Shared libraries and Timezone


-- 
John Goerzen   Linux, Unix consulting & programming   jgoerzen@complete.org |
Developer, Debian GNU/Linux (Free powerful OS upgrade)       www.debian.org |
----------------------------------------------------------------------------+
The 115,965,725th prime number is 2,381,588,579.


Reply to: