Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108078 - ddd and inappropiate ioctl for device
Summary: ddd and inappropiate ioctl for device
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-04 07:49 UTC by Rodrigo Lazo
Modified: 2005-10-30 16:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Lazo 2005-10-04 07:49:12 UTC
I updated ddd 3.3.10 to 3.3.11 and it suddenly started to throw a lot of
[tcsetpgrp failed in terminal_inferior: Inappropiate ioctl for device]. 
This message is thrown no matter what program I'm trying to debug, going step by
step it is send four time for every step I take.  This error also doesn't allow
me to look inside some structures (like std::vectors in C++)

Reproducible: Always
Steps to Reproduce:
1.Recompile ddd
2.Run it
3.

Actual Results:  
[tcsetpgrp failed in terminal_inferior: Inappropiate ioctl for device]. 

Expected Results:  
my program been debugging

I tried to fix it by recompiling the 3.3.10 version, but it didn't work. Then I
recompiled gdb, same result. What I have changed in my system since last time I
compiled ddd is that now I'm using glibc with -ntpl and -ntpl-only. Reading a
little further I've seen that the message I'm getting is about threads; but I
wasn't able to find any specific problem with ddd and ntpl 

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.12-gentoo-r6-skas3-v8.2 i686)
=================================================================
System uname: 2.6.12-gentoo-r6-skas3-v8.2 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.4.3-r4, 1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer -ffast-math
-pipe -mfpmath=sse -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mcpu=athlon-xp -fomit-frame-pointer -ffast-math
-pipe -mfpmath=sse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi berkdb cdr crypt cups curl doc eds emacs emboss
encode fam flac foomaticdb fortran gd gdbm gif gnutls gpm gstreamer gtk gtk2
imagemagick imlib jpeg libg++ libwww mad mikmod mmx motif mozsvg mp3 mpeg mule
mysql ncurses nls nptl ntpl-only ogg oggvorbis opengl oss pam pdflib perl png
ppds python quicktime readline sdl slang spell sse ssl svg svga tcpd tetex tiff
truetype truetype-fonts type1-fonts usb vorbis xine xml2 xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Rodrigo Lazo 2005-10-30 16:06:36 UTC
[FIXED] using glibc-2.3.5-rc2