Debian Bug report logs - #652889
gdb: During startup program terminated with signal SIGKILL, Killed.

version graph

Package: gdb; Maintainer for gdb is Héctor Orón Martínez <zumbi@debian.org>; Source for gdb is src:gdb.

Reported by: Mathieu Malaterre <malat@debian.org>

Date: Wed, 21 Dec 2011 13:57:01 UTC

Severity: important

Found in version gdb/7.0.1-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Hector Oron <zumbi@debian.org>:
Bug#652889; Package gdb. (Wed, 21 Dec 2011 13:57:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Malaterre <mathieu.malaterre@gmail.com>:
New Bug report received and forwarded. Copy sent to Hector Oron <zumbi@debian.org>. (Wed, 21 Dec 2011 13:57:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Mathieu Malaterre <mathieu.malaterre@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gdb: During startup program terminated with signal SIGKILL, Killed.
Date: Wed, 21 Dec 2011 14:55:06 +0100
Package: gdb
Version: 7.0.1-2+b1
Severity: important


Hi,

For some reason on my linux kernel (2.6.38.2-grsec-xxxx-grs-ipv6-64) I cannot use gdb on -m32 compiled program:

$ gcc -m32 hello.c -o hello
$ gdb ./hello 
GNU gdb (GDB) 7.0.1-debian
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-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/hello...(no debugging symbols found)...done.
(gdb) r
Starting program: /tmp/hello 
During startup program terminated with signal SIGKILL, Killed.


where:

$ cat hello.c 
#include <stdio.h>

int main()
{
  printf("Hello gdb\n");
  return 0;
}


more info:

$ ldd hello
	linux-gate.so.1 =>  (0xffffe000)
	libc.so.6 => /lib32/libc.so.6 (0xf75f8000)
	/lib/ld-linux.so.2 (0xf775d000)

$ readelf -d hello

Dynamic section at offset 0x4c4 contains 21 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000c (INIT)                       0x8048298
 0x0000000d (FINI)                       0x804847c
 0x00000004 (HASH)                       0x804816c
 0x6ffffef5 (GNU_HASH)                   0x8048194
 0x00000005 (STRTAB)                     0x8048204
 0x00000006 (SYMTAB)                     0x80481b4
 0x0000000a (STRSZ)                      74 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000015 (DEBUG)                      0x0
 0x00000003 (PLTGOT)                     0x8049598
 0x00000002 (PLTRELSZ)                   24 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0x8048280
 0x00000011 (REL)                        0x8048278
 0x00000012 (RELSZ)                      8 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffe (VERNEED)                    0x8048258
 0x6fffffff (VERNEEDNUM)                 1
 0x6ffffff0 (VERSYM)                     0x804824e
 0x00000000 (NULL)                       0x0


thanks !

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.2-grsec-xxxx-grs-ipv6-64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gdb depends on:
ii  gdbserver               7.0.1-2+b1       The GNU Debugger (remote server)
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libexpat1               2.0.1-7          XML parsing C library - runtime li
ii  libncurses5             5.7+20100313-5   shared libraries for terminal hand
ii  libpython2.6            2.6.6-8+b1       Shared Python runtime library (ver
ii  libreadline6            6.1-3            GNU readline and history libraries
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

gdb recommends no packages.

Versions of packages gdb suggests:
pn  gdb-doc                       <none>     (no description available)

-- no debconf information




Changed Bug submitter to 'Mathieu Malaterre <malat@debian.org>' from 'Mathieu Malaterre <mathieu.malaterre@gmail.com>' Request was from Mathieu Malaterre <malat@debian.org> to control@bugs.debian.org. (Wed, 28 Mar 2012 13:55:31 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 19:27:04 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.