26 August 2017, 15:52 | #1 |
Registered User
Join Date: Dec 2007
Location: Szczecin/Poland
Posts: 424
|
queue-handler 40.4 problem
I think I have found a bug (regression comparing to Commodore implementation) in http://aminet.net/package/util/sys/HWGQueue - queue handler replacement, which is also a part of the unofficial OS 3.9 BoingBag 3&4. The use case is simple:
Code:
> echo >PIPE:testpipe a ; this command executes without problems > echo >PIPE:testpipe a ; doing again gives error, as you can see below echo: unable to open redirection file |
26 August 2017, 20:36 | #2 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
|
Doing a manual flush between the two invocations appears to work around the issue:
echo >PIPE:testpipe a type PIPE:testpipe >NIL: echo >PIPE:testpipe a Given the reasonably small size of the executable, it might be feasible in the future to disassemble/decompile it and compare against the official version, to isolate and fix the bug, assuming all attempts to contact Heinz Wrobel fail. |
26 August 2017, 20:55 | #3 |
Registered User
Join Date: Dec 2007
Location: Szczecin/Poland
Posts: 424
|
This won't fix my problem - I want the first string to wait there until it is picked up by another process; not to be flushed away.
For now I had to go back to the original implementation. |
27 August 2017, 14:38 | #4 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
You may have a look at AWNPipe (Aminet). At least the following can be lauched several times without errors:
Code:
echo "hello World" >AWNPipe:test |
31 August 2017, 18:10 | #5 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
|
BB3&4 1.37 has been released and can be downloaded from http://amigan.1emu.net/releases/#others . queue-handler 40.4 has been removed.
|
01 September 2017, 08:04 | #6 |
Registered User
Join Date: Dec 2007
Location: Szczecin/Poland
Posts: 424
|
IMHO this is the only sane solution for now.
|
10 September 2017, 15:30 | #7 |
Registered User
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 162
|
So which lastest version of queue handler should I copy to L: drawer ?
|
10 September 2017, 22:28 | #8 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
|
V37.12.
|
07 November 2017, 17:26 | #9 |
Registered User
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 162
|
I see that you updated queue-handler from 37.12 to 50.20 in current BB4 1.38. What was changed ? Who make it ?
|
07 November 2017, 18:15 | #10 |
Registered User
Join Date: Dec 2007
Location: Szczecin/Poland
Posts: 424
|
Code:
Queue-Handler 50.20 * Rewritten from scratch. * Pipe names are now limited to 107 characters. * All FIFO data is now allocated from memory pools to reduce fragmentation. It also makes cleanup a little easier. * The handler now defaults to blocking mode. Unless specifically called for, writing to a pipe that has filled up will block until data has been drained by reading from it. * Pooling FIFO data could lose bytes. Fixed. * Writing zero bytes to a FIFO could have strange consequences. Fixed. |
09 November 2017, 17:51 | #11 |
Registered User
Join Date: Aug 2014
Location: Gdynia/Poland
Posts: 162
|
Ok but who make it ? Could this hero make more bugfixed system stuff ?
|
10 November 2017, 04:32 | #12 |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
|
I don't know who made it. I will endeavour to ascertain this information.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dropbox handler and AmigaOS 3.x | Sir_Lucas | support.Apps | 20 | 19 March 2024 01:32 |
AmigaOS 3.x and Google Drive handler | Sir_Lucas | support.Apps | 60 | 26 November 2020 11:06 |
Strange behavior when using blit queue in copper list | losso | Coders. Asm / Hardware | 39 | 02 February 2018 08:24 |
Docs on writing a handler | TCH | Coders. System | 9 | 18 June 2017 03:46 |
Mount TCP: handler | amiga | support.Apps | 2 | 20 March 2009 13:13 |
|
|