[Bug 480799] New: man/groff: output to pipe is broken
https://bugzilla.novell.com/show_bug.cgi?id=480799 Summary: man/groff: output to pipe is broken Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: All OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: jengelh@medozas.de QAContact: qa@suse.de Found By: Beta-Customer I noticed that output to a pipe randomly outputs (or not), there being totally broken. This affects even a simple testcase such as the infamous Useless Use Of Cat: man ls | cat For other manpages - maybe it is related to length of the page - it works: man bash | cat (This can be used to produce a text/plain file of a manpage, using e.g. man -l foobar.8 | perl -pe 's/.\cH//g' >foobar.txt) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 User jengelh@medozas.de added comment https://bugzilla.novell.com/show_bug.cgi?id=480799#c1 --- Comment #1 from Jan Engelhardt <jengelh@medozas.de> 2009-03-01 09:10:54 MST --- This also affects redirection to a file directly, i.e. man -l foobar.8 >foobar.txt -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@novell.com AssignedTo|pth@novell.com |werner@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480799#c2 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |NEEDINFO Info Provider| |jengelh@medozas.de Severity|Major |Normal --- Comment #2 from Dr. Werner Fink <werner@novell.com> 2009-03-02 09:56:55 MST --- I'm *not* able to reproduce ... provide some info about your locale try `man -d' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 User jengelh@medozas.de added comment https://bugzilla.novell.com/show_bug.cgi?id=480799#c3 --- Comment #3 from Jan Engelhardt <jengelh@medozas.de> 2009-03-02 10:46:40 MST --- Created an attachment (id=276481) --> (https://bugzilla.novell.com/attachment.cgi?id=276481) Log output of `man -d ls | cat` when stuff fails -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 User jengelh@medozas.de added comment https://bugzilla.novell.com/show_bug.cgi?id=480799#c4 --- Comment #4 from Jan Engelhardt <jengelh@medozas.de> 2009-03-02 10:47:05 MST --- Created an attachment (id=276482) --> (https://bugzilla.novell.com/attachment.cgi?id=276482) Log output of `man -d ls | cat` when stuff happens to work -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 User jengelh@medozas.de added comment https://bugzilla.novell.com/show_bug.cgi?id=480799#c5 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jengelh@medozas.de | --- Comment #5 from Jan Engelhardt <jengelh@medozas.de> 2009-03-02 10:47:45 MST --- $ locale LANG=en_US.UTF-8 LC_CTYPE=de_DE.UTF-8 LC_NUMERIC=POSIX LC_TIME=POSIX LC_COLLATE=POSIX LC_MONETARY=POSIX LC_MESSAGES=en_US.UTF-8 LC_PAPER=de_DE.UTF-8 LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480799#c6 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jengelh@medozas.de --- Comment #6 from Dr. Werner Fink <werner@novell.com> 2009-03-03 03:25:58 MST --- Even with your locale I'm not able to reproduce. Please show what the command `printenv' writes out. Next I'd like to know is what kernel are you running, that is the output of `uname -a' .. beside this please set ulimit -c unlimited before trying to recur the broken pipe. Do you have a core dump around afterwards? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480799#c7 --- Comment #7 from Dr. Werner Fink <werner@novell.com> 2009-03-03 05:42:30 MST --- Next question: as the mandb uses socketpair(2) as fast replacement for pipe(2) I'd like also to know if you have a special network setup around? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480799#c8 --- Comment #8 from Dr. Werner Fink <werner@novell.com> 2009-03-05 09:55:24 MST --- Ping! Any news? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 User jengelh@medozas.de added comment https://bugzilla.novell.com/show_bug.cgi?id=480799#c9 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jengelh@medozas.de | --- Comment #9 from Jan Engelhardt <jengelh@medozas.de> 2009-03-05 10:44:30 MST --- I can only reproduce this on 2.6.25.20; a current 2.6.29 for comparison has no issue. Odd. $ ulimit -c unlimited $ cd /dev/shm/ $ man ls | cat (no core file created) No special setup I guess. $ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: sis0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000 link/ether 00:0a:e6:98:ed:d7 brd ff:ff:ff:ff:ff:ff inet 10.10.106.161/20 brd 10.10.111.255 scope global sis0 inet6 fe80::20a:e6ff:fe98:edd7/64 scope link valid_lft forever preferred_lft forever 3: rtl0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000 link/ether 00:20:18:8c:ce:79 brd ff:ff:ff:ff:ff:ff inet 192.168.28.1/23 brd 192.168.29.255 scope global rtl0 inet 192.168.29.1/27 brd 192.168.29.31 scope global rtl0 inet6 fe80::220:18ff:fe8c:ce79/64 scope link valid_lft forever preferred_lft forever -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 User jengelh@medozas.de added comment https://bugzilla.novell.com/show_bug.cgi?id=480799#c10 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jengelh@medozas.de --- Comment #10 from Jan Engelhardt <jengelh@medozas.de> 2009-03-05 11:06:29 MST --- Needs more info from myself, this seems to be kernel related. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 User werner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480799#c11 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |werner@novell.com Component|Development |Kernel Info Provider|jengelh@medozas.de | AssignedTo|werner@novell.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #11 from Dr. Werner Fink <werner@novell.com> 2009-03-06 03:23:52 MST --- This *is* a kernel bug. As you may read from the manual page of socketpair(2) and info libc 'Socket Pairs' it can be used as replacement for pipe(2). If this is not posssible anymore the related kernel is broken. Btw: the kernel of openSuSE 11.1 is 2.6.27 (e.g. 2.6.27.7 upto 2.6.27.19). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=480799 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com