bug-hurd
[Top][All Lists]
Advanced

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

Re: problems with daily images


From: Samuel Thibault
Subject: Re: problems with daily images
Date: Sun, 24 Jan 2021 02:01:16 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Damien Zammit, le dim. 24 janv. 2021 11:41:23 +1100, a ecrit:
> OK, I ran the failing test in GDB:

Thanks!

> #3  0x081cc30f in initmaster (f=4) at pty.c:212

Which line is this exactly, within this function?

> initmaster(int f UNUSED)
> {
> #ifndef VMS
> # ifdef POSIX
>     tcflush(f, TCIOFLUSH);
> # else
> #  ifdef TIOCFLUSH
>     (void)ioctl(f, TIOCFLUSH, (char *) 0);
> #  endif
> # endif
> # ifdef LOCKPTY
>     (void)ioctl(f, TIOCEXCL, (char *) 0);
> # endif
> #endif
> }



> It's failing on an ioctl()

This looks like a mismatch in what parameter the ioctl is supposed to
take. Thus the need to know exactly which line of initmaster this is all
about.

> Thread 4 received signal SIGSEGV, Segmentation fault.
> 0x032fe808 in in (count=<optimized out>, type=IOC_32) at 
> ../sysdeps/mach/hurd/ioctl.c:132
> 132   ../sysdeps/mach/hurd/ioctl.c: No such file or directory.
> 
> #0  0x032fe808 in in (count=<optimized out>, type=IOC_32) at 
> ../sysdeps/mach/hurd/ioctl.c:132
> #1  0x032fe9d3 in send_rpc (ioport=162) at ../sysdeps/mach/hurd/ioctl.c:137
> #2  0x032ff1b2 in __GI___ioctl (fd=<optimized out>, request=<optimized out>)
>     at ../sysdeps/mach/hurd/ioctl.c:272
> #4  mch_openpty (ttyn=0x4802928) at pty.c:212
> #5  0x081b68ac in open_pty
>     (pty_master_fd=0x4802998, pty_slave_fd=0x480299c, name1=0x1007a310, 
> name2=0x1007a30c) at os_unix.c:4301



reply via email to

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