bug-hurd
[Top][All Lists]
Advanced

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

gdb, libio, readline


From: Marcus Brinkmann
Subject: gdb, libio, readline
Date: Sat, 30 Mar 2002 03:31:12 +0100
User-agent: Mutt/1.3.27i

Hi,

some weird problem with gdb today.  This is in a libio environment, but I
can't rule out that it is related to my last change in the term server as
well (so I will have to compile a recent Hurd for the stdio system to
check).  gdb works fine in batch mode (this is how I produced the below output),
but in interactive mode it does not respond to input characters at all.
I can press ^Z, but when bringing to the foreground I can not do anything
anymore on the console (didn't check remote connections, and didn't try
screen which doesn't work yet: there seems to be a problem with fifo in
libio as well -- his is what I wanted to debug with gdb).

Thinking about it, this definitely looks more like a term issue than
anything else.  I am going to take another look at it soon, this is just to
keep everyone posted about the progress.

Thanks,
Marcus

Thread 1 (thread 153.1):
#0  0x010b24fc in evc_wait () from /lib/libc.so.0.3
No symbol table info available.
#1  0x010b2b76 in mach_msg () from /lib/libc.so.0.3
No symbol table info available.
#2  0x01228a39 in msg_sig_post () from /lib/libhurduser.so.0.0
No symbol table info available.
#3  0x010c904c in hurd_sig_post () from /lib/libc.so.0.3
No symbol table info available.
#4  0x010d4dfe in openport () from /lib/libc.so.0.3
No symbol table info available.
#5  0x0119cc46 in ioctl () from /lib/libc.so.0.3
No symbol table info available.
#6  0x0119a709 in tcsetattr () from /lib/libc.so.0.3
No symbol table info available.
#7  0x08133fee in _set_tty_settings (tty=0, tiop=0x10248a0)
    at ../../readline/rltty.c:513
        tty = 0
        tiop = (struct termios *) 0x10248a0
#8  0x08134031 in set_tty_settings (tty=0, tiop=0x10248a0)
    at ../../readline/rltty.c:527
No locals.
#9  0x08134146 in rl_prep_terminal (meta_flag=0) at ../../readline/rltty.c:641
        tty = 0
        tio = {c_iflag = 10754, c_oflag = 7, c_cflag = 19200, c_lflag = 1219, 
  c_cc = "\004ÿÿ\177\027\025\022ÿ\003\034\032ÿ\021\023ÿ\017\001\000ÿÿ", 
  __ispeed = 9600, __ospeed = 9600}
        tty = 0
        tio = {c_iflag = 10754, c_oflag = 7, c_cflag = 19200, c_lflag = 1219, 
  c_cc = "\004ÿÿ\177\027\025\022ÿ\003\034\032ÿ\021\023ÿ\017\001\000ÿÿ", 
  __ispeed = 9600, __ospeed = 9600}
#10 0x0813cd61 in _rl_callback_newline () at ../../readline/callback.c:68
No locals.
#11 0x08075d9c in cli_command_loop () at ../../gdb/event-top.c:188
        length = 0
        gdb_prompt = 0x81e8ec8 "(gdb) "
#12 0x0804bebd in captured_command_loop (data=0x0) at ../../gdb/main.c:96
No locals.
#13 0x080a2575 in catch_errors (func=0x804beac <captured_command_loop>, 
    args=0x0, errstring=0x814ec82 "", mask=6) at ../../gdb/top.c:416
        errstring = 0x1 <Address 0x1 out of bounds>
        saved_catch = (sigjmp_buf *) 0x1024b60
        catch = {{__jmpbuf = {0, 0, 16927392, 16927128, 16927056, 134882572}, 
    __mask_was_saved = 1, __saved_mask = 0}}
        val = 0
        saved_cleanup_chain = (struct cleanup *) 0x0
        saved_error_pre_print = 0x0
        saved_quit_pre_print = 0x0
        caught = 0
        saved_catch = (sigjmp_buf *) 0x1024b60
        catch = {{__jmpbuf = {0, 0, 16927392, 16927128, 16927056, 134882572}, 
    __mask_was_saved = 1, __saved_mask = 0}}
        saved_cleanup_chain = (struct cleanup *) 0x0
        saved_error_pre_print = 0x0
        saved_quit_pre_print = 0x0
#14 0x0804c697 in captured_main (data=0x1024ba0) at ../../gdb/main.c:705
        data = (void *) 0x0
        argc = 16927392
        argv = (char **) 0x0
        count = 0
        quiet = 0
        batch = 0
        symarg = 0x0
        execarg = 0x0
        corearg = 0x0
        cdarg = 0x0
        ttyarg = 0x0
        print_help = 0
        print_version = 0
        cmdarg = (char **) 0x81d0290
        cmdsize = 1
        ncmd = 0
        dirarg = (char **) 0x81d02a0
        dirsize = 1
        ndir = 0
        homebuf = {st_fstype = 0, st_fsid = 0, st_ino = 0, st_gen = 0, 
  st_rdev = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_size = 0, 
  st_atime = 0, st_atime_usec = 0, st_mtime = 0, st_mtime_usec = 0, 
  st_ctime = 0, st_ctime_usec = 0, st_blksize = 0, st_blocks = 0, 
  st_author = 0, st_flags = 0, st_spare = {0 <repeats 11 times>}}
        cwdbuf = {st_fstype = 0, st_fsid = 0, st_ino = 0, st_gen = 0, 
  st_rdev = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_size = 0, 
  st_atime = 0, st_atime_usec = 0, st_mtime = 0, st_mtime_usec = 0, 
  st_ctime = 0, st_ctime_usec = 0, st_blksize = 0, st_blocks = 0, 
  st_author = 0, st_flags = 0, st_spare = {0 <repeats 11 times>}}
        homedir = 0x1026070 "/root"
        homeinit = 0x1024aa0 ""
        i = 0
        time_at_startup = 0
#15 0x080a2575 in catch_errors (func=0x804bef4 <captured_main>, 
    args=0x1024ba0, errstring=0x814ec82 "", mask=6) at ../../gdb/top.c:416
        errstring = 0x1 <Address 0x1 out of bounds>
        saved_catch = (sigjmp_buf *) 0x0
        catch = {{__jmpbuf = {18866012, 144936, 16927760, 16927624, 16927552, 
      134882572}, __mask_was_saved = 1, __saved_mask = 0}}
        val = 144936
        saved_cleanup_chain = (struct cleanup *) 0x0
        saved_error_pre_print = 0x0
        saved_quit_pre_print = 0x0
        caught = 0
        saved_catch = (sigjmp_buf *) 0x0
        catch = {{__jmpbuf = {18866012, 144936, 16927760, 16927624, 16927552, 
      134882572}, __mask_was_saved = 1, __saved_mask = 0}}
        saved_cleanup_chain = (struct cleanup *) 0x0
        saved_error_pre_print = 0x0
        saved_quit_pre_print = 0x0
#16 0x0804c8e2 in main (argc=1, argv=0x1024c10) at ../../gdb/main.c:716
        argc = 0
        argv = (char **) 0x0
        args = {argc = 1, argv = 0x1024c10}
#17 0x010d6dde in __libc_start_main () from /lib/libc.so.0.3
No symbol table info available.

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]