[Bug 342433] Re: hexdump :: irregular illegal seek

2012-01-29 Thread Ancoron Luziferis
Hi Ralph,

could you please download and execute the updated test script I have
provided to verify that your version is running correctly?

I just tested again on an Ubuntu 11.04 that has bsdmainutils 8.2.2
(which fails, but is OK since not an LTS release):

$ testHexdump.sh ABCD
+-+
| HEXDUMP test script v 1.2   |
+-+
| System: Ubuntu 11.04 (natty)
| BSD main utils version: 8.2.2
+-
| Using test string ABCD
| Cycles: 1
| Executions per cycle: 1000
+-
Executing test 'echo'...
   :) stable
Executing test 'echo ... | hexdump'...
   :) stable
Executing test 'echo ... | hexdump -x'...
   :) stable
Executing test 'echo ... | hexdump -x -s 1'...
   :( 61 / 1000 executions failed
Executing test 'echo ... | sed ... | iconv ... | hexdump -x -s 2'...
   :( 70 / 1000 executions failed
Executing test 'echo ... | xxd -s 1'...
   :) stable
Executing test 'echo ... | od -x -j 1'...
   :) stable


...on the other hand an 11.10 installation with bsdmainutils 8.2.3 seems to be 
fine:

$ ./bin/testHexdump.sh ABCD
+-+
| HEXDUMP test script v 1.2   |
+-+
| System: Ubuntu 11.10 (oneiric)
| BSD main utils version: 8.2.3
+-
| Using test string ABCD
| Cycles: 1
| Executions per cycle: 1000
+-
Executing test 'echo'...
   :) stable
Executing test 'echo ... | hexdump'...
   :) stable
Executing test 'echo ... | hexdump -x'...
   :) stable
Executing test 'echo ... | hexdump -x -s 1'...
   :) stable
Executing test 'echo ... | sed ... | iconv ... | hexdump -x -s 2'...
   :) stable
Executing test 'echo ... | xxd -s 1'...
   :) stable
Executing test 'echo ... | od -x -j 1'...
   :) stable


** Attachment added: Test script v1.2
   
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/342433/+attachment/2700784/+files/testHexdump.sh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/342433

Title:
  hexdump :: irregular illegal seek

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/342433/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 342433] Re: hexdump :: irregular illegal seek

2012-01-28 Thread Ralph Corderoy
Ubuntu 10.10, bsdmainutils 8.0.11ubuntu1, seems to be working fine.

$ echo ABCD | hexdump -s 1
001 4342 0a44  
005

That's CB \nD;  the A has been skipped.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/342433

Title:
  hexdump :: irregular illegal seek

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/342433/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 342433] Re: hexdump :: irregular illegal seek

2010-03-09 Thread Ancoron Luziferis
Just tested the issue on a Lucid Alpha 3 AMD64 machine with version
8.0.1ubuntu1 of bsdmainutils:

+-+
| HEXDUMP test script v 1.1   |
+-+
| Using test string test
| Cycles: 1
| Executions per cycle: 1000
+-
Executing test 'echo'...
   :) stable
|-|
Executing test 'echo ... | hexdump'...
   :) stable
|-|
Executing test 'echo ... | hexdump -x'...
   :) stable
|-|
Executing test 'echo ... | hexdump -x -s 1'...
   :( 57 / 1000 executions failed
|-|
Executing test 'echo ... | sed ... | iconv ... | hexdump -x -s 2'...
   :( 69 / 1000 executions failed
|-|
Executing test 'echo ... | xxd -s 1'...
   :) stable
|-|
Executing test 'echo ... | od -x -j 1'...
   :) stable

So this is NOT fixed in Lucid yet.

-- 
hexdump :: irregular illegal seek
https://bugs.launchpad.net/bugs/342433
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 342433] Re: hexdump :: irregular illegal seek

2010-01-25 Thread Bug Watch Updater
** Changed in: bsdmainutils (Debian)
   Status: New = Fix Released

-- 
hexdump :: irregular illegal seek
https://bugs.launchpad.net/bugs/342433
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 342433] Re: hexdump :: irregular illegal seek

2009-05-12 Thread Bug Watch Updater
** Changed in: bsdmainutils (Debian)
   Status: Unknown = New

-- 
hexdump :: irregular illegal seek
https://bugs.launchpad.net/bugs/342433
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 342433] Re: hexdump :: irregular illegal seek

2009-05-12 Thread Ancoron Luziferis
This bug remains in Jaunty and will remain in Karmic.

** Bug watch added: Debian Bug tracker #519648
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519648

** Also affects: bsdmainutils (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519648
   Importance: Unknown
   Status: Unknown

** Changed in: bsdmainutils (Ubuntu)
   Status: New = Confirmed

-- 
hexdump :: irregular illegal seek
https://bugs.launchpad.net/bugs/342433
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 342433] Re: hexdump :: irregular illegal seek

2009-03-13 Thread Ancoron
** Summary changed:

- hexdump :: unexpected error when input ends with backslash
+ hexdump :: irregular illegal seek

** Description changed:

  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 has some curious race conditional errors when dealing
- with backslashes at the end of a string while using the -s option
- (although there might be other characters or byte codes as well that may
- crash hexdump).
+ architecture AMD64 throws an illegal seek error when dealing with
+ stdin input while using the -s option.
  
- Simple test: echo test\\ | hexdump -s 1
+ 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
  (testBackslashHex.sh).
  
  1.) using Ubuntu 8.10 (kernel 2.6.27.11-generic)
  2.) bsdmainutils 6.1.10ubuntu2
  3.) + 4.) see text
  
  Ancoron

** Tags added: stdin

** Tags removed: backslash

-- 
hexdump :: irregular illegal seek
https://bugs.launchpad.net/bugs/342433
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 342433] Re: hexdump :: irregular illegal seek

2009-03-13 Thread Ancoron
I had to change the bug title and description because I just found out
that the error does occur with any string.

A modified test script is attached.

** Attachment added: Modified test script
   http://launchpadlibrarian.net/23843823/testBackslashHex.sh

-- 
hexdump :: irregular illegal seek
https://bugs.launchpad.net/bugs/342433
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs