hexdump :: irregular illegal seek
Bug #342433 reported by
Ancoron Luziferis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bsdmainutils (Debian) |
Fix Released
|
Unknown
|
|||
bsdmainutils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bsdmainutils
I just found out that the hexdump program from the bsdmainutils package at least version 6.1.10ubuntu2 (also version 6.1.6 in Debian 4) for architecture AMD64 throws an "illegal seek" error when dealing with stdin input while using the -s option.
Simple test: echo "test" | hexdump -s 1
Most times all things are OK but sometimes it just throws an error:
"hexdump: stdin: Illegal seek"
The same tests made with "od" or "xxd" are OK.
I've attached a simple test script to verify the problem ("testBackslash
1.) using Ubuntu 8.10 (kernel 2.6.27.11-generic)
2.) bsdmainutils 6.1.10ubuntu2
3.) + 4.) see text
Ancoron
description: | updated |
Changed in bsdmainutils (Debian): | |
status: | Unknown → New |
Changed in bsdmainutils (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
Tests with FreeBSD 6.2 showed that the version over there works correctly and doesn't throw any errors:
Executing backslash '\' test 'echo'... ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -| ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -| ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -| ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -| ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -|
:) stable
|------
Executing backslash '\' test 'hexdump'...
:) stable
|------
Executing backslash '\' test 'hexdump -x'...
:) stable
|------
Executing backslash '\' test 'hexdump -x -s 1'...
:) stable
|------
Executing backslash '\' test 'sed ... | iconv ... | hexdump -x -s 2'...
:) stable
|------
Executing backslash '\' test 'od'...
:) stable