View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
780 [Samba Server] Bug minor always 2024-01-19 20:57 2024-02-03 20:51
Reporter: psmedley Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Investigate log.smbd errors
Description: I'm not seeing that error on either the client (4.19) or server (neither 4.11 nor 4.19). Using log level = 8 on both. All I see on the client side (both 4.11 and 4.19 server) is many dozens of:

1) [2024/01/19 11:32:59.648000, 3] ../../source3/libsmb/clierror.c:91(cli_status_to_errno)
  cli_status_to_errno: 0xc0000034 -> 2

 On the server side, the logged errors I see are:

2) [2024/01/19 10:01:17.493000, 2] ../../source3/nmbd/nmbd_winsserver.c:634(initialise_wins)
  initialise_wins: Can't open wins database file wins.dat. Error was No such file or directory**

3) [2024/01/19 10:01:40.006000, 5] ../../source3/nmbd/nmbd_namequery.c:77(query_name_response)
  query_name_response: On subnet UNICAST_SUBNET - negative response from IP 192.168.21.2 for name IBMPEERS<1b>. Error code was 3.**

4) [2024/01/19 10:19:00.702000, 0] ../../lib/util/pidfile.c:240(pidfile_unlink)
  Failed to delete pidfile C:\MPTN\ETC/samba/pid/nmbd.pid. Error was No such file or directory.**

5) [2024/01/19 10:18:30.430000, 3] ../../source3/smbd/smb2_server.c:4033(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NO_MEMORY] || at ../../source3/smbd/smb2_create.c:360

6) [2024/01/19 10:18:30.622000, 5] ../../source3/smbd/dosmode.c:418(fget_ea_dos_attribute)
  fget_ea_dos_attribute: Cannot get attribute from EA on file .: Error = Attribute not found

7) [2024/01/19 10:18:32.229000, 3] ../../source3/smbd/smb2_server.c:4033(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_OBJECT_PATH_NOT_FOUND] || at ../../source3/smbd/smb2_create.c:360


 There were many multiples of each of the above - only one shown.

** Indicate errors seen with both the 4.11 and 4.19 server. The last three are only seen with the 4.19 server.

PS Edit 21JAN: added numerical references to each of these log entries
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0004671)
psmedley   
2024-01-20 22:32   
1) I'll have to check my client logs and see if I see similar
2) I'll need to checkout paths- again - are you running nmbd?
3) is just noise. It's trying (I think) to resolve IBMPEERS to an IP, which fails.
4) Are you running nmbd.exe at the time this occurs? I don't think this is anything to worry about.
5) I'm guessing this is when the client is starting to fail? need more context to understand more about this one.
6) this is just noise - the server checks for an EA called user.DOSATTRIB where linux stores dos attributes
7) Need more context for this one too
(0004674)
David McKenna   
2024-01-21 01:51   
I am running nmbb, smbd, and winbindd (started by the Netlabs SAMBA CMD files which I have been using). I agree '5' is probably when the 'out of memory' raises it's head. I think '7' is when I try to read the share after the 'out of memory' has occurred, but I have a WPS display of files from before that and try to use one of the displayed files.

 Any idea what 'out of memory' is referring to? Is it the command prompt, the IFS, the samba plugin or what?
(0004677)
psmedley   
2024-01-21 07:12   
re: Item 1 - are those always surrounded by something like:
[2024/01/13 07:59:52.680000, 5] ../../libcli/smb/smb2_signing.c:574(smb2_signing_sign_pdu)
  signed SMB2 message (sign_algo_id=2)
[2024/01/13 07:59:52.686000, 3] ../../source3/libsmb/clierror.c:91(cli_status_to_errno)
  cli_status_to_errno: 0xc0000034 -> 2
[2024/01/13 07:59:52.688000, 5] ../../libcli/smb/smb2_signing.c:574(smb2_signing_sign_pdu)
  signed SMB2 message (sign_algo_id=2)
(0004678)
psmedley   
2024-01-21 07:27   
re: out of memory - it's actually some kind of Samba error code which is being mapped/converted to ENOMEM

I need to try and reproduce a log.smbd with -d 8 with the out of memory error to help try work out what's going wrong.
(0004679)
David McKenna   
2024-01-21 14:48   
re: item1, yes - exactly, I see the identical lines.

re: out of memory - so some kind of memory leak in the server? Seems odd that could happen, but Windows clients can still use the share when OS/2 says 'out of memory' - unless there is some kind of memory being mapped for each client?
(0004686)
David McKenna   
2024-01-24 00:09   
Another message I see repeated in log.smbd on the client that might be relevant:

[2024/01/23 09:38:37.511000, 3] ../../source3/smbd/smb2_server.c:1224(smbXsrv_server_multi_channel_enabled)
  'server multi channel support' enabled but not supported on OS/2 (1)
  Please report this on https://bugzilla.samba.org/show_bug.cgi?id=11897
(0004687)
David McKenna   
2024-01-24 00:22   
Another message I see repeated in log.smbd on the server that might be relevant:

[2024/01/23 09:38:37.511000, 3] ../../source3/smbd/smb2_server.c:1224(smbXsrv_server_multi_channel_enabled)
  'server multi channel support' enabled but not supported on OS/2 (1)
  Please report this on https://bugzilla.samba.org/show_bug.cgi?id=11897
(0004689)
David McKenna   
2024-01-24 11:32   
Please ignore message 4686...
(0004690)
psmedley   
2024-01-27 08:31   
The message in https://mantis.smedley.id.au/view.php?id=780#c4687 should be fixed in https://github.com/psmedley/samba-os2/commit/6aff9541d7a8aeacb21aef1251e97c34089cb9bf
(0004691)
David McKenna   
2024-01-28 12:26   
Since the recent ndpsmb-20240127 plugin, I have not seen errors 0000003, 5, 6, and 7 in server logs. Will there be a new smbd build with the fix mentioned above?
(0004692)
psmedley   
2024-01-29 07:44   
Just for you - https://smedley.id.au/tmp/smbd-4.19.4-20240129.zip
(0004693)
David McKenna   
2024-01-29 11:21   
Thanks! - this one is noticeably snappier displaying large directories on the client. I'd say it is now better than ver 4.11 was...
(0004696)
David McKenna   
2024-01-31 11:34   
With the ndpsmb-20240131 client version, I no longer see the errors listed with #1.
(0004697)
psmedley   
2024-02-01 07:32   
OK... so the remaining repeat errors are:
2) [2024/01/19 10:01:17.493000, 2] ../../source3/nmbd/nmbd_winsserver.c:634(initialise_wins)
  initialise_wins: Can't open wins database file wins.dat. Error was No such file or directory**

4) [2024/01/19 10:19:00.702000, 0] ../../lib/util/pidfile.c:240(pidfile_unlink)
  Failed to delete pidfile C:\MPTN\ETC/samba/pid/nmbd.pid. Error was No such file or directory.**

I don't typically bother running nmbd in my testing - so will do some investigation.
(0004698)
David McKenna   
2024-02-01 11:09   
0000004 is not really a problem, because there truly is no nmbd.pid - it was already deleted at the time of the message apparently.
(0004700)
David McKenna   
2024-02-03 13:35   
I think 0000002 may be working as designed. I noticed that when you start the server wins.dat gets deleted, and then recreated about 1-2 minutes later (searching the network for other servers?). So the server checks for the presence of wins.dat to see if it has been recreated yet. Go ahead and close this ticket - thanks!
(0004701)
psmedley   
2024-02-03 20:51   
Fixed in latest server

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
778 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Feature Request minor always 2023-12-27 12:05 2024-02-03 03:19
Reporter: David McKenna Platform: Intel i5-9600  
Assigned To: psmedley OS: ArcaOS  
Priority: normal OS Version: 5.1.0  
Status: resolved Product Version: 8.1.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Can't run any browser when Apache with php8.1 is running
Description:  Tried to use Dooble to troubleshoot Wordpress on my computer running Apache and php 8.1.17. Dooble would not start giving a POPUPLOG:

12-25-2023 13:44:30 SYS2070 PID 0070 TID 0001 Slot 009d
C:\USR\BIN\DOOBLE.EXE
FREETYP6->BZ2._BZ2_bzDecompressEnd
127

 Stopping Apache, Dooble worked. Turns out there is a php module bz2.dll that conflicts with a different bz2.dll on my system. Would it be possible in future versions of php to rename that module - maybe php_bz2.dll?
Tags:
Steps To Reproduce:  Run Apache with php 8.1.17. Try to start Dooble.
Additional Information:
Attached Files:
Notes
(0004649)
psmedley   
2023-12-28 23:58   
Not sure I'd recommend running dooble on the same machine as one running apache2/php given both php and qtwebengine are known for being ram guzzlers.

I took a very quick look at this - the obvious change was to modify :
https://github.com/psmedley/php-os2/blob/main/main/build-defs.h.in#L41 to set PHP_SHLIB_EXT_PREFIX to "php-" but this didn't change anything. Potentially other changes also required.

Will investigate as time permits - but also concerned that this change will impact the naming of the various pdo plugins - and we'll run out of unique names without more changes....
(0004651)
David McKenna   
2024-01-04 21:24   
It's not a big deal - I was able to manually rename the DLL and change the entry in php.ini. Now I can run Dooble at the same time with memory to spare! Just thought it would be good if you could rename just the one bz2.dll, since it is the only one I can see that conflicts...
(0004699)
psmedley   
2024-02-03 03:19   
Should be fixed in https://github.com/psmedley/php-os2/commit/93ec260ead2842a035b8f4b823ba23c86e75f392

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
769 [Samba Server] Bug major always 2022-09-06 10:53 2024-01-29 21:57
Reporter: David McKenna Platform: Intel i3-8100  
Assigned To: psmedley OS: ArcaOS  
Priority: normal OS Version: 5.0.7  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Sys0008 when browsing SAMBA share version 4.13 and newer
Description: When browsing a SAMBA share using SAMBA server version 4.13 or newer with any client, evventually browsing fails with an out of memory (sys0008) error on the command line, or shows '0 files' using the WPS. Also files cannot be opened directly on the share (like pdf, jpg, or wpi files) and mp3's cannot be played.
Tags:
Steps To Reproduce:  Browse a server share using the WPS from a client. Within 5 minutes the condition will present itself.
Additional Information:  Have been using the ArcaOS 4.11.6 version successfully for awhile now, even with newer clients. Running newer servers (using the same smb.conf file) exhibits the described behaviour with any client.

 I captured a trace from using the 4.15 server (sys0008.ftf) and the ArcaOS 4.11.6 server (nosys0008.ftf) for about 6 minutes each. Zipped them up and attached the zip file. The 4.15 server showed sys0008 errors in a couple minutes, the 4.11 server never does.
Attached Files: trace.zip (150,413 bytes) 2022-09-06 10:53
https://mantis.smedley.id.au/file_download.php?file_id=955&type=bug
ndpsmblogs.zip (666,729 bytes) 2022-09-06 21:13
https://mantis.smedley.id.au/file_download.php?file_id=956&type=bug
ndctl.log (1,048 bytes) 2022-09-06 21:18
https://mantis.smedley.id.au/file_download.php?file_id=957&type=bug
411logs.zip (157,768 bytes) 2024-01-05 20:59
https://mantis.smedley.id.au/file_download.php?file_id=985&type=bug
418logs.zip (121,980 bytes) 2024-01-05 20:59
https://mantis.smedley.id.au/file_download.php?file_id=986&type=bug
419client-serverlog.zip (990,160 bytes) 2024-01-13 13:14
https://mantis.smedley.id.au/file_download.php?file_id=987&type=bug
odinapp.zip (1,390,360 bytes) 2024-01-14 23:29
https://mantis.smedley.id.au/file_download.php?file_id=988&type=bug
log.smbd.davem.192.168.21.3 (529,291 bytes) 2024-01-14 23:29
https://mantis.smedley.id.au/file_download.php?file_id=989&type=bug
broken.7z (1,389,914 bytes) 2024-01-15 13:27
https://mantis.smedley.id.au/file_download.php?file_id=990&type=bug
Notes
(0004560)
David McKenna   
2022-09-06 21:13   
I captured some ndpsmb log files on the client while browsing the SAMBA share - I'll upload. Went back and forth from a command line window and a WPS window. At 16:45 the command line window started giving the sys008 error (almost right away). The WPS window started showing some known full directories as '0 files' at 16:48. I stopped collecting log data once the WPS windows always said '0 files' and the command prompt always showed sys0008.
(0004561)
David McKenna   
2022-09-06 21:18   
Forgot one...
(0004562)
David McKenna   
2022-09-06 21:24   
I didn't explicitly mention that both the Server and client are running on ArcaOS 5.0.7 computers. Have not tested any other OS yet.
(0004650)
psmedley   
2024-01-02 06:36   
Latest info from https://www.os2world.com/forum/index.php/topic,3515.30.html confirms that this only occurs with a share which is a whole drive - ie c:/
(0004652)
psmedley   
2024-01-05 06:37   
This *appears* to be related to some timeout issues we were seeing with the client with browsing a directory with a large number of files.

By default, samba commands have a 20 second timeout - increasing it to 60 seconds allowed a directory listing of a large folder (6 directories and over 2500 files for over 22GB of data) to succeed - and anecdotally, seems to have prevented the issues above.

I'll take a look at implementing some better error handling in the client for this (ie to detect the timeout). Interestingly, smbclient reports:
NT_STATUS_INVALID_NETWORK_RESPONSE listing \software\os2\*
smb: \software\os2\> SMBecho failed (NT_STATUS_CONNECTION_DISCONNECTED). The connection is disconnected now.
(0004653)
David McKenna   
2024-01-05 20:59   
Attached are 2 log files requested. In both cases, all I did was start the server, then from the client, used the WPS to list the contents of the root of the share. 411logs.zip are the logs when running the 4.11.06 server, 418logs.zip are the logs when running the 4.18.9 server. Using 4.18 client for both.
(0004657)
David McKenna   
2024-01-13 13:14   
Paul,

  I attached the logs you requested. Started the NDFS control program using the 4.19 client attached to the 4.19 server. I got '0 files' browsing using the WPS at 8:06AM, then immediately checked on command line and also got the 'out of memory' error. Hope this helps...
(0004658)
psmedley   
2024-01-13 21:50   
First observation is that you have an enormous quantity of log lines like the following in log.smbc, which don't seem to be 'normal' (he says having not checked his own):

[2024/01/13 08:04:08.291000, 5] ../../libcli/smb/smb2_signing.c:574(smb2_signing_sign_pdu)
  signed SMB2 message (sign_algo_id=2)

Something like 33873 entries in a 76700 line log file.

log.smbc also shows what 'might' be the error that's getting reported to the client:
[2024/01/13 08:06:45.934000, 3] ../../source3/libsmb/clierror.c:91(cli_status_to_errno)
  cli_status_to_errno: 0xc0000017 -> 12

the errno of 12 maps to ENOMEM which is an out of memory error - https://android.googlesource.com/kernel/lk/+/dima/for-travis/include/errno.h#45

More after a beach walk :)
(0004659)
psmedley   
2024-01-14 00:22   
It may be interesting to confirm this is indeed a SMB2 issue.

On the server, add the following to smb.conf:
server min protocol = NT1

On the client:
client max protocol = NT1
(0004660)
psmedley   
2024-01-14 02:21   
OK, for the first time I was able to reproduce this. Seems to be triggered using the WPS to open large folders. General browsing from the command line doesn't do it.
(0004661)
psmedley   
2024-01-14 04:56   
(Last edited: 2024-01-14 08:41)
Does https://smedley.id.au/tmp/ndpsmb.zip help at all?

Edit: it breaks opening files via the WPS. It may still be interesting to see if you can trigger the out of memory error browsing via the WPS

Edit2: It doesn't actually break it, it was just really slow cos of the massive number of files in the directory I was opening from.
(0004662)
David McKenna   
2024-01-14 13:31   
I tried this ndpsmb.zip, but I can't seem to copy to the server with it. I can browse and open files though. Setting the server to 'server min protocol = NT1' doesn't seem to help either. Same behaviors as before...

On a different note, I notice that files on the server over 2GB in size always display as 2GB in the WPS. On the command line they show the correct size. Files on a local drive over 2GB show the correct size in the WPS too. Is that to be expected?
(0004663)
LewisR   
2024-01-14 20:07   
Hi, David...

This is a known (by us) WPS bug. Have a quick look at Julien's ticket in the AN bugtracker, here:

https://mantis.arcanoae.com/view.php?id=2323

Whether it is fixable (and distributable by AN) or not remains unknown (under investigation).

As for not being able to copy to the server, do you have some log entries from either side? You might want to ensure that packet signing is off, as well, as I've seen issues with mandatory packet signing under SMB1 (unrelated to the OS/2 client or server). Packet signing cannot be disabled for SMB2, but for SMB1, on the server side, in the global stanza of smb.conf, set the following:

server signing = disabled

and restart the server. Unless the client side is set to mandatory, it should In fact, you might want to disable signing on the client side for this SMB1 testing, as well. Again, in the global stanza, set:

client signing = disabled

and restart the NetDrive control program.

Thanks for testing all of this and providing such great feedback.
(0004664)
psmedley   
2024-01-14 21:28   
As Lewis said, 2gb limit in WPS is known. I'll have a look and see how I could have introduced an issue with copying files to the server, but are you able to reproduce the out of memory condition through browsing via the WPS?
(0004665)
David McKenna   
2024-01-14 23:29   
Using the smb.conf directives Lewis requested (and keeping the NT1 ones as well), I reloaded the test ndpsmb.dll on the client and I have not had the '0 files' condition appear for 15 minutes (a long time!) while browsing the share. But it hardly matters, because I can't do anything else - no copy or open of files, or play mp3 or read txt files. When I try, it eventually leads to a WPS hang. At least the original 4.19 client could be used for awhile. (EDIT: while typing this, I got the out of memory error with the test ndpsmb.dll).

I have tried the original 4.19 client in a Virtual Box install on a Windows host, and have not yet got the out of memory condition (2 days now). But I also don't have any trouble using the share with Windows either.

Have also tried the 4.19 client on my ArcaOS laptop and there I eventually get WPS hangs, and the command line will show 'directory not found' errors instead of 'out of memory'. The laptop is attaching to the network via a travel router.

 Also, smbclient does not work anywhere if I don't add -t 60 to the command - it always times out no matter where it is run.

 I noticed in one of the server logs that there were 'broken extended attributes' on some directories (in particular \software and \software\os2, 2 of the largest) and files on the share. I tried to run eaclean on the drive, but it immediately crashed. This makes me nervous about the health of the drive (even though it chkdsk's without error) so I got a new one and will replace it - probably tomorrow. I attach the log that shows the error and a random file it claims has broken extended attributes.
(0004666)
psmedley   
2024-01-15 08:11   
Probably need to zip the defective file as the EA's will have been lost with the upload here...

I'll have another think about the OOM error...
(0004667)
David McKenna   
2024-01-15 13:27   
OK, I 7zipped the same file and attached. I tried just zip, but it would fail with a message: 'Interrupted (abort)'. Hope 7zip preserves EA's.
(0004668)
David McKenna   
2024-01-15 13:31   
I wonder if it would be of any help to capture a TCP/IP trace while browsing for inspection in Wireshark? I could do it with the 4.11, then the 4.19 server running to see if there is any extraneous traffic being created to slow things down....
(0004669)
psmedley   
2024-01-18 08:31   
OK so the messages like:
os2getxattr : (software:0) user.DOSATTRIB 56
os2getxattr : (null:45) system.posix_acl_access -1
os2getxattr : (software:0) system.posix_acl_default -1
os2getxattr : (null:45) user.DOSATTRIB -1
os2getxattr : (null:45) user.DOSATTRIB -1
os2getxattr : (software/.:0) user.DOSATTRIB 56
os2listxattr: path software/., file 0 at libattr/syscalls.c(290)
Broken Extended Attributes detected for: software/.:0, Last EA:

Come from libattr, here, I can read odinapp.zip's EA's just fine. Weird.
(0004682)
psmedley   
2024-01-22 08:32   
I don't suspect it will make a difference, but can you test with https://smedley.id.au/tmp/ndpsmb-20240122.zip
(0004683)
David McKenna   
2024-01-22 11:24   
Unfortunately it does not help the 'out of memory' problem.
(0004688)
psmedley   
2024-01-24 08:39   
OK - so the first out of memory seems to be:
[2024/01/23 09:38:27.270000, 5] ../../source3/smbd/files.c:1985(file_free)
  file_free: freed files structure 0 (1 used)
[2024/01/23 09:38:27.270000, 5] ../../source3/smbd/files.c:77(fsp_new)
  fsp_new: allocated files structure (2 used)
[2024/01/23 09:38:27.270000, 5] ../../source3/smbd/files.c:179(file_new)
  file_new: new file fnum [invalid value]
[2024/01/23 09:38:27.270000, 5] ../../source3/smbd/files.c:321(openat_internal_dir_from_pathref)
  openat_internal_dir_from_pathref: fd_openat(".", ".") failed: NT_STATUS_NO_MEMORY
[2024/01/23 09:38:27.270000, 5] ../../source3/smbd/files.c:1985(file_free)
  file_free: freed files structure 0 (1 used)
[2024/01/23 09:38:27.270000, 3] ../../source3/smbd/filename.c:319(get_real_filename_full_scan_at)
  get_real_filename_full_scan_at: scan dir didn't open dir [.]: NT_STATUS_NO_MEMORY
[2024/01/23 09:38:27.270000, 5] ../../source3/smbd/files.c:1985(file_free)
  file_free: freed files structure 0 (0 used)
[2024/01/23 09:38:27.270000, 3] ../../source3/smbd/smb2_server.c:4033(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_NO_MEMORY] || at ../../source3/smbd/smb2_create.c:360
(0004694)
David McKenna   
2024-01-29 21:27   
The client version ndpsmb-20240127 no longer has the 'out of memory' issue (been using it a couple of days now). This ticket can be closed - thanks!
(0004695)
psmedley   
2024-01-29 21:57   
Latest client plugin resolves this

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
782 [Subversion for OS/2 & eCS] Bug minor always 2024-01-22 19:47 2024-01-22 20:13
Reporter: LewisR Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: 1.14.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: svnadmin (2022-10-14) can't create null stdout for hook
Description: Attempting to change a log entry on the server using svnadmin, I get:

{127}[v:\subversion\data] svnadmin setlog arcaos -r1404 commit.txt
svnadmin: E720003: Can't create null stdout for hook 'arcaos/hooks/pre-revprop-c
hange': SYS0003: The system cannot find the path specified.
Tags:
Steps To Reproduce:
Additional Information: svnadmin, version 1.14.2 (r1899510)
   compiled Oct 14 2022, 19:18:24 on i386-pc-os2-emx

pre-revprop-hook is very simple:

#!/@unixroot/bin/sh
exit 0

Edit: Operation produces no error under svnadmin 1.7.21 (20190420) (but does not update commit log).
Attached Files:
Notes
(0004685)
LewisR   
2024-01-22 20:11   
Correction concerning svnadmin 1.7.21: No error message, but the commit log is not updated, either, possibly because the repo has been upgraded beyond 1.7's capabilities.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
721 [Subversion for OS/2 & eCS] Bug minor always 2020-09-06 06:00 2024-01-22 20:06
Reporter: LewisR Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: 1.14.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 1.14.x  
Summary: svnserve 1.14.0 (2020-09-05) crashes processing change-rev-prop
Description: I created a simple pre-revprop-change hook by editing the shebang line in the template to point to #!/@unixroot/bin/sh and saving without the file extension. Attempting a simple change to svn:log causes svnserve to trap.

Tags:
Steps To Reproduce: 1. Create pre-revprop-change hook from template, pointing to valid Unix shell.
2. From the client, enter:

svn pe -r 15 --revprop svn:log <URL>

3. Edit the log entry as desired (in my test, I capitalized one letter).
4. Exit the editor, saving the file.
Additional Information: Expected result:

Log entry should be changed as edited.

Actual result:

svn: E210002: Network connection closed unexpectedly is returned to the client when svnserve crashes.

On the server side:

Killed by SIGSEGV
pid=0x0062 ppid=0x0061 tid=0x0002 slot=0x003a pri=0x0200 mc=0x0001 ps=0x0010
C:\VAR\TEMP\SUBVERSION\BIN\SVNSERVE.EXE
SVNSERVE 0:0007f45f
cs:eip=005b:0008f45f ss:esp=0053:0270fadc ebp=0270fb04
 ds=0053 es=0053 fs=150b gs=0000 efl=00010212
eax=37343a35 ebx=00000000 ecx=00000002 edx=21000000 edi=00000000 esi=0056d7c0
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

(Client is running svn.exe 20200905.)

.trp attached.
Attached Files: 0062_02.TRP (27,648 bytes) 2020-09-06 06:00
https://mantis.smedley.id.au/file_download.php?file_id=520&type=bug
Notes
(0003539)
psmedley   
2020-09-09 10:02   
can you try with http://smedley.id.au/tmp/subversion-1.14.0-os2-20200909.zip (not tested at all)
(0003540)
LewisR   
2020-09-09 16:58   
Progress, of a sort.

No trap, but on the client side, I get:

svn: E165002: Failed to start 'V:/subversion/data114/svn14-snap-test/hooks/pre-revprop-change' hook
svn: E000003: Can't start process 'V:/subversion/data114/svn14-snap-test/hooks/pre-revprop-change':
No such process

(v:\subversion\data114 is the repo location on the server)

Nothing interesting in the server log:

13413 2020-09-09T16:52:19.171000Z 192.168.100.23 lgr svn14-snap-test open 2 cap=(edit-pipeline svndiff1 accepts-svndiff2 absent-entries depth mergeinfo log-revprops) / SVN/1.14.0%20(i386-pc-os2-emx) -
13413 2020-09-09T16:52:19.171000Z 192.168.100.23 lgr svn14-snap-test change-rev-prop r15 svn:log
(0004684)
LewisR   
2024-01-22 20:06   
With svn.exe 1.14.2 (20221014), I get no output on the client side, svnserv crashes, and the following is logged (nothing interesting):

84 2024-01-22T20:02:19.815000Z 192.168.200.20 lgrosenthal arcaos open 2 cap=(edit-pipeline svndiff1 accepts-svndiff2 absent-entries depth mergeinfo log-revprops) / SVN/1.14.2%20(i386-pc-os2-emx) -
84 2024-01-22T20:02:19.872000Z 192.168.200.20 lgrosenthal arcaos rev-prop r1404 svn:log
84 2024-01-22T20:02:27.465000Z 192.168.200.20 lgrosenthal arcaos open 2 cap=(edit-pipeline svndiff1 accepts-svndiff2 absent-entries depth mergeinfo log-revprops) / SVN/1.14.2%20(i386-pc-os2-emx) -
84 2024-01-22T20:02:27.588000Z 192.168.200.20 lgrosenthal arcaos change-rev-prop r1404 svn:log

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
783 [Subversion for OS/2 & eCS] Bug minor always 2024-01-22 19:58 2024-01-22 19:58
Reporter: LewisR Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: 1.14.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: svnadmin (2022-10-14) can't create new repository
Description: Attempting to create a new repository seems to fail with:

{0}[v:\subversion\data] svnadmin create svn14-test
svnadmin: E070023: Can't write 'svn14-test/db/current' atomically
svnadmin: E070023: Can't flush file 'svn14-test/db/svn-7NMCkX' to disk: This function has not been implemented on this platform

This works under 1.7.21.
Tags:
Steps To Reproduce:
Additional Information: I think we've seen similar or related things with the inability to create atomically.
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
781 [Samba Server] Bug minor always 2024-01-19 20:58 2024-01-22 07:03
Reporter: psmedley Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Log rotation issues
Description: From Dave on os2world:
One thing I have noticed - I have 'max log size = 2048' in the server smb.conf, but it seems to be ignored because I get logs over 10MB all the time, especially with log level = 8. Maybe a bug?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0004670)
psmedley   
2024-01-20 00:06   
@Dave - did this work correctly with Samba 3.x?
(0004672)
psmedley   
2024-01-21 00:25   
Looks like https://github.com/psmedley/samba-os2/blob/samba-os2-4.19.x/lib/util/debug.c#L1435 is supposed to handle the close/rename/reopen
(0004673)
psmedley   
2024-01-21 00:29   
Also, see https://trac.netlabs.org/samba/ticket/36
(0004675)
psmedley   
2024-01-21 07:03   
Partially fixed in https://github.com/psmedley/samba-os2/commit/a17dd06b5d4606496c0a44f8155008c2416d9366 build to follow. We better match the Samba 3.x code now.
(0004676)
psmedley   
2024-01-21 07:04   
https://smedley.id.au/tmp/smbd-4.19.4-20240121b.zip includes the below patch
(0004680)
David McKenna   
2024-01-21 15:03   
Don't remember about whether it worked with SAMBA 3 - and only noticed now it didn't as a result of testing with log level=8. I'll give your new build a try and let you know....
(0004681)
David McKenna   
2024-01-21 19:18   
Paul - it seems to be working. No log has gone over 2MB for several hours using log level = 8. Thanks!

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
779 [Samba Server] minor always 2024-01-08 09:16 2024-01-13 21:41
Reporter: psmedley Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Server leaves leftover files in C:\MPTN\ETC\samba\lock\msg.lock\
Description: As above, Dave Mckenna posted on os2world:
"I've tried everything I could think of, but nothing helps. I even uninstalled SAMBA from the server, deleted all files in C:\MPTN\ETC\samba (there were 55000 files in\lock\msg.lock !) then reinstalled the Netlabs package, and upgraded to your latest SAMBA but still have the slowness issue at the client. Went back to 4.11 on the server and everything works well, even the 4.18 smbclient on the client machine works without -t 60 then.

BTW, deleting those 55000 files makes the server start MUCH faster. Wonder if there is a way to clean those up before the server is shut down..."
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0004654)
psmedley   
2024-01-09 08:21   
(Last edited: 2024-01-12 07:18)
There is a good chance this is caused by the OS/2 specific changes in https://github.com/psmedley/samba-os2/blob/samba-os2-4.19.x/lib/messaging/messages_dgm.c
(0004655)
psmedley   
2024-01-12 08:23   
https://smedley.id.au/tmp/smbd-4.19.4-20240112.zip seems to improve the situation. I now only get left two 2x empty lock files, relating (I think) to the fact that smbd.exe gets a couple of forks but samba somehow doesn't keep track of the PID of the forked processes, so tries to remove the same lock file 3x times.
(0004656)
psmedley   
2024-01-12 20:15   
https://smedley.id.au/tmp/smbd-4.19.4-20240113.zip should correct this. It includes changes to clean up any errant lock files during smbd exit.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
716 [Subversion for OS/2 & eCS] Bug minor always 2020-08-22 01:56 2023-12-27 14:56
Reporter: LewisR Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: assigned Product Version: 1.14.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: svn.exe 1.14 echoes passwords in clear text when entered on command line
Description: This was an issue we saw with 1.7 at some point, though I don't see a ticket for it.
Tags:
Steps To Reproduce: Enter password when prompted.
Additional Information:
Attached Files:
Notes
(0003492)
psmedley   
2020-08-22 21:15   
The code for this in 1.14 is completely different to 1.7.

Remind me - did we get this working correctly in heimdal's kinit?
(0003494)
LewisR   
2020-08-23 01:26   
Yes. Somewhere along the line, we got kinit to quiet down. Let me check my email...

From 2016/05/13, in the thread between you, Steve, and me, you said:

On 13/05/16 05:32, Steven Levine wrote:
> Anyway, I know how to fix this. Looking at ui.c, one would think it would
> use the HAVE_CONIO_H code path since we have a conio.h, but this is not
> the case. The other code path is used and it used getc which always
> echos.
>
> Change the code to use the HAVE_CONIO_H code path and change the
> references to _getch and _getche to getch and getche and the password
> entry issue should be gone.

I also had to change _cprintf to printf

New hcrypto.dll at http://smedley.id.au/tmp/hcrypto-20160513.zip - seems to work ok here.

This was related to:

https://trac.netlabs.org/kerberos/ticket/1
(0003501)
psmedley   
2020-08-23 06:57   
ok that matches my vague recollections. Funnily enough, I could remember working on this code whilst staying in a holiday house down in Encounter bay - but I couldn't specifically recall that it fixed the password echoing. Let me have a play - there's code in subversion\libsvn_subr\prompt.c for win32 that uses conio that we may be able to adapt....
(0003502)
psmedley   
2020-08-23 07:06   
hmmmmm I tweaked terminal_getc() to use a variant of the win32 code and getch() (ala heimdal) but we're still getting password echoing... more thought required - current diff at http://smedley.id.au/tmp/subversion-1.14.0.diff
(0004613)
psmedley   
2022-10-15 03:10   
https://smedley.id.au/tmp/subversion-1.14.2-os2-20221015.zip might fix this.
(0004642)
psmedley   
2023-09-24 08:17   
@LewisR were you ever able to test the updated build?
(0004643)
psmedley   
2023-09-24 08:18   
Reminder sent to: LewisR
Nudge
(0004648)
LewisR   
2023-12-27 14:56   
Ack... I completely missed this build from 2022. Is there a newer one? I'll get this one installed and test for this ASAP.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
775 [Other Unix Port] Feature Request block always 2023-06-27 21:08 2023-10-27 20:16
Reporter: emax Platform: eCS or AOS  
Assigned To: psmedley OS: eCS 2.2 beta or AOS 503  
Priority: normal OS Version: eCS 2.1 or newer  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Clamav outdated (version 0.102.0) not working with new signatures since 11 Jul. 2021
Description: I'm using freshclam, that update signatures files for clamAV and clamscan (the offline scanner)

They do not work anymore since are version obsolete.
ClamAV servers say that at least version 0.103.8 is needed.

Freshclam log in attachment.

At disposal for any further info.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: freshclam.log (11,805 bytes) 2023-06-27 21:08
https://mantis.smedley.id.au/file_download.php?file_id=978&type=bug
649c843d-0d9a_01-FRESHCLAM-exceptq.txt (30,560 bytes) 2023-06-28 09:37
https://mantis.smedley.id.au/file_download.php?file_id=979&type=bug
Notes
(0004622)
psmedley   
2023-06-27 21:17   
As discussed via email, there are problems with newer clamav and OS/2 and the way that clam loads the entire db into memory. Whilst it's possible there may be a workaround for this, I currently don't have the time/motivation to look into this. You are you only person currently asking for an updated clamav port.
(0004623)
emax   
2023-06-28 07:35   
could you try to rebuild at least freshclam?
(freshclam is the tool that update the signatures)

maybe this is sufficient
i just need to scan the file system
(0004624)
emax   
2023-06-28 07:41   
about the point that i'm the only one to request this seems very strange to me, since there is a number of people using weasel as mailserver
and antivirus is a very important feature for a mail server
(0004625)
psmedley   
2023-06-28 09:35   
Even freshclam fails...
ClamAV update process started at Wed Jun 28 19:03:41 2023
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.103.6 Recommended version: 0.103.8
DON'T PANIC! Read https://docs.clamav.net/manual/Installing.html
daily database available for download (remote version: 26953)
Time: 40.7s, ETA: 0.0s [========================>] 58.70MiB/58.70MiB
Testing database: '/clamav/share/clamav/tmp.77f901cb06/clamav-647acb6cd2535aa39e
0756017797942a.tmp-daily.cvd' ...
WARNING: Stderr output from database load : realloc_problem: Not enough memory [...] Moved 0d9a_01.TRP to C:\var\log\app\649c843d-0d9a_01-FRESHCLAM-exceptq.txt
ERROR: Database load killed by signal 9
ERROR: Database test FAILED.
ERROR: Unexpected error when attempting to update daily: Test failed
ERROR: Database update process failed: Test failed
ERROR: Update failed.
[LibClamAV] cli_rmdirs: Can't locate /clamav/share/clamav/tmp.77f901cb06: No such file or directory
(0004626)
psmedley   
2023-06-28 09:37   
TRP from above
(0004627)
emax   
2023-07-10 11:12   
hi all,

is there any news about this ticket?

thanks
(0004644)
emax   
2023-10-10 09:50   
i've tried again freshclam build: version: 0.103.6
it start downloading updates, but at a certain point it fails with this message:

WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.103.6 Recommended version: 0.103.10
WARNING: Stderr output from database load : realloc_problem: Not enough memory [...] D:\USR\LOCAL\CLAMAV\BIN\FRESHCLAM.EXE
ERROR: Database load killed by signal 9
ERROR: Database test FAILED.
ERROR: Unexpected error when attempting to update daily: Test failed
ERROR: Database update process failed: Test failed
ERROR: Update failed.



Executables:

24/07/22 1:28 3.056.116 124 a--- freshclam.exe

Build is this one: clamav-0.103.6-os2-20220724.zip

Note: this "exit" have not produced any eQ trap or entry in popuplog.os2
(0004645)
emax   
2023-10-10 09:56   
i'm sorry, just a note for my memory :)
the test installation is on MTA2
(0004646)
psmedley   
2023-10-25 08:59   
https://smedley.id.au/tmp/clamav-0.103.10-os2-20231022-debug.zip resolves this.
(0004647)
emax   
2023-10-25 09:04   
agree
you can close the ticket as solved

just one note:

CLAMSCAN works only with:

SET VIRTUALADDRESSLIMIT=2560
or greater values (eg. 3072)

in config.sys
it do not work with the old default value 1536

thanks

massimo

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
774 [ISC Bind] major always 2023-05-17 20:37 2023-06-22 07:51
Reporter: emax Platform: VM under Vbox  
Assigned To: psmedley OS: eCS 2.2 beta  
Priority: normal OS Version: 2.2 beta  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Bind 9.11.37 (build 20220318) 100% cpu load and process unkillable, completely out of service
Description: starting bind (version in the object) generates immediately a 100% cpu usage, process unkillable and no service at all
(bind do not answer any kind of requests)

command: X:\bind\sbin\named.exe -c c:/mptn/etc/named2.conf

no eQ traps, or entries in popuplog.os2 produced

(same issue with bind 9.11.36 (build 20220304)

i'm using bind 9.11.28 at the moment
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0004617)
psmedley   
2023-05-18 20:57   
I can't reproduce this on my system.
(0004618)
emax   
2023-05-18 22:00   
any suggestion?

kilbc are these:

14/04/04 16:37 356.330 124 a--- libc05.dll
26/02/21 21:22 45.363 124 a--- libc06.dll
26/02/21 21:22 45.364 124 a--- libc061.dll
26/02/21 21:22 153.497 124 a--- libc062.dll
26/02/21 21:22 153.497 124 a--- libc063.dll
26/02/21 21:22 153.563 124 a--- libc064.dll
26/02/21 21:22 153.563 124 a--- libc065.dll
26/02/21 21:22 316.306 124 a--- libc066.dll
26/02/21 21:22 1.216.805 124 a--- libcn0.dll
26/02/21 21:59 62.777 124 a--- libcx0.dll

maybe old DLLs?
(0004619)
psmedley   
2023-05-31 08:55   
OK - I managed to reproduce. https://smedley.id.au/tmp/bind-9.11.37-os2-20230531.zip seems to fix for me.
(0004620)
emax   
2023-05-31 11:56   
hi all,

this build seems to work here (no cpu 100%, process killable, it answer correctly the dns requests)
but let's wait some days to confirm

thanks
(0004621)
psmedley   
2023-06-22 07:51   
No further feedback, so assume this is resolved.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
773 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Bug minor always 2022-10-03 06:34 2022-12-28 23:02
Reporter: psmedley Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: feedback Product Version: 8.1.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: When using opcache, multiple .ZendSem.* files get created in TMP
Description: As above, with opcache enabled, multiple .ZendSem.* files get created in TMP

eg:
10-02-22 21:01 0 124 ___A_ .ZendSem.jgPUXY
10-02-22 21:01 0 124 ___A_ .ZendSem.PJIwWC
10-02-22 21:01 0 124 ___A_ .ZendSem.pXWoIr
10-02-22 22:34 0 124 ___A_ .ZendSem.3cWW4e
10-02-22 22:34 0 124 ___A_ .ZendSem.nvmaY9
10-02-22 22:34 0 124 ___A_ .ZendSem.2iDPpb
10-02-22 22:34 0 124 ___A_ .ZendSem.Ch51KS
10-02-22 22:34 0 124 ___A_ .ZendSem.eSEyaD
10-02-22 22:34 0 124 ___A_ .ZendSem.2fwp5W
10-02-22 22:34 0 124 ___A_ .ZendSem.KOi92C
10-02-22 22:34 0 124 ___A_ .ZendSem.l2CqvO
10-02-22 22:34 0 124 ___A_ .ZendSem.X0aDbr
10-02-22 22:44 0 124 ___A_ .ZendSem.8x5Ek8
10-02-22 22:44 0 124 ___A_ .ZendSem.eK1X2k
10-02-22 22:44 0 124 ___A_ .ZendSem.u5JPbW
10-02-22 22:44 0 124 ___A_ .ZendSem.vrSF50
10-02-22 22:44 0 124 ___A_ .ZendSem.7vQp5t
10-02-22 22:44 0 124 ___A_ .ZendSem.BkeVjH
10-02-22 22:44 0 124 ___A_ .ZendSem.j9Ylxt

These appear to get created in: https://github.com/psmedley/php-os2/blob/php-8.1/ext/opcache/zend_shared_alloc.c#L85 but the subsequent unlink fails (fail still open?)
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0004609)
psmedley   
2022-10-04 08:55   
there will be a potential fix for this in the next build.
(0004610)
psmedley   
2022-10-06 08:22   
https://smedley.id.au/tmp/php-8.1.11-os2-20221004.zip might fix this.
(0004611)
psmedley   
2022-10-14 01:05   
Updated build https://smedley.id.au/tmp/php-8.1.11-os2-debug-20221014.zip should fix this.
(0004612)
LewisR   
2022-10-14 17:28   
(Last edited: 2022-10-14 17:28)
I will not have an opportunity to test until after the 17th (on my side of the globe). The last build did also still leave a few stragglers, but before I could report, Dave mentioned the crashes, so... ;-)
(0004615)
LewisR   
2022-12-28 22:58   
I still see these with php-8.1.11-os2-debug-20221029.zip and php-1.1.13-os2-20221217.zip.

Something in my opcache settings, perhaps, or caused by my verbose error output during testing?
(0004616)
LewisR   
2022-12-28 23:02   
The first three of these files are created at server startup, before any access. Interestingly, I have 2 servers starting in httpd-mpm.conf (I thought 3, but this test environment is not doing anything fancy).

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
633 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Bug crash always 2014-10-26 23:59 2022-10-03 14:47
Reporter: LewisR Platform:  
Assigned To: LewisR OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Imagick 3.2.0RC1 crashes trying to load magick.dll from imagemagick-6.8.9-8-os2-20141015
Description: At Apache startup, with PHP loading as module, PHP loads Imagick module. phpinfo() reports that module is loaded.

However, attempting to access ImageMagick via the module results in a crash of Apache (well, PHP, which then takes down Apache.
Tags:
Steps To Reproduce: Create test script:

<?php
array Imagick::getVersion ( void );
?>

Run script from Apache.

Expected result:

ImageMagick API version

Actual result:

Apache crashes with:

Creating xxxx_xx.TRP

Killed by SIGSEGV
pid=0x004a ppid=0x0048 tid=0x0006 slot=0x00ad pri=0x0200 mc=0x0001
J:\APPS\APACHE2\BIN\HTTPD.EXE
MAGICK 0:003f6854
cs:eip=005b:17156854 ss:esp=0053:0286303c ebp=02863054
 ds=0053 es=0053 fs=150b gs=0000 efl=00010216
eax=0000004c ebx=20841560 ecx=0285fffc edx=00000000 edi=20844800 esi=00000000
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
Additional Information: TRP file, attached.
Attached Files: 004A_06.TRP (199,239 bytes) 2014-10-26 23:59
https://mantis.smedley.id.au/file_download.php?file_id=359&type=bug
Notes
(0004607)
psmedley   
2022-10-03 07:51   
I'm assuming this is OBE now?
(0004608)
LewisR   
2022-10-03 14:47   
ROFL...

I surely haven't seen this one in a long while. I completely forgot that this was still open here.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
772 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Bug major always 2022-10-02 00:17 2022-10-02 08:09
Reporter: psmedley Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version: 8.1.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: PHP copy() fails with certain files
Description: First reported by Lewis with Wordpress, now distilled to a simple testcase.

Running copy.php (attached), with the source file being a PNG of 393810 bytes, copy() returns a failure code per below:

Notice: copy(): Write of 393810 bytes failed with errno=22 Invalid argument in E:\web\copy.php on line 5
failed to copy roof.png...

Copy does work ok for a small text file < 200 bytes - it has not determined what file size triggers the failure.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: copy.php (133 bytes) 2022-10-02 00:17
https://mantis.smedley.id.au/file_download.php?file_id=975&type=bug
Notes
(0004604)
psmedley   
2022-10-02 00:22   
Given that roof.png.bak ends up containing 4096 bytes, I'm going to suggest this is the file size below which things will work.
(0004605)
psmedley   
2022-10-02 08:09   
Fixed in https://github.com/psmedley/php-os2/commit/6ec38571f5a8c0e91585a0f4db1b37fa186d8089 (with thanks to Steven).

New php.dll at https://smedley.id.au/tmp/php-8.1-dll-20221002c.zip Full new build to follow.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
771 [Squid for OS/2] Bug minor always 2022-09-26 02:03 2022-10-01 01:03
Reporter: LewisR Platform:  
Assigned To: psmedley OS:  
Priority: low OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: reopened  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Squid 5.7 20220925 seems to not shut down with -k shutdown
Description: I saw this with the 5.3 builds, as well. The only way to kill a running Squid is Ctrl-C twice in rapid succession.
Tags:
Steps To Reproduce:
Additional Information: It seems that Squid is aware that a shutdown has been requested, as following up:

sbin\squid -k shutdown

with:

sbin\squid -k reconfigure

yields:

canceling reconfiguration request during shutdown

Reminder to also remove the included squid.pid from the zip. ;-)
Attached Files:
Notes
(0004598)
psmedley   
2022-09-26 09:06   
Please try with https://smedley.id.au/tmp/squid-5.7-os2-20220926.zip

Simple fix/workaround - start with no_daemon mode always enabled :)
(0004599)
psmedley   
2022-09-26 09:06   
Oh and I also removed the stray squid.pid :)
(0004600)
psmedley   
2022-09-30 06:42   
Please confirm this works for you.
(0004601)
LewisR   
2022-09-30 13:38   
Sorry for the late follow-up. I meant to test more fully, but, well...

While reconfigure seems to work as it should, restart seems to shut down

Not working correctly:

restart (30 second wait notice, 30-second wait, then exit without restarting)

Working as expected:

reconfigure
rotate
shutdown
interrupt
kill
parse
debug
check
(0004602)
psmedley   
2022-09-30 22:07   
I didn't test restart - you only mentioned shutdown as not working :)

I assume restart worked with older squid builds?
(0004603)
LewisR   
2022-10-01 01:03   
When I opened this ticket, I redrafted the summary several times. I thought I left off with "...does not respect all -k options," but I see that I missed the mark on that. :-O

I'll retest...

Confirmed that -k restart was working with:

squid-3.3.11-os2-20131229.zip

All 5.x before squid-5.7-os2-20220926.zip had difficulty with -k options, so I didn't test those. 3.3.11 is what I was using previously.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
770 [Squid for OS/2] Bug crash always 2022-09-24 02:57 2022-09-24 21:43
Reporter: LewisR Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Squid 5.3 20220118 fails to start (Exception C000001C - Illegal Instruction)
Description: Attempting to start sbin\squid.exe -d 1 results in immediate crash.
Tags:
Steps To Reproduce:
Additional Information: Exceptq report attached.
Attached Files: 632e358f-0156_01-SQUID-exceptq.txt (34,832 bytes) 2022-09-24 02:57
https://mantis.smedley.id.au/file_download.php?file_id=971&type=bug
Notes
(0004586)
psmedley   
2022-09-24 03:10   
Interesting, works for most - see https://www.os2world.com/forum/index.php/topic,2974.0.html

Will have a look when we get home from lunch / walking
(0004587)
psmedley   
2022-09-24 06:25   
out of curiosity, what CPU? The error is SIGILL...
(0004588)
psmedley   
2022-09-24 07:39   
ok, so configure builds with -mcpu=native by default... Just worked out how to disable this and will rebuild
(0004590)
psmedley   
2022-09-24 09:06   
I believe this should be fixed in https://smedley.id.au/tmp/squid-5.3-os2-20220924.zip
(0004591)
LewisR   
2022-09-24 14:16   
Confirmed fixed. Thanks.

This is on my T43, so single core Intel Dothan (Pentium M), 2GB RAM, VAL 2048. I should have mentioned that in my report; sorry.
(0004592)
LewisR   
2022-09-24 14:20   
(Last edited: 2022-09-24 14:21)
Oops...

Not sure if this is as a result of your recent -mcpu change, but I'm getting repeated:

commSetNonBlocking FD 28: (22) Invalid argument

entries in the session window. Let me know if we need a separate ticket for this.

Edit: I think we've seen this before with an older build somewhere. It looks familiar.
(0004594)
psmedley   
2022-09-24 21:43   
Separate ticket please - I saw this too when originally porting, and others in the peanut gallery reported the same - see https://www.os2world.com/forum/index.php?topic=2974.msg35999#msg35999

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
329 [Other Unix Port] Bug major always 2009-03-09 11:16 2022-09-24 01:28
Reporter: Igor Vaskov Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: nginx 0.6.32-20080729: The scrap in end html file.
Description: If html file is long, in the end of html file server add scrap.
Sample:
........................................


</center>
</Body>
</html></a>


</center>
</Body>
</html>tml>

Characters after tag </html> this scrap. May be need flash buffer?

url with this problem: http://halfos.ru:8000
In attach original html file.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: index.html (1,190 bytes) 2009-03-09 11:16
https://mantis.smedley.id.au/file_download.php?file_id=121&type=bug
nginx.conf (2,763 bytes) 2009-03-09 19:43
https://mantis.smedley.id.au/file_download.php?file_id=122&type=bug
Notes
(0001244)
Igor Vaskov   
2009-03-09 11:27   
Error Log:

2009/03/09 13:40:08 [notice] 115#0: using the "select" event method
2009/03/09 13:40:08 [notice] 115#0: nginx/0.6.32
2009/03/09 13:40:08 [notice] 115#0: built by gcc 3.3.5 (Bird Build 2007-06-10 14:30)
2009/03/09 13:40:08 [notice] 115#0: getrlimit(RLIMIT_NOFILE): 10000:10000
2009/03/09 13:40:08 [notice] 115#0: start worker processes
2009/03/09 13:40:08 [notice] 115#0: start worker process 116
2009/03/09 13:41:23 [alert] 116#0: *1 read() reads only 1144 of 1190 from file while sending response to client, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "127.0.0.1:8000"
2009/03/09 13:41:23 [alert] 116#0: *1 read() reads only 42 of 46 from file while sending response to client, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "127.0.0.1:8000"
(0001583)
psmedley   
2010-05-25 11:50   
http://smedley.info/nginx-0.8.38-os2-20100525.zip has an updated binary + a diff

I will try do some testing here using the nginx.conf that you have provided
(0001584)
Igor Vaskov   
2010-05-25 16:34   
New version do not work correctly.
This exe start and failed with error:

[emerg]: setsid() failed (1: Operation not permitted)

Previous version do work if in nginx.conf set "gzip off".
(0001585)
psmedley   
2010-05-25 21:45   
http://smedley.info/nginx-0.8.38-os2-20100526.zip should fix the setsid issue

I found one thing that may help gzip - if it doesn't help, I will further investigate
(0001586)
Igor Vaskov   
2010-05-25 22:06   
Latest version from 20100526:

On first run program failed with error:
[alert]: shmget(384) failed (22: Invalid argument)

LIBC PANIC!!
safesem mutex requested failed, rc=0x6. pmtx=5c7f04e0:{.hmtx=0x800100da .fShared=0x1}
pid=0x006c ppid=0x0036 tid=0x0001 slot=0x0082 pri=0x0200 mc=0x0001
I:\NGINX\SBIN\NGINX.EXE
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

On second run program do work up to first http request.
On http request program close with error in error.log:

2010/05/26 01:17:03 [alert] 128#0: shmget(384) failed (22: Invalid argument)
2010/05/26 01:17:09 [alert] 129#0: shmget(384) failed (22: Invalid argument)
(0001588)
Igor Vaskov   
2010-05-26 15:07   
Error.log:
2010/05/26 18:19:51 [notice] 88#0: using the "select" event method
2010/05/26 18:19:51 [notice] 88#0: nginx/0.8.38
2010/05/26 18:19:51 [notice] 88#0: built by gcc 4.4.4 (GCC)
2010/05/26 18:19:51 [notice] 88#0: getrlimit(RLIMIT_NOFILE): 10000:10000
2010/05/26 18:19:51 [notice] 89#0: signal 15 (SIGTERM) received, exiting
2010/05/26 18:19:51 [notice] 89#0: start worker processes
2010/05/26 18:19:51 [notice] 89#0: start worker process 90
<<<=========== Http Request
2010/05/26 18:20:13 [notice] 90#0: exiting
2010/05/26 18:20:13 [notice] 90#0: exit
2010/05/26 16:20:13 [notice] 89#0: signal 20 (SIGCHLD) received
2010/05/26 16:20:13 [notice] 89#0: worker process 90 exited with code 0
2010/05/26 18:20:13 [notice] 89#0: exit
(0004584)
psmedley   
2022-09-24 01:28   
I'm no longer building/maintaining nginx

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
573 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Feature Request minor always 2013-05-04 05:08 2022-09-24 01:27
Reporter: asavage Platform: x86  
Assigned To: psmedley OS: eCS  
Priority: normal OS Version: 2.1  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: README.OS2 additions requested
Description: The current README.OS2 could be enhanced with additional documentation, specifically the destination for various files contained in the ZIP.
Tags:
Steps To Reproduce:
Additional Information: Suggested draft follows. There is some ambiguity as to where php5.map and modphp5.map should go, and I've left "???" as placeholders in the text below.

========================================
This is a port of PHP v5.4.10 to OS/2.

New in this build is:
- Updated to PHP 5.4.10 source

Requires a copy of libc065.dll which can currently be downloaded from ftp://ftp.netlabs.org/pub/gcc/libc-0.6.5-csd5.zip

A guide to where to extract files:
\php-5.4.10-os2-20121223.zip
+--php5
        php.ini.sample
        php.exe
        modphp5.map
        php5.dll
        php5.map
   +--apache2
        modphp5.dll
   +--cgi
         php.exe
   +--modules
         xsl.dll
         pgsql.dll
         pdo_sqli.dll
         pdo_odbc.dll
         pdo_mysq.dll
         odbc.dll
         mysqli.dll
         mysql.dll
         mcrypt.dll
         mbstring.dll
         imap.dll
         iconv.dll
         gettext.dll
         gd.dll
         exif.dll
         curl.dll
         bz2.dll
         openssl.dll

* If this is a new installation, extract /php.ini.sample to %ETC% and rename to php.ini if you wish. Edit to suit. See notes on timezone setting below.
* Extract /php.dll to a dir on LIBPATH . If using with Apache, you can generally put it where httpd.dll resides (/Apache2, etc.)
* Extract /cgi/php.exe to your Apache cgi dir if you plan on running php as CGI, or elsewhere if you wish to run it commandline.
* To load the Apache2 module, copy Apache2/modphp5.dll to the Apache2 module directory, and add:
    LoadModule php5_module modules/modphp5.dll
  to httpd.conf. Some users have reported that modphp5 needs to be the LAST module loaded.
* Extract modphp5.map to ???
* Extract php5.map to ???
* Extract /modules/*.dll to somewhere that matches the line in php.ini
   extension_dir =

Patches for thread support and detection of php.ini in c:\mptn\etc have been included in the executable largely based on Brian Havard's patches for PHP 4.3.1

I have included support for some external modules - bz2, curl, dbase, gd, exif, filepro,, gd, gettext, mbstring, mysql, mysqli, openssl, pdo_mysql, pdo_sqlite, pgsql (postgresql) & sqlite are loadable as shared modules. Other modules including those from pecl, can most likely be built pretty easily - if there is something you need, please contact me.

PHP has problems detecting the timezone in OS/2 - to workaround this, and set the default in your php.ini you need to add date.timezone simular to what is shown below in context. You can get the timezones supported in the php.ini from : http://us2.php.net/manual/en/timezones.php

;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;

[Date]
; Defines the default timezone used by the date functions
date.timezone = Australia/Adelaide

As always, any feedback to paul@smedley.id.au is appreciated - bug reports should be submitted via the bugtracker at http://mantis.smedley.id.au. It's really nice to hear of people using my ports!

If you like this software and want to support continued ports, please consider donating via PayPal via the link at http://os2ports.smedley.id.au, or via the Mensys online store at http://www.mensys.net/os2ports

Cheers,

Paul Smedley
Adelaide, Australia
23rd December, 2012
========================================
Attached Files: readme.os2 (3,108 bytes) 2013-05-04 05:08
https://mantis.smedley.id.au/file_download.php?file_id=295&type=bug
Notes
(0004583)
psmedley   
2022-09-24 01:27   
readme.os2 is now in git at https://github.com/psmedley/php-os2/blob/php-8.1/readme.os2 Please raise a PR against the source file with suggested changes.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
489 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Feature Request minor N/A 2011-09-25 03:35 2022-09-24 01:26
Reporter: LewisR Platform:  
Assigned To: psmedley OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Include sample php.ini files in distro
Description: If php.ini-development and/or php.ini-production are available for download apart from the source tarball, perhaps a pointer in readme.os2 would be sufficient. Otherwise, bundling them with your binary distro would be most helpful, and shouldn't bog down the build process.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001998)
psmedley   
2011-09-25 09:27   
The biggest hassle is that for some reason, 'make install' doesn't work for PHP, so the creation of the .zip is largely manual

Also, OS/2 dll names don't match windows/unix so the sample ini files would still need some customisation.

having said all that, fixing 'make isntall' would make creating the distro much easier, so I'll take a look at it one day
(0004582)
psmedley   
2022-09-24 01:26   
build.cmd for php-8.1 now includes these

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
554 [Other Unix Port] Bug major always 2012-12-11 08:11 2022-09-24 01:25
Reporter: Steven Levine Platform: eCS/OS2  
Assigned To: psmedley OS: eComstation or OS/2  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: python help facility generates exceptions
Description: Python help facility traps when module list requested
Tags:
Steps To Reproduce:
Start python

At the prompt, enter

  help()

At the help prompt, enter

  modules

The result is the following output

Please wait a moment while I gather a list of all available modules...

Killed by SIGSEGV
pid=0x1f0b ppid=0x1f03 tid=0x0001 slot=0x00d1 pri=0x0200 mc=0x0001
D:\USR\PYTHON27\PYTHON.EXE
LIBC065 0:0005e37b
cs:eip=005b:1d17e37b ss:esp=0053:007fdb00 ebp=007fdc08
 ds=0053 es=0053 fs=150b gs=0000 efl=00012246
eax=00000000 ebx=1d14b313 ecx=00000000 edx=00000101 edi=2028c34f esi=00000000
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
Additional Information:
System Description
Attached Files: PDUMP.000.txt (6,335 bytes) 2012-12-16 09:48
https://mantis.smedley.id.au/file_download.php?file_id=267&type=bug
PDUMP.001.txt (11,005 bytes) 2012-12-16 21:39
https://mantis.smedley.id.au/file_download.php?file_id=268&type=bug
Notes
(0002373)
psmedley   
2012-12-16 08:20   
yep, I can reproduce this. libc registers suggest exception is in strpbrk()
(0002375)
Steven Levine   
2012-12-16 09:58   
Yes, it is. See the attached process dump analysis. It shows the call path.

Running python -v the help() modules traps is reported as

# D:/usr/python27/Lib/ctypes/__init__.pyc matches D:/usr/python27/Lib/ctypes/__init__.py
import ctypes # precompiled from D:/usr/python27/Lib/ctypes/__init__.pyc
dlopen("D:/usr/python27/Lib/lib-dynload/_ctypes.pyd", 0);
import _ctypes # dynamically loaded from D:/usr/python27/Lib/lib-dynload/_ctypes.pyd

Killed by SIGSEGV
pid=0x0288 ppid=0x025e tid=0x0001 slot=0x00c1 pri=0x0200 mc=0x0001
D:\USR\PYTHON27\PYTHON.EXE
LIBC065 0:0005e37b
cs:eip=005b:1d83e37b ss:esp=0053:007fdaf0 ebp=007fdbf8
 ds=0053 es=0053 fs=150b gs=0000 efl=00010246
eax=00000000 ebx=1d80b313 ecx=00000000 edx=00000101 edi=2028c34f esi=00000000
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

I'm not sure, but I would suspect something bad is happening while loading ctypes.pld. It's getting late here. If you don't fixed it before I wake up, I will capture an extended dump and see if I can see why the pointer is null.
(0002377)
psmedley   
2012-12-16 19:43   
according to the map file at least, _ctypes.pyd doesn't use strpbrk()

It's only used by python27.dll & readline.pyd - I didn't get time to investigate any further. Will go read your notes now.
(0002379)
Steven Levine   
2012-12-16 21:58   
Sorry for the confusion. My point was something happened in _ctypes.pyd that caused the dlopen exception to occur. A more verbose dump shows what happened. We have a unimplemented feature in libc's dlopen (src\lib\sys\b_ldrOpen.c). dlopen() accepts a NULL parameter to request the handle of the main executable (python.exe in our case). __libc_Back_ldrOpen() does not yet support this.

I'll submit a libc ticket and see if I can come up with a temporary workaround for the python code.

I suspect the exception is triggered by the code at Modules\_ctypes\callproc.c line 1424.
(0002380)
psmedley   
2012-12-18 08:16   
Correct re: line 1424 causing the crash.

I added a printf either side of the call to confirm
(0002381)
Steven Levine   
2012-12-18 09:29   
If the semantics if dlopen(NULL, flags) is equivalent to dlopen("_ctypes.pyd", flags), this can be fixed in callproc.c pending a proper libc fix.

What I am not sure about yet is if dlopen should have been called with a NULL arg.
(0004581)
psmedley   
2022-09-24 01:25   
Seems to work fine with latest bww python

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
610 [Squid for OS/2] crash always 2014-06-03 12:07 2022-09-24 01:22
Reporter: Digi Platform:  
Assigned To: psmedley OS: eComStation  
Priority: normal OS Version: 2.1  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: A growing number of sockets in CLOSED.
Description: When running squid "netstat -s" shows many records like this:

   13 STREAM 0 0 0.0.0.0 CLOSED

And their number is constantly increasing. When I interrupt squid all these sockets disappear.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002742)
Digi   
2014-06-04 11:23   
Squid build v3.3.11 2013-12-31
(0004579)
psmedley   
2022-09-24 01:22   
Please test with https://smedley.id.au/tmp/squid-5.3-os2-20220118.zip

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
595 [Squid for OS/2] Feature Request tweak always 2014-02-10 01:48 2022-09-24 01:22
Reporter: Oxyd Platform: x86  
Assigned To: psmedley OS: OS/2  
Priority: urgent OS Version: ACP2 v 4.52  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Latest squid does not support SSL
Description: Squid version 3.3.11 does not support https proxying because it maked with "--disable-ssl"(without --enable-ssl) option. And, of course, i have error if "https_port" tag enabled in squid.conf
Tags:
Steps To Reproduce:
Additional Information:
System Description fixpack #6 OS/4 kernel.
Attached Files:
Notes
(0002671)
psmedley   
2014-02-10 19:11   
build with enable-ssl is at http://smedley.id.au/tmp/squid-3.3.11-os2-20140211.zip
(0002673)
Oxyd   
2014-02-12 04:40   
Hmm. It seems that in this version, as in the release, the CONNECT method does not work. Squid with default squid.conf must work with https via CONNECT method.
Also I tested this version with quasselIRC, which works fine with my old installation SQUID (2.x) And refuses to work with this version.
If you fix this bug, make please with very interesting ssl-bump function(-–enable-ssl-crtd) Ex: http://www.mydlp.com/how-to-configure-squid-3-2-ssl-bumping-dynamic-ssl-certificate-generation/
(0004578)
psmedley   
2022-09-24 01:22   
Please test with https://smedley.id.au/tmp/squid-5.3-os2-20220118.zip

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
598 [Other Unix Port] Bug major always 2014-02-20 10:28 2022-09-24 01:20
Reporter: Oxyd Platform: x86  
Assigned To: psmedley OS: OS/2  
Priority: high OS Version: ACP2 v 4.52  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: CLI bug in quasselcore.exe in latest version of quassel-IRC
Description: If I want to add a user or change the user's password in quasselcore have to press Enter after pressing Ctrl-Z + Enter. So the same as entering a password, the password is displayed as plain text
Tags:
Steps To Reproduce: [c:\programs\quassel\bin]quasselcore.exe --change-userpass=Oxyd
("QSQLITE")
2014-02-20 14:22:42 Info: SQLite Storage Backend is ready. Quassel Schema Version: 17
Change password for user: Oxyd
New Password: helloSmedley [Enter]
[Ctrl-z]^Z[Enter]

Repeat Password: helloSmedley
^Z

Password changed successfully!

[c:\programs\quassel\bin]
Additional Information: Commands for repeat this bug:
quasselcore.exe --add-user
quasselcore.exe --change-userpass=username
System Description fixpack #6 OS/4 kernel.
Attached Files:
Notes
(0002719)
psmedley   
2014-04-03 06:58   
I understand why this happens:
#ifdef Q_OS_WIN32
void Core::stdInEcho(bool on)
{
    HANDLE hStdin = GetStdHandle(STD_INPUT_HANDLE);
    DWORD mode = 0;
    GetConsoleMode(hStdin, &mode);
    if (on)
        mode |= ENABLE_ECHO_INPUT;
    else
        mode &= ~ENABLE_ECHO_INPUT;
    SetConsoleMode(hStdin, mode);
}


#else
void Core::stdInEcho(bool on)
{
    termios t;
    tcgetattr(STDIN_FILENO, &t);
    if (on)
        t.c_lflag |= ECHO;
    else
        t.c_lflag &= ~ECHO;
    tcsetattr(STDIN_FILENO, TCSANOW, &t);
}


#endif /* Q_OS_WIN32 */

OS/2 is using the tcgetattr/tcsetattr which is not fully implemented in libc
(0004577)
psmedley   
2022-09-24 01:20   
I no long build/maintain quassel

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
615 [Other Unix Port] Bug major always 2014-07-10 11:50 2022-09-24 01:20
Reporter: komh Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Fix compilation of apr-util-1.4.1
Description: Hi/2.

compilation of apr-util-1.4.1 fails when multi-thread enabled.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: 0001-apr_md5-fix-compilation-with-multi-thread-enabled-on.patch (1,274 bytes) 2014-07-10 11:50
https://mantis.smedley.id.au/file_download.php?file_id=342&type=bug
Notes
(0004576)
psmedley   
2022-09-24 01:20   
I don't believe this change is required anymore - there is no similar code in https://github.com/psmedley/apr-util-os2

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
247 [Sane for OS/2 & eComStation] Feature Request minor always 2008-04-22 22:24 2022-09-24 01:16
Reporter: Steven Levine Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: usbcalls.dll should be optional
Description: Running v1.0.16

Scanimage will fail usbcalls.dll is not avaiable.

If would be handy if usbcalls.dll was required only if USB support is requested.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0004575)
psmedley   
2022-09-24 01:16   
I'm no longer maintaining Sane...

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
180 [Apache 2.x ] minor always 2007-04-03 15:34 2022-09-24 01:15
Reporter: ronaldvanovost Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Since changing to day light saving time the error logs report one hour late
Description: Since changing to day light saving time the error logs report one hour late. Running server-status current time is one hour late. It reports GMT +1 which is o.k. except now during day light saving time. The Timezone parameters are o.k. All other applications report correct time
Tags:
Steps To Reproduce:
Additional Information: Seems to be an issue at some previous version too.
Attached Files:
Notes
(0004574)
psmedley   
2022-09-24 01:15   
I belive this is due to a libc bug and should now be resolved via https://github.com/bitwiseworks/libc/issues/109

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
10 [Apache 2.x ] feature always 2006-04-17 02:05 2022-09-24 01:12
Reporter: rgehrig Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version: v2.2.1  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: mod_auth_mysql not working
Description: Configured mod_auth_mysql module and set up database and table in MySQL and gave permissions for database for the mod_auth_musql user.

It does not give any error messages about mysql connectivity but appears to be trying to use non mysql auth.

Tried using .htaccess for the configuration as well as putting the config in httpd.conf, neither case worked.

If config stuff in .htaccess the the following error message in apache error_log

[Mon Apr 10 21:14:50 2006] [error] [client 192.168.0.61] client denied by server configuration: D:/gdb_web/gdb_int/.htaccess

If config stuff in httpd.conf the following error messages

cfg_openfile() called with NULL filename
[Wed Apr 12 07:08:15 2006] [error] [client 192.168.0.61] (9)Bad file number: Could not open password file: (null)

See attached .htaccess file for what I tried.
Tags:
Steps To Reproduce:
Additional Information: Config put into httpd.conf
<Directory "/gdb_web/gdb_int"> #Change this line to match your restricted access dir
    Options Indexes FollowSymLinks
    AllowOverride AuthConfig
    Order allow,deny
    Allow from all
 AuthType Basic
 AuthName "MySQL Testing"
 AuthMySQLPwEncryption crypt
 AuthMySQLHost mysql-srv.com #change the following lines to match your setup
 AuthMySQLDB http_auth
 AuthMySQLUser htauth
 AuthMySQLPassword htauth
 AuthMySQLPort 3306
 AuthMySQLUserTable user_info
 AuthMySQLNameField user_name
 AuthMySQLPasswordField user_passwd #last line of possible changes
 AuthMySQLEnable On
 require valid-user
</Directory>
Attached Files: .htaccess (266 bytes) 2006-04-17 02:05
https://mantis.smedley.id.au/file_download.php?file_id=3&type=bug
Notes
(0000020)
psmedley   
2006-04-20 10:41   
I think at least half of the problem here is that either I'm doing something wrong, or there's a problem with .htaccess files

I tried something here to restrict access to a section of the site and it didn't work. Must get my Apache2 book out and try and understand if it's a configuration error on my part, or a problem with my port.
(0000080)
mikkle   
2006-05-16 19:54   
Hey,

Just a note to say that I can confirm this issue.
It seems that ModAuthMySQL is actually never called.
If "AuthUserFile" is not present in the auth-config (.htaccess or in httpd.conf) This error gets logged:
---
[Tue May 16 20:17:19 2006] [error] [client 10.22.42.253] (9)Bad file number: Could not open password file: (null)
---
and if "AuthUserFile" IS present, the file stated there gets htpasswd-queried.

I don't believe there's an Apache configuration error (sorry).
The config presented by "rgehrig" should be correct. - It's more or less straight out of the ModAuthMysql documentation.
I used a very similar conf in my setup.
(0004573)
psmedley   
2022-09-24 01:12   
I don't believe this is relevant anymore given we've moved to apache 2.4.x

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
722 [Subversion for OS/2 & eCS] Bug minor always 2020-10-02 03:13 2022-08-27 05:57
Reporter: LewisR Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: 1.14.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 1.14.x  
Summary: svn diff (r1876290 - 20200909) does not properly handle backslashes in all paths
Description: [j:\devel\arcaos\trunk] svn diff -r420 media\common\SYS\INSTALL\DOSUPDT.CMD

yields:

--- media\common\SYS\INSTALL\DOSUPDT.CMD (.../media/common/SYS/INSTALL/DOSUPDT.CMD) (revision 420)
+++ media\common\SYS\INSTALL\DOSUPDT.CMD (.../media%5Ccommon%5CSYS%5CINSTALL%5CDOSUPDT.CMD)
      (nonexistent)

Using slash as path separator produces the desired result.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0003549)
psmedley   
2020-10-04 04:43   
I can reproduce this - I currently have no idea where the problem is :(
(0004551)
LewisR   
2022-08-25 23:03   
I was reminded of this just today using:
1.14.2 (r1899510) Jul 8 2022, 11:33:53
(0004553)
psmedley   
2022-08-27 05:57   
I might have to install svn.exe on windows and see how it behaves there...

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
295 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Feature Request minor N/A 2008-11-28 22:55 2022-08-23 09:12
Reporter: LewisR Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Build PHP with LDAP support
Description: Not sure whether we need the dll (as per Win32) or whether PHP5 can be compiled --with-ldap (as per *nix), but I've recently run into a situation where LDAP support would be a big resource saver for me, as I'd be able to authenticate against my eDirectory back end instead of having to maintain a separate user db in MySQL for MediaWiki.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001043)
psmedley   
2008-11-29 02:39   
looking at this now :)
(0001044)
psmedley   
2008-11-29 03:10   
Please try http://smedley.info/php-5.2.6-os2-20081129.zip
(0001047)
LewisR   
2008-11-29 05:42   
On my list for first thing tomorrow, Paul; thanks. ;-)
(0001048)
LewisR   
2008-11-29 18:23   
Well, we're definitely halfway there. The problem is that I'm not sure if the issue is in my php code or with the ldap module (though I suspect the latter).

The issue concerns the binding.

While my main goal is to authenticate against eDirectory running on NetWare 6.5 SP7, the LDAP trace screen on the server is not of as much use as the monitor under CommuniGate Pro. So, using a very simple test (code, below), I attempted to bind using my own user account whcih appears to have been successful:

13:08:20.950 5 LDAP [0.0.0.0]:389 <- [127.0.0.1]:50168 connection request. socket=12763
13:08:20.950 5 LDAP new VStream created, n=1
13:08:20.950 5 LDAP stream thread started
13:08:20.950 4 LDAP-000016([127.0.0.1]) got connection on [127.0.0.1]:389(2rosenthals.com) from [127.0.0.1]:50168
13:08:20.950 5 LDAP-000016([127.0.0.1]) inp: SEQ(33) 02 01 01 60 1C 02 01 03 04 0B 6C 67 72 6F 73 65 6E 74 68 61 6C 80 0A 72 61 63 68 65 6C 31 32 32 33
13:08:20.950 4 LDAP-000016([127.0.0.1]) BINDing as 'lgrosenthal'
13:08:20.950 2 LDAP-000016([127.0.0.1]) 'lgrosenthal@2rosenthals.com' connected from [127.0.0.1]:50168
13:08:20.950 4 LDAP-000016([127.0.0.1]) Logged in as uid=lgrosenthal,cn=2rosenthals.com,o=rr. authType=0
13:08:20.950 5 LDAP-000016([127.0.0.1]) out: 30 0C 02 01 01 61 07 0A 01 00 04 00 04 00
13:08:20.950 5 LDAP-000016([127.0.0.1]) inp: SEQ(5) 02 01 02 42 00
13:08:20.950 4 LDAP-000016([127.0.0.1]) disconnecting
13:08:20.950 2 LDAP-000016([127.0.0.1]) 'lgrosenthal@2rosenthals.com' disconnected ([127.0.0.1]:50168)
13:08:20.950 4 LDAP-000016([127.0.0.1]) closing connection
13:08:20.950 4 LDAP-000016([127.0.0.1]) releasing stream
13:08:22.790 5 LDAP [0.0.0.0]:389 <- [127.0.0.1]:50169 connection request. socket=12765
13:08:22.790 4 LDAP-000017([127.0.0.1]) got connection on [127.0.0.1]:389(2rosenthals.com) from [127.0.0.1]:50169
13:08:22.790 5 LDAP-000017([127.0.0.1]) inp: SEQ(33) 02 01 01 60 1C 02 01 03 04 0B 6C 67 72 6F 73 65 6E 74 68 61 6C 80 0A 72 61 63 68 65 6C 31 32 32 33
13:08:22.790 4 LDAP-000017([127.0.0.1]) BINDing as 'lgrosenthal'
13:08:22.800 2 LDAP-000017([127.0.0.1]) 'lgrosenthal@2rosenthals.com' connected from [127.0.0.1]:50169
13:08:22.800 4 LDAP-000017([127.0.0.1]) Logged in as uid=lgrosenthal,cn=2rosenthals.com,o=rr. authType=0
13:08:22.800 5 LDAP-000017([127.0.0.1]) out: 30 0C 02 01 01 61 07 0A 01 00 04 00 04 00
13:08:22.810 5 LDAP-000017([127.0.0.1]) inp: SEQ(5) 02 01 02 42 00
13:08:22.810 4 LDAP-000017([127.0.0.1]) disconnecting
13:08:22.810 2 LDAP-000017([127.0.0.1]) 'lgrosenthal@2rosenthals.com' disconnected ([127.0.0.1]:50169)
13:08:22.810 4 LDAP-000017([127.0.0.1]) closing connection
13:08:22.810 4 LDAP-000017([127.0.0.1]) releasing stream
13:08:37.830 5 LDAP stream thread finished

The script returned "Binding failed."

Then, I changed the username & password to a nonexistent user, Fred:

13:10:13.300 5 LDAP [0.0.0.0]:389 <- [127.0.0.1]:50188 connection request. socket=12790
13:10:13.300 5 LDAP new VStream created, n=1
13:10:13.310 5 LDAP stream thread started
13:10:13.310 4 LDAP-000018([127.0.0.1]) got connection on [127.0.0.1]:389(2rosenthals.com) from [127.0.0.1]:50188
13:10:13.310 5 LDAP-000018([127.0.0.1]) inp: SEQ(21) 02 01 01 60 10 02 01 02 04 04 66 72 65 64 80 05 65 74 68 65 6C
13:10:13.310 4 LDAP-000018([127.0.0.1]) BINDing as 'fred'
13:10:13.310 1 LDAP-000018([127.0.0.1]) failed to open 'fred'. Connection from [127.0.0.1]:50188. Error Code=unknown user account
13:10:15.330 1 LDAP-000018([127.0.0.1]) BIND failed. Error Code=incorrect password or account name
13:10:15.330 5 LDAP-000018([127.0.0.1]) out: 30 2E 02 01 01 61 29 0A 01 31 04 00 04 22 69 6E 63 6F 72 72 65 63 74 20 70 61 73 73 77 6F 72 64 20 6F 72 20 61 63 63 6F 75 6E 74 20 6E 61 6D 65
13:10:15.330 5 LDAP-000018([127.0.0.1]) inp: SEQ(5) 02 01 02 42 00
13:10:15.330 4 LDAP-000018([127.0.0.1]) disconnecting
13:10:15.330 4 LDAP-000018([127.0.0.1]) closing connection
13:10:15.330 4 LDAP-000018([127.0.0.1]) releasing stream

Correctly, the script returned that the binding failed.

Here is the code which produces the error:

// using ldap bind
$ldaprdn = 'validuser'; // ldap rdn or dn
$ldappass = 'validpassword'; // associated password

// connect to ldap server
$ldapconn = ldap_connect("localhost")
    or die("Could not connect to LDAP server.");

if ($ldapconn) {

    // binding to ldap server
    $ldapbind = ldap_bind($ldapconn, $ldaprdn, $ldappass);

    // verify binding
    if ($ldapbind) {
        echo "LDAP bind successful...";
    } else {
        echo "LDAP bind failed...";
    }

}

?>

A slightly more complicated snippet (from php.net itself):

<?php
// basic sequence with LDAP is connect, bind, search, interpret search
// result, close connection

echo "<h3>LDAP query test</h3>";
echo "Connecting ...";
$ds=ldap_connect('192.168.100.1'); // must be a valid LDAP server!
echo "connect result is " . $ds . "
";

if ($ds) {
    echo "Binding ...";
    $r=ldap_bind($ds); // this is an "anonymous" bind, typically
                           // read-only access
    echo "Bind result is " . $r . "
";

    echo "Searching for (uid=L*) ...";
    // Search surname entry
    $sr=ldap_search($ds, "ou=New_York,o=RR", "uid=L*");
    echo "Search result is " . $sr . "
";

    echo "Number of entires returned is " . ldap_count_entries($ds, $sr) . "
";

    echo "Getting entries ...

";
    $info = ldap_get_entries($ds, $sr);
    echo "Data for " . $info["count"] . " items returned:

";

    for ($i=0; $i<$info["count"]; $i++) {
        echo "dn is: " . $info[$i]["dn"] . "
";
        echo "first cn entry is: " . $info[$i]["cn"][0] . "
";
        echo "first email entry is: " . $info[$i]["mail"][0] . "
<hr />";
    }

    echo "Closing connection";
    ldap_close($ds);

} else {
    echo "<h4>Unable to connect to LDAP server</h4>";
}
?>

returns the following in the browser:

LDAP query test
Connecting ...connect result is Resource id 0000002
Binding ...Bind result is
Searching for (uid=L*) ...Search result is
Number of entires returned is
Getting entries ...

Data for items returned:

Closing connection

(Note the lack of the bind result. This is an anonymous bind - which does work against my NetWare box - yet I'm not seeing it as successful, here.)

I believe I have LDAP support in the php build I'm running on NetWare. I'll try these same scripts there, and follow up with results.

Thanks for your time & effort, Paul. Greatly appreciated.

(0001049)
LewisR   
2008-11-29 18:34   
As I suspected, running on NetWare (Apache 2.2.6, PHP 4.4.0 - as module), the above scripts work as expected (changed LDAP server to NetWare IP):

LDAP query test
Connecting ...connect result is Resource id 0000002
Binding ...Bind result is 1
Searching for (uid=L*) ...Search result is Resource id 0000003
Number of entires returned is 2
Getting entries ...

Data for 2 items returned:

dn is: cn=Lance,ou=VIRGINIA,o=RR
first cn entry is:
first email entry is:
dn is: cn=Lewis,ou=NEW_YORK,o=RR
first cn entry is:
first email entry is: lgrosenthal@2rosenthals.com
Closing connection

With LDAP server pointing to CommuniGate Pro, this binding also works (though I have anonymous reads turned off, so no results are returned).

BTW, I get the same results when specifying clear vs (the default) tls.
(0004546)
psmedley   
2022-08-22 08:19   
Is this still required?
(0004548)
LewisR   
2022-08-22 13:06   
No, we can let this go. Thanks.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
766 [Samba Server] Bug minor always 2022-07-09 21:01 2022-07-19 09:53
Reporter: Buck Platform: OS/2  
Assigned To: psmedley OS: ArcaOS  
Priority: normal OS Version: 5.0.7  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: tdbtool crashes when given command line argument
Description: tdbtool serverid.tdb will open a tdbtool prompt and info or check (etc) can be run successfully, however;
tdbtool serverid info (or any other command, or just any character even) will fail:
{0}[d:\mptn\etc\samba\lock] e:\Programs\Samba\tdbtool.exe serverid.tdb info
fcntl_lock: (fd=5) offset=0 rw_type=3 len=1 waitflag=1 (rc=0) pid=387
fcntl_unlock: (fd=5) offset=0 rw_type=3 len=1 (rc=0) pid=387

Killed by SIGSEGV
pid=0x0183 ppid=0x0059 tid=0x0001 slot=0x00aa pri=0x0200 mc=0x0001 ps=0x0010
E:\PROGRAMS\SAMBA\TDBTOOL.EXE
cs:eip=0000:00000000 ss:esp=000b5f09:0031fc58 ebp=00000053
 ds=0000 es=0000 fs=0004 gs=0000 efl=00000004
eax=0031fcb8 ebx=1ffc9d7c ecx=0031fccc edx=0031fcf0 edi=18039100 esi=0031ff6c
Creating 0183_01.TRP
Moved 0183_01.TRP to D:\var\log\app\62c9a180-0183_01-TDBTOOL-exceptq.txt
Tags:
Steps To Reproduce: tdbtool serverid.tdb info (or any character(s) in the place of info)
Additional Information:
System Description
Attached Files: 62c9a180-0183_01-TDBTOOL-exceptq.txt (18,616 bytes) 2022-07-09 21:01
https://mantis.smedley.id.au/file_download.php?file_id=874&type=bug
Notes
(0004458)
Buck   
2022-07-09 21:05   
This could be limited to my machine, I have a tdbtool.exe from where you had fixed another issue... it had worked fine then but when trying it now, it fails as well
(0004460)
psmedley   
2022-07-09 21:35   
Seems to work here:
{2}[u:\dev\samba-ubuntu-4.11.6\samba] \samba\tdbtool.exe c:\MPTN\ETC\samba\private\secrets.tdb
fcntl_lock: (fd=5) offset=0 rw_type=3 len=1 waitflag=1 (rc=0) pid=55757
fcntl_unlock: (fd=5) offset=0 rw_type=3 len=1 (rc=0) pid=55757
tdb>

Can you upload serverid.tdb incase it's a corrupt tdb?
(0004461)
psmedley   
2022-07-09 22:03   
Oops I should have fully read your report.
{127}[u:\dev\samba-ubuntu-4.11.6\samba] \samba\tdbtool.exe c:\MPTN\ETC\samba\private\secrets.tdb info
fcntl_lock: (fd=5) offset=0 rw_type=3 len=1 waitflag=1 (rc=0) pid=55758
fcntl_unlock: (fd=5) offset=0 rw_type=3 len=1 (rc=0) pid=55758

Killed by SIGSEGV
pid=0xd9ce ppid=0xd3fd tid=0x0001 slot=0x00ca pri=0x0200 mc=0x0001 ps=0x0010
U:\SAMBA\TDBTOOL.EXE
cs:eip=0000:00000000 ss:esp=20034620:000b5f09 ebp=00010053
 ds=0000 es=0000 fs=0031fba8 gs=0000 efl=0031fc48
eax=0031fca8 ebx=1ffc9d54 ecx=0031fcbc edx=0031fce0 edi=000b5cc8 esi=0031ff5c
Creating D9CE_01.TRP
Moved d9ce_01.TRP to C:\var\log\app\62ca8080-d9ce_01-TDBTOOL-exceptq.txt
(0004487)
psmedley   
2022-07-16 09:02   
(Last edited: 2022-07-16 09:04)
Please test with https://smedley.id.au/tmp/tdbtool.zip

There's an OS/2 specific patch in tdbtool.c causing this - reverting it seems to help :P

diff --git a/lib/tdb/tools/tdbtool.c b/lib/tdb/tools/tdbtool.c
index d30991645..96a6ae935 100644
--- a/lib/tdb/tools/tdbtool.c
+++ b/lib/tdb/tools/tdbtool.c
@@ -960,7 +960,7 @@ int main(int argc, char *argv[])
         cmdname = argv[2];
         FALL_THROUGH;
     default:
-#ifdef __OS2__
+#ifdef __OS2__x
             if (argc == 3) {
                arg1 = convert_string(argv[1], &arg1len);
             }
(0004489)
Buck   
2022-07-16 15:44   
Looks like it is working correctly here.
(0004490)
psmedley   
2022-07-16 22:31   
Thanks, now to work out where this patch came from... potentially misapplied from 3.x

Will do some digging then commit the fix
(0004491)
psmedley   
2022-07-17 08:35   
ok bww reverted the changes to tdbtool.c in https://trac.netlabs.org/samba/changeset/907 - I've committed the equivalent to this in git.
(0004492)
Buck   
2022-07-18 02:19   
I think bww made a change in either libc or libcx,. I had tried a build you had fixed an issue with previously (it had been working) and now fails too (at first I thought maybe the fix for it had been missed).
(0004493)
psmedley   
2022-07-19 09:53   
Resolved in latest build

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
763 [Samba Server] Bug minor always 2022-07-09 15:24 2022-07-09 23:08
Reporter: dazarewicz Platform: AMD SMP  
Assigned To: psmedley OS: ArcaOS  
Priority: normal OS Version: 5.0.7  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Server (smbd) dies needlessly after producing a warning in the log file
Description:   [2022/07/02 13:46:57.487000, 0] ../../lib/param/loadparm.c:1136(lp_set_enum_parm)
    WARNING: Ignoring invalid value 'SHARE' for parameter 'security'
  [2022/07/02 13:46:57.487000, 0] ../../source3/smbd/server.c:1803(main)
    error opening config file 'D:\MPTN\ETC/samba/smb.conf'

Sure, it's a warning but it got ignored. It shouldn't be fatal.

The second error seems wrong since it obviously opened the file to parse the previous
warning.
Tags:
Steps To Reproduce:
Additional Information: [global]
    workgroup = AZARNET
    server string = David A
    security = SHARE
    null passwords = Yes
    guest account = guest
    username map = D:\MPTN\ETC\samba\private\smbusermap
    log file = D:\MPTN\ETC\samba\log\log.smbd.%U.%M
    time server = Yes
    load printers = No
    printcap name = E:\etc\printcap
    enumports command = E:\samba\enumports.cmd
    add user script = E:\samba\usermod.cmd -a "%u"
    rename user script = E:\samba\usermod.cmd -r "%uold" "%unew"
    delete user script = E:\samba\usermod.cmd -x "%u"
    add group script = E:\samba\groupmod.cmd -a "%g"
    delete group script = E:\samba\groupmod.cmd -x "%g"
    add user to group script = E:\samba\groupmod.cmd -j "%g" "%u"
    delete user from group script = E:\samba\groupmod.cmd -l "%g" "%u"
    set primary group script = E:\samba\usermod.cmd -p "%u" "%g"
    add machine script = E:\samba\usermod.cmd -a "%u"
    lm announce = Yes
    wins support = Yes
    add share command = E:\samba\addshare.cmd
    change share command = E:\samba\changeshare.cmd
    delete share command = E:\samba\delshare.cmd
    lock directory = D:\MPTN\ETC\samba\lock
    nmbd bind explicit broadcast = No
    comment = David Azarewicz
    create mask = 0777
    ea support = Yes
    store dos attributes = Yes
System Description Fully updated ArcaOS system.
Attached Files:
Notes
(0004457)
dazarewicz   
2022-07-09 15:34   
Samba server version is: 4.11.6-ArcaNoae
(0004466)
psmedley   
2022-07-09 22:56   
I can reproduce this here.
(0004467)
psmedley   
2022-07-09 23:01   
I might try reproducing this on linux. Agree it seems odd, but the code in server/smbd.c is:
    if (!lp_load_initial_only(get_dyn_CONFIGFILE())) {
        DEBUG(0, ("error opening config file '%s'\n", get_dyn_CONFIGFILE()));
        exit(1);
    }

I'll need to did deeper, but 'error opening config file' appears to relate to an error with one of the directives inside the config file, not an error opening the file itseld.
(0004468)
psmedley   
2022-07-09 23:08   
Looks like something else that needs to be handled either by the rpm, or in migration:

https://ubuntuforums.org/showthread.php?t=2397350

The setting appears to have been deprecated in 0000487:0002012 - and probably removed later.

Without a valid security setting, the server dies. The log messages suck, but I'm not intending to address core Samba code.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
764 [Samba Server] Bug major always 2022-07-09 15:42 2022-07-09 22:54
Reporter: dazarewicz Platform: nVidia / AMD SMP  
Assigned To: psmedley OS: ArcaOS  
Priority: normal OS Version: 5.0.7  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: The "guest" account does not work.
Description: Upon switching from Samba server v3.6.25-OS/2 v1.3.0-1011 to Samba server 4.11.6-ArcaNoae the guest account does not work anymore. The server does not balk at the guest user command in smb.conf, but it does not work. "Does not work" means that my Mac cannot login using "guest". This exact setup used to work correctly with Samba server v3.6.25-OS/2 v1.3.0-1011 but no longer works with Samba server 4.11.6-ArcaNoae.
Tags:
Steps To Reproduce:
Additional Information: [global]
    workgroup = AZARNET
    server string = David A
# security = SHARE
    null passwords = Yes
    guest account = guest
    username map = D:\MPTN\ETC\samba\private\smbusermap
    log file = D:\MPTN\ETC\samba\log\log.smbd.%U.%M
    time server = Yes
    load printers = No
    printcap name = E:\etc\printcap
    enumports command = E:\samba\enumports.cmd
    add user script = E:\samba\usermod.cmd -a "%u"
    rename user script = E:\samba\usermod.cmd -r "%uold" "%unew"
    delete user script = E:\samba\usermod.cmd -x "%u"
    add group script = E:\samba\groupmod.cmd -a "%g"
    delete group script = E:\samba\groupmod.cmd -x "%g"
    add user to group script = E:\samba\groupmod.cmd -j "%g" "%u"
    delete user from group script = E:\samba\groupmod.cmd -l "%g" "%u"
    set primary group script = E:\samba\usermod.cmd -p "%u" "%g"
    add machine script = E:\samba\usermod.cmd -a "%u"
    lm announce = Yes
    wins support = Yes
    add share command = E:\samba\addshare.cmd
    change share command = E:\samba\changeshare.cmd
    delete share command = E:\samba\delshare.cmd
    lock directory = D:\MPTN\ETC\samba\lock
    nmbd bind explicit broadcast = No
    comment = David A
    create mask = 0777
    ea support = Yes
    store dos attributes = Yes
System Description Fully updated ArcaOS system.
Attached Files:
Notes
(0004459)
psmedley   
2022-07-09 21:31   
have you re-run 'smbpasswd -a guest' for the guest account?

I assume guest exists in the klibc user management tool?
(0004462)
dazarewicz   
2022-07-09 22:26   
>have you re-run 'smbpasswd -a guest' for the guest account?

No. Why would I even think of this? It is the exact same system and exact same files that were previously working. Note that all of my other user accounts are working correctly. It is only the guest account that stopped working.

I have a *working* samba 3.6 system. I have 2 directories, one with the v3.6 server binaries and one with the v4.11 server binaries. The v3.6 server is running and the guest account works. I stop the v3.6 server and start the v4.11 server and the guest account stops working. I stop the v4.11 server and start the v3.6 server and the guest account works again. I stop the v3.6 server and start the v4.11 server and the guest account stops working. I stop the v4.11 server and start the v3.6 server and the guest account works again. There was every reason to think that the v4.11 server was broken and no reason to even consider re-running anything, and no documentation to suggest otherwise.

>I assume guest exists in the klibc user management tool?

Yes.

Note that I do *not* run the samba client. I only run the samba server.

Nevertheless, I tried running 'smbpasswd -a guest' and now it appears that the guest account works with the v4.11 server. A cursory check appears to show that all my other user accounts are still intact.
(0004464)
psmedley   
2022-07-09 22:52   
The system has gone from 3.6 released in 2011, to 4.11 released in 2019. Other OS probably have migration tools as the Samba version has been increased - we don't.

Nobody should expect to dropin new executables over the top of an obsolete, insecure configuration and expect it to be seamless.

Obviously this is something that will need to be handled in the AOS migration of an old setup.
(0004465)
psmedley   
2022-07-09 22:54   
Will need to be handled elsewhere, not a bug with samba per se.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
760 [Apache 2.x ] Bug crash sometimes 2022-05-21 10:22 2022-06-10 22:01
Reporter: emax Platform: vbox VM  
Assigned To: Steven Levine OS: AOS  
Priority: normal OS Version: 503  
Status: resolved Product Version: 2.4.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: apache 2.4.53 + php 7.4.28 mysqlnd traps attempting to update statistics during connection close processing
Description: from Steven:

We are trapping at:

ext\mysqlnd\mysqlnd_connection.c:2441
            MYSQLND_INC_CONN_STATISTIC(conn->stats, close_type_to_stat_map[close_type]);

I suspect this happened the connection failed before the statistics buffer get fully initialized.
Tags:
Steps To Reproduce: build https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220519.zip has made a huge progress in stability

here below the only 3 eQ dumps on PHP7.DLL in a day (dump in attachment and part of apache error log)

dump 0047_1

[Fri May 20 11:26:20.324000 2022] [mpm_mpmt_os2:notice] [pid 66:tid 1] AH00206: Apache/2.4.53 (OS/2) OpenSSL/1.1.1o PHP/7.4.28 configured -- resuming normal operations

Killed by SIGSEGV
pid=0x0047 ppid=0x0042 tid=0x0001 slot=0x0059 pri=0x0200 mc=0x0001 ps=0x0010
D:\APACHE\BIN\HTTPD.EXE
cs:eip=20c88a20:0000003a ss:esp=1ebdca82:20030000 ebp=007f0053
 ds=0000 es=0000 fs=20030150 gs=0000 efl=00000000
eax=007ff968 ebx=1ffc9d7c ecx=007ff97c edx=007ff9a0 edi=20030000 esi=007fff7c
Creating 0047_01.TRP
Moved 0047_01.TRP to C:\var\log\app\62877e28-0047_01-HTTPD-exceptq.txt
tore&tesiDir=ASC&tesiPage=2
[Fri May 20 11:32:52.123000 2022] [negotiation:error] [pid 67:tid 9] [client 79.51.242.49:52910] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated)., referer: https://www.bing.com/


dump: 09fd_01

[Fri May 20 15:39:51.569000 2022] [negotiation:error] [pid 2380:tid 22] [client 130.35.84.153:39308] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Fri May 20 15:40:52.075000 2022] [php7:error] [pid 2380:tid 24] [client 154.54.249.205:36040] script 'D:/apache/htdocs/max/jaime-it/index.html' not found or unable to stat
[Fri May 20 15:47:48.233000 2022] [core:error] [pid 2565:tid 18] [client 35.245.82.188:1250] AH00082: an unknown filter was not added: includes
[Fri May 20 15:48:08.985000 2022] [core:error] [pid 2557:tid 27] [client 154.54.249.205:11578] AH10244: invalid URI path (/../..)
[Fri May 20 15:50:18.962000 2022] [php7:error] [pid 2566:tid 26] [client 172.104.239.240:54852] script 'D:/apache/htdocs/max/speedmarine/xmlrpc.php' not found or unable to stat
[Fri May 20 15:50:20.919000 2022] [php7:error] [pid 2566:tid 27] [client 172.104.239.240:54856] script 'D:/apache/htdocs/max/speedmarine/xmlrpc.php' not found or unable to stat
[Fri May 20 15:50:21.372000 2022] [php7:error] [pid 2557:tid 3] [client 172.104.239.240:54860] script 'D:/apache/htdocs/max/speedmarine/wp-login.php' not found or unable to stat
[Fri May 20 15:50:21.794000 2022] [php7:error] [pid 2565:tid 3] [client 172.104.239.240:54864] script 'D:/apache/htdocs/max/speedmarine/wp-login.php' not found or unable to stat
[Fri May 20 15:50:22.218000 2022] [php7:error] [pid 2567:tid 30] [client 64.227.108.223:49240] script 'D:/apache/htdocs/ecs/xmlrpc.php' not found or unable to stat
[Fri May 20 15:50:25.499000 2022] [php7:error] [pid 2567:tid 28] [client 64.227.108.223:49524] script 'D:/apache/htdocs/ecs/xmlrpc.php' not found or unable to stat
[Fri May 20 15:50:29.335000 2022] [php7:error] [pid 2566:tid 29] [client 64.227.108.223:50278] script 'D:/apache/htdocs/ecs/wp-login.php' not found or unable to stat
[Fri May 20 15:50:31.560000 2022] [php7:error] [pid 2557:tid 32] [client 64.227.108.223:50670] script 'D:/apache/htdocs/ecs/wp-login.php' not found or unable to stat
[Fri May 20 15:51:57.458000 2022] [negotiation:error] [pid 2557:tid 10] [client 157.55.39.81:1536] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Fri May 20 15:52:56.349000 2022] [negotiation:error] [pid 2557:tid 23] [client 213.26.139.50:57052] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated)., referer: https://www.google.com/

Killed by SIGSEGV
pid=0x09fd ppid=0x04df tid=0x0001 slot=0x0054 pri=0x0200 mc=0x0001 ps=0x0010
D:\APACHE\BIN\HTTPD.EXE
cs:eip=283adf20:0000003a ss:esp=1ebdca82:20030000 ebp=007f0053
 ds=0000 es=0000 fs=20030150 gs=0000 efl=00000000
eax=007ff968 ebx=1ffc9d7c ecx=007ff97c edx=007ff9a0 edi=20030000 esi=007fff7c
Creating 09FD_01.TRP
Moved 09fd_01.TRP to C:\var\log\app\6287b9dd-09fd_01-HTTPD-exceptq.txt
[Fri May 20 16:00:27.369000 2022] [core:error] [pid 2652:tid 29] [client 173.231.60.196:54412] AH00082: an unknown filter was not added: includes


dump: 18cb_01

[Fri May 20 22:02:54.787000 2022] [mpm_mpmt_os2:notice] [pid 5859:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Fri May 20 22:17:18.951000 2022] [core:error] [pid 6163:tid 5] [client 144.76.119.235:60543] AH00082: an unknown filter was not added: includes
[Fri May 20 22:17:18.970000 2022] [autoindex:error] [pid 6163:tid 5] [client 144.76.119.235:60543] AH01276: Cannot serve directory D:/apache/htdocs/max/sitep/wp-includes/: No matching DirectoryIndex (index.html,index.php,index.htm,index.shtml,index.wml,welcome.html,welcome.htm,index.php3,index.php4,index.phps,default.php,login.php) found, and server-generated directory index forbidden by Options directive
[Fri May 20 22:17:25.812000 2022] [negotiation:error] [pid 6164:tid 6] [client 144.76.119.235:57922] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Fri May 20 22:18:03.779000 2022] [php7:error] [pid 6163:tid 20] [client 101.99.90.175:41674] script 'D:/apache/htdocs/max/jaime-hw/wp-login.php' not found or unable to stat, referer: http://jaimeaymerichhollywood.com/wp-login.php
[Fri May 20 22:18:07.876000 2022] [core:error] [pid 5493:tid 1] (13)Permission denied: AH00095: failed to remove PID file D:/apache/logs/httpd.pid
[Fri May 20 22:18:07.876000 2022] [mpm_mpmt_os2:notice] [pid 5493:tid 1] AH00201: caught SIGTERM, shutting down
[Fri May 20 22:18:15.429000 2022] [mpm_mpmt_os2:notice] [pid 6339:tid 1] AH00206: Apache/2.4.53 (OS/2) OpenSSL/1.1.1o PHP/7.4.28 configured -- resuming normal operations

Killed by SIGSEGV
pid=0x18cb ppid=0x18c3 tid=0x0001 slot=0x008b pri=0x0200 mc=0x0001 ps=0x0010
D:\APACHE\BIN\HTTPD.EXE
cs:eip=27487800:0000003a ss:esp=1ebdca82:20030000 ebp=007f0053
 ds=0000 es=0000 fs=20030150 gs=0000 efl=00000000
eax=007ff968 ebx=1ffc9d7c ecx=007ff97c edx=007ff9a0 edi=20030000 esi=007fff7c
Creating 18CB_01.TRP
Moved 18cb_01.TRP to C:\var\log\app\62881ada-18cb_01-HTTPD-exceptq.txt
[Fri May 20 22:49:30.249000 2022] [negotiation:error] [pid 6630:tid 4] [client 43.154.171.110:39220] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
 62877e28-0047_01-HTTPD-exceptq.txt (28,564 byte)
 6287b9dd-09fd_01-HTTPD-exceptq.txt (29,199 byte)
 62881ada-18cb_01-HTTPD-exceptq.txt (28,954 byte)
Additional Information: i've some other eQ dum of this kind let me know if they are useful or not
System Description
Attached Files: 62877e28-0047_01-HTTPD-exceptq.txt (28,564 bytes) 2022-05-21 10:22
https://mantis.smedley.id.au/file_download.php?file_id=734&type=bug
6287b9dd-09fd_01-HTTPD-exceptq.txt (29,199 bytes) 2022-05-21 10:22
https://mantis.smedley.id.au/file_download.php?file_id=735&type=bug
62881ada-18cb_01-HTTPD-exceptq.txt (28,954 bytes) 2022-05-21 10:22
https://mantis.smedley.id.au/file_download.php?file_id=736&type=bug
DLA_MAIN_HTTPD.txt (6,075 bytes) 2022-05-22 19:00
https://mantis.smedley.id.au/file_download.php?file_id=737&type=bug
DLA_CHILD_HTTPD.TXT (6,075 bytes) 2022-05-22 19:00
https://mantis.smedley.id.au/file_download.php?file_id=738&type=bug
Screenshot (1489).png (98,774 bytes) 2022-05-23 08:40
https://mantis.smedley.id.au/file_download.php?file_id=739&type=bug
png

apache_error_log_old2 (4,958 bytes) 2022-05-23 10:37
https://mantis.smedley.id.au/file_download.php?file_id=740&type=bug
628b3fd2-00c4_01-HTTPD-exceptq.txt (33,530 bytes) 2022-05-23 10:37
https://mantis.smedley.id.au/file_download.php?file_id=741&type=bug
628b3fd3-00ca_01-HTTPD-exceptq.txt (43,429 bytes) 2022-05-23 10:37
https://mantis.smedley.id.au/file_download.php?file_id=742&type=bug
628b3fd4-00cb_19-HTTPD-exceptq.txt (84,871 bytes) 2022-05-23 10:37
https://mantis.smedley.id.au/file_download.php?file_id=743&type=bug
628b3fd3-021e_05-HTTPD-exceptq.txt (47,662 bytes) 2022-05-23 10:37
https://mantis.smedley.id.au/file_download.php?file_id=744&type=bug
populog_part.txt (23,113 bytes) 2022-05-25 10:31
https://mantis.smedley.id.au/file_download.php?file_id=745&type=bug
02F1_01.TRP (1,734 bytes) 2022-05-25 10:31
https://mantis.smedley.id.au/file_download.php?file_id=746&type=bug
02F2_01.TRP (1,734 bytes) 2022-05-25 10:31
https://mantis.smedley.id.au/file_download.php?file_id=747&type=bug
628de385-02f1_20-HTTPD-exceptq.txt (13,090 bytes) 2022-05-25 10:31
https://mantis.smedley.id.au/file_download.php?file_id=748&type=bug
628de3ba-02f2_01-HTTPD-exceptq.txt (502,044 bytes) 2022-05-25 10:31
https://mantis.smedley.id.au/file_download.php?file_id=749&type=bug
62906c58-0de6_01-HTTPD-exceptq.txt (28,857 bytes) 2022-05-27 13:03
https://mantis.smedley.id.au/file_download.php?file_id=750&type=bug
Notes
(0004336)
Steven Levine   
2022-05-22 03:52   
The reported traps are quite interesting. The exceptq report points us to

ext\mysqlnd\mysqlnd_connection.c:2441
            MYSQLND_INC_CONN_STATISTIC(conn->stats, close_type_to_stat_map[close_type]);

MYSQLND_METHOD(mysqlnd_conn, close). The way I read the code generated by MYSQLND_INC_CONN_STATISTIC, the trap occurs when the code attempts to read the collect_statistics variable, which is stored in the Thread Local Storage provided by emutls. The trap occurs because the pointer to the Thead Local Storage is zero and
this should not occur.

It is not yet clear whether the pointer never got initialized or if it was released too soon. MYSQLND_METHOD(mysqlnd_conn, close) is closing the connectiion, but it's possible that it is closing a connection that never was completely setup.

Another interest feature of these traps is that they are reported for TID 1 which is rather unlikely for a thread running PHP code. PHP code only runs on worker threads. Threads 1 and 2 are management threads. I don't know why it happened, but it appears the trap occurred on some other thread and
got dispatched to thread 1 for processing.
(0004337)
Steven Levine   
2022-05-22 03:58   
Please update your apache httpd installation. According to the exceptq report, you are running a mix of older distributions.

 HTTPD 1eaa0000 000f16e0 05/08/2022 05:03:10 1,220,522 D:\APACHE\BIN\HTTPD.DLL
 AUTHZ_GR 1ea60000 00002a40 06/19/2021 00:59:16 51,391 D:\APACHE\MODULES\AUTHZ_GR.DLL

This may have nothing to do with the traps, but we won't know until you clean up the install. Be sure to install.

  https://smedley.id.au/tmp/httpd-2.4.53-os2-debug-20220511.zip

The httpd.dll you have installed is a retail build and does not have debug symbols. You should never install a retail build while you have open tickets. The exceptq reports will be hard work use.

(0004338)
psmedley   
2022-05-22 10:02   
I don't expect it will help, but https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220522.zip fixes some warnings whilst building mysqlnd
(0004339)
emax   
2022-05-22 16:14   
updated apache to build https://smedley.id.au/tmp/httpd-2.4.53-os2-debug-20220511.zip

i never do 2 updates at the same time, so the update to php will come in the next days
(in case of issues is difficult to undestand which is the cause)

thanks
(0004340)
Steven Levine   
2022-05-22 18:28   
Feel free to take as long as you need to apply the updates. It's only your system that seems to be affected by this trap.

I would like to know what is loaded at 1E0700BA on your current setup since it matches the setup at the time the traps were reported. The exceptq report implies that by the time the report was written the DLL at that address had unloaded. This is why the stack trace is incomplete.

If you don't have a copy of http://www.warpcave.com/os2diags/theseus-how-to.txt, grab one and use the section titled:

  How to describe a linear address

Select the httpd process from the Process hierarchy and follow the directions and upload the saved file. Thanks.
(0004341)
emax   
2022-05-22 19:00   
i've taken the output for main (mother) httpD and one child httpD
(0004342)
Steven Levine   
2022-05-23 02:16   
I now understand how we got to the trapping location. It's essentially a timing race.

sapi\apache2handler\sapi_apache2.c:761
static void php_apache_child_init(apr_pool_t *pchild, server_rec *s)

registers

sapi\apache2handler\sapi_apache2.c:419
static apr_status_t php_apache_child_shutdown(void *tmp)

as the pool cleanup function. When pool is destroy, the pool cleanup function eventually calls
php_mysqli_dtor which eventually calls

ext\mysqlnd\mysqlnd_connection.c:2425
MYSQLND_METHOD(mysqlnd_conn, close)(MYSQLND * conn_handle, const enum_connection_close_type close_type)

which traps because the shutdown occurred before mysqli was fully initialized.

Once Massimo gets everything updated to current levels, if the issue persists, we can implement a patch to avoid the trap.
(0004343)
emax   
2022-05-23 08:40   
hi, i've an issue
this morting at 6 am (scheduled reboot) apache had issues to start and the VM hanged in the system is rebooting
what should i do?

do you suggest me to install the latest php build or to wait and see why this happen?
(0004344)
emax   
2022-05-23 10:37   
sorry, i forgot logs etc.
but this seems to me a complete different issue than the one of mysqli
(0004345)
Steven Levine   
2022-05-23 15:58   
The exceptq reports imply that it is the same core issue. Php is attempting an early shutdown in response to some error it detected and not all the data php uses is fully initialized.

Perhaps I was not clear. I will not be attempting to implement fixes for any of your reported issues until you have found the time to update everything involved to current versions. I will review the reports to keep up with what's happened.

BTW, if you have made any changes to your httpd .conf files or your php .ini files, I need fresh reference copies.

Another BTW, you have your VM configured as:

 Physical Memory: 3071 mb
 Virt Addr Limit: 1536 mb

You are basically wasting 1.5GB of memory that the host system could find better uses for.
(0004346)
emax   
2022-05-23 20:15   
php upgraded to build https://smedley.id.au/tmp/httpd-2.4.53-os2-debug-20220511.zip
(0004347)
emax   
2022-05-25 06:32   
after this upgrade:

https://smedley.id.au/tmp/httpd-2.4.53-os2-debug-20220511.zip

i've serious issues, about once per day expecially at night (when i should sleep) i found the VM in state "guru meditation"
or completely freezed like some minutes ago

normally when the "guru meditation" state happens in VBOX is the vm using too much memory
i'm concerned and confused
please let me know what you need
(0004348)
emax   
2022-05-25 07:45   
from apache error log i'm seeing again some of these, also on startup:

[Wed May 25 08:25:30.369000 2022] [mpm_mpmt_os2:notice] [pid 66:tid 1] AH00206: Apache/2.4.53 (OS/2) OpenSSL/1.1.1o PHP/7.4.28 configured -- resuming normal operations

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory
wsistem/wp-login.php' not found or unable to stat, referer: http://newsistem.it/wp-login.php
[Wed May 25 08:28:45.273000 2022] [negotiation:error] [pid 67:tid 31] [client 113.78.66.156:1214] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated)., referer: http://sitepitalia.it/
[Wed May 25 08:29:59.023000 2022] [php7:error] [pid 69:tid 8] [client 165.227.129.197:60376] script 'D:/apache/htdocs/max/raffaellopiotto/wp-login.php' not found or unable to stat, referer: http://raffaellopiotto.it/wp-login.php
[Wed May 25 08:32:25.312000 2022] [php7:error] [pid 71:tid 30] [client 158.69.192.143:41384] script 'D:/apache/htdocs/max/mareemonti/wp-login.php' not found or unable to stat, referer: http://mareemonti.it/wp-login.php

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory
[Wed May 25 08:36:46.832000 2022] [negotiation:error] [pid 68:tid 3] [client 49.146.46.148:49464] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated)., referer: https://www.google.com/
[Wed May 25 08:40:31.158000 2022] [php7:error] [pid 226:tid 15] [client 82.223.216.165:36538] script 'D:/apache/htdocs/max/ilvialedivaleria/wp-login.php' not found or unable to stat, referer: http://ilvialedivaleria.it/wp-login.php
(0004349)
emax   
2022-05-25 10:10   
from apache error log i'm seeing again some of these, also on startup:

[Wed May 25 08:25:30.369000 2022] [mpm_mpmt_os2:notice] [pid 66:tid 1] AH00206: Apache/2.4.53 (OS/2) OpenSSL/1.1.1o PHP/7.4.28 configured -- resuming normal operations

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory
wsistem/wp-login.php' not found or unable to stat, referer: http://newsistem.it/wp-login.php
[Wed May 25 08:28:45.273000 2022] [negotiation:error] [pid 67:tid 31] [client 113.78.66.156:1214] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated)., referer: http://sitepitalia.it/
[Wed May 25 08:29:59.023000 2022] [php7:error] [pid 69:tid 8] [client 165.227.129.197:60376] script 'D:/apache/htdocs/max/raffaellopiotto/wp-login.php' not found or unable to stat, referer: http://raffaellopiotto.it/wp-login.php
[Wed May 25 08:32:25.312000 2022] [php7:error] [pid 71:tid 30] [client 158.69.192.143:41384] script 'D:/apache/htdocs/max/mareemonti/wp-login.php' not found or unable to stat, referer: http://mareemonti.it/wp-login.php

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory

mmap() failed: [12] Not enough memory
[Wed May 25 08:36:46.832000 2022] [negotiation:error] [pid 68:tid 3] [client 49.146.46.148:49464] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated)., referer: https://www.google.com/
[Wed May 25 08:40:31.158000 2022] [php7:error] [pid 226:tid 15] [client 82.223.216.165:36538] script 'D:/apache/htdocs/max/ilvialedivaleria/wp-login.php' not found or unable to stat, referer: http://ilvialedivaleria.it/wp-login.php
(0004350)
emax   
2022-05-25 10:31   
apache become unresponsive about around 8:20 AM
but i guess the issue started at 8:06

i will not upload apache error log since it's (incredible for me) only full of point chars, eg.:

................ .........
............................................................................................................................... .........


02f1 and 02f2 are the 2 eQ dumps in apache dir

in var-log-app i've 59 eQ dumps from 8:06
i'm going to upload only first and last, let me know if you need other

thanks
(0004351)
Steven Levine   
2022-05-26 00:26   
I have no idea how I managed to make my note comment go into the bit bucket rather than the ticket, but it did. Repeating myself...

The system definitely found a way to run out of available address space.

The tickets don't provide a lot of hints how the system got to this state.

It would have been good if you remembered to capture a Private Object Summary and
Shared Object summary for the process that reported the mmap failures.

A Linear Memory Map might also have provided some useful clues (System ->
General System -> Linear usage by process).

When you get all the httpd and php binaries updated to current version, we
can resume working on your httpd and php tickets.
(0004354)
emax   
2022-05-26 07:45   
Steven, i'm running:

this https://smedley.id.au/tmp/httpd-2.4.53-os2-debug-20220511.zip
and
this php-7.4.28-os2-debug-20220522.zip

i guess it's all updated, am i right?
(this 2 latest build have, sorry, but no good performances)
(0004355)
Steven Levine   
2022-05-26 16:01   
When you ask "i guess it's all updated, am i right?" did it not not occur to you to actually check what you are running and look at the timestamps of the binaries. The information you need to check this in in every exceptq report and many other places.

Review the

  DLLs accessible from this process

For php, your binaries should all be timestamped 2022-05-22. For httpd, your binaries should all be timestamped 2022-05-10 or newer.

I've mentioned this before, but since you seem to have forgotten, you need to adjust your procedure for installing binaries. Something you are doing is changing the hour, minutes and seconds in unexpected ways. It's more than a timezone shift which we all know how to recognize.
(0004356)
emax   
2022-05-26 16:05   
ok for the check
but, sorry, it's not easier to say apache: build and php build?
(0004357)
emax   
2022-05-26 16:26   
i repeat when there is a new build i allways update my installation
as you know *i don't* make 2 upgrades at a time, since if a problem occurs it's difficult to understand
what cause the issue or not

i've first upgraded to latest debug apache: https://smedley.id.au/tmp/httpd-2.4.53-os2-debug-20220511.zip
after just one day to the latest debug php: https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220522.zip

the content of apache-modules is this, so yes, we can keep on, please
(the older DLLs are not present in the latest debug build, so this is out of my control)

11/05/22 6:56 49.775 124 a--- accespat.dll
19/06/21 0:59 50.146 124 a--- access_c.dll
11/05/22 6:57 47.304 124 a--- actions.dll
11/05/22 6:57 53.932 124 a--- alias.dll
11/05/22 6:56 45.567 124 a--- allowods.dll
11/05/22 6:56 45.370 124 a--- asis.dll
11/05/22 6:56 52.594 124 a--- authnche.dll
11/05/22 6:56 51.278 124 a--- authndbd.dll
11/05/22 6:56 39.550 124 a--- authndbm.dll
11/05/22 6:56 47.025 124 a--- authnile.dll
11/05/22 6:56 42.053 124 a--- authnnon.dll
11/05/22 6:56 50.262 124 a--- authnore.dll
19/06/21 0:59 50.701 124 a--- authn_co.dll
19/06/21 0:59 47.386 124 a--- authn_fi.dll
11/05/22 6:56 53.858 124 a--- authzdbd.dll
11/05/22 6:56 45.706 124 a--- authzdbm.dll
11/05/22 6:56 50.796 124 a--- authzile.dll
11/05/22 6:56 46.892 124 a--- authzner.dll
11/05/22 6:56 66.070 124 a--- authzore.dll
11/05/22 6:56 51.489 124 a--- authzost.dll
11/05/22 6:56 46.257 124 a--- authzser.dll
19/06/21 0:59 66.909 124 a--- authz_co.dll
19/06/21 0:59 51.391 124 a--- authz_gr.dll
19/06/21 0:59 52.232 124 a--- authz_ho.dll
19/06/21 0:59 46.480 124 a--- authz_us.dll
19/06/21 0:59 55.768 124 a--- auth_bas.dll
11/05/22 6:56 82.776 124 a--- auth_est.dll
11/05/22 6:56 70.050 124 a--- auth_orm.dll
11/05/22 6:56 50.577 124 a--- auth_sic.dll
11/05/22 6:56 90.371 124 a--- autoidex.dll
19/06/21 1:00 93.231 124 a--- autoinde.dll
11/05/22 6:56 49.469 124 a--- buffer.dll
22/05/22 13:00 126.885 124 a--- bz2.dll
11/05/22 6:56 159.861 124 a--- cache.dll
11/05/22 6:56 86.377 124 a--- cacheche.dll
11/05/22 6:56 84.013 124 a--- cacheisk.dll
11/05/22 6:56 66.830 124 a--- cgi.dll
11/05/22 6:56 66.920 124 a--- charsite.dll
22/05/22 13:00 3.588.412 124 a--- curl.dll
11/05/22 6:56 47.319 124 a--- data.dll
11/05/22 6:56 276.922 124 a--- dav.dll
11/05/22 6:56 145.655 124 a--- dav_fs.dll
11/05/22 6:56 71.679 124 a--- dav_lock.dll
11/05/22 6:56 62.713 124 a--- dbd.dll
11/05/22 6:56 133.210 124 a--- deflate.dll
11/05/22 6:56 48.762 124 a--- dialup.dll
11/05/22 6:57 50.398 124 a--- dir.dll
26/05/22 18:17 2.835 0 a--- dll.txt
11/05/22 6:56 48.699 124 a--- dumpio.dll
11/05/22 6:56 44.372 124 a--- echo.dll
11/05/22 6:56 46.585 124 a--- env.dll
22/05/22 13:00 131.837 124 a--- exif.dll
11/05/22 6:56 51.589 124 a--- expires.dll
11/05/22 6:56 64.456 124 a--- ext_fter.dll
11/05/22 6:56 61.473 124 a--- filter.dll
22/05/22 13:00 3.361.747 124 a--- gd.dll
22/05/22 13:00 76.988 124 a--- gettext.dll
11/05/22 6:56 63.911 124 a--- headers.dll
11/05/22 6:56 44.050 124 a--- hearteat.dll
11/05/22 6:56 67.867 124 a--- hearttor.dll
22/05/22 13:01 1.327.848 124 a--- iconv.dll
11/05/22 6:56 116.371 124 a--- include.dll
11/05/22 6:56 62.834 124 a--- info.dll
22/05/22 13:01 5.081.251 124 a--- intl.dll
11/05/22 6:56 60.511 124 a--- lbmeteat.dll
11/05/22 6:56 50.384 124 a--- lbmetess.dll
11/05/22 6:56 51.705 124 a--- lbmetfic.dll
11/05/22 6:56 50.300 124 a--- lbmetsts.dll
11/05/22 6:56 49.218 124 a--- logio.dll
11/05/22 6:56 83.147 124 a--- log_cfig.dll
19/06/21 1:00 85.249 124 a--- log_conf.dll
11/05/22 6:56 47.559 124 a--- log_dbug.dll
19/06/21 1:00 50.616 124 a--- log_fore.dll
11/05/22 6:56 50.057 124 a--- log_fsic.dll
11/05/22 6:56 54.505 124 a--- macro.dll
22/05/22 13:01 1.614.368 124 a--- mbstring.dll
11/05/22 6:56 4.083.736 124 a--- md.dll
11/05/22 6:56 61.963 124 a--- mime.dll
11/05/22 6:56 68.701 124 a--- mime_gic.dll
19/06/21 1:00 74.849 124 a--- mime_mag.dll
22/05/22 13:01 102.499 124 a--- modphp7.dll
22/05/22 13:01 16.990 124 a--- modphp7.map
22/05/22 13:01 3.118 124 a--- modphp7.xqs
22/05/22 13:01 372.415 124 a--- mysqli.dll
19/06/21 1:00 88.561 124 a--- negotiat.dll
11/05/22 6:57 89.612 124 a--- negotion.dll
22/05/22 13:01 608.159 124 a--- odbc.dll
22/05/22 13:01 1.220.490 124 a--- opcache.dll
22/05/22 13:00 3.114.988 124 a--- openssl.dll
22/05/22 13:01 148.144 124 a--- pdo_mysq.dll
22/05/22 13:01 3.081.794 124 a--- pdo_pgsq.dll
22/05/22 13:01 1.072.768 124 a--- pdo_sqli.dll
22/05/22 13:01 3.199.204 124 a--- pgsql.dll
11/05/22 6:56 286.446 124 a--- proxy.dll
11/05/22 6:56 141.966 124 a--- proxyajp.dll
11/05/22 6:56 117.667 124 a--- proxycer.dll
11/05/22 6:56 60.383 124 a--- proxycgi.dll
11/05/22 6:56 83.905 124 a--- proxyeck.dll
11/05/22 6:56 60.808 124 a--- proxyect.dll
11/05/22 6:56 49.549 124 a--- proxyess.dll
11/05/22 6:56 93.232 124 a--- proxyftp.dll
11/05/22 6:56 67.423 124 a--- proxynel.dll
11/05/22 6:56 56.588 124 a--- proxysgi.dll
11/05/22 6:56 83.562 124 a--- proxyttp.dll
11/05/22 6:56 44.414 124 a--- ratelmit.dll
22/05/22 13:01 341.277 124 a--- readline.dll
11/05/22 6:56 48.650 124 a--- refletor.dll
11/05/22 6:56 69.383 124 a--- remoteip.dll
19/06/21 0:59 58.711 124 a--- reqtimeo.dll
11/05/22 6:56 57.869 124 a--- reqtiout.dll
11/05/22 6:56 51.852 124 a--- request.dll
11/05/22 6:57 146.102 124 a--- rewrite.dll
11/05/22 6:56 102.563 124 a--- sed.dll
11/05/22 6:56 53.192 124 a--- sessidbd.dll
11/05/22 6:56 48.441 124 a--- sessikie.dll
11/05/22 6:56 63.765 124 a--- session.dll
11/05/22 6:56 53.100 124 a--- setenvif.dll
11/05/22 6:56 42.342 124 a--- slotmain.dll
11/05/22 6:56 54.916 124 a--- slotmshm.dll
11/05/22 6:56 56.738 124 a--- socacche.dll
11/05/22 6:56 49.759 124 a--- socacdbm.dll
11/05/22 6:56 58.133 124 a--- socacdis.dll
11/05/22 6:56 65.246 124 a--- socacmcb.dll
11/05/22 6:57 52.136 124 a--- speling.dll
11/05/22 6:56 3.332.664 124 a--- ssl.dll
11/05/22 6:56 63.940 124 a--- status.dll
11/05/22 6:56 54.417 124 a--- substute.dll
22/05/22 13:01 424.160 124 a--- tidy.dll
11/05/22 6:56 44.975 124 a--- uniqu_id.dll
11/05/22 6:57 48.836 124 a--- userdir.dll
11/05/22 6:56 53.120 124 a--- usertack.dll
19/06/21 1:00 53.727 124 a--- usertrac.dll
11/05/22 6:56 42.667 124 a--- version.dll
11/05/22 6:57 47.128 124 a--- vhostias.dll
19/06/21 1:00 52.045 124 a--- vhost_al.dll
11/05/22 6:56 61.160 124 a--- watchdog.dll
22/05/22 13:01 305.961 124 a--- xmlrpc.dll
22/05/22 13:01 2.587.207 124 a--- xsl.dll
22/05/22 13:01 2.620.182 124 a--- zip.dll

11/05/22 6:56 49.775 124 a--- accespat.dll
19/06/21 0:59 50.146 124 a--- access_c.dll
11/05/22 6:57 47.304 124 a--- actions.dll
11/05/22 6:57 53.932 124 a--- alias.dll
11/05/22 6:56 45.567 124 a--- allowods.dll
11/05/22 6:56 45.370 124 a--- asis.dll
11/05/22 6:56 52.594 124 a--- authnche.dll
11/05/22 6:56 51.278 124 a--- authndbd.dll
11/05/22 6:56 39.550 124 a--- authndbm.dll
11/05/22 6:56 47.025 124 a--- authnile.dll
11/05/22 6:56 42.053 124 a--- authnnon.dll
11/05/22 6:56 50.262 124 a--- authnore.dll
19/06/21 0:59 50.701 124 a--- authn_co.dll
19/06/21 0:59 47.386 124 a--- authn_fi.dll
11/05/22 6:56 53.858 124 a--- authzdbd.dll
11/05/22 6:56 45.706 124 a--- authzdbm.dll
11/05/22 6:56 50.796 124 a--- authzile.dll
11/05/22 6:56 46.892 124 a--- authzner.dll
11/05/22 6:56 66.070 124 a--- authzore.dll
11/05/22 6:56 51.489 124 a--- authzost.dll
11/05/22 6:56 46.257 124 a--- authzser.dll
19/06/21 0:59 66.909 124 a--- authz_co.dll
19/06/21 0:59 51.391 124 a--- authz_gr.dll
19/06/21 0:59 52.232 124 a--- authz_ho.dll
19/06/21 0:59 46.480 124 a--- authz_us.dll
19/06/21 0:59 55.768 124 a--- auth_bas.dll
11/05/22 6:56 82.776 124 a--- auth_est.dll
11/05/22 6:56 70.050 124 a--- auth_orm.dll
11/05/22 6:56 50.577 124 a--- auth_sic.dll
11/05/22 6:56 90.371 124 a--- autoidex.dll
19/06/21 1:00 93.231 124 a--- autoinde.dll
11/05/22 6:56 49.469 124 a--- buffer.dll
22/05/22 13:00 126.885 124 a--- bz2.dll
11/05/22 6:56 159.861 124 a--- cache.dll
11/05/22 6:56 86.377 124 a--- cacheche.dll
11/05/22 6:56 84.013 124 a--- cacheisk.dll
11/05/22 6:56 66.830 124 a--- cgi.dll
11/05/22 6:56 66.920 124 a--- charsite.dll
22/05/22 13:00 3.588.412 124 a--- curl.dll
11/05/22 6:56 47.319 124 a--- data.dll
11/05/22 6:56 276.922 124 a--- dav.dll
11/05/22 6:56 145.655 124 a--- dav_fs.dll
11/05/22 6:56 71.679 124 a--- dav_lock.dll
11/05/22 6:56 62.713 124 a--- dbd.dll
11/05/22 6:56 133.210 124 a--- deflate.dll
11/05/22 6:56 48.762 124 a--- dialup.dll
11/05/22 6:57 50.398 124 a--- dir.dll
26/05/22 18:17 2.835 0 a--- dll.txt
11/05/22 6:56 48.699 124 a--- dumpio.dll
11/05/22 6:56 44.372 124 a--- echo.dll
11/05/22 6:56 46.585 124 a--- env.dll
22/05/22 13:00 131.837 124 a--- exif.dll
11/05/22 6:56 51.589 124 a--- expires.dll
11/05/22 6:56 64.456 124 a--- ext_fter.dll
11/05/22 6:56 61.473 124 a--- filter.dll
22/05/22 13:00 3.361.747 124 a--- gd.dll
22/05/22 13:00 76.988 124 a--- gettext.dll
11/05/22 6:56 63.911 124 a--- headers.dll
11/05/22 6:56 44.050 124 a--- hearteat.dll
11/05/22 6:56 67.867 124 a--- hearttor.dll
22/05/22 13:01 1.327.848 124 a--- iconv.dll
11/05/22 6:56 116.371 124 a--- include.dll
11/05/22 6:56 62.834 124 a--- info.dll
22/05/22 13:01 5.081.251 124 a--- intl.dll
11/05/22 6:56 60.511 124 a--- lbmeteat.dll
11/05/22 6:56 50.384 124 a--- lbmetess.dll
11/05/22 6:56 51.705 124 a--- lbmetfic.dll
11/05/22 6:56 50.300 124 a--- lbmetsts.dll
11/05/22 6:56 49.218 124 a--- logio.dll
11/05/22 6:56 83.147 124 a--- log_cfig.dll
19/06/21 1:00 85.249 124 a--- log_conf.dll
11/05/22 6:56 47.559 124 a--- log_dbug.dll
19/06/21 1:00 50.616 124 a--- log_fore.dll
11/05/22 6:56 50.057 124 a--- log_fsic.dll
11/05/22 6:56 54.505 124 a--- macro.dll
22/05/22 13:01 1.614.368 124 a--- mbstring.dll
11/05/22 6:56 4.083.736 124 a--- md.dll
11/05/22 6:56 61.963 124 a--- mime.dll
11/05/22 6:56 68.701 124 a--- mime_gic.dll
19/06/21 1:00 74.849 124 a--- mime_mag.dll
22/05/22 13:01 102.499 124 a--- modphp7.dll
22/05/22 13:01 16.990 124 a--- modphp7.map
22/05/22 13:01 3.118 124 a--- modphp7.xqs
22/05/22 13:01 372.415 124 a--- mysqli.dll
19/06/21 1:00 88.561 124 a--- negotiat.dll
11/05/22 6:57 89.612 124 a--- negotion.dll
22/05/22 13:01 608.159 124 a--- odbc.dll
22/05/22 13:01 1.220.490 124 a--- opcache.dll
22/05/22 13:00 3.114.988 124 a--- openssl.dll
22/05/22 13:01 148.144 124 a--- pdo_mysq.dll
22/05/22 13:01 3.081.794 124 a--- pdo_pgsq.dll
22/05/22 13:01 1.072.768 124 a--- pdo_sqli.dll
22/05/22 13:01 3.199.204 124 a--- pgsql.dll
11/05/22 6:56 286.446 124 a--- proxy.dll
11/05/22 6:56 141.966 124 a--- proxyajp.dll
11/05/22 6:56 117.667 124 a--- proxycer.dll
11/05/22 6:56 60.383 124 a--- proxycgi.dll
11/05/22 6:56 83.905 124 a--- proxyeck.dll
11/05/22 6:56 60.808 124 a--- proxyect.dll
11/05/22 6:56 49.549 124 a--- proxyess.dll
11/05/22 6:56 93.232 124 a--- proxyftp.dll
11/05/22 6:56 67.423 124 a--- proxynel.dll
11/05/22 6:56 56.588 124 a--- proxysgi.dll
11/05/22 6:56 83.562 124 a--- proxyttp.dll
11/05/22 6:56 44.414 124 a--- ratelmit.dll
22/05/22 13:01 341.277 124 a--- readline.dll
11/05/22 6:56 48.650 124 a--- refletor.dll
11/05/22 6:56 69.383 124 a--- remoteip.dll
19/06/21 0:59 58.711 124 a--- reqtimeo.dll
11/05/22 6:56 57.869 124 a--- reqtiout.dll
11/05/22 6:56 51.852 124 a--- request.dll
11/05/22 6:57 146.102 124 a--- rewrite.dll
11/05/22 6:56 102.563 124 a--- sed.dll
11/05/22 6:56 53.192 124 a--- sessidbd.dll
11/05/22 6:56 48.441 124 a--- sessikie.dll
11/05/22 6:56 63.765 124 a--- session.dll
11/05/22 6:56 53.100 124 a--- setenvif.dll
11/05/22 6:56 42.342 124 a--- slotmain.dll
11/05/22 6:56 54.916 124 a--- slotmshm.dll
11/05/22 6:56 56.738 124 a--- socacche.dll
11/05/22 6:56 49.759 124 a--- socacdbm.dll
11/05/22 6:56 58.133 124 a--- socacdis.dll
11/05/22 6:56 65.246 124 a--- socacmcb.dll
11/05/22 6:57 52.136 124 a--- speling.dll
11/05/22 6:56 3.332.664 124 a--- ssl.dll
11/05/22 6:56 63.940 124 a--- status.dll
11/05/22 6:56 54.417 124 a--- substute.dll
22/05/22 13:01 424.160 124 a--- tidy.dll
11/05/22 6:56 44.975 124 a--- uniqu_id.dll
11/05/22 6:57 48.836 124 a--- userdir.dll
11/05/22 6:56 53.120 124 a--- usertack.dll
19/06/21 1:00 53.727 124 a--- usertrac.dll
11/05/22 6:56 42.667 124 a--- version.dll
11/05/22 6:57 47.128 124 a--- vhostias.dll
19/06/21 1:00 52.045 124 a--- vhost_al.dll
11/05/22 6:56 61.160 124 a--- watchdog.dll
22/05/22 13:01 305.961 124 a--- xmlrpc.dll
22/05/22 13:01 2.587.207 124 a--- xsl.dll
22/05/22 13:01 2.620.182 124 a--- zip.dll
(0004358)
David McKenna   
2022-05-26 17:47   
Hi Massimo,

 About a year ago (19/06/21 to be exact), Paul had to change the names of some of the dll's to avoid name clashes. So all of the dll's dated 19/06/21 are obsolete. But apparently, your httpd.conf file is still pointing at some of those files (based on your exceptq files), so you need to go thru httpd.conf and make sure all of your modules have the correct current dll name.

 For example, vhost_al.dll is now vhostias.dll; usertrac.dll is now usertack.dll; reqtimeo.dll is now reqtiout.dll etc.

Regards,
(0004359)
emax   
2022-05-26 21:17   
OMG

thanks a lot David, i recall now
i renamed manually the modules with the old filenames from apache 2.2.x
so now i was keeping a lot of obsolete modules
it has been like a surgical operation, but now all names in httpd.conf and DLLs files fixed

11/05/22 6:56 49.775 124 a--- accespat.dll
11/05/22 6:57 47.304 124 a--- actions.dll
11/05/22 6:57 53.932 124 a--- alias.dll
11/05/22 6:56 45.567 124 a--- allowods.dll
11/05/22 6:56 45.370 124 a--- asis.dll
11/05/22 6:56 52.594 124 a--- authnche.dll
11/05/22 6:56 51.278 124 a--- authndbd.dll
11/05/22 6:56 39.550 124 a--- authndbm.dll
11/05/22 6:56 47.025 124 a--- authnile.dll
11/05/22 6:56 42.053 124 a--- authnnon.dll
11/05/22 6:56 50.262 124 a--- authnore.dll
11/05/22 6:56 53.858 124 a--- authzdbd.dll
11/05/22 6:56 45.706 124 a--- authzdbm.dll
11/05/22 6:56 50.796 124 a--- authzile.dll
11/05/22 6:56 46.892 124 a--- authzner.dll
11/05/22 6:56 66.070 124 a--- authzore.dll
11/05/22 6:56 51.489 124 a--- authzost.dll
11/05/22 6:56 46.257 124 a--- authzser.dll
11/05/22 6:56 82.776 124 a--- auth_est.dll
11/05/22 6:56 70.050 124 a--- auth_orm.dll
11/05/22 6:56 50.577 124 a--- auth_sic.dll
11/05/22 6:56 90.371 124 a--- autoidex.dll
11/05/22 6:56 49.469 124 a--- buffer.dll
22/05/22 13:00 126.885 124 a--- bz2.dll
11/05/22 6:56 159.861 124 a--- cache.dll
11/05/22 6:56 86.377 124 a--- cacheche.dll
11/05/22 6:56 84.013 124 a--- cacheisk.dll
11/05/22 6:56 66.830 124 a--- cgi.dll
11/05/22 6:56 66.920 124 a--- charsite.dll
22/05/22 13:00 3.588.412 124 a--- curl.dll
11/05/22 6:56 47.319 124 a--- data.dll
11/05/22 6:56 276.922 124 a--- dav.dll
11/05/22 6:56 145.655 124 a--- dav_fs.dll
11/05/22 6:56 71.679 124 a--- dav_lock.dll
11/05/22 6:56 62.713 124 a--- dbd.dll
11/05/22 6:56 133.210 124 a--- deflate.dll
11/05/22 6:56 48.762 124 a--- dialup.dll
11/05/22 6:57 50.398 124 a--- dir.dll
26/05/22 23:13 2.322 0 a--- dir.txt
11/05/22 6:56 48.699 124 a--- dumpio.dll
11/05/22 6:56 44.372 124 a--- echo.dll
11/05/22 6:56 46.585 124 a--- env.dll
22/05/22 13:00 131.837 124 a--- exif.dll
11/05/22 6:56 51.589 124 a--- expires.dll
11/05/22 6:56 64.456 124 a--- ext_fter.dll
11/05/22 6:56 61.473 124 a--- filter.dll
22/05/22 13:00 3.361.747 124 a--- gd.dll
22/05/22 13:00 76.988 124 a--- gettext.dll
11/05/22 6:56 63.911 124 a--- headers.dll
11/05/22 6:56 44.050 124 a--- hearteat.dll
11/05/22 6:56 67.867 124 a--- hearttor.dll
22/05/22 13:01 1.327.848 124 a--- iconv.dll
11/05/22 6:56 116.371 124 a--- include.dll
11/05/22 6:56 62.834 124 a--- info.dll
22/05/22 13:01 5.081.251 124 a--- intl.dll
11/05/22 6:56 60.511 124 a--- lbmeteat.dll
11/05/22 6:56 50.384 124 a--- lbmetess.dll
11/05/22 6:56 51.705 124 a--- lbmetfic.dll
11/05/22 6:56 50.300 124 a--- lbmetsts.dll
11/05/22 6:56 49.218 124 a--- logio.dll
11/05/22 6:56 83.147 124 a--- log_cfig.dll
11/05/22 6:56 47.559 124 a--- log_dbug.dll
11/05/22 6:56 50.057 124 a--- log_fsic.dll
11/05/22 6:56 54.505 124 a--- macro.dll
22/05/22 13:01 1.614.368 124 a--- mbstring.dll
11/05/22 6:56 4.083.736 124 a--- md.dll
11/05/22 6:56 61.963 124 a--- mime.dll
11/05/22 6:56 68.701 124 a--- mime_gic.dll
22/05/22 13:01 102.499 124 a--- modphp7.dll
22/05/22 13:01 16.990 124 a--- modphp7.map
22/05/22 13:01 3.118 124 a--- modphp7.xqs
22/05/22 13:01 372.415 124 a--- mysqli.dll
11/05/22 6:57 89.612 124 a--- negotion.dll
22/05/22 13:01 608.159 124 a--- odbc.dll
22/05/22 13:01 1.220.490 124 a--- opcache.dll
22/05/22 13:00 3.114.988 124 a--- openssl.dll
22/05/22 13:01 148.144 124 a--- pdo_mysq.dll
22/05/22 13:01 3.081.794 124 a--- pdo_pgsq.dll
22/05/22 13:01 1.072.768 124 a--- pdo_sqli.dll
22/05/22 13:01 3.199.204 124 a--- pgsql.dll
11/05/22 6:56 286.446 124 a--- proxy.dll
11/05/22 6:56 141.966 124 a--- proxyajp.dll
11/05/22 6:56 117.667 124 a--- proxycer.dll
11/05/22 6:56 60.383 124 a--- proxycgi.dll
11/05/22 6:56 83.905 124 a--- proxyeck.dll
11/05/22 6:56 60.808 124 a--- proxyect.dll
11/05/22 6:56 49.549 124 a--- proxyess.dll
11/05/22 6:56 93.232 124 a--- proxyftp.dll
11/05/22 6:56 67.423 124 a--- proxynel.dll
11/05/22 6:56 56.588 124 a--- proxysgi.dll
11/05/22 6:56 83.562 124 a--- proxyttp.dll
11/05/22 6:56 44.414 124 a--- ratelmit.dll
22/05/22 13:01 341.277 124 a--- readline.dll
11/05/22 6:56 48.650 124 a--- refletor.dll
11/05/22 6:56 69.383 124 a--- remoteip.dll
11/05/22 6:56 57.869 124 a--- reqtiout.dll
11/05/22 6:56 51.852 124 a--- request.dll
11/05/22 6:57 146.102 124 a--- rewrite.dll
11/05/22 6:56 102.563 124 a--- sed.dll
11/05/22 6:56 53.192 124 a--- sessidbd.dll
11/05/22 6:56 48.441 124 a--- sessikie.dll
11/05/22 6:56 63.765 124 a--- session.dll
11/05/22 6:56 53.100 124 a--- setenvif.dll
11/05/22 6:56 42.342 124 a--- slotmain.dll
11/05/22 6:56 54.916 124 a--- slotmshm.dll
11/05/22 6:56 56.738 124 a--- socacche.dll
11/05/22 6:56 49.759 124 a--- socacdbm.dll
11/05/22 6:56 58.133 124 a--- socacdis.dll
11/05/22 6:56 65.246 124 a--- socacmcb.dll
11/05/22 6:57 52.136 124 a--- speling.dll
11/05/22 6:56 3.332.664 124 a--- ssl.dll
11/05/22 6:56 63.940 124 a--- status.dll
11/05/22 6:56 54.417 124 a--- substute.dll
22/05/22 13:01 424.160 124 a--- tidy.dll
11/05/22 6:56 44.975 124 a--- uniqu_id.dll
11/05/22 6:57 48.836 124 a--- userdir.dll
11/05/22 6:56 53.120 124 a--- usertack.dll
11/05/22 6:56 42.667 124 a--- version.dll
11/05/22 6:57 47.128 124 a--- vhostias.dll
11/05/22 6:56 61.160 124 a--- watchdog.dll
22/05/22 13:01 305.961 124 a--- xmlrpc.dll
22/05/22 13:01 2.587.207 124 a--- xsl.dll
22/05/22 13:01 2.620.182 124 a--- zip.dll
(0004360)
David McKenna   
2022-05-27 00:08   
Looks good... hope the patient is cured :)

Regards,
(0004361)
Steven Levine   
2022-05-27 01:10   
We will know more once the next exceptq report is captured.

FWIW, I did not see any obvious evidence that mixing httpd releases was the source of any of Massimo's current issues, but one never knows. We have had cases in that where this kind of mixing was the cause of the reported issue and the issue was resolved by upgrading the old build that he was not aware he was still running.
(0004362)
emax   
2022-05-27 13:03   
i've an update, the situation seems further improved and this is very good
only 1 eQ dump
part of apache error log here:

[Fri May 27 04:40:13.436000 2022] [negotiation:error] [pid 2759:tid 24] [client 141.8.142.65:34322] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Fri May 27 04:42:02.518000 2022] [core:error] [pid 2728:tid 7] [client 42.236.10.79:45873] AH00082: an unknown filter was not added: includes
[Fri May 27 04:46:07.562000 2022] [core:error] [pid 2744:tid 24] [client 5.188.62.76:51334] AH00082: an unknown filter was not added: includes
[Fri May 27 04:46:26.435000 2022] [php7:error] [pid 2744:tid 25] [client 5.188.62.76:60394] script 'D:/apache/htdocs/max/ecodicom/login.php' not found or unable to stat, referer: https://www.ecodicom.net/
[Fri May 27 04:46:33.871000 2022] [core:error] [pid 2744:tid 32] [client 5.188.62.76:54322] AH00082: an unknown filter was not added: includes
[Fri May 27 04:51:37.006000 2022] [mpm_mpmt_os2:notice] [pid 3027:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Fri May 27 04:57:12.061000 2022] [mpm_mpmt_os2:notice] [pid 3026:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Fri May 27 04:57:28.347000 2022] [mpm_mpmt_os2:notice] [pid 3027:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Fri May 27 05:00:00.770000 2022] [php7:error] [pid 3030:tid 23] [client 184.168.100.18:46086] script 'D:/apache/htdocs/max/campodelvescovo/wikindex.php' not found or unable to stat
[Fri May 27 05:00:00.818000 2022] [php7:error] [pid 3029:tid 27] [client 184.168.100.18:46088] script 'D:/apache/htdocs/max/campodelvescovo/admin.php' not found or unable to stat
[Fri May 27 05:00:00.863000 2022] [php7:error] [pid 3026:tid 29] [client 184.168.100.18:46084] script 'D:/apache/htdocs/max/campodelvescovo/2index.php' not found or unable to stat
[Fri May 27 05:08:50.152000 2022] [negotiation:error] [pid 3215:tid 3] [client 141.8.142.65:38000] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Fri May 27 05:11:28.895000 2022] [negotiation:error] [pid 3246:tid 4] [client 185.191.171.22:7824] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Fri May 27 05:13:12.486000 2022] [mpm_mpmt_os2:notice] [pid 3231:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Fri May 27 05:22:43.836000 2022] [mpm_mpmt_os2:notice] [pid 3215:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Fri May 27 05:24:47.049000 2022] [mpm_mpmt_os2:notice] [pid 3215:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Fri May 27 05:25:36.690000 2022] [negotiation:error] [pid 3215:tid 8] [client 185.191.171.4:34698] AH00690: no acceptable variant: D:/apache/htdocs/max/sollevamentoshop/category
[Fri May 27 05:31:55.628000 2022] [mpm_mpmt_os2:notice] [pid 3247:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept

Killed by SIGSEGV
pid=0x0de6 ppid=0x08d7 tid=0x0001 slot=0x0054 pri=0x0200 mc=0x0001 ps=0x0010
D:\APACHE\BIN\HTTPD.EXE
cs:eip=204f96c0:0000003a ss:esp=1ebcca82:20030000 ebp=007f0053
 ds=0000 es=0000 fs=20030150 gs=0000 efl=00000000
eax=007ff968 ebx=1ffc9d7c ecx=007ff97c edx=007ff9a0 edi=20030000 esi=007fff7c
Creating 0DE6_01.TRP
Moved 0de6_01.TRP to C:\var\log\app\62906c58-0de6_01-HTTPD-exceptq.txt
 to stat
[Fri May 27 05:52:32.747000 2022] [mpm_mpmt_os2:notice] [pid 3557:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Fri May 27 05:59:27.355000 2022] [php7:error] [pid 3560:tid 26] [client 40.77.167.69:22848] script 'D:/apache/htdocs/max/sollevamentoshop/carelo.php' not found or unable to stat
[Fri May 27 06:00:23.220000 2022] [php7:error] [pid 3560:tid 27] [client 157.55.39.74:51968] script 'D:/apache/htdocs/max/sollevamentoshop/carelo.php' not found or unable to stat
[Fri May 27 06:11:31.971000 2022] [negotiation:error] [pid 3560:tid 28] [client 207.46.13.189:56896] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Fri May 27 06:17:37.878000 2022] [mpm_mpmt_os2:notice] [pid 3835:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Fri May 27 06:18:05.918000 2022] [mpm_mpmt_os2:notice] [pid 3839:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Fri May 27 06:18:34.154000 2022] [mpm_mpmt_os2:notice] [pid 3838:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
(0004363)
Steven Levine   
2022-05-27 16:38   
Your os2krnl is a bit stale:

 DOSCALLS 08/12/2017 09:35:27 870,880 C:\OS2KRNL

which corresponds to:

----- Output of: bldlevel.exe C:\os2krnl ---------------------------------------
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature: @#IBM:14.201#@_SMP IBM OS/2 Kernel
Vendor: IBM
Revision: 14.201
File Version: 14.201
Description: _SMP IBM OS/2 Kernel

You should consider updating to 14.202. The fixes may not be relevant to your setup. but as we have found, one never knows until one tests.

Your gcc1.dll is very stale:

 GCC1 1edb0000 00008950 02/01/2015 15:32:03 28,871 C:\USR\LIB\GCC1.DLL

The current pentium4 version is 9.2.0-5:

07-22-20 20:36 65,864 124 gcc1.dll

Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature: @#bww bitwise works GmbH:9.2.0-5.oc00#@##1## 23 Jul 2020 06:26:24 novator::::0::@@GNU GCC Runtime
Vendor: bww bitwise works GmbH
Revision: 9.02.0-5.oc00
Date/Time: 23 Jul 2020 06:26:24
Build Machine: novator
File Version: 9.2
Description: GNU GCC Runtime

83a06ea5da6cf824625c4c81ab8ad7cd *gcc1.dll

You definitely need to update gcc1.dll with ANPM.

While you are at it, based on the somewhat stale testlog I have, you probably should update ANPM too.

Finally, please install the current version of testlog.exe and run a fresh testlog generic and upload a copy to the ticket.

re62906c58-0de6_01-HTTPD-exceptq.txt reports that exception occurred at:

 Trap -> 1DA80700 PHP7 0001:00930700 mysqlnd_connection.c#2441 _mysqlnd_mysqlnd_conn_data_list_method_pub + 1506 0001:0092F1FA (U:\dev\php-7-os2\ext\mysqlnd\mysqlnd_connection.c)

You should recognize this as yet another occurrence of the trap that generated this ticket.

Now that your system is sufficiently updated for the moment, we can conclude that the stale DLLs were
not the only cause for the failed connections that triggered the trap. We will get back to work on releasing a fix. The fix will avoid the trap. However, since the connection died early, the user's request will fail.

I recommend you try to understand from the logs where the connections are originating from and why the connections are dying early. It should go without saying that if the the requesting user is a valid user, it would be better if the request did not fail.
(0004364)
emax   
2022-05-27 19:11   
yum update gcc1.dll

before:
gcc1.dll 28,871 15-02-01 15:32

after:
gcc1.dll 65,864 20-07-23 5:36

Signature: @#bww bitwise works GmbH:9.2.0-5.oc00#@##1## 23 Jul 2020 06:26:24 novator::::0::@@GNU GCC Runtime
Vendor: bww bitwise works GmbH
Revision: 9.02.0-5.oc00
Date/Time: 23 Jul 2020 06:26:24
Build Machine: novator
File Version: 9.2
Description: GNU GCC Runtime

about testlog i've sent the output in private email

thanks
(0004365)
psmedley   
2022-05-27 23:00   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220528.zip has a possibile fix for this, based on https://github.com/psmedley/php-os2/pull/20
(0004368)
emax   
2022-05-28 08:22   
upgraded to the latest php https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220528.zip
thanks

this night (before the upgrade) i had 2 guru meditation on the VM
let me know if this can be of interest

the 2nd guru meditation about me is quite interesting, i started the VM at about 7:40
and at about 8:35 AM (or maybe 8:31, 8:32) the fault daemon on the other server do a check each 5 minutes
this is apache error log vrom 7:40 to 8:31 (i've no eQ dumps or popuplog.os2 entries in this period of time)

[Sat May 28 07:40:50.118000 2022] [mpm_mpmt_os2:notice] [pid 65:tid 1] AH00206: Apache/2.4.53 (OS/2) OpenSSL/1.1.1o PHP/7.4.28 configured -- resuming normal operations
[Sat May 28 07:42:46.215000 2022] [php7:error] [pid 70:tid 11] [client 143.198.30.100:47994] script 'D:/apache/htdocs/max/malatestalegnami/wp-login.php' not found or unable to stat, referer: http://malatestalegnami.it
[Sat May 28 07:58:19.087000 2022] [negotiation:error] [pid 67:tid 30] [client 104.244.79.234:44269] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated)., referer: https://sitepitalia.it/
zend_mm_heap corrupted
000 2022] [negotiation:error] [pid 69:tid 18] [client 207.46.13.189:57216] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Sat May 28 08:12:49.525000 2022] [negotiation:error] [pid 66:tid 28] [client 156.146.36.79:5891] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Sat May 28 08:12:59.543000 2022] [negotiation:error] [pid 68:tid 28] [client 156.146.36.79:5802] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
zend_mm_heap corrupted
000 2022] [negotiation:error] [pid 66:tid 29] [client 156.146.36.79:5875] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Sat May 28 08:13:07.385000 2022] [negotiation:error] [pid 70:tid 30] [client 156.146.36.79:5885] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Sat May 28 08:26:41.723000 2022] [mpm_mpmt_os2:notice] [pid 448:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Sat May 28 08:26:41.725000 2022] [mpm_mpmt_os2:notice] [pid 446:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Sat May 28 08:26:41.727000 2022] [mpm_mpmt_os2:notice] [pid 449:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Sat May 28 08:29:51.883000 2022] [mpm_mpmt_os2:notice] [pid 447:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Sat May 28 08:29:52.047000 2022] [mpm_mpmt_os2:notice] [pid 446:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Sat May 28 08:29:51.891000 2022] [mpm_mpmt_os2:notice] [pid 448:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Sat May 28 08:29:51.889000 2022] [mpm_mpmt_os2:notice] [pid 450:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Sat May 28 08:31:55.659000 2022] [mpm_mpmt_os2:notice] [pid 449:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Sat May 28 08:31:55.667000 2022] [mpm_mpmt_os2:notice] [pid 448:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Sat May 28 08:31:55.670000 2022] [mpm_mpmt_os2:notice] [pid 450:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Sat May 28 08:31:55.674000 2022] [mpm_mpmt_os2:notice] [pid 447:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
(0004369)
Steven Levine   
2022-05-28 18:00   
I'm not sure I would call the guru meditations interesting, but we should probably try to make them go away. This will require a new ticket. In case you missed it in the logs, the underlying issue is:

  zend_mm_heap corrupted

and this should be mentioned in ticket title. When this kind of heap corruption occurs, php shuts down the current worker process with exit(). This will abort all the active requests on this httpd child process. I'm a bit surprised there is not more in the logs.

What you need to do it try to figure out what httpd/php is doing when this occurs.

One problem to be handled is that the code is not very helpful. There are 15 occurances of the same error message, so it will take some effort to figure out which one we are seeing.

Do you have any idea how busy the failing httpd child process was when it died? Can your logging tell us how many threads it was running?

At this time, I don't think the

  Resource temporarily unavailable

are related. They occurred 10 minutes later.
(0004370)
emax   
2022-05-30 09:59   
I guess guru meditation happens when VM is using "too much memory", i'm now trying to run it with 2,5GB ram instead of 3GB
let's wait some day more, but they seems to be gone

the host has only 16GB ram and runs 3 VM, but soon when i will replace server1, one of these 3 VM will be moved to the other
so there will be sufficient memory for just 2 VMs

in the weekend in apache error log i've see a number of these:

[Mon May 30 06:50:10.945000 2022] [mpm_mpmt_os2:error] [pid 96:tid 1] (OS 105)The previous ownership of this semaphore has ended. : Sem owner died pidSemaphoreOwner = 93, tidSemaphoreOwner = 1, ulRequestCount = 1 rc = 105 at ap_mpm_child_main #0

mmap()failed pid:71 tib:12: [12] Not enough memory (484)


Killed by SIGABRT
pid=0x0463 ppid=0x01fe tid=0x0001 slot=0x0069 pri=0x0200 mc=0x0016 ps=0x0017 D:\APACHE\BIN\HTTPD.EXE
Creating 0463_01.TRP
Moved 0463_01.TRP to C:\var\log\app\62948461-0463_01-HTTPD-exceptq.txt
_fmutex operation failed: LIBC Heap request

are these interesting/useful?


about

"Do you have any idea how busy the failing httpd child process was when it died? Can your logging tell us how many threads it was running?"

sorry, no, the server went down so there are any logs
i could only say that normally near 8,30 there is a bit of load since more or less is when offices open here and all open the websites
i also run an e-commerce
(0004371)
Steven Levine   
2022-05-30 16:08   
(Last edited: 2022-05-30 16:25)
As I stated in https://mantis.smedley.id.au/view.php?id=760#c4369, this issue need a new ticket. It is totally unrelated the subject of this ticket.

Also, you neglected to include the exceptq report. Please attach it to the new ticket.

I recommend you take a closer look at how you have you systems configured. I've mentioned this before. Since forever, as Silvan is wont to say, you have configured the quasarbbs with:

 Physical Memory: 3071 mb
 Virt Addr Limit: 1536 mb

As I explained, this means you only made about 1GB available to your applications. The other 1.5GB is unused by OS/2 applications although it may be used by drivers.
(0004374)
emax   
2022-05-30 21:55   
ok, thanks please give me the right name for the new ticket
(i'm having again the issue as in note https://mantis.smedley.id.au/view.php?id=760#c4343
and this is very serious issue for me, since the setboot /b do not reboot the VM in this situation)
(0004375)
Steven Levine   
2022-05-31 00:35   
Let's go with the description:

  httpd/php reports zend_mm_heap corrupted

This a variant on the failures we worked on for ticket 0000745, but the underlying trigger appears to be a bit different.

Make sure to include the build information for the httpd and php builds and upload the most recent exceptq report and copy the applicable comments from this ticket.

The reason setboot cannot reboot the system is most likely because there is not enough memory availabe for your fault daemon to run setboot. My deadman.exe probably would be able to reboot the system because it uses the DOS.SYS driver to initiate the reboot. However, the current deadman does not know how to detect the

  zend_mm_heap corrupted

message in the httpd error log. Let me think about buidling a version that knows how to do this. The system would still need to reboot to recover, but the reboot would be unattended.
(0004403)
Steven Levine   
2022-06-10 22:01   
There have been no new occurrences of the mysqlnd trap with https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220528.zip and newer. Work on the unrelated heap corrupt issue has moved to #761.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
759 [Apache 2.x ] Feature Request minor always 2022-05-19 18:44 2022-05-30 18:00
Reporter: Steven Levine Platform: OS2/eCS  
Assigned To: Steven Levine OS: OS/2 or eComstation  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: resolved Product Version: 2.4.53  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Disable EnableMMAP directive when httpd built with APR_HAS_MMAP disabled.
Description: The EnableMMAP directive is still available when httpd is built with APR_HAS_MMAP disabled. This is confusing. This ticket proposes the disable the directive when APR_HAS_MMAP is not set. It would be better to report a syntax error and to silently ignore the directive.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0004352)
Steven Levine   
2022-05-26 00:29   
Reminder sent to: psmedley
Is there any reason I should not implement this ticket? As I read the code, if APR_HAS_MMAP is not defined, EnableMMAP On will have no effect. Is the correct?
(0004353)
psmedley   
2022-05-26 01:07   
I don't see any reason. At some point I should investigate supporting mmap in Apr, but this is complicated by the use of native os/2 API in Apr vs the klibc/Unix API.
(0004367)
psmedley   
2022-05-27 23:08   
https://smedley.id.au/tmp/httpd-2.4.53-os2-debug-20220528.zip will be up shortly and will contain this PR.
(0004373)
Steven Levine   
2022-05-30 18:00   
This feature is implemented and tested working.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
758 [Apache 2.x ] Feature Request minor always 2022-05-19 18:38 2022-05-30 17:59
Reporter: Steven Levine Platform: OS2/eCS  
Assigned To: Steven Levine OS: OS/2 or eComstation  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: resolved Product Version: 2.4.53  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 2.4.53  
    Target Version: 2.4.53  
Summary: Add support for BeginLibPath httpd directive.
Description: The httpd/php combination requires that php.dll can be found in LIBPATH or BEGINLIBPATH. This is usually accomplished by hardcoding the required values in CONFIG.SYS or a wrapper script.

This ticket proposes adding support for a BeginLibPath directive to httpd. If would localize the required settings to httpd.conf with is convenient.

This is similar to how ticket 0000755 avoids the need to specify the httpd modules directory external to httpd itself and the implementation can share some of the existing code.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0004366)
psmedley   
2022-05-27 23:07   
https://smedley.id.au/tmp/httpd-2.4.53-os2-debug-20220528.zip will be up shortly and will contain this PR.
(0004372)
Steven Levine   
2022-05-30 17:59   
This feature appears to be working as intended.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
745 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Bug minor sometimes 2022-02-23 22:53 2022-05-24 18:30
Reporter: emax Platform: Vbox 6.x VM  
Assigned To: psmedley OS: AOS  
Priority: normal OS Version: 503  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 7.4.28  
    Target Version:  
Summary: php 7.4.28 trap in zend heap alloc during tsrm startup
Description: Server Version: Apache/2.4.52 (OS/2) OpenSSL/1.1.1m PHP/7.4.28
Server MPM: mpmt_os2
Server Built: Dec 28 2021 08:13:42

php build: https://smedley.id.au/tmp/php-7.4.28-os2-20220223.zip

exceptQ dump in attachment
Tags:
Steps To Reproduce: this happens a number of times per days
Additional Information:
System Description
Attached Files: 6216a694-1bae_22-HTTPD-exceptq.txt (24,476 bytes) 2022-02-23 22:53
https://mantis.smedley.id.au/file_download.php?file_id=599&type=bug
6218b033-0527_22-HTTPD-exceptq.txt (25,170 bytes) 2022-02-25 14:10
https://mantis.smedley.id.au/file_download.php?file_id=606&type=bug
6218b034-053b_22-HTTPD-exceptq.txt (25,426 bytes) 2022-02-25 14:10
https://mantis.smedley.id.au/file_download.php?file_id=607&type=bug
6218b038-053a_21-HTTPD-exceptq.txt (25,450 bytes) 2022-02-25 14:10
https://mantis.smedley.id.au/file_download.php?file_id=608&type=bug
6218bd9a-0129_15-HTTPD-exceptq.txt (25,151 bytes) 2022-02-25 14:10
https://mantis.smedley.id.au/file_download.php?file_id=609&type=bug
621b7b61-0130_03-HTTPD-exceptq.txt (25,405 bytes) 2022-02-27 13:22
https://mantis.smedley.id.au/file_download.php?file_id=610&type=bug
621b5a78-0045_21-HTTPD-exceptq.txt (25,410 bytes) 2022-02-27 13:22
https://mantis.smedley.id.au/file_download.php?file_id=611&type=bug
621b5986-0046_17-HTTPD-exceptq.txt (25,417 bytes) 2022-02-27 13:22
https://mantis.smedley.id.au/file_download.php?file_id=612&type=bug
621b580c-0043_20-HTTPD-exceptq.txt (27,736 bytes) 2022-02-27 13:22
https://mantis.smedley.id.au/file_download.php?file_id=613&type=bug
POPUPLOG.OS2 (168,904 bytes) 2022-03-04 06:48
https://mantis.smedley.id.au/file_download.php?file_id=614&type=bug
6221c2ba-02b6_01-HTTPD-exceptq.txt (55,661 bytes) 2022-03-04 18:46
https://mantis.smedley.id.au/file_download.php?file_id=615&type=bug
6221c2bb-028d_01-HTTPD-exceptq.txt (40,634 bytes) 2022-03-04 18:46
https://mantis.smedley.id.au/file_download.php?file_id=616&type=bug
6221c2b9-02b7_01-HTTPD-exceptq.txt (55,661 bytes) 2022-03-04 18:46
https://mantis.smedley.id.au/file_download.php?file_id=617&type=bug
6221c2b9-02b8_01-HTTPD-exceptq.txt (55,661 bytes) 2022-03-04 18:46
https://mantis.smedley.id.au/file_download.php?file_id=618&type=bug
6221c2b9-02ba_01-HTTPD-exceptq.txt (55,661 bytes) 2022-03-04 18:46
https://mantis.smedley.id.au/file_download.php?file_id=619&type=bug
6221c2b9-028e_01-HTTPD-exceptq.txt (40,637 bytes) 2022-03-04 18:46
https://mantis.smedley.id.au/file_download.php?file_id=620&type=bug
6221c2b9-028f_01-HTTPD-exceptq.txt (40,637 bytes) 2022-03-04 18:46
https://mantis.smedley.id.au/file_download.php?file_id=621&type=bug
6221c2ba-028c_01-HTTPD-exceptq.txt (40,637 bytes) 2022-03-04 18:46
https://mantis.smedley.id.au/file_download.php?file_id=622&type=bug
6221c2ba-0290_01-HTTPD-exceptq.txt (40,637 bytes) 2022-03-04 18:46
https://mantis.smedley.id.au/file_download.php?file_id=623&type=bug
6221c321-0289_01-HTTPD-exceptq.txt (55,770 bytes) 2022-03-04 18:46
https://mantis.smedley.id.au/file_download.php?file_id=624&type=bug
SAPI.c.diff (1,093 bytes) 2022-03-20 07:07
https://mantis.smedley.id.au/file_download.php?file_id=641&type=bug
sapi_apache2.c.diff (1,748 bytes) 2022-03-20 07:07
https://mantis.smedley.id.au/file_download.php?file_id=642&type=bug
TSRM.c.diff (2,880 bytes) 2022-03-20 07:07
https://mantis.smedley.id.au/file_download.php?file_id=643&type=bug
zend_alloc.c.diff (1,435 bytes) 2022-03-20 07:07
https://mantis.smedley.id.au/file_download.php?file_id=644&type=bug
build.log (3,776 bytes) 2022-03-20 07:42
https://mantis.smedley.id.au/file_download.php?file_id=645&type=bug
TSRM.c-2.diff (3,152 bytes) 2022-03-20 17:44
https://mantis.smedley.id.au/file_download.php?file_id=646&type=bug
SAPI.h.diff (489 bytes) 2022-03-20 19:08
https://mantis.smedley.id.au/file_download.php?file_id=647&type=bug
SAPI.c-2.diff (1,364 bytes) 2022-03-21 00:48
https://mantis.smedley.id.au/file_download.php?file_id=648&type=bug
sapi_apache2.c-2.diff (1,893 bytes) 2022-03-21 00:48
https://mantis.smedley.id.au/file_download.php?file_id=649&type=bug
TSRM.c-3.diff (4,028 bytes) 2022-03-21 00:48
https://mantis.smedley.id.au/file_download.php?file_id=650&type=bug
zend_signal.c.diff (1,020 bytes) 2022-03-21 00:48
https://mantis.smedley.id.au/file_download.php?file_id=651&type=bug
zend_signal.h.diff (452 bytes) 2022-03-21 00:48
https://mantis.smedley.id.au/file_download.php?file_id=652&type=bug
apache_error_log.txt (13,305 bytes) 2022-03-22 20:58
https://mantis.smedley.id.au/file_download.php?file_id=653&type=bug
6239d35a-1369_0a-HTTPD-exceptq.txt (24,865 bytes) 2022-03-22 20:58
https://mantis.smedley.id.au/file_download.php?file_id=654&type=bug
POPUPLOG-2.OS2 (21,517 bytes) 2022-03-22 20:58
https://mantis.smedley.id.au/file_download.php?file_id=655&type=bug
6239d2ff-136a_21-HTTPD-exceptq.txt (25,002 bytes) 2022-03-22 20:58
https://mantis.smedley.id.au/file_download.php?file_id=656&type=bug
apache_error_log (8,719 bytes) 2022-04-06 08:22
https://mantis.smedley.id.au/file_download.php?file_id=665&type=bug
624d6030-0642_21-HTTPD-exceptq.txt (27,579 bytes) 2022-04-06 08:22
https://mantis.smedley.id.au/file_download.php?file_id=666&type=bug
624d645c-0720_01-HTTPD-exceptq.txt (33,458 bytes) 2022-04-06 08:25
https://mantis.smedley.id.au/file_download.php?file_id=667&type=bug
624d5fdb-0645_09-HTTPD-exceptq.txt (27,871 bytes) 2022-04-06 08:25
https://mantis.smedley.id.au/file_download.php?file_id=668&type=bug
apacher_error_log.txt (3,374 bytes) 2022-04-27 18:38
https://mantis.smedley.id.au/file_download.php?file_id=678&type=bug
62694798-0f49_21-HTTPD-exceptq.txt (24,947 bytes) 2022-04-27 18:38
https://mantis.smedley.id.au/file_download.php?file_id=679&type=bug
apache_error_log2.txt (2,968 bytes) 2022-04-27 18:38
https://mantis.smedley.id.au/file_download.php?file_id=680&type=bug
1DA2_11.TRP (18,169 bytes) 2022-04-27 18:38
https://mantis.smedley.id.au/file_download.php?file_id=681&type=bug
626c0faa-1511_01-HTTPD-exceptq.txt (28,993 bytes) 2022-04-29 14:50
https://mantis.smedley.id.au/file_download.php?file_id=682&type=bug
163C_18.TRP (569 bytes) 2022-05-04 07:52
https://mantis.smedley.id.au/file_download.php?file_id=683&type=bug
apache_error_log-2 (105,753 bytes) 2022-05-04 07:52
https://mantis.smedley.id.au/file_download.php?file_id=684&type=bug
62724791-05a3_17-HTTPD-exceptq.txt (27,756 bytes) 2022-05-04 07:52
https://mantis.smedley.id.au/file_download.php?file_id=685&type=bug
627246d1-0586_11-HTTPD-exceptq.txt (28,190 bytes) 2022-05-04 07:52
https://mantis.smedley.id.au/file_download.php?file_id=686&type=bug
627241ee-04bc_21-HTTPD-exceptq.txt (27,633 bytes) 2022-05-04 07:52
https://mantis.smedley.id.au/file_download.php?file_id=687&type=bug
image.png (25,095 bytes) 2022-05-04 07:55
https://mantis.smedley.id.au/file_download.php?file_id=688&type=bug
png

last_part_apache_error_log.txt (637 bytes) 2022-05-04 08:01
https://mantis.smedley.id.au/file_download.php?file_id=689&type=bug
627246d1-0586_11-HTTPD-exceptq-2.txt (28,190 bytes) 2022-05-04 08:01
https://mantis.smedley.id.au/file_download.php?file_id=690&type=bug
62724d7c-0688_01-HTTPD-exceptq.txt (36,141 bytes) 2022-05-04 16:26
https://mantis.smedley.id.au/file_download.php?file_id=691&type=bug
apache_error_log_old2 (143,341 bytes) 2022-05-05 18:45
https://mantis.smedley.id.au/file_download.php?file_id=692&type=bug
627424cd-088d_01-HTTPD-exceptq.txt (19,927 bytes) 2022-05-05 18:45
https://mantis.smedley.id.au/file_download.php?file_id=693&type=bug
067A_18.zip (112,404 bytes) 2022-05-05 18:45
https://mantis.smedley.id.au/file_download.php?file_id=694&type=bug
627416ca-05ab_01-HTTPD-exceptq.txt (34,149 bytes) 2022-05-05 18:45
https://mantis.smedley.id.au/file_download.php?file_id=695&type=bug
6273f59a-0043_21-HTTPD-exceptq.txt (46,203 bytes) 2022-05-05 18:45
https://mantis.smedley.id.au/file_download.php?file_id=696&type=bug
6277cbb7-0048_03-HTTPD-exceptq.txt (77,809 bytes) 2022-05-08 11:56
https://mantis.smedley.id.au/file_download.php?file_id=700&type=bug
apache_erro_log.txt (2,877 bytes) 2022-05-09 10:08
https://mantis.smedley.id.au/file_download.php?file_id=701&type=bug
62790231-0c4d_03-HTTPD-exceptq.txt (64,121 bytes) 2022-05-09 10:08
https://mantis.smedley.id.au/file_download.php?file_id=702&type=bug
62790257-0c49_12-HTTPD-exceptq.txt (48,831 bytes) 2022-05-09 10:08
https://mantis.smedley.id.au/file_download.php?file_id=703&type=bug
62790257-0c86_15-HTTPD-exceptq.txt (29,237 bytes) 2022-05-09 10:08
https://mantis.smedley.id.au/file_download.php?file_id=704&type=bug
62877e28-0047_01-HTTPD-exceptq.txt (28,564 bytes) 2022-05-20 21:26
https://mantis.smedley.id.au/file_download.php?file_id=731&type=bug
6287b9dd-09fd_01-HTTPD-exceptq.txt (29,199 bytes) 2022-05-20 21:26
https://mantis.smedley.id.au/file_download.php?file_id=732&type=bug
62881ada-18cb_01-HTTPD-exceptq.txt (28,954 bytes) 2022-05-20 21:26
https://mantis.smedley.id.au/file_download.php?file_id=733&type=bug
Notes
(0003943)
emax   
2022-02-25 14:10   
Hi,

even after SESSID FIX
https://smedley.id.au/tmp/php-7.4.28-dll-debug-20220225.zip

i still have an important number of these PHP7 crashes
(0003944)
psmedley   
2022-02-26 08:11   
No guarantees, but can you try https://smedley.id.au/tmp/php-7.4.28-dll-debug-20220226.zip
(0003945)
emax   
2022-02-26 11:21   
thanks

installed
(0003946)
emax   
2022-02-27 13:22   
Unfortunately the crashes still happen
(0003947)
psmedley   
2022-02-28 08:19   
OK I have some ideas - in zend_virtual_cwd.c there is code for win32 (also used for OS/2) to handle paths with drive letters.Perhaps I've missed something in there.

Do these traps correlate with any known events? If I could reproduce locally it would be much easier to fix.
(0003948)
emax   
2022-02-28 08:47   
it's very very very difficult to say which kind of php code or script creates PHP7 traps
maybe word press websites, maybe some old php custom website, maybe some new php custom website

e.g. i allmost have no FATAL error in php error log in the last 2 days
but i've a great number of warnings from some word press website, but i don't believe these are the source of the crashes

cron restart apache 5 times per day (mostly during night hours), since i've the suspect that the more it run, the most the issues come out
(0003949)
psmedley   
2022-03-03 21:48   
Small tweak in https://smedley.id.au/tmp/php-7.4.28-dll-debug-20220304.zip
(0003950)
emax   
2022-03-04 06:48   
hi,

thanks, but after about 5 minutes of uptime apache crashed and system setboot/b
(i've just opened some php and wp website to test it, it seems also slower than prev builds)

had to revert back to https://smedley.id.au/tmp/php-7.4.28-dll-debug-20220226.zip

i produced hundreds of popuplog.os2 entries, but no eQ dumps
in attachment
(0003951)
Steven Levine   
2022-03-04 08:30   
If you looked at the content of the popuplog items,which are all the same, you would notice that they are your typical breakpoint exceptions.

As to why you cannot find the associated exceptq reports, I can only guess. It's possible they did not get generated, but this is rarely the case. For this to happen, the exception has to occur before any of the kLIBC or libcx exception handlers get installed.

  I recommend you check again, just to be sure.

My standard proof of life tests work, so something more complex is causing your exceptions.
(0003952)
psmedley   
2022-03-04 08:36   
@Steven any thoughts on the traps in https://mantis.smedley.id.au/view.php?id=745#c3946?
(0003953)
emax   
2022-03-04 18:46   
Hi all,

sorry, i've the dumps..
they are not in \apache DIR, but they are in \var\log\app

i've 9 of these

Arg 0 : D:\apache\bin\httpd.exe
Arg 1 : -d d:\apache
Cur dir : D:\apache
CRT Module: LIBCN0 hmod=0x65b (C:\USR\LIB\LIBCN0.DLL)
__libc_logInit: addr 0x1ec0fbb8 iObj=0 offObj=0x4fbb8
Origin : libcx
LIBCx version : 0.7.2
LIBCx module : C:\USR\LIB\LIBCX0.DLL (hmod=0713)
   Millsecond Timestamp.
   | Thread ID.
   | | Log Group (Asrt for assertions).
   | | | File Name.
   | | | | Line Number.
   | | | | | Function Name.
   v v v v v v
xxxxxxxx tt gggg file:line:function: message
002f6cff 01 Asrt shared.c:591:global_lock: Assertion failed: arc == NO_ERROR (105)

===== LIBCx resource usage =====
Reserved memory size: 2097152 bytes
Committed memory size: 131072 bytes
Heap size total: 130656 bytes
Heap size used now: 28164 bytes
ProcDesc structs used now: 11
FileDesc structs used now: 0
SharedFileDesc structs used now: 0
===== LIBCx global mutex info =====
mutex handle: 80010099
owner state: dead
owner PID: 028f (655)
owner TID: 45
request #: 1
===== LIBCx stats end =====

and 297 of these:

Opened log at 2022-03-04 07:41:43.33 (002f6d01 ms since boot)
Process ID: 0x2bb (699) Parent PID: 0x289 (649) Type: 2
Exe hmte : 0xc31 (D:\APACHE\BIN\HTTPD.EXE)
Arg 0 : D:\apache\bin\httpd.exe
Arg 1 : -d d:\apache
Cur dir : D:\apache
CRT Module: LIBCN0 hmod=0x65b (C:\USR\LIB\LIBCN0.DLL)
__libc_logInit: addr 0x1ec0fbb8 iObj=0 offObj=0x4fbb8
Origin : libcx
LIBCx version : 0.7.2
LIBCx module : C:\USR\LIB\LIBCX0.DLL (hmod=0713)
   Millsecond Timestamp.
   | Thread ID.
   | | Log Group (Asrt for assertions).
   | | | File Name.
   | | | | Line Number.
   | | | | | Function Name.
   v v v v v v
xxxxxxxx tt gggg file:line:function: message
002f6d03 01 Asrt shared.c:214:shared_init: Assertion failed: arc == NO_ERROR (105)

and 199 of these:

Opened log at 2022-03-04 07:42:48.42 (00306b3d ms since boot)
Process ID: 0x3e8 (1000) Parent PID: 0x289 (649) Type: 2
Exe hmte : 0xc31 (D:\APACHE\BIN\HTTPD.EXE)
Arg 0 : D:\apache\bin\httpd.exe
Arg 1 : -d d:\apache
Cur dir : D:\apache
CRT Module: LIBCN0 hmod=0x65b (C:\USR\LIB\LIBCN0.DLL)
__libc_logInit: addr 0x1ec0fbb8 iObj=0 offObj=0x4fbb8
Origin : libcx
LIBCx version : 0.7.2
LIBCx module : C:\USR\LIB\LIBCX0.DLL (hmod=0713)
   Millsecond Timestamp.
   | Thread ID.
   | | Log Group (Asrt for assertions).
   | | | File Name.
   | | | | Line Number.
   | | | | | Function Name.
   v v v v v v
xxxxxxxx tt gggg file:line:function: message
00306b41 01 Asrt shared.c:214:shared_init: Assertion failed: arc == NO_ERROR (105)

and 10 full eQ dumps in attachment
(0003954)
Steven Levine   
2022-03-04 19:42   
Paul, re: https://mantis.smedley.id.au/view.php?id=745#c3952, did you seem my response to Massimo's "apache 2.4.52+php7.4.8 issues" off-line thread? If you wish, I can re-post the details here.

The short summary is that start_memory_manager is effectively not expecting zend_mm_init to ever fail, so we trap when it does. I recommended that we come up with a way to cleanly terminate the affected thread so that httpd itself does not terminate.
(0003955)
psmedley   
2022-03-04 20:55   
Hey Steven - nope, looks like that one either didn't get here, or I inadvertently deleted it. Here would be the best place for it.
(0003956)
Steven Levine   
2022-03-04 21:37   
This is a lightly edited extract of what I posted to the "apache 2.4.52+php7.4.8 issues" thread.

Can I assume we are talking about ticket 0000745?

If so, IMO, the SIGSEGV has nothing to do with eassert.

I need a diff to bring my 7.4.28 reference sources in sync with yours, but what I have is close enough to make some perhaps useful comments and save you some time.

First, while these traps are worth resolving, but they are not going to leave httpd stuck in the exit list which is what this thread seems to be about.

Looking at 621b5a78-0045_21-HTTPD-exceptq.txt, this

 Trap -> 1DAF7053 PHP7 0001:009A7053 zend_alloc.c#1252
@_emalloc@4 + 3F 0001:009A7014 (U:\dev\php-7.4.28\Zend\zend_alloc.c)

occurs because

 1DAF7053 >ADD ECX, [EAX+0x4] (0348 04)

and

 EAX : 00000000 EBX : 00000009 ECX : 00000010 EDX : 00000001

Since the trap is in

 TID: 21 (33)

we know the httpd instance has been up for a while and is probably somewhat busy.

Based on what I can currently see, the trap appears to be in this section of code:

zend_alloc.c:1244
#if ZEND_MM_STAT
    do {
        size_t size = heap->size + bin_data_size[bin_num];
        size_t peak = MAX(heap->peak, size);
        heap->size = size;
        heap->peak = peak;
    } while (0);
#endif

Attempting to annotate the disassembly, I get:

621b5a78-0045_21-HTTPD-exceptq.txt:36
 1DAF7046 ADD EBX, EBX (01db)
 1DAF7048 ADD EBX, EBX (01db)
 1DAF704A ADD EDX, EBX (01da) ; ->
bin_num
 1DAF704C MOV ECX, [EDX*4+0x1daf86c0] (8b0c95 c086af1d) ;
bin_data_size[bin_num]
 1DAF7053 >ADD ECX, [EAX+0x4] (0348 04) ;
heap->size
 1DAF7056 MOV EBX, [EAX+0x8] (8b58 08) ;
heap->peak
 1DAF7059 CMP EBX, ECX (39cb) ; size
 1DAF705B JAE 0x1daf705f (73 02)

which says the pointer to heap is NULL.

========================================================================

These are the "normal"

  #define XCPT_ASYNC_PROCESS_TERMINATE 0xC0010002

which you might understand if you read the docs. You have seen them on and off for years. The exception is always reported to every other thread when some thread dies. You are only going to see them in popuplog if the exception causes a kernel API to be terminated early, which is what
happened in this case. In this case the thread was waiting on a semaphore, so the kernel terminated the wait and reported the exception to the thread.

>03-03-2022  21:15:34  SYS3170  PID 1f8a  TID 0001  Slot 0085
>D:\APACHE\BIN\HTTPD.EXE
>8ef4458b
>04538bc3
>P1=4489138b  P2=e8b80c24  P3=891ec898  P4=8910245c
>EAX=02af0004  EBX=02af0004  ECX=02af0000  EDX=ffffffff
>ESI=1ec0871e  EDI=ffffffff
>DS=0053  DSACC=d0f3  DSLIM=5fffffff
>ES=0053  ESACC=d0f3  ESLIM=5fffffff
>FS=150b  FSACC=00f3  FSLIM=00000030
>GS=0000  GSACC=****  GSLIM=********
>CS:EIP=005b:1ee00a34  CSACC=d0df  CSLIM=5fffffff
>SS:ESP=0053:007ff1a8  SSACC=d0f3  SSLIM=5fffffff
>EBP=007ff1f4  FLG=00010216

I suspect there is an exceptq report associated with this popuplog entry.

========================================================================

I took a look at the code in the debugger. My basic conclusion is that something has to go very wrong for this particular exception to occur.

As I mentioned, looking at 621b5a78-0045_21-HTTPD-exceptq.txt, this

 Trap -> 1DAF7053 PHP7 0001:009A7053 zend_alloc.c#1252
@_emalloc@4 + 3F 0001:009A7014 (U:\dev\php-7.4.28\Zend\zend_alloc.c)

occurs because

 1DAF7053 >ADD ECX, [EAX+0x4] (0348 04)

and

 EAX : 00000000 EBX : 00000009 ECX : 00000010 EDX : 00000001

Based on what I can currently see, the trap appears to be in this section of code:

zend_alloc.c:1244
#if ZEND_MM_STAT
    do {
        size_t size = heap->size + bin_data_size[bin_num];
        size_t peak = MAX(heap->peak, size);
        heap->size = size;
        heap->peak = peak;
    } while (0);
#endif

Attempting to annotate the disassembly, I get:

621b5a78-0045_21-HTTPD-exceptq.txt:36
 1DAF7046 ADD EBX, EBX (01db)
 1DAF7048 ADD EBX, EBX (01db)
 1DAF704A ADD EDX, EBX (01da) ; ->
bin_num
 1DAF704C MOV ECX, [EDX*4+0x1daf86c0] (8b0c95 c086af1d) ;
bin_data_size[bin_num]
 1DAF7053 >ADD ECX, [EAX+0x4] (0348 04) ;
heap->size
 1DAF7056 MOV EBX, [EAX+0x8] (8b58 08) ;
heap->peak
 1DAF7059 CMP EBX, ECX (39cb) ; size
 1DAF705B JAE 0x1daf705f (73 02)

which says the pointer to heap is NULL.

Here's where things get interesting. When @_emalloc4 is called the first
thing it does is call _os2_get_tsrm_ls_cache to get the cache pointer into
EAX. Then it gets the offset to the heap within the cache (0x970) adds
this to EAX to point EAX at the. Then it looks at the requested size to
determine which allocation routine to use. This does not require access
the heap via EAX. Since the requested size is small the inline version of
zend_mm_alloc_small is used. As soon as zend_mm_alloc_small attempts to
access the heap via EAX, it traps.

At this point, I am assuming this is the result of an out of resources problem.

The question is how did the heap initialization fail without being reported in the logs by zend_mm_init?

We should have seen this in the logs if ZEND_MM_ERROR was defined

Zend\zend_alloc.c:1852
        fprintf(stderr, "\nCan't initialize heap: [%d] %s\n", errno,
strerror(errno));

but what I seen in the debugger implies it is not.

FTR, the pointer is stored in cache by:

Zend\zend_alloc.c:2772
    alloc_globals->mm_heap = zend_mm_init();

========================================================================

Yet more comments on this trap.

The php code seems to assume that zend_mm_init will fail so infrequently that dumping an error message to stderr is sufficient. This is probably true for a 64-bit system. It's pretty hard to get to the point where zend_mm_chunk_alloc_int could actually fail just be running out of address space.

This is not so true for our 32-bit platform. Perhaps we should find a way to cleanly terminate the failing thread.

Perhaps we can add code after

Zend\zend.c:864
    start_memory_manager();

to check if the heap pointer is NULL and if this occurs log the error and terminate the thread?

========================================================================

More of my thinking from this morning. The recommended current solution is to modify php_apache_server_startup terminate process and fail with HTTP_INSUFFICIENT_STORAGE
when the mm_heap_init fails. This should prevent the trap.
(0003957)
psmedley   
2022-03-05 01:12   
FWIW: latest diff is https://smedley.id.au/tmp/php-7.4.28.diff
(0003972)
emax   
2022-03-11 15:10   
is there anything i can do about this ticket?
logs? search other traps etc..?
(0003973)
Steven Levine   
2022-03-11 17:05   
We do not need more random exceptq reports for the same exception. What may be more useful is a copy the log files from 5 seconds before the exception and for 1 second after the exception along with the corresponding exceptq report. The exceptq report must indicate:

 Filename: C:\USR\LIB\PHP7.DLL (02/26/2022 10:10:19 25,273,142)
 Address: 005B:1DAF7053 (0001:009A7053)
 Cause: Attempted to read from 00000004
           (not a valid address)

It's OK for the 1DAF in 005B:1DAF7053 to vary, but the 0001:009A7053 must match exactly.

We also need to know more about the typical load on your system. You need to learn to use Theseus Working Set feature for this. It's the System->Working Set item on the main menu. The online help is very good, so the vast majority of user have no problems learning to capture the data without any assistance. We will help you interpret the data when you have captured some. From the "Working Set for the System" window, use Functions->Working Set Start to start the data capture. Capture about 5 minutes of data and stop the data capture. Use the Output->Save as menu item to save the data to a file and upload it here for analysis.
(0003974)
Steven Levine   
2022-03-11 17:26   
(Last edited: 2022-03-11 17:30)
Here's my current plan to avoid these kinds of exceptions.

The modphp startup hook is defined in

  php_ap2_register_hook

When triggered by httdp, the hook runs as

  php_apache_server_startup
    sapi_startup
      ts_allocate_fast_id
        alloc_globals_ctor
         zend_mm_init

When zend_mm_init fails, we will trap eventually.

To avoid the exception, we need to detect the init failure and fail the startup request.

Any functions in the call path that currently returns void will need to be modified to return status

This will allow

sapi_apache2.c:477
    php_tsrm_startup();

to detect the failure and return return one of:

  #define HTTP_INSUFFICIENT_STORAGE 507
  #define HTTP_INTERNAL_SERVER_ERROR 500
  #define DECLINED -1 /**< Module declines to handle */

when zend_mm_init fails. HTTP_INSUFFICIENT_STORAGE is probably the best choice.

We may be able to use the existing apr pool to generate a decent log message.

This should allow the individual request to fail without trapping the httpd instance.
(0003975)
Steven Levine   
2022-03-11 17:34   
An additional thought in addition to the above is to sleep and retry the mm_init several times before failing under the assumption that the resource issue is temporary.
(0003980)
Steven Levine   
2022-03-11 23:27   
Here's a modified plan to avoid exceptions during php startup.

The modphp startup hook is defined in

  php_ap2_register_hook

as

  php_apache_server_startup

When triggered by httpd, the hook runs as

  php_apache_server_startup
    php_tsrm_startup
      tsrm_startup

and

  php_apache_server_startup
    sapi_startup void return
      ts_allocate_fast_id
        alloc_globals_ctor void return
         zend_mm_init

When zend_mm_init fails, we will trap eventually if the failure is ignored.

To avoid the exceptions, we need to detect errors and fail the startup request.

This is easy for the call to php_tsrm_startup

It will take a bit more work for sapi_startup. The functions in the call path that currently returns void will need to be modified to return status

There are several return options:

  #define HTTP_INSUFFICIENT_STORAGE 507
  #define HTTP_INTERNAL_SERVER_ERROR 500
  #define DECLINED -1 /**< Module declines to handle */

HTTP_INSUFFICIENT_STORAGE is probably the best choice.

This should allow individual requests to fail without trapping the httpd instance.

This along with an mm_init retry loop should improve stability.
(0003991)
Steven Levine   
2022-03-20 07:07   
(Last edited: 2022-03-20 07:08)
The following patches should avoid, some if not all, of the traps that php 7.4.28 experiences when It unexpectedly runs out of resources. The indent is to fail the request with HTTP_INSUFFICIENT_STORAGE.
(0003992)
psmedley   
2022-03-20 07:42   
(Last edited: 2022-03-20 07:45)
Unfortunately I'm getting a build break in tsrm.c

See attached.

The missing definition for HTTP_INSUFFICIENT_STORAGE is easy, as is the missing ( at line 458 - but I'm not clear what value OK should have
(0003993)
Steven Levine   
2022-03-20 17:44   
The undefined values come from httpd.h. Worse yet, there was a typo in an if statement. It really works so much better if I actually remember to

gcc %CFLAGS -c %FN |& tee clip:

for every file before delivering the patch set. The replacement .diff should apply cleanly after a git co -- TSRM.c to revert the results of the bad patch.

Sorry.
(0003994)
Steven Levine   
2022-03-20 19:08   
One more patch for the list. I was really distracted, I guess.
(0003995)
psmedley   
2022-03-20 20:55   
https://smedley.id.au/tmp/php-7.4.28-dll-debug-20220321.zip has these patches. Other than making sure that a test.php works, not tested as it's a working day here.
(0003996)
Steven Levine   
2022-03-21 00:48   
While testing I located another possible code path for a startup allocation faiilure. I also added a few more ifdef __OS2__'s to make our mods easier to spot. The zend_signal patches are new. The rest are replacements for existing patches.
(0003997)
emax   
2022-03-21 08:35   
hi all,

patch: https://smedley.id.au/tmp/php-7.4.28-dll-debug-20220321.zip
installed yesterday 20/3/2022 at 22:03 (10:03 pm)
(0003998)
psmedley   
2022-03-22 06:01   
https://smedley.id.au/tmp/php-7.4.28-dll-debug-20220322.zip contains the additional patches from https://mantis.smedley.id.au/view.php?id=745#c3996
(0003999)
emax   
2022-03-22 07:12   
thanks
latest patch installed
(0004000)
emax   
2022-03-22 20:58   
as requested

thanks for the support
(0004032)
Steven Levine   
2022-04-05 00:36   
A bit of quality time with the debugger tells me that at least two of the latest patches did not apply and I suspect I know why. The files that did not get patched as expected are:

  TSRM.c.
  zend_alloc.c

The reason is occurred is that when we upload a file to a ticket, if the the upload duplicates an existing
file, Mantis silently renames the file. As a result, ticket and 745 and 748 contain:

  sapi_apache2.c.diff
  sapi_apache2-2.c.diff
  TSRM.c.diff
  TSRM.c-2.diff
  TSRM.c-3.diff
  zend_alloc.c.diff
  zend_alloc-2.c.diff

and so on. This is good for historical reference, but not so good when it comes to avoiding applying
a stale diff, which is what I suspect happened.

My procedure to avoid inadvertently applying stale patches is to keep the current patch set in a separate directory. When I download an updated patch, I am supposed to notice the filename mismatch and overwrite the stale patch file with the new file. I may keep local copies of the stale patch files, but they
will always be in some other directory. It's probably not a perfect solution, but it works for me.

For reference, the current accumulated patch set for tickets 745 and 748 is:

  03-20-22 17:41 1,364 0 SAPI.c.diff
  03-20-22 17:41 489 0 SAPI.h.diff
  03-20-22 17:41 1,893 0 sapi_apache2.c.diff
  03-29-22 10:53 4,083 0 TSRM.c.diff
  03-29-22 10:53 1,987 0 zend_alloc.c.diff
  03-20-22 17:41 1,020 0 zend_signal.c.diff
  03-20-22 17:41 452 0 zend_signal.h.diff
  03-29-22 10:53 1,014 0 zend_virtual_cwd.c.diff

Your local time stamps will differ, but the file sizes should all match.
(0004033)
psmedley   
2022-04-05 02:05   
Hi Steven, apologies for this. I'm planning to add the 7.4.28 sources to fit to make things easier to manage, and I'll add all three diffs in a branch for simplicity.
(0004036)
psmedley   
2022-04-05 09:15   
git repo created. https://github.com/psmedley/php-7-os2/tree/ticket-745-748 has the current diffs. Configuring now....
(0004040)
psmedley   
2022-04-05 21:28   
Updated build based on the the git branch in 004036. https://smedley.id.au/tmp/php-7.4.28-dll-debug-20220406.zip
(0004044)
emax   
2022-04-06 07:21   
installed, thanks
it has no .map file, is this ok?
(0004045)
psmedley   
2022-04-06 07:50   
It's a debug build, so it doesn't need a mapfile
(0004047)
Steven Levine   
2022-04-06 08:17   
It's getting late here. I will fork the branch and verify that we are in sync on the patches. Since we are using github, should I plan on using pull requests going forward? It won't kill me to learn to use them effectively.
(0004048)
emax   
2022-04-06 08:22   
first eQ dump and apache error log
(0004049)
emax   
2022-04-06 08:25   
and the other 2 eQ dumps (as from the error log, sorry)
sorry for the fragmented post
(0004050)
psmedley   
2022-04-06 09:20   
@Steven - part of my motivation for creating the github was to make sharing patches more efficient. PR's would likely be the best method to share patches. I'm not sure (yet) how best to apply patches if they end up releasing a 7.4.29 but we'll cross that bridge when we come to it.
(0004051)
Steven Levine   
2022-04-06 16:20   
@emax, we appear to have moved the exception. Whether or not this is still the same problem, it is TBD.

@paul, I'm not 100% sure we have our patches in sync yet. I'll know more once I get in sync with the new repo.

@paul, applying the patches to a 7.4.29 or 8.1.x, when the time comes, will not be a problem. git and github make the process reasonably easy. At worst, we might have to resolve a few conflicts. We can discuss the process elsewhere when the time come. If you haven't worked with pull requests before, a simple example is https://github.com/bitwiseworks/libc/pull/121. Sylvan created the commit to be pulled on a branch, but the pull request can come from any forked repo because they are sufficiently related.

@paul, I am thinking we should mark #748 a duplicate of this ticket and mark #748 closed. The #748 exceptions are really the same out of memory issue failing in different ways. What do you think?
(0004052)
psmedley   
2022-04-07 08:56   
@steven a couple of patches didn't apply cleanly, but I'm pretty confident I manually applied in the right spot. I have worked with PRs before, as I've contributed to Openhab previously.

I agree re: 748 so I've closed it and marked as a duplicate of 745 :)
(0004099)
Steven Levine   
2022-04-17 06:56   
(Last edited: 2022-04-20 00:32)
@paul, based on the content of branch-745-748, it appears that all my patches made it into your builds, there is not need for a pull request at this time.

I did notice a few spurious whitespace changes, but none were in the code that I patched. They will not matter unless we are unlucky and an upstream change affects these lines. This is not very likely given that 7.4 is only getting security updates.

git diff php-7.4.27..php-7.4.28 . tells me that nothing that will affect us changed.

Now that we know we are in sync, let's see how php dies when running with https://smedley.id.au/tmp/php-7.4.28-dll-debug-20220415.zip installed.
(0004140)
Steven Levine   
2022-04-27 01:57   
(Last edited: 2022-04-27 01:58)
@massimo, do you have any occurrences of

 [Fri Mar 25 12:21:57.470000 2022] [cgi:error] [pid 100:tid 6] (8)Invalid executable file format: [client 194.165.16.27:37016] couldn't create child process: 8: docsearch.cmd

in your apache error logs?
(0004141)
emax   
2022-04-27 07:36   
no, i don't use CGI, even the module is disabled
(0004142)
Steven Levine   
2022-04-27 17:46   
Since updating to php-7.4.28-dll-debug-20220426.zip are you still getting error log entries list those in

 https://mantis.smedley.id.au/file_download.php?file_id=653&type=bug

which you attached to

  https://mantis.smedley.id.au/view.php?id=745#c4000

If so, please upload a few of the unique exceptq reports and the last 15 minutes of the error log.
(0004143)
Steven Levine   
2022-04-27 18:27   
@massimo, I think I confused you with too much information. What I intended to ask was if you had any occurrences of the

  couldn't create child process: 8

error, not just for CGI operations. Httpd creates processes for a number of reasons and potentially any of these process create attempts could fail and this error indicates that the system is out of resources.

BTW, my most recent copy of your httpd.conf loads modcgi. Please upload a current reference copy of your httpd.conf.
(0004144)
emax   
2022-04-27 18:38   
i've a huge number of these:

mmap() failed: [12] Not enough memory

Can't initialize heap: [12] Not enough memory

Killed by SIGSEGV
pid=0x0f49 ppid=0x0f41 tid=0x0021 slot=0x00e7 pri=0x0200 mc=0x0001 ps=0x0010
D:\APACHE\BIN\HTTPD.EXE
cs:eip=20337918:00000006 ss:esp=0001:000020c0 ebp=02f80053
 ds=0000 es=0000 fs=0000 gs=0000 efl=02f8f948
eax=02f8fa14 ebx=1ffc9d7c ecx=02f8fa28 edx=02f8fa4c edi=00000000 esi=02f8ffd4
Creating 0F49_21.TRP
Moved 0f49_21.TRP to C:\var\log\app\62694798-0f49_21-
mmap() failed: [12] Not enough memory



the 1st dump in the log is in \var\log\app dir
while the 2nd dump in the log is \apache dir
(0004145)
emax   
2022-04-27 18:50   
@Steven (4143)
i've searched all the logs
i don't have *create child process* in any kind of apache or php log
(0004146)
Steven Levine   
2022-04-28 03:54   
@paul. Please check https://mantis.smedley.id.au/file_download.php?file_id=679&type=bug against your sources. Using the ticket-745-748 branch from your repo, the line numbers reported in the exceptq report do not match up the sources as I would expect them too. I'll recheck in the morning with the debugger. It's possible that this is just a side effect of the code optimizer.
(0004147)
psmedley   
2022-04-28 09:47   
EBP Address Module Obj:Offset Nearest Public Symbol
 -------- --------- -------- ------------- -----------------------
 Trap -> 1DAFDA80 PHP7 0001:009ADA80 zend_alloc.c#2537 @_emalloc@4 + 17 0001:009ADA69 (U:\dev\php-7-os2\Zend\zend_alloc.c)
This one looks reasonable

 02F8FB84 1DB5D15D PHP7 0001:00A0D15D zend_virtual_cwd.c#151 _virtual_cwd_main_cwd_init - F5F 0001:00A0E0BC (U:\dev\php-7-os2\Zend\zend_virtual_cwd.c)
This is way off- 0000151 is _cwd_globals_ctor - virtual_cwd_main_cwd_init is at 0000181

 02F8FBA4 1DAA045F PHP7 0001:0095045F TSRM.c#445 _tsrm_startup - 49 0001:009504A8 (U:\dev\php-7-os2\TSRM\TSRM.c)
This one is also out.... #445 is 80% through allocate_new_resource; tsrm_startup is at 0000147

 02F8FBE4 1DAA0A90 PHP7 0001:00950A90 TSRM.c#504 _ts_resource_ex + 7B 0001:00950A15 (U:\dev\php-7-os2\TSRM\TSRM.c)
This one might be OK....0000504 is actually in ts_resource_ex
(0004148)
Steven Levine   
2022-04-29 02:51   
@paul. I see what's going on. Somehow, the sources you built with are not all from the ticket-745-748 branch. Given:

>git branch
  main
* ticket-745-748

If I do:

  git co main -- Zend/zend_alloc.c
  git co main -- TSRM/TSRM.c

the debugger is happy to show source code that matches up with the executable code.

From the debugger, I can see that the patches associated with these files on the ticket-745-748 branch not there, which explains why is still trapping when the mm_heap init fails.

At first I thought you might have built from the main branch, but I think it's something else you did. The code for xp_socket.c is as it should be for the ticket-745-748 branch.
(0004149)
psmedley   
2022-04-29 03:07   
(Last edited: 2022-04-29 03:44)
hmm that's embarassing :( full rebuild coming real soon now.

Edit: https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220429.zip

Part of the issue is likely that 'make clean' wasn't terribly effective as it was removing *.o & *.a; not *.obj and *.lib
(0004150)
emax   
2022-04-29 05:32   
hi,

should i install this build or wait for the "full rebuild"?

thanks
(0004151)
psmedley   
2022-04-29 05:33   
the build above *is* the full rebuild
(0004152)
emax   
2022-04-29 12:22   
installed now
thanks a lot
i will let you know how it works
but since the first minutes i don't see errors in apache error log and this is good
(0004153)
emax   
2022-04-29 14:50   
apache seems much more stable than before in 2,5 hours of uptime just one trap

apache error log:

[Fri Apr 29 16:03:41.529000 2022] [negotiation:error] [pid 5393:tid 6] [client 66.249.76.83:58018] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/xyz/index.html (None could be negotiated).

Killed by SIGSEGV
pid=0x1511 ppid=0x1115 tid=0x0001 slot=0x0071 pri=0x0200 mc=0x0001 ps=0x0010
D:\APACHE\BIN\HTTPD.EXE
cs:eip=3fc94040:0000003a ss:esp=7b20:20030150 ebp=007f0053
 ds=0000 es=0000 fs=0014 gs=0000 efl=203384d8
eax=007ff968 ebx=1ffc9d7c ecx=007ff97c edx=007ff9a0 edi=007ff860 esi=007fff7c
Creating 1511_01.TRP
Moved 1511_01.TRP to C:\var\log\app\626c0faa-1511_01-HTTPD-exceptq.txt
[Fri Apr 29 16:24:53.971000 2022] [authz_core:error] [pid 5566:tid 26] [client 39.107.108.36:59304] AH01630: client denied by server configuration: D:/apache24
(0004154)
Steven Levine   
2022-04-29 16:57   
@paul. It appears we are getting closer, but are not quite there yet. the xp_socket.c patches are now in the executable, but the TSRM/TSRM.c and the Zend/zend_alloc.c patches are not.

Rather than a make clean, try deleting just the associated .obj and .lo files and check that make recreates them correctly. As a sanity check verify that that the .obj and .lo timestamps are newer than the source files.

Poking about it looks like we need to patch build\Makefile.global which defines the clean action to make the .obj files go away.
(0004155)
psmedley   
2022-04-29 21:56   
(Last edited: 2022-04-29 22:13)
make clean is fixed in https://github.com/psmedley/php-7-os2/commit/8b3163adabe6478b415f3f5b7c6554cfc3013771

I mistakenly build from main, not the branch

New build at https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220430.zip
(0004156)
Steven Levine   
2022-04-30 01:47   
@paul. Looks good. All the patches seems to be in place. Let's see how stable this build is for massimo.

BTW, I noticed you merged the ticket-745-748 branch to main. Do this mean we can make the branch go away and this you will be building from main going forward? If so, that's fine with me.

I took a quick look at https://mantis.smedley.id.au/file_download.php?file_id=682&type=bug. It's not new. Massimo uploaded 2 previous occurrences. I suspect the trap is the result of a connection that failed early enough so that the statistics buffers were not fully initialized.
(0004157)
psmedley   
2022-04-30 05:22   
@Steven -I figured the patches in the branch were doing no harm, so they might as well be in main. Yes I've deleted this branch from my repo. If we're doing any experimental changes I may build them from a branch until their proved to be valid, but for now I'll build from main.
(0004158)
Steven Levine   
2022-04-30 13:57   
@Paul. This is sorta the preferred way of working with git. Most branches have a short life span. Without the build issues, the ticket-745-748 branch would have been retired many days ago.

It will be interesting to see how good a job the patches do at helping Massimo avoid reboots.
(0004159)
emax   
2022-04-30 21:01   
latest build https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220430.zip
give:

[Sat Apr 30 23:00:29.186000 2022] [:emerg] [pid 6869:tid 1] AH00020: Configuration Failed, exiting

at apache startup and exit
(0004160)
psmedley   
2022-04-30 21:38   
@Massimo I can't reproduce this here. command line usage and usage with apache works for me.
(0004161)
emax   
2022-04-30 21:41   
apache do not give any details just that configuation failed
(0004162)
psmedley   
2022-04-30 21:43   
anything in PHP error log?
(0004163)
emax   
2022-04-30 22:24   
no..
(0004164)
Steven Levine   
2022-05-01 05:50   
If I am reading the code correctly, AH00020: Configuration Failed means one of the post config hooks failed. These run to initialize loaded modules among other tasks.

There appears to be a problem with the new modphp.dll. Backleveling modphp.dll avoids the AH00020 failure here. Does this work for you?
(0004165)
Steven Levine   
2022-05-01 06:05   
The patches in

sapi\apache2handler\sapi_apache2.c:459
php_apache_server_startup(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s)

are not quite right.

We have:

sapi\apache2handler\sapi_apache2.c:484
    // 2022-03-14 SHL Get out if startup failed
    err = php_tsrm_startup();
    if (err != OK)
            return err;

which is backwards. php_tsrm_startup returns a boolean, not an error code. I need to fix the compare figure out what error code to return
(0004166)
psmedley   
2022-05-01 08:50   
New build with Steven's fix is at https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220501.zip
(0004167)
emax   
2022-05-01 09:40   
same with this new build https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220501.zip

[Sun May 01 11:36:16.031000 2022] [:emerg] [pid 1714:tid 1] AH00020: Configuration Failed, exiting

if i put *only* modphp7.dll from this build https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220429.zip

apache start and work
(0004168)
psmedley   
2022-05-01 10:03   
@Steven - doesn't tsrm_storage return 1 for success and 0 for failure?

The way I read the code - we're calling 'return HTTP_INSUFFICIENT_STORAGE;' when ok= 1 which seems wrong
(0004169)
Steven Levine   
2022-05-01 19:57   
The return codes are a mix of booleans, numeric error codes and id codes and some of return code checks I added are still wrong. Another pull request is in our future.
(0004170)
psmedley   
2022-05-02 21:24   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220503.zip has the fixes from https://github.com/psmedley/php-7-os2/commit/9e64877c522b47de3858b0b13b34fb3ee8268685
(0004171)
Steven Levine   
2022-05-03 07:15   
Grumble. One more fix to do. If I work around it in the debugger, I get a clean startup. I'll submit a pull request in the morning.
(0004172)
psmedley   
2022-05-03 07:46   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220503b.zip includes the fixes from https://github.com/psmedley/php-7-os2/commit/bfc2515da67b3bde88fcb7a620198b6b87ab9e7a
(0004173)
emax   
2022-05-03 12:32   
ok guys, this build
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220503b.zip
has installed correctly and apache regularly start
(0004174)
psmedley   
2022-05-03 21:25   
@Max - I assume you kept running the updated php7.dll from https://mantis.smedley.id.au/view.php?id=745#c4167 - how has stability been over the last couple of days.
(0004175)
emax   
2022-05-04 07:52   
@paul
hi, i'm using all the dlls (php7, modphp and all modules) from https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220503b.zip build

this build is more stable anyway it seems to me that WP websites renders a bit slower, but this could be just a sensation
in the last days i'had just one reboot (for an http unkillable child) and this is very very good
but i have just one (strange/incomplete) eQ dump in \apache dir, a numver of entries in popuplog.os2
and 60 eQ dumps in \var\log\app since yesterday morning at 11,40 (when i upgraded to 20220503b)
in the apache error log i still see a number of mmap() failed: [12] Not enough memory
or some
Can't initialize heap: [12] Not enough memory - retry 1 U:/dev/php-7-os2/Zend/zend_alloc.c(1853)
Can't initialize heap: [12] Not enough memory - retry 2 U:/d
mmap() failed: [12] Not enou
(last 2 are strange since they are uncomplete)

in attachment you can find some eQ dump about php7.dll
(0004176)
emax   
2022-05-04 07:55   
i've talked too early..

sometimes this build show this on WP websites
you reload the page and the website show correctly
but this is no good :(
(0004177)
emax   
2022-05-04 08:01   
these are error log and eQ dump that generated that http 500 webpage
(0004178)
Steven Levine   
2022-05-04 15:02   
Is 163C_18.TRP really only 569 bytes or is this a bad upload?

last_part_apache_error_log reports:

  Moved 0688_01.TRP to C:\var\log\app\62724d7c-0688_01-HTTPD-exceptq.txt

Is there a reason you did not upload a copy of 62724d7c-0688_01-HTTPD-exceptq.txt?

I know it's hard for you to understand this, but it will always be important to upload related files when the relationship is obvious.

I will see what we can do to avoid these exceptions.

As we have said before, the current goal is to avoid as many of the exceptions as possible. Once we are done with this we will focus on tuning your configuration to avoid as many out of resource issues as possible.

@massimo. Did you ever read and understand my Wed, 16 Mar 2022 message to the apache/2 list with subject
"Thoughts on OS/2 httpd mpmt tuning?"

If not, I recommend you spend some time to do this. It's pretty much required to properly tune your httpd/php configuration.
(0004179)
emax   
2022-05-04 16:26   
i don't know why but build https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220501.zip + *only* modphp7.dll from this build https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220429.zip
was much more stable than the latest https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220503b.zip
i already had 2 reboots today


Is there a reason you did not upload a copy of 62724d7c-0688_01-HTTPD-exceptq.txt?
no, just a mistake, i've a lot of eQ dumps so i took the wrong one, you have in attachment the right one now

about email of 16 Mar 2022 i don't have any kind of email with that subject here, i never received it
neither an answer to that email in the mailing list
(0004180)
Steven Levine   
2022-05-04 18:34   
I can only guess why you did not receive the email. Here's a link to the message in the google groups archive

 https://groups.google.com/g/apache2/c/L81HtD7aVOM

I have to guess that you are not aware, all messages to the list are archived to

  https://groups.google.com/g/apache2

The is exactly the same as how goggle handles every other google group.

As to your comments about relative stability, quasarbbs seems to get overloaded more often than other systems running our httpd/php ports. All we can do is address the issues on at a time.

It's possible some of the slowness you noticed is a side effect of the #751 fix. I submitted a pull request with an optimized patch. We will see is this change helps.

BTW, did you not realize that every one of the exceptq reports you uploaded for 0000745:0004175 are duplicates? If not you will save everyone time by spending a bit of time learning to better recognize duplicates.

62724d7c-0688_01-HTTPD-exceptq.txt is a different. I will review it and see what we can do to avoid it.






(0004181)
emax   
2022-05-04 18:49   
i've read now the post, sorry, but i don't believe it's quite useful for a configuration like my one

StartServers 5
MinSpareThreads 28
MaxSpareThreads 50
MaxRequestsPerChild 115

if i reduce numbers i get poor performances
(0004182)
psmedley   
2022-05-05 09:17   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220505.zip includes the fixes from https://github.com/psmedley/php-7-os2/commit/85e5c9165eb5081f949cf62247460e05fa28d51b
(0004183)
emax   
2022-05-05 09:53   
ok, installed https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220505.zip
apache start and work correctly
i will update you
(0004184)
emax   
2022-05-05 18:45   
2 reboots in few hours due to apache unkillable childs
e.g.
1658 139.988M 370.988M 35837 94973 HTTPX

i'm sorry for the zipped attachment but Mantis do not accept files >3MB

i feel very sorry if i have uploaded something not useful, but it's quite difficult to me to understand wich eQ trap is good or not
(0004185)
Steven Levine   
2022-05-06 03:36   
For the vast majority of exceptq reports it's really almost trivially easy to tell if the report is a duplicate of some other report. You are the only one I recall in recent memory that continues to have trouble with this.

In 6273f59a-0043_21-HTTPD-exceptq.txt the trap is reported as:

 Trap -> 1DAFC603 PHP7 0001:009AC603 zend_alloc.c#2485 @_emalloc_256@0 + 14 0001:009AC5EF (U:\dev\php-7-os2\Zend\zend_alloc.c)

If you have another exceptq report with the same file and line number (i.e. zend_alloc.c#2485), it's duplicate. As a secondary confirmation, you can compare the disassembled code. In this case, it's

 1DAFC5F2 SUB ESP, 0x8 (83ec 08)
 1DAFC5F5 CALL 0x1daa0ece (e8 d448faff)
 1DAFC5FA MOV EDX, [0x1859ce68] (8b15 68ce5918)
 1DAFC600 MOV EAX, [EDX+EAX] (8b0402)
 1DAFC603 >MOV EAX, [EAX] (8b00)
 1DAFC605 TEST EAX, EAX (85c0)
 1DAFC607 JNZ 0x1dafc64e (75 45)
 1DAFC609 CALL 0x1daa0ece (e8 c048faff)

If the disassembly is the same other report than the memory addresses, it's the same trap.

The situation is a bit more complicated for 627416ca-05ab_01-HTTPD-exceptq.txt where the exception is caught by libc/libcx. In this case, the

 Trap -> 1ECC367D LIBCN0 0001:000F367D b_panic.c#537 ___libc_Back_panicV + 1C30 0001:000F1A4D (b_panic.obj)

line is obviously not useful because it always the same file line number. Normally you would scan the Call Stack and find the first caller that is not in libc/libcx. If one exists, you would check the file and line number of this caller and if it matches some other exceptq report, the report is almost surely a duplicate.

In this case the Call Stack terminated without such a caller. Looking at Labels on the Stack, it appears that the exception originated at:

 007FFD48 1EAA0100 HTTPD 0001:00000100 between _ap_get_server_built + 80 and _main - 1492 (in ldconv_buildmark_o_1e2061ca2b9413bd08.obj and main.o)

but this is a quick guess on my part. You would get bonus points if you recognized this as a duplicate of some other exceptq report.

627424cd-088d_01-HTTPD-exceptq.txt is similar to the first report in that the exception is not in libc/libcx. It's at

 Trap -> 1EB24A3D HTTPD 0001:00084A3D between _apr_dbm_get_usednames_ex + 34 and _apr_dbm_get_usednames - 23 (both in apr_dbm.c)

so it's trivially easy to check if this is a duplicate of some other report. Since this is a retail build, you don't have file and line numbers, but you do have function names and offsets (i.e. _apr_dbm_get_usednames_ex + 34). If this matches some other exceptq report, this is a duplicate.

FWIW, unless you have a very good reason, you should not be running retail builds when there is a debug build available. I will not put much time into trying to debug an trap in a retail build.

All three reports are probably the result of running out of system resources.

The exception at


 Trap -> 1DAFC603 PHP7 0001:009AC603 zend_alloc.c#2485 @_emalloc_256@0 + 14 0001:009AC5EF (U:\dev\php-7-os2\Zend\zend_alloc.c)

we know how to avoid. We have seen this trap in similar code. I will prepare a patch for Paul.

The other types of exceptions will continue to occur until you tune your system to better avoid running out of resources.

067A_18.TRP is interesting. At first glance, it appears that our patches caught an out of memory condition that would have trapped in the past. That bad news is it appears that error reporting code tries to allocate memory to log the error and since there is no memory available things go circular until you run out of stack.

I thought this might happen, but want to see it occur before trying to implement a patch that deal with it. The way this is typically handled is that on startup the code allocates a safety buffer. When system runs out of memory, the safety buffer is freed and hopefully this frees up enough heap space to so that the error reporting code can finish and exit. We shall see.
(0004186)
psmedley   
2022-05-06 09:00   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220506.zip includes https://github.com/psmedley/php-7-os2/commit/707408bedad4f96afa578566733eae72ea4072ee and also openssl 1.1.1o

Note: Steven's patch should help performance, but neither of these should make any difference to the Traps reported in https://mantis.smedley.id.au/view.php?id=745#c4184
(0004187)
emax   
2022-05-06 16:03   
installed https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220506.zip

apache starts and work ok
thanks
(0004191)
Steven Levine   
2022-05-06 17:38   
Regarding the theseus getram report:

Pid Private Shared Private Shared Task Names
1658 139.988M 370.988M 35837 94973 HTTPX

The shared memory usage does appear excessive. However, it's not relevant to this ticket. It you want to work on figuring out what is causing the excessive usage, open a httpd ticket. If we already have one for this issues, please remind me what the ticket number is.
(0004196)
emax   
2022-05-07 08:22   
with build https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220506.zip
i've a lot of issues trying to entering word press panels
i get a lot of http error 500
(0004200)
Steven Levine   
2022-05-07 14:20   
My bad. Sloppy coding on my part. Wait for next build.
(0004201)
psmedley   
2022-05-07 21:59   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220508.zip has Steven's latest patch.
(0004205)
emax   
2022-05-08 11:53   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220508.zip build installed
but had to remove it allmost after some minutes all php websites give "ERR_EMPTY_RESPONSE"

and this is a serious issue since build https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220506.zip is very very very unstable
about 5 reboots per day and a crash of apache each now and then :-(
(0004206)
emax   
2022-05-08 11:56   
(0004208)
Steven Levine   
2022-05-08 15:06   
Thanks for testing. I can see what's happening in the exceptq report, but it's not yet obvious what's wrong. We will let you know when a new test build is available.
(0004214)
psmedley   
2022-05-09 00:07   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220509.zip should help.
(0004215)
emax   
2022-05-09 10:08   
Hi,
thanks, but had to revert immediately to build: https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220506.zip

this new build https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220509.zip crash allmost some seconds after startup..

apache error log and eQ dumps in attachment, i'm sorry if i upload something duplicated
i've also a crash on SSL module should i upload it?

thanks
(0004218)
emax   
2022-05-09 19:34   
i've a lot of this stuff in apache error log before apache crash/exit

[Mon May 09 21:29:37.999000 2022] [mpm_mpmt_os2:error] [pid 582:tid 1] (OS 105)The previous ownership of this semaphore has ended. : Sem owner died pidSemaphoreOwner = 580, tidSemaphoreOwner = 1, ulRequestCount = 1 rc = 105 at ap_mpm_child_main #0
[Mon May 09 21:29:39.177000 2022] [mpm_mpmt_os2:notice] [pid 331:tid 1] AH00201: caught SIGTERM, shutting down

is it important?

thanks
(0004222)
Steven Levine   
2022-05-10 02:59   
Regarding 62790231-0c4d_03-HTTPD-exceptq.txt, I still cannot type. The others are may be related, but we will not know until the next build.
(0004332)
emax   
2022-05-20 21:25   
build https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220519.zip has made a huge progress in stability

here below the only 3 eQ dumps on PHP7.DLL in a day (dump in attachment and part of apache error log)

dump 0047_1

[Fri May 20 11:26:20.324000 2022] [mpm_mpmt_os2:notice] [pid 66:tid 1] AH00206: Apache/2.4.53 (OS/2) OpenSSL/1.1.1o PHP/7.4.28 configured -- resuming normal operations

Killed by SIGSEGV
pid=0x0047 ppid=0x0042 tid=0x0001 slot=0x0059 pri=0x0200 mc=0x0001 ps=0x0010
D:\APACHE\BIN\HTTPD.EXE
cs:eip=20c88a20:0000003a ss:esp=1ebdca82:20030000 ebp=007f0053
 ds=0000 es=0000 fs=20030150 gs=0000 efl=00000000
eax=007ff968 ebx=1ffc9d7c ecx=007ff97c edx=007ff9a0 edi=20030000 esi=007fff7c
Creating 0047_01.TRP
Moved 0047_01.TRP to C:\var\log\app\62877e28-0047_01-HTTPD-exceptq.txt
tore&tesiDir=ASC&tesiPage=2
[Fri May 20 11:32:52.123000 2022] [negotiation:error] [pid 67:tid 9] [client 79.51.242.49:52910] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated)., referer: https://www.bing.com/


dump: 09fd_01

[Fri May 20 15:39:51.569000 2022] [negotiation:error] [pid 2380:tid 22] [client 130.35.84.153:39308] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Fri May 20 15:40:52.075000 2022] [php7:error] [pid 2380:tid 24] [client 154.54.249.205:36040] script 'D:/apache/htdocs/max/jaime-it/index.html' not found or unable to stat
[Fri May 20 15:47:48.233000 2022] [core:error] [pid 2565:tid 18] [client 35.245.82.188:1250] AH00082: an unknown filter was not added: includes
[Fri May 20 15:48:08.985000 2022] [core:error] [pid 2557:tid 27] [client 154.54.249.205:11578] AH10244: invalid URI path (/../..)
[Fri May 20 15:50:18.962000 2022] [php7:error] [pid 2566:tid 26] [client 172.104.239.240:54852] script 'D:/apache/htdocs/max/speedmarine/xmlrpc.php' not found or unable to stat
[Fri May 20 15:50:20.919000 2022] [php7:error] [pid 2566:tid 27] [client 172.104.239.240:54856] script 'D:/apache/htdocs/max/speedmarine/xmlrpc.php' not found or unable to stat
[Fri May 20 15:50:21.372000 2022] [php7:error] [pid 2557:tid 3] [client 172.104.239.240:54860] script 'D:/apache/htdocs/max/speedmarine/wp-login.php' not found or unable to stat
[Fri May 20 15:50:21.794000 2022] [php7:error] [pid 2565:tid 3] [client 172.104.239.240:54864] script 'D:/apache/htdocs/max/speedmarine/wp-login.php' not found or unable to stat
[Fri May 20 15:50:22.218000 2022] [php7:error] [pid 2567:tid 30] [client 64.227.108.223:49240] script 'D:/apache/htdocs/ecs/xmlrpc.php' not found or unable to stat
[Fri May 20 15:50:25.499000 2022] [php7:error] [pid 2567:tid 28] [client 64.227.108.223:49524] script 'D:/apache/htdocs/ecs/xmlrpc.php' not found or unable to stat
[Fri May 20 15:50:29.335000 2022] [php7:error] [pid 2566:tid 29] [client 64.227.108.223:50278] script 'D:/apache/htdocs/ecs/wp-login.php' not found or unable to stat
[Fri May 20 15:50:31.560000 2022] [php7:error] [pid 2557:tid 32] [client 64.227.108.223:50670] script 'D:/apache/htdocs/ecs/wp-login.php' not found or unable to stat
[Fri May 20 15:51:57.458000 2022] [negotiation:error] [pid 2557:tid 10] [client 157.55.39.81:1536] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Fri May 20 15:52:56.349000 2022] [negotiation:error] [pid 2557:tid 23] [client 213.26.139.50:57052] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated)., referer: https://www.google.com/

Killed by SIGSEGV
pid=0x09fd ppid=0x04df tid=0x0001 slot=0x0054 pri=0x0200 mc=0x0001 ps=0x0010
D:\APACHE\BIN\HTTPD.EXE
cs:eip=283adf20:0000003a ss:esp=1ebdca82:20030000 ebp=007f0053
 ds=0000 es=0000 fs=20030150 gs=0000 efl=00000000
eax=007ff968 ebx=1ffc9d7c ecx=007ff97c edx=007ff9a0 edi=20030000 esi=007fff7c
Creating 09FD_01.TRP
Moved 09fd_01.TRP to C:\var\log\app\6287b9dd-09fd_01-HTTPD-exceptq.txt
[Fri May 20 16:00:27.369000 2022] [core:error] [pid 2652:tid 29] [client 173.231.60.196:54412] AH00082: an unknown filter was not added: includes


dump: 18cb_01

[Fri May 20 22:02:54.787000 2022] [mpm_mpmt_os2:notice] [pid 5859:tid 1] (OS 10035)Resource temporarily unavailable: apr_socket_accept
[Fri May 20 22:17:18.951000 2022] [core:error] [pid 6163:tid 5] [client 144.76.119.235:60543] AH00082: an unknown filter was not added: includes
[Fri May 20 22:17:18.970000 2022] [autoindex:error] [pid 6163:tid 5] [client 144.76.119.235:60543] AH01276: Cannot serve directory D:/apache/htdocs/max/sitep/wp-includes/: No matching DirectoryIndex (index.html,index.php,index.htm,index.shtml,index.wml,welcome.html,welcome.htm,index.php3,index.php4,index.phps,default.php,login.php) found, and server-generated directory index forbidden by Options directive
[Fri May 20 22:17:25.812000 2022] [negotiation:error] [pid 6164:tid 6] [client 144.76.119.235:57922] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
[Fri May 20 22:18:03.779000 2022] [php7:error] [pid 6163:tid 20] [client 101.99.90.175:41674] script 'D:/apache/htdocs/max/jaime-hw/wp-login.php' not found or unable to stat, referer: http://jaimeaymerichhollywood.com/wp-login.php
[Fri May 20 22:18:07.876000 2022] [core:error] [pid 5493:tid 1] (13)Permission denied: AH00095: failed to remove PID file D:/apache/logs/httpd.pid
[Fri May 20 22:18:07.876000 2022] [mpm_mpmt_os2:notice] [pid 5493:tid 1] AH00201: caught SIGTERM, shutting down
[Fri May 20 22:18:15.429000 2022] [mpm_mpmt_os2:notice] [pid 6339:tid 1] AH00206: Apache/2.4.53 (OS/2) OpenSSL/1.1.1o PHP/7.4.28 configured -- resuming normal operations

Killed by SIGSEGV
pid=0x18cb ppid=0x18c3 tid=0x0001 slot=0x008b pri=0x0200 mc=0x0001 ps=0x0010
D:\APACHE\BIN\HTTPD.EXE
cs:eip=27487800:0000003a ss:esp=1ebdca82:20030000 ebp=007f0053
 ds=0000 es=0000 fs=20030150 gs=0000 efl=00000000
eax=007ff968 ebx=1ffc9d7c ecx=007ff97c edx=007ff9a0 edi=20030000 esi=007fff7c
Creating 18CB_01.TRP
Moved 18cb_01.TRP to C:\var\log\app\62881ada-18cb_01-HTTPD-exceptq.txt
[Fri May 20 22:49:30.249000 2022] [negotiation:error] [pid 6630:tid 4] [client 43.154.171.110:39220] AH00687: Negotiation: discovered file(s) matching request: D:/apache/htdocs/max/sitep/index.html (None could be negotiated).
(0004333)
Steven Levine   
2022-05-21 02:11   
Please open a new ticket for https://mantis.smedley.id.au/view.php?id=745#c4332.

The summary should be

  mysqlnd traps attempting to update statistics during connection close processing

You originally reported this issue in the now closed #748. The ticketed gather too many unrelated comments and exceptq reports and the original issue seems have gotten lost in the noise.

We are trapping at:

ext\mysqlnd\mysqlnd_connection.c:2441
            MYSQLND_INC_CONN_STATISTIC(conn->stats, close_type_to_stat_map[close_type]);

I suspect this happened the connection failed before the statistics buffer get fully initialized.
(0004334)
Steven Levine   
2022-05-22 02:00   
(Last edited: 2022-05-22 02:10)
The out of memory issues that were the focus of this ticket have been resolved for both 7.4.28 and 8.1.6. The remaining unrelated issues such as the trap in mysqlnd will be handled in separate tickets.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
755 [Apache 2.x ] Feature Request minor always 2022-05-08 16:54 2022-05-19 18:30
Reporter: Steven Levine Platform: OS2/eCS  
Assigned To: Steven Levine OS: OS/2 or eComstation  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: resolved Product Version: 2.4.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 2.4.53  
    Target Version:  
Summary: Support MaxThreads MPM directive
Description: The current mpmt_os2 implementation limits threads to the 512 thread system limit. The ticket proposes to implement a MaxThreads MPM directived to allow this limit to be configurable which will allow some out of resource conditions to be prevented.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0004211)
psmedley   
2022-05-08 21:09   
A build with the PR for this (https://github.com/psmedley/httpd-2.4-os2/pull/1) is at https://smedley.id.au/tmp/httpd-2.4.53-os2-20220508.zip
(0004324)
Steven Levine   
2022-05-19 18:30   
The patches are working as intended.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
757 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Feature Request minor always 2022-05-13 03:16 2022-05-19 18:28
Reporter: Steven Levine Platform: OS2/eCS  
Assigned To: Steven Levine OS: OS/2 or eComstation  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: resolved Product Version: 7.4.28  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 8.1.6  
    Target Version: 7.4.28  
Summary: Reduce php mmaped memory address space usage.
Description: The php mmap memory manager aligns chunks on 2MB boundaries. The OS/2 implementation of zend_mm_chunk_alloc_int results in these chunks almost always using 4MB of address space.

This ticket proposes to modify the implementation to avoid using more address space than 2MB per chunk. The alignment process may leave unused blocks of address space smaller than 2MB. These chunks will be available other uses
such as the libx heap and apr pools.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: 62829f60-8921_03-HTTPD-exceptq.txt (41,871 bytes) 2022-05-16 09:34
https://mantis.smedley.id.au/file_download.php?file_id=715&type=bug
62829f67-8923_03-HTTPD-exceptq.txt (47,967 bytes) 2022-05-16 09:34
https://mantis.smedley.id.au/file_download.php?file_id=716&type=bug
Notes
(0004231)
Steven Levine   
2022-05-13 19:47   
This will be implemented by pr#13.
(0004239)
psmedley   
2022-05-13 21:15   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220514.zip has this patch. Testing on my side of the world will have to wait until later this morning.
(0004240)
Steven Levine   
2022-05-14 01:33   
No worries. I just thought you might be curious. The patch works fine until it gets to the zend_error that I put in for logging. I have a feeling that the filename and line number variables it wants are not yet initialized because it's so early in the startup process.

If I skip the call in the debugger, the test runs to completion.
(0004241)
Steven Levine   
2022-05-14 02:06   
When we call:
Zend\zend_alloc.c:725
        zend_error(E_NOTICE,"zend_mm_chunk_alloc_int: ptr: %p fillcnt: %u", ptr, fillcnt);

we trap at:

Zend\zend.c:1324
        zend_error_cb(type, error_filename, error_lineno, format, args);

because zend_error_cb has not been initialized yet. I need to find a a different logging routine or just use printf to stderr.
(0004242)
psmedley   
2022-05-14 05:05   
https://smedley.id.au/php-7.4.28-os2-debug-20220514b.zip
(0004243)
Steven Levine   
2022-05-14 05:22   
I'm getting a 404 on 220515b.zip. Do I need to be a bit more patient?
(0004244)
psmedley   
2022-05-14 05:29   
nope, I just missed the tmp partof the path :( try https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220514b.zip
(0004245)
psmedley   
2022-05-14 06:25   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220514c.zip
(0004295)
Steven Levine   
2022-05-14 13:42   
It appears that 20220514c contains the same binaries as 20220514b.
(0004301)
psmedley   
2022-05-14 21:14   
Apologies, try https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220515.zip
(0004302)
Steven Levine   
2022-05-14 21:44   
Good news. This no longer traps. If I do

  error_reporting = E_ALL & ~E_NOTICE

the BEGINLIBPATH update E_NOTICE message is suppressed.

However, I'm not getting the zend_mm_chunk_alloc_int output to stderr. I suspect it's too early for the error_reporting variable to be initialized. I'll verify this later with the debugger. If we really need this for testing, I will invent an environment variable.
(0004303)
psmedley   
2022-05-15 07:32   
The code from https://github.com/psmedley/php-os2/pull/16 is included in:
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220515b.zip
(0004304)
Steven Levine   
2022-05-15 22:22   
This looks good to me. Without E_NOTICE in error reporting and without ZEND_MM_LOG_OS2 defined, we get a quiet run.

With E_NOTICE set in error_reporting and

 set ZEND_MM_LOG_OS2=1

we get the expected:

d:\internet\php7
>php -c. -f mysql_shl.php
zend_mm_chunk_alloc_int: ptr: 0x21400000 fillcnt: 5

Notice: PHP Startup: update_beginlibpath set BEGINLIBPATH to modules\;%BEGINLIBP
ATH% in Unknown on line 0
Connected successfully
Select returned 271 rows

The fillcnt: 5 means that zend_mm_chunk_alloc_int needed to allocate 5 unusable chunks before it found a usable, properly aligned chunk.
(0004305)
psmedley   
2022-05-16 09:17   
I cherry-picked these patches onto the 8.1 branch. They applied fine, but apache2 is crashing :( .TRP file incoming once I build a debug build
(0004306)
psmedley   
2022-05-16 09:34   
https://smedley.id.au/tmp/php-8.1.6-os2-debug-20220516.zip
(0004307)
Steven Levine   
2022-05-17 02:28   
The php devs modified 8.1 so that zend_error_cb is now initialized non-zero before zend_mm_chunk_alloc_int. but the other bits are not sufficiently initialized and the output attempt eventually traps. I will submit a pull request to workaround this.
(0004308)
psmedley   
2022-05-17 09:20   
Thanks! Seems to work with limited testing. https://smedley.id.au/tmp/php-8.1.6-os2-debug-20220517.zip
(0004311)
Steven Levine   
2022-05-18 01:33   
Seems fine here too. Turns out I needed to cherry pick the commit into 7.4.28 too. While the original logging control logic worked when running php standalone, the same not-sufficiently initialized issue showed up when running via modphp.
(0004312)
psmedley   
2022-05-18 03:10   
Will build the updated 7.4.28 Thursday PM my time - I have a work dinner this evening.
(0004317)
psmedley   
2022-05-19 09:19   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220519.zip
(0004318)
Steven Levine   
2022-05-19 15:08   
This on look good enough to go to massimo. The log entries show up in the apache error log, but that's OK. With set ZEND_MM_LOG_OS2=1,

[Thu May 19 07:57:38.899000 2022] [authz_core:debug] [pid 29052:tid 6] mod_authz_core.c(815): [client 127.0.0.1:56082] AH01626: authorization result of <RequireAny>: granted
zend_mm_chunk_alloc_int: ptr: 0x21a00000 fillcnt: 2
[Thu May 19 07:57:38.901000 2022] [core:info] [pid 29052:tid 6] [client 127.0.0.1:56082] AH00128: File does not exist: D:/Internet/apache24-data/mydocs/favicon.ico

Fillcnt 2 is pretty good. It means that it only took one retry to find an aligned block. This is the same time cost as the original alignment logic without the lost address space.

I probably should add a timestamp to the message at some point, but there's no rush since ZEND_MM_LOG_OS2 will only be set for debugging php memeory issues.
(0004323)
Steven Levine   
2022-05-19 18:28   
The patches seem to be working as intended in both 7.4.28 and 8.1.6.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
756 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Feature Request minor always 2022-05-10 03:53 2022-05-18 18:01
Reporter: Steven Levine Platform: OS2/eCS  
Assigned To: Steven Levine OS: OS/2 or eComstation  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version: 8.1.6  
    Target Version:  
Summary: Avoid need to add the php extensions directory to LIBPATH or BEGINLIBPATH.
Description: php requires that extensions directories must be in LIBPATH, BEGINLIBPATH or ENDLIBPATH or the extensions will fail to load. A typical solution is that add the extensions directory to BEGINLIBPATH before starting httpd or php.
Adding the directory to the LIBPATH, can work but if there is a need to work with multiple php installations.

The proposed solution is to modify ext\standard\dl.c so that if the extension directory is not already in BEGINLIBPATH, invoke DosSetExtLIBPATH to add the directory.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0004226)
Steven Levine   
2022-05-11 23:59   
This feature will be implemented by https://github.com/psmedley/php-7-os2/pulls and friends.
(0004229)
psmedley   
2022-05-13 09:15   
https://smedley.id.au/tmp/php-7.4.28-os2-20220513.zip has this PR included. I forgot to modify makefile for debug, so debug symbols will have to wait :/
(0004230)
psmedley   
2022-05-13 09:58   
https://smedley.id.au/tmp/php-7.4.28-os2-debug-20220513.zip should be a debug build :)
(0004233)
Steven Levine   
2022-05-13 20:14   
This looks good.

>set BEGINLIBPATH
Not in environment "BEGINLIBPATH"

d:\internet\php7
>php -c. -f mysql_shl.php

Notice: PHP Startup: update_beginlibpath set BEGINLIBPATH to modules\;%BEGINLIBPATH% in Unknown on line 0
Connected successfully
Select returned 271 rows

.\php.ini, which is set up for local testing, contains

extension_dir = "modules/"

d:\internet\php7

>php -f mysql_shl.php

Notice: PHP Startup: update_beginlibpath set BEGINLIBPATH to d:\internet\php7\modules\;%BEGINLIBPATH% in Unknown on line 0
Connected successfully
Select returned 271 rows

The production php.ini contains:

extension_dir = "d:/internet/php7/modules/"

Let me know if anything shows up in your testing.
(0004235)
Steven Levine   
2022-05-13 20:29   
This patch does not avoid the need for BEGINLIBPATH when php is invoked via modphp7.dll which statically links to php7.dll. I'm not sure yet what a generic should might look like. It will probably take a new httpd directive.
(0004236)
Steven Levine   
2022-05-13 20:49   
I'm thinking that OS2LibPath would be a good name for the directive. I have to figure out where the code should live. Probably mod_so.c, along with the other BEGINLIBPATH patches.
(0004238)
psmedley   
2022-05-13 21:11   
I plan to try and test today,I've been focussing on getting the php-8.1 branch building, and merged to the 8.1.6 code :)
(0004316)
Steven Levine   
2022-05-18 18:01   
Implemented for both 7.4.28 and 8.1.6.

Will need additional BEGINLIBPATH support in httpd to allow modphp.dll to find and load php.dll. This will a separate ticket.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
754 [Apache 2.x ] Feature Request minor always 2022-05-08 02:27 2022-05-14 13:49
Reporter: Steven Levine Platform: OS2/eCS  
Assigned To: Steven Levine OS: OS/2 or eComstation  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: resolved Product Version: 2.4.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Avoid need to add modules directory to LIBPATH or BEGINLIBPATH.
Description: Some modules import from other modules. This means that the modules directory must be in LIBPATH or BEGINLIBPATH or the module will fail to load.

One example is dav.dll and dav_fs.dll.

The proposed solution is to modify modules\core\mod_so.c so that if the initial apr_dso_load attempt fails,
and if the module's directory is not already in BEGINLIBPATH, then invoke DosSetExtLIBPATH to add the directory and retry the the apr_dso_load.

In some cases that load error can be avoided by adjusting the order of LoadModule statments, but the proposed enhancement eliminates the need for this effort.

Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0004225)
Steven Levine   
2022-05-11 23:24   
The BEGINLIBPATH support seems to be working as intended. Starting with

  BEGINLIBPATH=D:\Internet\php7;
  LIBPATHSTRICT=

and no references to httpd or php in PATH or LIBPATH, running

  httpd -d.. -e debug

results in the following log entries written to stderr:

  [Wed May 11 16:11:09.241000 2022] [so:debug] [pid 5157:tid 1] mod_so.c(200): AH01580: update_beginlibpath set BEGINLIBPATH to D:\\Internet\\apache24\\modules;%BEGINLIBPATH%
  [Wed May 11 16:11:09.247000 2022] [so:debug] [pid 5157:tid 1] mod_so.c(347): AH01575: loaded module dav_fs_module from D:/Internet/apache24/modules/dav_fs.dll
  [Wed May 11 16:11:09.251000 2022] [so:debug] [pid 5157:tid 1] mod_so.c(347): AH01575: loaded module dav_module from D:/Internet/apache24/modules/dav.dll

dav_fs.dll requires dav.dll, which triggers the BEGINLIBPATH update. The dav_fs.dll load loads
both dav.dll and dav_fs.dll and dav.dll is already loaded when httpd requests the load.

See:
  https://github.com/psmedley/httpd-2.4-os2/pull/2
  https://github.com/psmedley/httpd-2.4-os2/pull/3
  https://github.com/psmedley/httpd-2.4-os2/pull/3
for the commit details.
(0004297)
Steven Levine   
2022-05-14 13:49   
The new code seems to be working as intended.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
157 [Port Requests] minor always 2007-02-21 19:46 2022-05-14 07:02
Reporter: dhdurgee Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Port Hercules to OS/2
Description: Hercules is an IBM mainframe emulator that is available for *nix and Windows platforms that runs 370/390/XA/Z software. As IBM uses OS/2 as the support platform for their P/370 and P/390 products there are already OS/2 utilities and modules available that make OS/2 ideal as a platform for Hercules. For further information see the Hercules web site:

http://www.conmicro.cx/hercules/
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000762)
dhdurgee   
2007-10-01 17:22   
There appears to be a more current link for the Hercules web site:

http://www.hercules-390.org/

This is also becoming a more urgent need on my part. Given this we might consider offering compensation for porting this package to OS/2 and eCS. If you are not interested in porting this package but know of someone who would be interested in the work let me know. I would need to weigh the cost of porting against learning to use and support hercules on a linux server, so this is not a sure thing.
(0000763)
psmedley   
2007-10-03 04:27   
Hi Dave - let me do some investigation on how much effort would be required...

I'll try and look at that some time in the next week or so...
(0000785)
weisj   
2007-12-20 21:33   
I would also be very interrested in this application being ported to OS/2. I would definately test it out for you, and help others use it. Just let me know whatever I can do to help... John.
(0000831)
dhdurgee   
2008-03-06 20:31   
Any idea when you will get a chance to take another stab at this?
(0001010)
dhdurgee   
2008-10-22 15:38   
I was looking at your recent updates to gcc and see that you have untested cygwin support with the latest 4.3.2 release. Hercules can be compiled with cygwin under windows, so perhaps this would be a good test case for you. If it works you could add another package ported to OS/2 that could be helpful to me and possibly a few others.
(0001301)
dhdurgee   
2009-04-27 20:34   
(Last edited: 2009-04-27 20:49)
Any chance you will get a chance to look at this in the near future? Would a corporate sponsorship of some sort help? We are not a large firm, but given this could provide us with a backup plan for disaster recovery it is certainly worth something to us.

PS: There appears to be a January, 2009 release available now for download at
    the Hercules site. I have downloaded and installed your build environment,
    but I am a novice at using it and c or c++ coding so it is questionable if I
    would be of any help in actually running builds. Of course I can try if you
    would want me to do so and you were willing to help me over the bumps in
    getting it to build and actually run under OS/2.

    I see you have recently release a newer gcc, would using a newer release
    be expected to make a difference? What would I need to change to integrate
    the newer version into your build environment?

    Thanks again for your work for OS/2.

    Dave

(0001302)
psmedley   
2009-04-27 21:38   
Hi Dave, I can try and help you along.... my time is pretty stretched right now, so I would not be comfortable with accepting any kind of sponsorship for a specific port that I don't know if I can complete.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
344 [MySQL v5 for OS/2 & eComStation] Bug minor always 2009-04-22 10:47 2022-05-14 07:01
Reporter: khs Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: problem with datadir
Description: Using "datadir=g:/data/mysql5" in the my.cnf cause mysql 5.1.33 (with 5.1.30 it is the same) to fail if there is not a directory "G:\data\mysql5\g" available. The following files are created there:

 Datenträger, Laufwerk G, hat den Namen DATEN2.
 Datenträgernummer ist 0290:9802
 Verzeichnis von G:\data\mysql5\g

22.04.09 10.42 <DIR> 0 .
22.04.09 10.37 <DIR> 0 ..
22.04.09 10.36 0 124 ib000002.tmp
22.04.09 10.36 0 124 ib000004.tmp

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001385)
subhuman_bob   
2009-07-31 07:48   
This still exists in 5.1.36
datadir=e:\utils\mysql
requires that e:\utils\mysql\c also exist
(0004271)
psmedley   
2022-05-14 07:01   
Please retest with a support mysql build

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
346 [Other Unix Port] Bug major always 2009-04-22 16:07 2022-05-14 07:00
Reporter: rwklein Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: SMTP demon over stunnel causes high CPU spike in CPU usage of mail server.
Description: We run a weasel SMTP demon in the Mensys office that collects the email. It connects over an stunnel connection to our main mail server where communigate receives the email. When I use Inetmail or Weasel (the servers I have tried so far) to send out email over stunnel the CPU usage goes high the moment an email is transmitted over stunnel. The CPU usage is not high when the weasel receives an email from the Mensys LAN. But it goes high when it transmits it over Stunnel to our mail server. If weasel sends it directly to the mailserver (not over stunnel) weasel does not have a high cpu spike of 99%.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0004269)
psmedley   
2022-05-14 07:00   
PLease test with a more recent stunnel

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
335 [Other Unix Port] Bug major always 2009-03-21 18:28 2022-05-14 06:59
Reporter: Igor Vaskov Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Crash if worker_processes 3; and above.
Description: if worker_processes have condition 3 and above server write into log file message:
2009/03/21 20:34:43 [alert] 91#0: select() failed (22: Invalid argument)

This message writing into log file infinity.
Tags:
Steps To Reproduce:
Additional Information: 2009/03/21 20:34:43 [notice] 89#0: using the "select" event method
2009/03/21 20:34:43 [notice] 89#0: nginx/0.6.32
2009/03/21 20:34:43 [notice] 89#0: built by gcc 3.3.5 (Bird Build 2007-06-10 14:30)
2009/03/21 20:34:43 [notice] 89#0: getrlimit(RLIMIT_NOFILE): 10000:10000
2009/03/21 20:34:43 [notice] 89#0: start worker processes
2009/03/21 20:34:43 [notice] 89#0: start worker process 90
2009/03/21 20:34:43 [notice] 89#0: start worker process 91
2009/03/21 20:34:43 [alert] 90#0: recvmsg() returned invalid ancillary data level 504418437 or type 1637624
2009/03/21 20:34:43 [notice] 89#0: start worker process 92
2009/03/21 20:34:43 [alert] 91#0: recvmsg() returned invalid ancillary data level 504418437 or type 1637624
2009/03/21 20:34:43 [alert] 91#0: select() failed (22: Invalid argument)
2009/03/21 20:34:43 [alert] 91#0: select() failed (22: Invalid argument)
2009/03/21 20:34:43 [alert] 91#0: select() failed (22: Invalid argument)
=========Cut==========
And next infinity loop of
2009/03/21 20:34:43 [alert] 91#0: select() failed (22: Invalid argument)
Attached Files:
Notes
(0001272)
Igor Vaskov   
2009-04-01 06:05   
May be program open many treads and treads empty in OS/2 system???
(0004268)
psmedley   
2022-05-14 06:59   
Sorry, I'm no longer maintaining this port.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
330 [Other Unix Port] Bug major always 2009-03-09 11:24 2022-05-14 06:59
Reporter: Igor Vaskov Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: nginx 0.6.32-20080729: Failed start after interrupt this program on CTRL-C
Description: From error log:

2009/03/09 13:35:11 [notice] 113#0: using the "select" event method
2009/03/09 13:35:11 [alert] 113#0: shmget(256) failed (22: Invalid argument)

LIBC PANIC!!
safesem mutex requested failed, rc=0x6. pmtx=647f04a0:{.hmtx=0x800100ac .fShared=0x1}
pid=0x0071 ppid=0x0064 tid=0x0001 slot=0x0090 pri=0x0200 mc=0x0001
I:\NGINX\SBIN\NGINX.EXE
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0004267)
psmedley   
2022-05-14 06:59   
Sorry, I'm no longer maintaining this port.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
316 [Other Unix Port] Bug major always 2009-02-14 00:52 2022-05-14 06:58
Reporter: luwa Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: MediaTomb: Cannot add 'bulk' media
Description: I'm using MediaTomb SVN r1995.

I can add single files, but not a whole disk at once, not even a 'super'-directory holding thousands of MP3-files in directories and subdirectories.

On the disk where I have installed MediaTomb I have 5.430 MP3-files in the filesystem, want to add them to the MediaTomb-database. I use the Web-UI.

The MP3-files are organized in a simple three-fold directory-structure:
x:\MyMusic\<artist>\<album>\titel1.mp3, titel2.mp3, ...

In the Web-UI, I click on 'filesystem', then I position cursor on the "MyMusic"-folder and click "+" for adding them all in one "strike". Then this happens: A certain amount of files are added, then an error-message is issued from the server "error: database is locked" and a lot of other messages following after this. Sometimes the server comes down after that, sometimes it remains active, but wouldn't accept any more add's.

No error occurs when I add every album-directory (which is the lowest directory-level) by a separate "+", even when I go one lever higher, to the Artist-directory. But in cases when the artist has many albums (subdirectories) then adding the whole artist at once also triggers the "database is locked"-error.

In my case, the 5.430 MP3-files are dispersed over about 2.100 directories (there are many artists who have only one or two songs). Having to add them all separately, i.e. by a click on the '+' on the album-directory-level would cost me hours and hours of time. So I would very much appreciate if the problem could be solved. Or did I have overseen something in the config.xml ?

Thank you,
Lutz Wagner

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0004266)
psmedley   
2022-05-14 06:58   
Sorry, I'm no longer maintaining this port.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
266 [Port Requests] Port Request minor N/A 2008-08-19 22:16 2022-05-14 06:58
Reporter: eJoJo Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Please port libgpod to OS/2 :)
Description: Hello Paul,

since I recently added an an iPod nano to my list of devices, I would like to access it from eCS. I am sure there are many iPod users among us - but I could not find any way to access it. There seems to be a useful lib that enables this:

LibGpod

Could you have a look if this is portable to eCS-OS/2 in any way?

http://www.gtkpod.org/libgpod.html

Thanks in advance!
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000942)
eJoJo   
2008-08-19 22:19   
It just occured to me that this could maybe be implemented as a plugin to Netdrive. In that case, you may not be the man :)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
269 [Other Unix Port] Bug minor always 2008-08-25 18:08 2022-05-14 06:57
Reporter: DB1 Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Tar reads file of file names to tar as unix and barfs on \r
Description: [T:\tmp]tar -cvf - -T publish_files >stuff
tar: SSL/html/ssl/recent.html\r: Cannot stat: No such file or directory
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000949)
psmedley   
2008-08-26 03:02   
Which version of tar?
(0000950)
DB1   
2008-08-26 07:42   
Latest from your site - tar (GNU tar) 1.20
(0004265)
psmedley   
2022-05-14 06:57   
Sorry, I'm no longer maintaining this port.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
152 [Other Unix Port] minor always 2007-02-11 21:30 2022-05-14 06:57
Reporter: ggamba Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: dproxy doesn't do reverse DNS lookup?
Description: Hello Paul,

I have dproxy-nexgen running on my home server, with address 192.168.1.1. Doing "nslookup smedley.info" from a different PC I get:
Server:
Address: 192.168.1.1

Non-authoritative answer:
Name: smedley.info
Address: 203.122.246.45

while doing "nslookup 203.122.246.45" I get nothing:
Server:
Address: 192.168.1.1

Name:
Address: 203.122.246.45

Result should be, I think, like the one I get using my provider's DNS:
[c:\Desktop]nslookup 203.122.246.45 1.253.128.10
Server: ns007dns.residential.fw
Address: 1.253.128.10

Name: smedley.info
Address: 203.122.246.45


Also: why it always says:
Server:
Address: 192.168.1.1
?
In the server HOSTS file there is "192.168.1.1 router.homefw", so the server should be able to identify itself.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0004264)
psmedley   
2022-05-14 06:57   
Sorry, I'm no longer maintaining this port.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
118 [Sane for OS/2 & eComStation] major always 2006-10-29 20:03 2022-05-14 06:57
Reporter: PWeilbacher Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Tame removes the scanned image after scan is complete
Description: This may be something in my configuration but I have no clue what it could be.

Using tame104b.exe whenever I scan an image it is first created as Image001.tif in the <TAME_2_IMAGES> folder but as soon as scanning is completed, it is removed again. The SANE_DEBUG variables don't help in this case because the scan itself completes properly (I can see the image in PMView while it is loading and if I time a reload correctly, also when it is complete).

An excerpt from tame.log doesn't show anything out of the ordinary:

Start: 29 Oct 2006 20:50:08
Job: Scan to file
Command1: START /MIN /C SCANIMAGE.EXE -d epson -l 0 -t 147 -x 104 -y 150 --mode Color --resolution 300 --speed=yes --format=tiff > h:\Peter\Scans\Image001.tif
File: h:\Peter\Scans\Image001.tif (6462960 bytes)
End: 29 Oct 2006 20:50:25

(Note that h:\Peter\Scans is my <TAME_2_IMAGES> folder.)
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0004263)
psmedley   
2022-05-14 06:57   
Sorry, I'm no longer maintaining this port.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
99 [Port Requests] minor N/A 2006-10-09 11:26 2022-05-14 06:56
Reporter: Uki Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Codec - Xine/ffmpeg MCD
Description: Have you looked at the xine-lib port from Darwin O'Connor, but unfortunately he has no more time to update it.

So far I know the xine-lib is based on ffmpeg and Darwin made a MCD stuff for OS/2 so it is used like an ordinary codec.

I use Warp Vision and it works great, but it is not system wide support for multimedia files.
Tags:
Steps To Reproduce:
Additional Information: Darwins page:
http://doconnor.reamined.on.ca/xine/

Original xine page:
http://xinehq.de/
Attached Files:
Notes
(0000369)
psmedley   
2006-10-23 00:25   
I took a very quick look at this over the weekend. The current implementation of pthreads isn't complete enough for Xine. Full pthreads support is in the roadmap for libc 0.7 - but not sure when it will be available.

When/if I have some free time I'll take a look at what can be done to improve the current pthreads build.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
411 [Other Unix Port] minor always 2010-04-19 13:41 2022-05-14 06:55
Reporter: jep Platform: eComStation  
Assigned To: psmedley OS: OS/2  
Priority: normal OS Version: 2.0 rc6  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: PostGreSQL: Not possible to select encoding as UTF8 on the dbserver
Description: Should be possible to set UTF-8 as encoding on the server:
http://www.postgresql.org/docs/current/static/multibyte.html

LATIN1 (ISO8891-1) is by the way not compatible with CP850 for non english langauges as it is equivalent to CP1252/CP1004.
Tags:
Steps To Reproduce: initdb --encoding=UTF8
LATIN1 is known to not be compatible....
Additional Information:
Attached Files:
Notes
(0001540)
jep   
2010-04-19 17:30   
[C:\PROGRAMS\PGSQL\BIN]initdb -D C:\U8DB --encoding=UTF8 --locale=sv_SE.UTF8
short_version = 8.4
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale sv_SE.UTF8.
could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-1208"
could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-1208"
The default text search configuration will be set to "swedish".

creating directory C:/U8DB ... ok
creating subdirectories ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 400kB
creating configuration files ... ok
creating template1 database in C:/U8DB/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... WARNING: could not determine encoding for lo
cale "sv_SE.UTF8": codeset is "IBM-1208"
DETAIL: Please report this to <pgsql-bugs@postgresql.org>.
WARNING: could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-
1208"
DETAIL: Please report this to <pgsql-bugs@postgresql.org>.
ok
copying template1 to postgres ... WARNING: could not determine encoding for loc
ale "sv_SE.UTF8": codeset is "IBM-1208"
DETAIL: Please report this to <pgsql-bugs@postgresql.org>.
WARNING: could not determine encoding for locale "sv_SE.UTF8": codeset is "IBM-
1208"
DETAIL: Please report this to <pgsql-bugs@postgresql.org>.
ok

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the -A option the
next time you run initdb.

Success. You can now start the database server using:

    postgres -D C:/U8DB
or
    pg_ctl -D C:/U8DB -l logfile start
(0001541)
psmedley   
2010-04-19 21:44   
Try using just:
initdb -D C:\U8DB --encoding=UTF8 --locale=sv_SE
(0001546)
jep   
2010-04-25 09:32   
That is unfortunately not possible as mentioned vaguely in "Steps To Reproduce".

[C:\PROGRAMS\PGSQL\BIN]initdb --encoding=UTF8 --locale=sv_SE --pgdata=D:\UDB
Initializing database...one moment please.
short_version = 8.4
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale sv_SE.
initdb: encoding mismatch
The encoding you selected (UTF8) and the encoding that the
selected locale uses (LATIN1) do not match. This would lead to
misbehavior in various character string processing functions.
Rerun initdb and either do not specify an encoding explicitly,
or choose a matching combination.
Couldn't initalize database
(0001547)
psmedley   
2010-04-25 10:18   
ok i will try do some more testing.

I know that initdb --encoding=UTF8 --locale=de_DE definitely does work..
(0001868)
jep   
2011-04-03 08:02   
I've now tested this again and also tried
--encoding=UTF8 --locale=de_DE
but get the same results.
I think it has something to do with that they don't know anything about the codepage IBM-1208.
(0001972)
jep   
2011-09-11 12:10   
This only work (partially) if i enable
client_encoding = sql_ascii
as it doesn't refuse conenctions with OpenOffice Base and allow me to connect with unixODBC. Intead it output:
========= postgres output =========
ERROR: column pt1.tgconstrname does not exist at character 807
STATEMENT: SELECT pt.tgargs, pt.tgnargs, pt.tgdef
errable, pt.tginitdeferred, pp1.proname,
pp2.proname, pc.oid, pc1.oid, pc1.reln
ame, pn.nspname FROM pg_catalog.pg_class pc, pg_catal
og.pg_proc pp1, pg_catalog.pg_proc pp2, pg_catal
og.pg_trigger pt1, pg_catalog.pg_trigger pt2, pg_catal
og.pg_proc pp, pg_catalog.pg_trigger pt, pg_catalog.pg_cl
ass pc1, pg_catalog.pg_namespace pn, pg_catalog.pg_na
mespace pn1 WHERE pt.tgrelid = pc.oid AND pp.oid = pt.tgfoid AND pt1.tgcon
strrelid = pc.oid AND pp1.oid = pt1.tgfoid AND pt2.tgfoid = pp2.oid AND pt2.tgco
nstrrelid = pc.oid AND ((pc.relname='word') AND (pn1.oid = pc.relnamespace) AND
(pn1.nspname = 'public') AND (pp.proname LIKE '%ins') AND (pp1.proname LIKE '%up
d') AND (pp2.proname LIKE '%del') AND (pt1.tgrelid=pt.tgconstrrelid) AND (pt1.tg
constrname=pt.tgconstrname) AND (pt2.tgrelid=pt.tgconstrrelid) AND (pt2.tgconstr
name=pt.tgconstrname) AND (pt.tgconstrrelid=pc1.oid) AND (pc1.relnamespace=pn.oi
d))
==========

Where they (PostgreSQL) reluctant to add IBM-xyz codepages btw?
(0001973)
psmedley   
2011-09-12 09:42   
I haven't asked the postgresql guys to add IBM codepages... I can't see them doing anything to include os2 support in the base code... (based on comments in the postgresql irc channel when I mentioned os2 builds)
(0001975)
jep   
2011-09-15 14:51   
What has to be done as mentioned in the message?
http://archives.postgresql.org/pgsql-hackers/2011-04/msg00284.php
(0002002)
psmedley   
2011-09-25 09:33   
In the above the pg guys said they'd integrate changes if someone could add an os2 machine to the buildfarm. This isn't something I currently have time to do
(0004261)
psmedley   
2022-05-14 06:55   
Sorry, I'm no longer maintaining this port.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
232 [MySQL v5 for OS/2 & eComStation] Bug crash random 2008-01-25 07:46 2022-05-14 06:53
Reporter: swolf Platform: AcerAltos 21000 (Dual Xeon PII )  
Assigned To: psmedley OS: Warp Server for e-business  
Priority: normal OS Version: Version 4.50  
Status: resolved Product Version:  
Product Build: 5.0.51-log Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: InnoDB crashs on SMP (dual processor) System
Description: On a WSeB system with 2 CPUs innodb crashes randomly during insert operations
into a table with app. 86000 rows or during a "check table" operation for
this table
Tags:
Steps To Reproduce: see description
Additional Information: Setting mysql.exe for single-processor operation using EXECMODE.EXE from
OS/2-WSeB, innodb seems to run more stable.
But, there were still 2 crashes in the last week.
(see error.log)
Attached Files: mysql-error.log (676,948 bytes) 2008-01-25 07:46
https://mantis.smedley.id.au/file_download.php?file_id=79&type=bug
Notes
(0000826)
psmedley   
2008-01-28 05:26   
Which version/build of MySQL?
(0000827)
swolf   
2008-01-28 07:10   
mysql-5.0.51-os2.zip
(0004260)
psmedley   
2022-05-14 06:53   
Please re-test with a supported version of MySQL and reopen if this is still an issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
677 [Other Unix Port] Bug major always 2018-05-09 13:39 2022-05-14 06:50
Reporter: ggamba Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Can't initialize postgresql database with ver. 9.66
Description: The script that worked fine with 9.06 for dbase initialization, doesn't work anymore with 9.66, with the following error:

...
running bootstrap script ... LOG: 00000: invalid binary "E:/pgsql/bin/"E:/pgsql/bin/postgres.exe"
LOCATION: find_my_exec, exec.c:146
LOG: 00000: invalid binary "E:/pgsql/bin/"E:/pgsql/bin/postgres.exe"
LOCATION: find_my_exec, exec.c:146
FATAL: XX000: "E:/pgsql/bin/postgres.exe": could not locate my own executable path
LOCATION: InitStandaloneProcess, miscinit.c:236
child process exited with exit code 1
...

full transcripts of running scripts for both ver. 9.06 and 9.66 are attached. Maybe is just something wrong in my script?

Tags:
Steps To Reproduce:
Additional Information:
Attached Files: 906.log (1,619 bytes) 2018-05-09 13:39
https://mantis.smedley.id.au/file_download.php?file_id=424&type=bug
966.log (1,706 bytes) 2018-05-09 13:39
https://mantis.smedley.id.au/file_download.php?file_id=425&type=bug
Notes
(0003186)
ggamba   
2018-05-09 13:44   
It seems something is changed in the initdb procedure? While 9.06 passed happily the "creating template1 database in e:/data/base/1" line, the corresponding "running bootstrap script" line in 9.66 fails.
(0003187)
psmedley   
2018-05-13 00:20   
what build of 9.6.6? http://smedley.id.au/tmp/postgresql-9.6.6-os2-20180101.zip
(0003188)
ggamba   
2018-05-13 09:20   
www.dropbox.com/s/8hkit4gq4b8kedt/postgresql-9.6.6-os2-20180103.zip
(0004259)
psmedley   
2022-05-14 06:50   
Sorry,postgresql is no longer maintained by me.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
577 [GCC - GNU C Compiler] Bug minor N/A 2013-06-19 15:55 2022-05-14 06:49
Reporter: Steven Levine Platform: eCS/OS2  
Assigned To: psmedley OS: eComstation or OS/2  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Cross reference to gcc issues tracked at mozilla for OS/2 github project
Description: The mozilla developers at bitwiseWorks are maintaining a list of mozilla specific gcc issues at

 https://github.com/bitwiseworks/mozilla-os2/issues/13

This is mentioned in a comment to

  http://mantis.smedley.id.au/view.php?id=468

Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0002458)
psmedley   
2013-07-08 09:29   
Updated builds for github ticket 13:

http://smedley.id.au/tmp/gcc-4.4.6-os2-20130708.zip
http://smedley.id.au/tmp/gcc-4.5.4-os2-20130708.zip

Testing these locally now

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
552 [Other Unix Port] Feature Request feature N/A 2012-12-06 19:01 2022-05-14 06:47
Reporter: dhdurgee Platform:  
Assigned To: psmedley OS: OS/2 or eCS  
Priority: normal OS Version: various  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: NUT 2.4.3 port missing apcsmart driver
Description: I am currently using APC's PowerChute Plus for OS/2 version 4.2.3 and was looking for an alternative that could inter-operate with other platforms as this one is not compatible with current APC software, or any other software as far as I can tell.

It was suggested I might consider NUT as a replacement and I was pleased to find your port of this to OS/2 and eCS. Unfortunately as it stands this is not usable to me, as it lacks the driver to talk to my APC Smart-UPS via the serial cable. Given you did this port long ago, I don't know if you could port this for the 2.4.3 release or if it would make more sense to port the current release including this driver as well.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002361)
psmedley   
2012-12-08 08:19   
Where did you find this port? I don't recall porting it, and have no such source on my hard drive.
(0002362)
psmedley   
2012-12-08 08:21   
ok i found the .zip on google.

I don't even remember this one...
(0002363)
psmedley   
2012-12-08 08:22   
note the comment in the readme:
NOT tested as I don't have a UPS. SNMP and usb backends included
(0002364)
dhdurgee   
2012-12-08 12:15   
I found it on os2site via a search engine. As I have two APC SmartUPS units that connect via serial cables I was hoping that you would be able to port the apcsmart driver that is needed if I wanted to use NUT with them.

Given you no longer have the source I suspect this is not likely to occur. I have no idea how many others would find this package useful, but I suspect someone must have requested you do this port. Perhaps you could add porting the current release to your list of future ports.

As I noted in my initial note, I am at present using APC's PowerChute Plus for OS/2 with these units. It does the job, but lacks compatibility with any other software. As I am working more with linux these days I would like to be able to monitor these UPS systems from there, but as the systems being protected are those OS/2 systems I need either a package that can talk to PC+-OS/2 or a package that can take its place on the OS/2 systems.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
617 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Feature Request minor N/A 2014-07-19 06:28 2022-05-14 06:46
Reporter: LewisR Platform:  
Assigned To: psmedley OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Investigate building Zend OPcache for PHP 5.3 - 5.5
Description: It looks like APC is becoming passé. According to:

https://wiki.php.net/rfc/optimizerplus

OPcache is to be merged with the 5.5 distro, and Zend is offering the code under their license.
Tags:
Steps To Reproduce:
Additional Information: I'm not necessarily convinced that any of my sites (mainly WordPress, a couple Joomla installs, and now, TYPO3, with some Mantis and MediaWiki thrown in for good measure) would benefit, though I'll try some isolated testing on a *nix box.

Meanwhile, if you're bored, Paul, here's the link to the source, which is supposed to be good for PHP 5.2 on up (though they say that 5.2 support is likely to be orphaned):

https://github.com/zendtech/ZendOptimizerPlus/

Cheers

Lewis
Attached Files: 00C3_01.TRP (56,205 bytes) 2014-08-02 02:19
https://mantis.smedley.id.au/file_download.php?file_id=343&type=bug
008F_05.TRP (41,790 bytes) 2014-08-02 16:58
https://mantis.smedley.id.au/file_download.php?file_id=344&type=bug
Notes
(0002783)
psmedley   
2014-07-20 09:20   
I have my hands full with apr-unix right now - but will try get to it...
(0002792)
psmedley   
2014-08-01 09:54   
You are running PHP 5.3?
(0002793)
LewisR   
2014-08-01 14:10   
Indeed, I am, Paul (5.3.28).
(0002794)
psmedley   
2014-08-01 21:08   
Not tested at all, but please try http://smedley.id.au/tmp/opcache.zip

Needs mmap.dll and pthr01.dll from rpm
(0002795)
LewisR   
2014-08-02 02:18   
Not quite there yet, Paul. ;-)

[Fri Aug 01 22:04:28 2014] [info] mod_ssl/2.2.27 compiled against Server: Apache/2.2.27, Library: OpenSSL/1.0.1h
Fri Aug 1 22:04:30 2014 (537390048): Fatal Error Unable to allocate shared memory segment of 134217728 bytes: mmap: Permission denied (13)
Creating 00C3_01.TRP

The above is with php.ini configured as:

zend_extension=j:/APPS/php5/modules/opcache.dll

[opcache]
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1

(The same error occurs if using the default memory consumption of 64MB.)

[j:\apps\apache2]dir j:\usr\lib\mmap.dll

11-02-11 12:14 8,574 124 mmap.dll

[j:\apps\apache2]dir j:\usr\lib\pthr01.dll

 4-25-14 15:49 7,879 124 pthr01.dll

PMdll reports intermittent issues loading gcc444.dll (even after I have libpath set as I normally do to start Apache), but I don't think that's it. Both mmap.dll and pthr01.dll are in libpath. Is there any way to test mmap to make sure that it is working as expected? Both modules seem to load their dependencies (according to PMdll).

TRP file, attached.
(0002796)
LewisR   
2014-08-02 02:22   
I should add the following:

The above was run on my ThinkPad t43, using the 14.105_UNI kernel(though I got similar results on my test server).

and

THANK YOU for taking the time and effort to build (and hopefully debug) this!

Cheers
(0002797)
LewisR   
2014-08-02 02:30   
Possible help for the permission denied message (WAG):

http://stackoverflow.com/questions/17202741/why-does-mmap-fail-with-permission-denied-for-the-destination-file-of-a-file-c
(0002798)
psmedley   
2014-08-02 09:46   
http://smedley.id.au/tmp/opcache.zip is refreshed - no idea if it works, bu apache2/php starts now

It was a limitation of our mmap implementation.

I had to add code to make it work with out mmap
(0002799)
LewisR   
2014-08-02 16:25   
Thanks, Paul. Testing now (late start on the day).

Did you mean "make it work with *our* mmap," or "make it work *without* mmap," BTW?

;-)
(0002800)
LewisR   
2014-08-02 17:01   
Scratch that last question, Paul. Please see 008F_05.TRP, attached.

Apache starts, and non-PHP requests respond fine. As soon as PHP is called, we get an "uncommitted memory allocated by MMAP" error thrown from LIBC065.

Getting closer, though (I think). At least we can start, now.

Thanks!
(0002801)
psmedley   
2014-08-02 22:14   
hmmm... I going to have a crack at building a PHP 5.5 built with opcache enabled - at least then configure will try detect which mmap features are implemented rather than me hacking things manually... will let you know how I go.

fyi I can repeat the failure you're seeing here too
(0002815)
LewisR   
2014-08-14 04:54   
Paul, my mmap seems to be:

Name : mmap
Arch : i386
Version : 20111102
Release : 8.oc00
Size : 778 k
Repo : installed
From repo : netlabs-rel-2rosenthals
Summary : A memory mapped emulation for OS/2-eComStation
License : unknown
Description: A memory mapped files emulation library.

Is this the same one against which you are building (or trying to build) the opcache module? I'm wondering if Yuri might be of some help in this regard, as I am coming up empty even trying to find sources for this.

Here's a quick snippet from a conversation earlier today concerning performance improvement with opcache (on Linux x64) with a local copy of a WordPress 3.9.2 site currently hosted on my box:

<snip>

I then installed Opcache (http://pecl.php.net/package/ZendOpcache) which
made quite a difference. Generation times of pages dropped to 0.3-0.5
seconds [from >2], with an occasional long load on the first hit and some
operations after that, but overall the site felt a lot more responsive.

<snip>

It seems that WordPress is a pig (well, that's not news), and static file cache only gets us part of the way. The PHP itself is just bulky (bloated).

Anyway, please let me know if I can help in any way, other than leaving you to get to this as time permits. ;-)

Cheers
(0002818)
psmedley   
2014-08-15 21:33   
I don't understand right now why opcache isn't working.

Is it worth revisiting apc in the meanwhile?
(0002819)
LewisR   
2014-08-15 21:46   
As a stopgap measure, it might be worth trying - as long as you do not have to invest significant time and energy, which would both be better spent here, for longer term reward.

I don't recall whether you looked at APC previously.

http://php.net/manual/en/apc.requirements.php seems to indicate that "all" that should be required to build APC is pcre (famous last words...LOL). If that is truly the case, then I say let's give it a shot, as *some* optimizer is better than *no* optimizer, and this code isn't getting any slimmer (sad to say).

Thanks!
(0002820)
psmedley   
2014-08-15 22:18   
well i got an apc.dll pretty quickly.... but it crashes pthreads on startup.

Will have another look this afternoon - gotta get outta bed soon as we're off to dad's for lunch :)
(0002821)
LewisR   
2014-08-15 22:22   
FYI, Yuri dropped a new pthreads just yesterday. Might be worth trying later on.

Enjoy lunch!
(0002824)
psmedley   
2014-08-17 07:13   
I spoke with Dmik on IRC last night about the Permission Denied error using anonymous mmap. As he's currently working on mmap, he's suggested he should be able to take a look soon. I've given him a simple testcase that shows the issue.
(0002825)
psmedley   
2014-08-17 09:34   
to be clearer:
[21:18:17] <dmik> Smedles: re
[21:18:38] <dmik> re mmap, I only implemented support for the offset field so far - and this works now
[21:19:16] <dmik> if you mail me more details about your failing mmap case - there is a good chance I'll look at it within the current update cycle as well
(0002826)
LewisR   
2014-08-19 03:45   
(Last edited: 2014-08-19 03:45)
Sometimes, it really pays to know the right people at the right time, and to try to do right by them (all the time). Thanks so much for bringing this up to him, and I'll drop him a note, as well.

This looks like we're moving in the right direction. Kind of like when Andy and I were working on getting a usable OpenVPN, and finally (as you may recall), it came down to the tap/tun driver only having tap support and no tunneling support; we could have tried different compilers and different options 'til the cows came home, and still we would have been all dressed up with nowhere to go. :-O

Cheers

(0002827)
psmedley   
2014-08-19 09:54   
<Smedles> btw any time yet to look at my mmap issue?
<truedmik> yes, I will do it this week while updating wpstk and mmap SVNs
(0002828)
diver   
2014-08-22 07:43   
see ticket http://trac.netlabs.org/ports/ticket/32 for progress
(0004257)
psmedley   
2022-05-14 06:46   
opcache is included in PHP 7 and above

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
383 [LyX for OS/2] Bug major always 2010-01-05 11:57 2022-05-14 06:45
Reporter: piesse Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: failure to produce output
Description: A few problems
1) you need to set in config.sys
SET PATHEXT =.exe;.cmd
(without spaces) otherwise programs and document classes are not detected
Maybe this should be added in the readme

2)
At startup, the console shows:
socktools.cpp(119): lyx: Could not bind address 'G:/var/temp/lyx_tmpdir.JL1843/lyxsocket' to socket descriptor: Operation now in progress

Note that I haven't set any pipe in the preferences

3)I don't know if it related to the above, but if I try to get the pdf of any text I get:
Error: Cannot view file
----------------------------------------
File does not exist: G:/var/temp/lyx_tmpdir.JL1843/lyx_tmpbuf0/newfile1.pdf

newfile1.pdf is there, and from a command line:
pdflatex G:/var/temp/lyx_tmpdir.JL1852/lyx_tmpbuf0/newfile1.tex

works just fine, so it seems that pdflatex for some reason don't get called

when repeating the conversion with the pdf manually in place, I get:

LIBC PANIC!!
LIBC fork: Child aborting fork()! rc=0xfffffffc
pid=0x073e ppid=0x073c tid=0x0001 slot=0x0140 pri=0x0200 mc=0x0000
D:\LYX\BIN\LYX.EXE
LIBC063 0:00001e28
cs:eip=005b:1f681e28 ss:esp=0053:00b7df2c ebp=00b7df34
 ds=0053 es=0053 fs=150b gs=0000 efl=00012202
eax=00000040 ebx=5b47a2c0 ecx=16ff0000 edx=00000018 edi=00000000 esi=16ff0000
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
QMutexPrivate::QMutexPrivate: DosCloseEventSem returned 6
QMutexPrivate::QMutexPrivate: DosCloseEventSem returned 6
QMutexPrivate::QMutexPrivate: DosCloseEventSem returned 6
 G:/home/default/newfile1.lyx.emergency

acroread (the default viewer) doesn't shows up, but it appears as running in watchcat

On anther occasion (apparently without cause), I got

LIBC PANIC!!
LIBC fork: Child aborting fork()! rc=0xfffffffc
pid=0x0735 ppid=0x0733 tid=0x0001 slot=0x0155 pri=0x0200 mc=0x0000
D:\LYX\BIN\LYX.EXE
LIBC063 0:00001e28
cs:eip=005b:1f681e28 ss:esp=0053:00b7df2c ebp=00b7df34
 ds=0053 es=0053 fs=150b gs=0000 efl=00012202
eax=00000040 ebx=5b959400 ecx=16ff0000 edx=00000018 edi=00000000 esi=16ff0000
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
QMutexPrivate::QMutexPrivate: DosCloseEventSem returned 6
QMutexPrivate::QMutexPrivate: DosCloseEventSem returned 6
QMutexPrivate::QMutexPrivate: DosCloseEventSem returned 6
 G:/home/default/newfile1.lyx.emergency


in either case the lyx window stayed open and running
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: lyx.jpg (38,030 bytes) 2010-03-04 13:17
https://mantis.smedley.id.au/file_download.php?file_id=153&type=bug
jpg
Notes
(0001436)
piesse   
2010-01-05 12:09   
On repeating the experiment, it seems that the LIBC crash had nothing to do with calling acroread: it just seems to happen at random

Still the viewer doesn't shows up: I have tried also with lucide with the same results.
I seem to recall a similar problem with 1.4 initially: maybe you can find it in your notes
(0001439)
piesse   
2010-01-06 09:44   
I found out that with 1.4 I had to omit the "extra flag" for pdflatex to work.

Doing that, when trying to view the pdf I get in the console:

===
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
! I can't find file `'newfile1.tex''.
<*> 'newfile1.tex'

Please type another input file name:

====
However, the file is there, and if I then enter manually (with great difficulty, because the system slows down a lot at this point, despite not showing much CPU activity) the very same filename newfile1.tex, the pdf get produced

So it could be that pdflatex is confused by the extra apexes

Still, even after producing the pdf lucide is unable to load it: I used the trick of using "start lucide" as the viewer, rather than just lucide (this trick also worked in the realy releases of 1.4 with the same problem): lucide than starts but complains something like "I don't know how to read this file" without showing what filename got passed
(0001482)
psmedley   
2010-02-12 07:03   
Does http://smedley.info/lyx-1.6.5-os2-20100212.zip help with item 3? I've tried to fix the quoting around command lines per windows...

This also uses Qt4 v4.5.1 GA version....
(0001498)
piesse   
2010-03-04 13:02   
Unfortunately not, and neither does the one from 2/26.
I attach the screenshot of the lyx window after I typed manually the filename.

After that, the pdf file gets created and lucide opens (even without the need of adding "start" in the preferences), but it says that it cannot find a plugin for the file (it doesn't says what file it is looking for). The same file opens gracefully in lucide from outside lyx.
(0001499)
diver   
2010-03-08 17:52   
Paul, as a note Qt4 GA has a problem to start some apps. This should be fixed with newest svn. Qt4 4.6.2 should be out soon
(0001500)
piesse   
2010-03-13 16:50   
In this case, however, the application (pdflatex) starts, but it doesn't understand the name of the file which is passed as an argument
(0004256)
psmedley   
2022-05-14 06:45   
Sorry, Lyx is no longer maintained

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
424 [LyX for OS/2] Bug minor always 2010-05-25 17:54 2022-05-14 06:44
Reporter: sparrac Platform:  
Assigned To: psmedley OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Corrupted UI of LyX when LANG is not english
Description: When the environment variable LANG is set to es_ES or es_ES_EURO, Lyx outputs gibberish in the standard error and the string:

"lassert.cpp(21): ASSERTION ucs4[i] < 0x80 VIOLATED IN docstring.cpp:61"

The GUI doesn't show any kind of text in the bar menu.
Tags:
Steps To Reproduce: In the "bin" directory:

SET LANG=es_ES
lyx
Additional Information:
Attached Files: lyx_screenshot_n_log.zip (194,822 bytes) 2010-05-25 17:54
https://mantis.smedley.id.au/file_download.php?file_id=165&type=bug
Notes
(0004255)
psmedley   
2022-05-14 06:44   
Sorry, Lyx is no longer maintained

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
530 [MySQL v5 for OS/2 & eComStation] Bug minor always 2012-03-20 02:41 2022-05-14 06:43
Reporter: LewisR Platform:  
Assigned To: psmedley OS:  
Priority: low OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: MySQL 5.1.61 default config file fails with socket directive
Description: my-medium.cnf contains the following socket references:

# The following options will be passed to all MySQL clients
[client]
socket = \socket\MySQL

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
socket = \socket\MySQL

When the server comes up, it complains about not being able to locate "ocket\MySQL". Likewise, when starting mysqladmin, a similar message is displayed.

Tags:
Steps To Reproduce: 1. Copy my-medium.cnf to %ETC%\my.cnf (do not edit).
2. Start mysqld.exe.
3. Error displays (along with a warning about skip-locking becoming deprecated, and to use skip-external-locking).
4. Daemon shuts down.
Additional Information: The first line in the daemon window is the old "TlsAllocThreadLocalMemory error: init already done!" error, which is apparently cosmetic.

The default cnf should be changed to update the skip-locking directive to skip-external-locking (I've used this syntax on NetWare since 5.0; I'm not sure why the default config files do not include it).

However, commenting the socket directives results in the server and the client(s) utilizing the default socket (\socket\MySQL) without complaint. It is only when explicitly stated in my.cnf that this is an issue.

The server in question is a fresh (last week) install of eCS 2.1 running the latest available GCC 4 core and libc064.dll (full libc063.dll, *not* the forwarder). The hardware is an HP Proliant ML370 G2 with 4GB RAM.
Attached Files:
Notes
(0002227)
psmedley   
2012-03-25 02:11   
can you try \\socket\\MySQL
(0002228)
LewisR   
2012-03-25 04:06   
Confirmed, Paul. Escaping the backslashes does the trick. I didn't try it, but would it then be reasonable to expect that the second backslash is safe, i.e.:

\\socket\MySQL

?

I should have thought to try your suggestion before posting. ;-)

Thanks.
(0002229)
psmedley   
2012-03-25 04:35   
Hi Lewis,

Glad it helped. I would have thought \\socket\mysql wouldn't work either - but your error suggests it might...
(0002230)
LewisR   
2012-03-25 05:17   
Indeed, Paul. I just tested again.

\\socket\MySQL

works just as well. ;-)

So, however, you want to close this ticket is fine by me. You could add this as a readme item or if your packaging system allows you to tweak the sample config files, either should do. It's just another one of those little "head scratchers" when first configuring, that's all.

Cheers/2

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
643 [LyX for OS/2] Bug crash always 2015-01-03 01:10 2022-05-14 06:43
Reporter: axdmlm Platform: 2 x Intel Pentium 4 2997.5MHz (F  
Assigned To: psmedley OS: OS/2 4.52  
Priority: normal OS Version: OS/2 4.52  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Lyx crashes with the messages shown in the description.
Description: Killed by SIGSEGV
pid=0x008b ppid=0x0023 tid=0x0001 slot=0x00d4 pri=0x0200 mc=0x0001
I:\LYX\BIN\LYX.EXE
LYX 0:003c0ca6
cs:eip=005b:003d0ca6 ss:esp=0053:0134fd40 ebp=0134fd58
 ds=0053 es=0053 fs=150b gs=0000 efl=00010202
eax=0134fd88 ebx=00000000 ecx=0000000b edx=00000000 edi=0005644c esi=0134fd88
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
Tags:
Steps To Reproduce: Happens every time I try to run it.
Additional Information: I am using the Arca Noea driver update package.
Attached Files:
Notes
(0002995)
psmedley   
2015-01-03 04:49   
What version of LyX is this?
(0002996)
axdmlm   
2015-01-03 05:00   
Lyx v2.0.7. I just downloaded it today.
(0002997)
psmedley   
2015-01-03 06:50   
No command line output at all? just the sigsegv? What date/time version of libc065.dll? Can you install the one from the libc066 package? I seem to recall there was an initial bad build of libc065.dll
(0002998)
axdmlm   
2015-01-03 14:20   
Here is the information about my files:
6-25-06 9:48p 53,641 0 a--- Libbz2.Dll
 4-14-04 4:37p 356,330 0 a--- Libc05.Dll
10-26-14 8:17p 48,179 0 a--- Libc06.Dll
10-26-14 8:17p 48,179 0 a--- Libc061.Dll
10-26-14 8:17p 157,161 0 a--- Libc062.Dll
10-26-14 8:17p 157,161 0 a--- libc063.dll
10-26-14 8:17p 157,213 0 a--- libc064.dll
10-26-14 8:17p 157,213 0 a--- libc065.dll
10-26-14 8:16p 1,361,666 0 a--- libc066.dll

Here is the information about where my files came from:
1-03-15 6:13a 888,158 70 a--- libc-0.6.6-csd6.zip
 1-02-15 9:35a 19,419,082 92 a--- lyx-2.0.7-os2-20140417.zip

The only output is what I posted originally.
(0003006)
psmedley   
2015-01-04 08:18   
The crash is somewhere in stdc++, which makes it very hard to debug.

The crazy part is it loads for me. I did have a similar issue to this with Lyx once before, but was able to resolve it (for me at least). Trying to recall now what the cause of that problem was and whether it may be relevant to your issue....
(0003036)
jIyajbe   
2015-04-27 23:26   
I have exactly the same crash. Here is my dump:
[C:\lyx\bin]lyx

Killed by SIGSEGV
pid=0x0033 ppid=0x0032 tid=0x0001 slot=0x0041 pri=0x0200 mc=0x0001 p
C:\LYX\BIN\LYX.EXE
LYX 0:003c0ca6
cs:eip=005b:003d0ca6 ss:esp=0053:0134fd50 ebp=0134fd68
 ds=0053 es=0053 fs=150b gs=0000 efl=00012206
eax=0134fd98 ebx=00000000 ecx=0000000b edx=00000000 edi=0005644c esi
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

I have the same libc dll's as axdmlm.

I saw a note in README.OS2 about a crash if %HOME% is not set...I know how to do that in OSX/Linux, but not in OS/2. In case that is relevent...
(0003037)
psmedley   
2015-04-28 21:15   
What CPU are you guys using? I wonder if its a CPU optimisation issue?
(0003038)
jIyajbe   
2015-05-04 06:30   
Hi, sorry for the delay in answering. I'm running OS/2 inside a virtual machine. Specifically, VirtualBox running on an OSX host. I queried the processor inside OS/2, and it simply says "Unknown processor". There's more detail I can give you regarding physical hardware and software versions, but I will let you ask for what you need, rather than dump a whole bunch of possibly unnecessary info on you.
(0003039)
axdmlm   
2015-05-04 13:16   
CPU:
  [264]: cpuid: Intel(R) Pentium(R) D CPU 3.00GHz
  [8]: CPU quantity: 2
(0004254)
psmedley   
2022-05-14 06:43   
Sorry, Lyx is no longer maintained

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
694 [MySQL v5 for OS/2 & eComStation] Bug crash random 2019-06-27 09:28 2022-05-14 06:42
Reporter: Igor Vaskov Platform: OS/2  
Assigned To: psmedley OS: ECS  
Priority: normal OS Version: 2.2  
Status: resolved Product Version: 5.1.72  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: MySQL 5.1.17 (20140725) trap in PTHR01.DLL
Description: The same trap in MySQL 5.1.17 (20140725). Please rewiev use PTHR01.DLL. Previous version MySQL 5.1.17 (release) working is very stable.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: 27F5_06.TRP (44,029 bytes) 2019-06-27 09:28
https://mantis.smedley.id.au/file_download.php?file_id=454&type=bug
Notes
(0004253)
psmedley   
2022-05-14 06:42   
Please test with a supported release and if this is still an issue, open a new ticket.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
618 [MySQL v5 for OS/2 & eComStation] Bug crash sometimes 2014-07-24 19:04 2022-05-14 06:41
Reporter: emax Platform: PC/eCS  
Assigned To: Steven Levine OS: eCS  
Priority: normal OS Version: 2.1  
Status: resolved Product Version:  
Product Build: Resolution: unable to reproduce  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Mysql (5.1.72) sometimes exit unexpectly with the error details in description
Description: InnoDB: Page number (if soted to page already) 0,
InnoDB: space id (if created with >= MySQL-4.1.1 and stored already) 0
InnoDB: Page may be a file space header page
140711 7:32:58InnoDB: Error trying to access a stray pointer 0xa1747ff8
InnoDB: buf pool start is at 0x21034000, end at 0x27034000
InnoDB: Probable reason is database corruption or memory
InnoDB: corruption. If this happens in an InnoDB database recovery, see
InnoDB: http://dev......
140711 7:32:58 InnoDB: Assertion failure in thread 662172064 in file ../../storage/innobase/include/buf0buf.ic line 264
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed report to http://bugs.....
etc..

Killed by SIGABRT
pid=0x6860 ppid=0x685e tid=0x0019 slot=0x0064 pri=0x200 mc=0x0001
X:\MYSQL\BIN\MYSQLD.EXE
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
Tags:
Steps To Reproduce:
Additional Information: [client]
compress
user=root

[mysqld]
user=mysql
server-id=212528
basedir=X:/mysql
datadir=X:/mysql/data

innodb_buffer_pool_size = 256M

max_connections=500
Attached Files:
Notes
(0002784)
Steven Levine   
2014-07-25 00:20   
Without evidence to the contrary, this looks like database corruption.

The offending pointer 0xa1747ff8 is well outside the maximum buffer pool size.

The buffer pool usage is:

[j:\tmp]rexxtry numeric digits 15 ; say x2d(27034000) - x2d(21034000)
100663296

The 100,663,296 bytes is well below the buffer pool size limit.

There's noting in what we have seen so far that indicates any sort of out of memory or out of semaphores problem.

FWIW, a google for buf0buf.ic line 264 indicates that this is a relatively well known failure mode, but there's nothing that seems related to your specific failure.

If you have a process dump fo the failure, perhaps it will tell us a bit more about what the server was doing when the errant pointer came to be.
(0002785)
emax   
2014-07-25 06:41   
unfortunately no exceptq dumps at 7:32 in the morning
when mysql has quit unexpectly

i've dumps only when i quit mysql at night with a script for bkups

massimo
(0002786)
psmedley   
2014-07-25 23:56   
HI finally got around to checking source today.

Exceptq support was not enabled in mysqld.cc

I added it this evening and the result is:
http://smedley.id.au/tmp/mysql-5.1.72-20140725.zip

Needs pthr01.dll
(0002787)
emax   
2014-07-26 00:24   
(Last edited: 2014-07-26 00:24)
mysql upgraded

(0002788)
Steven Levine   
2014-07-26 01:27   
mysql51.dll requires gcc491. Got a link?

Theseus confirms that exceptq is loaded for the initial 3 threads.
(0002789)
emax   
2014-07-26 09:52   
(Last edited: 2014-07-26 10:03)
new build of mysql use these libraries (of course except standard ecs libs as sesmgr, kbdcalls, doscall1 etc.):

GCC473.DLL 22.288 bytes 31/01/14 date
LIBC065.DLL 1.312 Kbytes 23/03/12 date
PTHR01.DLL 7.879 bytes 25/04/14 date
 
are these the right libraries?

thanks
massimo

(0002790)
emax   
2014-07-30 09:10   
i had an "exit" or crash (i don't know) of mysql, with no dump of any kind

(after updating to the latest version i've disabled Z3 env. on this server)


massimo
(0002814)
piesse   
2014-08-13 22:50   
I had similar problems a few months ago.
That was before excerptq was enabled.
Silent crashes started after the new releases of Moodle switched to Innodb.
Trying to fix the "corrupted" database didn't help.
After moving all the Innodb databases to a windows server, they work without problems, and the os/2 server with only Myisam databases had no more crashes since.
So my guess is that the databases weren't actually corrupted, and there is a problem with Innodb under os/2.
I have Ecs 2.1 on a rather old Asus P4PE MB, single processor.
(0002832)
emax   
2014-09-04 18:35   
i add these 2 "dumps":

InnoDB: space id (if created with >= MySQL-4.1.1 and stored already) 0
InnoDB: Page may be a file space header page
140902 20:15:26InnoDB: Error: trying to access a stray pointer 0xa1757ff8
InnoDB: buf pool start is at 0x21034000, end at 0x27034000
InnoDB: Probable reason is database corruption or memory
InnoDB: corruption. If this happens in an InnoDB database recovery, see
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-innodb-recovery.html
InnoDB: how to force recovery.
140902 20:15:26 InnoDB: Assertion failure in thread 673392608 in file ../../sto
rage/innobase/include/buf0buf.ic line 264
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.

Killed by SIGABRT
pid=0x77c3 ppid=0x77c1 tid=0x0092 slot=0x027b pri=0x0200 mc=0x0001
D:\MYSQL\BIN\MYSQLD.EXE
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.


140904 2:24:57 InnoDB: Initializing buffer pool, size = 512.0M
140904 2:24:58 InnoDB: Completed initialization of buffer pool
140904 2:24:58 InnoDB: Started; log sequence number 0 505121309
UNIX Socket is \socket\MySQL
140904 2:24:59 [Note] Event Scheduler: Loaded 0 events
140904 2:24:59 [Note] D:\mysql\bin\mysqld.exe: ready for connections.
Version: '5.1.72' socket: '\socket\MySQL' port: 3306 Source distribution
140904 20:19:53 InnoDB: Assertion failure in thread 678567520 in file btr/btr0b
tr.c line 136
InnoDB: Failing assertion: (ibool)!!page_is_comp(root) == dict_table_is_comp(ind
ex->table)
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.

Killed by SIGABRT
pid=0xbf2e ppid=0xbf2c tid=0x0081 slot=0x0249 pri=0x0200 mc=0x0001
D:\MYSQL\BIN\MYSQLD.EXE
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
(0002834)
psmedley   
2014-09-10 09:54   
Max, no .trp ?
(0002835)
emax   
2014-09-10 10:58   
not for these 2 abnormal exits
but i have them for other kinds

sent in email

thanks

massimo
(0003019)
Steven Levine   
2015-02-03 00:00   
Is this issue resolved with the latest httpd and libc builds?
(0003020)
emax   
2015-02-03 09:04   
(Last edited: 2015-02-03 09:04)
of course no

(0004252)
psmedley   
2022-05-14 06:41   
Please test with a supported release and if this is still an issue, open a new ticket.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
752 [Other Unix Port] Bug major always 2022-04-09 19:09 2022-05-14 06:39
Reporter: David McKenna Platform: Intel i3-8100  
Assigned To: psmedley OS: ArcaOS  
Priority: normal OS Version: 5.0.7  
Status: resolved Product Version:  
Product Build: Resolution: no change required  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: LSUSB crashes with trap file
Description:  Something about my Logitech unified receiver for mouse and keyboard causes lsusb to crash. Once crashed, the mouse and keyboard do not work until I unplug, then re-plug the receiver.
Tags:
Steps To Reproduce: Run lsusb -v
Additional Information: ExceptQ file attached.
Attached Files: 62519f6b-0052_01-LSUSB-exceptq.txt (40,319 bytes) 2022-04-09 19:09
https://mantis.smedley.id.au/file_download.php?file_id=670&type=bug
Notes
(0004057)
psmedley   
2022-04-09 21:40   
looks like a libusb issue to me...
(0004061)
David McKenna   
2022-04-10 03:15   
OK, I was kinda wondering about whether some other piece of the puzzle was the real culprit. I'll report to Bitwiseworks. Thanks for looking at it!
(0004083)
David McKenna   
2022-04-12 10:15   
Definitely libusb... currently using version 1.0.24, went back to 1.0.21 and lsusb works there, although still lose the mouse and keyboard. This ticket can be closed, thanks.
(0004098)
David McKenna   
2022-04-16 21:29   
Paul,

 FYI - I replaced the USBRESMG.SYS/USBCALLS.DLL file pair from the AN 12.11 drivers with Lars' version from his 10.242 drivers and now the mouse/keyboard don't stop when I run lsusb -v. A lot of moving parts on this thing...
(0004251)
psmedley   
2022-05-14 06:39   
not an issue with lsusb

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
54 [ImageMagick] minor always 2006-07-10 08:01 2022-05-14 06:38
Reporter: fbakan Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: convert/mogrify ... -draft "x,x text" ... does not work with lang=de_DE
Description: The option ... -draft "x,x text" ...
does not work (does not write text to the image)
if the env-variable
 lang
is set to
 de_DE_EURO
or
 de_DE

if lang=de the -draft option works as expected.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0000173)
psmedley   
2006-07-16 00:00   
I'm hoping to look at Imagemagick 6.2.8.3 today - so will try see why this is borked too.
(0000174)
psmedley   
2006-07-16 01:05   
Interesting - locale.xml includes:
  <include locale="de_DE.ISO-8859-1" file="deutsch.xml" />

but there is no deutsch.xml included anywhere in the imagemagick source....

I assume that setting lang=de gets around this as there is no known language de so imagemagick defaults to english

if you set lang=xyz then the command you posted also works...
(0000175)
psmedley   
2006-07-16 01:07   
This thread might mean more you you than to me?

http://www.ureader.de/message/425080.aspx
(0000179)
fbakan   
2006-07-17 21:11   
the thread is about translating english.xml to deutsch.xml for contributing a localized version of imagemagic. It ends with a beta file deutsch.xml being available. Nothing more. Not related to the original problem.

The problem still exists in 6.2.8.

the -draw option still does not work with

lang=de_DE
lang=de_DE_EURO
lang=de_DE.ISO-8859-1

but it works with
lang=de
lang=xyz
lang=de_DE_bogus

also tried

set locale=de_DE.ISO-8859-1

does not help.

unfortunately http://www.imagemagick.org/script/resources.php
does not talk about which lang / locale variable it expects.
Also tried to play with deutsch.xml with different variations of lang and locale, but nothing worked. I only get german messages if I edit english.xml
and translate to german.

Perhaps it's a libc - issue

Franz
(0004250)
psmedley   
2022-05-14 06:38   
Please test with a supported release and if this is still an issue, open a new ticket.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
268 [Other Unix Port] Bug minor always 2008-08-22 16:32 2022-05-14 06:37
Reporter: guerfyld Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: won't fix  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: python can't be used as EXTPROC in cmd files
Description: This small python program (test.cmd) :

extproc c:\python25\python -x
# Test
print "Hello World!"

work only if call from folder where it is.

[C:\folder]test.cmd
Hello World!

[C:\]test.cmd
c:\python25\python: can't open file 'test.cmd': [Errno 2] No such file or direct
ory

[C:\]c:\folder\test.cmd
c:\python25\python: can't open file 'test.cmd': [Errno 2] No such file or direct
ory

Tags:
Steps To Reproduce:
Additional Information: Python 2.5.2 (r252:60911, Apr 29 2008, 17:11:57)
[GCC 3.3.5 (Bird Build 2007-06-10 14:30)] on os2knix
Attached Files:
Notes
(0001280)
psmedley   
2009-04-12 12:09   
I can reproduce this with both EMX builds of Python 2.4.4 and my latest Python 2.6.2c1
(0001281)
psmedley   
2009-04-12 12:11   
I suspect it's a problem with the extproc parameter not passing the full path to python
(0004249)
psmedley   
2022-05-14 06:37   
Please test with a supported release and if this is still an issue, open a new ticket.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
574 [Apache 2.x ] Bug minor always 2013-05-04 20:34 2022-05-06 17:23
Reporter: asavage Platform: x86  
Assigned To: OS: eCS  
Priority: normal OS Version: 2.1  
Status: new Product Version: v2.2.1  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: httpd exits in response to restart requests
Description: With httpd running,

"httpd -k restart"

results in shutdown instead of restart.

Tags:
Steps To Reproduce: In VIO window, start httpd

In another window, run "httpd -k restart"

First window shows httpd has ended, returns to command prompt.
Additional Information: httpd-2.2.24-os2-20130329.zip
with
httpd-dll-20130330.zip

Bare conf, using the httpd.conf.sample.22 with only ServerName added.

error_log:
==================================
[Sat May 04 13:29:08 2013] [notice] Apache/2.2.24 (OS/2) configured -- resuming normal operations
(OS 10038)Socket operation on non-socket: unable to control socket non-blocking status
[Sat May 04 13:29:45 2013] [alert] no listening sockets available, shutting down
==================================

Additionally, httpd.pid file is not deleted on this shutdown, as it is on "httpd -k stop".
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
750 [Other Unix Port] Feature Request minor N/A 2022-03-12 01:23 2022-03-13 06:59
Reporter: martini Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Update OpenTTD port to version 12.1
Description: Dear Paul

I will like to kindly ask you if you can take a look to see if a port of OpenTTD latest version (12.1) can be possible.

https://github.com/OpenTTD/OpenTTD

Regards
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: 622c7769-00b4_01-OPENTTD-exceptq.txt (70,991 bytes) 2022-03-12 15:40
https://mantis.smedley.id.au/file_download.php?file_id=640&type=bug
Notes
(0003987)
martini   
2022-03-12 15:40   
Hi

I'm running "https://smedley.id.au/tmp/openttd-12.1-os2-20220312.zip " and it traps. I'm attaching the expectq file.

I had includes the required files of the original game on /baseset. I guess it is complete as I followed some older version instructions.

Regards
(0003988)
psmedley   
2022-03-13 06:59   
Test version of port uploaded

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
744 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Bug major random 2022-02-23 22:04 2022-03-10 20:21
Reporter: emax Platform: Vbox 6.x VM  
Assigned To: psmedley OS: AOS  
Priority: urgent OS Version: 503  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Php 7.4.28 show this issue randomly on all php websites
Description: PHP Fatal error: Uncaught Error: Failed to create session ID: files (path: X:/temp/php) in X:\apache\htdocs\website\page.php:2
Stack trace:
#0 X:\apache\htdocs\website\page.php(2): session_start()
#1 {main}
thrown in X:\apache\htdocs\website\page.php

this issue show completely random and give serious problems to the rendering of php webpates

this not happened with php 5.6.40
Tags:
Steps To Reproduce: random
Additional Information: Server Version: Apache/2.4.52 (OS/2) OpenSSL/1.1.1m PHP/7.4.28
Server MPM: mpmt_os2
Server Built: Dec 28 2021 08:13:42

php build: https://smedley.id.au/tmp/php-7.4.28-os2-20220223.zip
System Description
Attached Files: POPUPLOG.OS2 (6,075 bytes) 2022-02-24 09:17
https://mantis.smedley.id.au/file_download.php?file_id=600&type=bug
08ED_04.TRP (84,658 bytes) 2022-02-24 10:12
https://mantis.smedley.id.au/file_download.php?file_id=601&type=bug
08EA_12.TRP (90,855 bytes) 2022-02-24 10:12
https://mantis.smedley.id.au/file_download.php?file_id=602&type=bug
08EB_0F.TRP (91,744 bytes) 2022-02-24 10:12
https://mantis.smedley.id.au/file_download.php?file_id=603&type=bug
08EC_0D.TRP (82,626 bytes) 2022-02-24 10:12
https://mantis.smedley.id.au/file_download.php?file_id=604&type=bug
Notes
(0003929)
emax   
2022-02-23 22:30   
the code that give this error out is this:

<?
session_start();
?>

but this is not a deprecated function in php
(0003930)
psmedley   
2022-02-24 07:03   
We had earlier reports of this happening under heavy load, I'll try investigate.
(0003931)
emax   
2022-02-24 09:17   
done, installed the new PHP7.DLL

i add also popuplog.os2 of yesterday night, hope it can help
(0003932)
psmedley   
2022-02-24 09:43   
Got an idea for this one.it might have been PHP 8.0 where we made changes to random.c - I'll confirm in the morning.
(0003933)
emax   
2022-02-24 10:03   
i'm having exactly same issues with php 5.6.40 sometimes apache don't restart anymore
and the server must be setboot /b
(0003934)
emax   
2022-02-24 10:12   
New exceptQ dumps with the new php7 debug DLL

after those traps apache become unresponsive
only one child httpd running
i task-killed it
tried to restart apache, it didn't restart
i had to setboot /b
(0003935)
emax   
2022-02-24 10:30   
global_lock: Asserion failed: arc LIbcx resource usage etc.. maybe is running out of heap space
(0003936)
emax   
2022-02-24 16:52   
i also have a great number of these:

[23-Feb-2022 23:32:55 UTC] PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 65536 bytes) in Unknown on line 0

never had such errors with php 5.6.40
(0003937)
emax   
2022-02-24 17:08   
even phpmyadmin have issues due to the session start problem
(0003938)
psmedley   
2022-02-24 20:14   
https://smedley.id.au/tmp/php-7.4.28-dll-debug-20220225.zip might address the session start issues - it makes the random code the same as we use in php 8.0 - which I beleive addressed the session id problems
(0003939)
psmedley   
2022-02-24 20:16   
Those 4 TRPs are all from libcx - nothing I can do to fix them
(0003942)
emax   
2022-02-25 14:01   
hi,

this
https://smedley.id.au/tmp/php-7.4.28-dll-debug-20220225.zip

fix the Session ID issue

you can close this ticket, thanks a lot

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
746 [Apache 2.x ] Bug crash sometimes 2022-02-24 10:17 2022-02-27 06:27
Reporter: emax Platform: vbox 6.x VM  
Assigned To: OS: AOS  
Priority: normal OS Version: 503  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: apache 2.4.52 crash on SSL.DLL - Exception C0000005 - Access Violation
Description: Server Version: Apache/2.4.52 (OS/2) OpenSSL/1.1.1m PHP/7.4.28
Server MPM: mpmt_os2
Server Built: Dec 28 2021 08:13:42

sometimes, about once per day, i've these kind of trap/dump
eQ dump in attachment
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: 0090_0F.TRP (41,714 bytes) 2022-02-24 10:17
https://mantis.smedley.id.au/file_download.php?file_id=605&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
747 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Feature Request major N/A 2022-02-24 20:39 2022-02-25 20:31
Reporter: emax Platform: vbox 6.x VM  
Assigned To: psmedley OS: AOS  
Priority: high OS Version: 503  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Need for PHP 7.4.28 INTL.DLL a word press website require it
Description: as in the subject

thanks

massimo
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
Notes
(0003940)
psmedley   
2022-02-24 21:06   
I thought I already included it in the last build, but anyway - https://smedley.id.au/tmp/php7-intl.zip
(0003941)
emax   
2022-02-25 14:00   
hi,

you can close the ticket, it seems to work

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
743 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Feature Request major always 2022-02-21 14:49 2022-02-22 08:47
Reporter: emax Platform: SuperMicro server Xeon 4 core  
Assigned To: psmedley OS: ecs 2.1 with AN drv package  
Priority: normal OS Version: 2.1  
Status: resolved Product Version:  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: PHP 7.4.27 GD library lack Jpeg and freetype support
Description: This build of php lack JPEG and FreeType support APIs in the GD library (gd.dll)

https://smedley.id.au/tmp/php-7.4.27-os2-20220217.zip
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: gd.jpg (59,626 bytes) 2022-02-21 14:49
https://mantis.smedley.id.au/file_download.php?file_id=598&type=bug
jpg
Notes
(0003928)
psmedley   
2022-02-22 08:47   
This should be resolved in https://smedley.id.au/tmp/php-7.4.27-os2-20220222.zip

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
658 [Apache 2.x ] Bug minor always 2015-11-11 01:41 2022-02-19 21:35
Reporter: Steven Levine Platform: OS2/eCS  
Assigned To: Steven Levine OS: OS/2 or eComstation  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: assigned Product Version: 2.4.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ab.exe fails when accessing site over the WAN
Description: While doing some ab stress testing I discovered that ab seems to always
fail when accessing sites over the WAN. I never noticed this before
because all my previous work with ab was done over LAN connections.

A bit of time with the debugger identified the issue, which appears to be
a tcp/ip stack defect. The attached patch should avoid the error.
Tags:
Steps To Reproduce: You should be able to see the failure and verify the patch with:

  ab -c1 -n1 http://smedley.info/
Additional Information:
System Description
Attached Files: ab.c.diff (1,476 bytes) 2015-11-11 01:41
https://mantis.smedley.id.au/file_download.php?file_id=412&type=bug
ab.c-2.diff (1,476 bytes) 2019-11-06 17:04
https://mantis.smedley.id.au/file_download.php?file_id=464&type=bug
Notes
(0003373)
Steven Levine   
2019-11-06 17:04   
It appears that we lost the ab.c patch somewhere along the way.

The attached diff is built against the 2.4.41 sources.

When you build, it would be helpful if you updated readme.os2 to mention the apr versions used for the builds.
(0003374)
psmedley   
2019-11-07 08:27   
patching file support/ab.c
Hunk #1 FAILED at 634.
Hunk 0000002 FAILED at 675.
Hunk 0000003 succeeded at 2305 (offset 278 lines).
2 out of 3 hunks FAILED -- saving rejects to file support/ab.c.rej

I'll apply manually the 2x failed chunks....
(0003375)
psmedley   
2019-11-07 08:32   
http://smedley.id.au/tmp/httpd-2.4.41-os2-debug-20191107.zip

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
642 [Apache 2.x ] Bug minor always 2014-12-29 19:12 2022-02-19 21:35
Reporter: Steven Levine Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: 5.1.72  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: apache stops responding to simple mysql requests from ab.exe
Description: A stress test run as

  ab -c1 -n4000 http://slamain/hello-db.php

never completes. apache stops responding after some number of requests - typically between 500 and 3500. The failure is not permanent. If one waits a bit and retrys, apache will responds to some number of new requests before it again stops responding. It appears that whatever resource is causing the failure mode is released after some period of time.

Similar tests

  ab -c1 -n10000 http://slamain/hello.php
  ab -c1 -n10000 http://slamain/

which eliminate mysql from the processing chain run to completion.
Tags:
Steps To Reproduce:
Additional Information: A bit of experimenting with rexxtry as in:

rexxtry `l=2;s=65;do i = 1 to l;say i 'of' l 'sleeping' s;call syssleep s;'ab -dSc1 -n3000 http://slamain/hello-db.php |& tee clip:';end`

results in the 2nd pass usually completing without errors. This indicates that the mysql internal timeout for releasing the resources it is holding is something in the range of 60 seconds.

Attached Files: hello-db.php (1,025 bytes) 2015-01-02 02:38
https://mantis.smedley.id.au/file_download.php?file_id=381&type=bug
helloi-db.php (980 bytes) 2015-01-02 02:39
https://mantis.smedley.id.au/file_download.php?file_id=382&type=bug
Notes
(0002982)
Steven Levine   
2014-12-29 23:37   
Repeated

    ab -c40 -n2900 http://slamain/hello-db.php

runs without sufficient quiet time can result in:

    [Mon Dec 29 15:05:54 2014] [notice] Apache/2.2.29 (OS/2) PHP/5.4.36 configured -- resuming normal operations
    [Mon Dec 29 15:05:54 2014] [info] Server built: Dec 29 2014 07:52:35
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [debug] core.c(4023): [client 127.0.0.1] (OS 10055)No buffer space available: apr_socket_opt_set(APR_TCP_NODELAY)
    [Mon Dec 29 15:10:54 2014] [info] [client 127.0.0.1] (OS 10055)No buffer space available: core_output_filter: writing data to the network
    [Mon Dec 29 15:10:54 2014] [error] (OS 10055)No buffer space available: apr_socket_accept
    [Mon Dec 29 15:10:54 2014] [error] (OS 10055)No buffer space available: apr_socket_accept
    [Mon Dec 29 15:10:55 2014] [info] removed PID file D:/Internet/apache22/logs/httpd.pid (pid=5362)
    [Mon Dec 29 15:10:55 2014] [info] pidSemaphoreOwner = 0, tidSemaphoreOwner = 0, ulRequestCount = 0l
    [Mon Dec 29 15:10:55 2014] [notice] caught SIGTERM, shutting down

The failure in core_output_filter is not terminal, except to the transaction. It's probably a good idea to add a counted sleep and retry loop because there is no reason fail the transaction if the situation is temporary.

The apr_socket_accept failure is terminal and this is not a good thing. A counted sleep and retry loop is required. We need to figure out the best values to use for the sleep and retry limits.
(0002983)
psmedley   
2014-12-30 20:57   
which mysql driver is being used? mysql.dll, mysqli.dll or one of the pdo ones?
(0002984)
Steven Levine   
2014-12-31 10:07   
Hello-db.php is using mysqli. I can always build a mysql version if needed. It occurred to me earlier today that I neglected to add a mysqli_close, which might explain the temporary out of resource issue. I'll check this tomorrow.

The code that I derived the testcase from is production code, but it's something I inherited and the code is still a bit dirty. One of the things it does not do is close the connection before returning control to the server. I guess I will fix this.
(0002987)
Steven Levine   
2015-01-02 01:22   
Adding mysqli_close has no effect on the failure mode.

A bit more experimenting with

rexxtry `l=10;s=62;do i = 1 to l;say i 'of' l 'sleeping' s;call syssleep s;'ab -dSc1 -n2999 http://slamain/hello-db.php';end` |& tee /a tmp.out

indicates that there is some sort of 2999 item resource limit. Running the above with -n3000 always generates and error.

It also appears that the resources are help for 60 seconds after last use before they are released. Running the above with s=61 will sometimes fail, but this is probably just jitter in the thread scheduling.

These numbers give us an idea of what to look for in the mysqli extension. It is extremely unlikely that the limits are in the mysql daemon.
(0002988)
psmedley   
2015-01-02 01:25   
Thanks for the information. It would be interesting to know if the same problems exist with mysql. That may point to a problem with mysqlnd rather than in the specific module.

I will try have a poke around the code this afternoon - about to go pick up some Thai takeaway for lunch :)
(0002989)
Steven Levine   
2015-01-02 02:41   
I've uploaded the mysql and mysqli versions of the testcase.

The failure modes look to be the same for both APIs.
(0002990)
psmedley   
2015-01-02 03:48   
Thanks for confirming. I'll poke around the mysqlnd code today/tonight.
(0002991)
psmedley   
2015-01-02 05:03   
I suspect the timeout setting comes from php.ini:
; Maximum time (in secondes) for connect timeout. -1 means no limit
mysql.connect_timeout = 60
(0002992)
psmedley   
2015-01-02 05:11   
(Last edited: 2015-01-02 06:26)
I had thought that with PHP 5.4.x and above, the build in mysqlnd client *had* to be used. Looking at configure again, it appears that it is optional.

I will try and do a build now using mysqlclient that is probably better tested under OS/2 and see if that resolves this issue.

[sigh] with a build using mysqlclient I get:
Could not connect: Can't connect to local MySQL server through socket '\\socket\\MySQL' (49)


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
738 [Apache 2.x ] Bug major always 2021-07-15 04:33 2022-02-19 21:27
Reporter: Steven Levine Platform: OS2/eCS  
Assigned To: Steven Levine OS: OS/2 or eComstation  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: resolved Product Version: 2.4.x  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Accessing large files via wget or a browser results in a truncated file.
Description: This occurs for httpd 2.4.48 ( httpd-2.4.48-os2-20210619-debug.zip), but there's not yet any reason to believe it does not occur for earlier builds.

GET requests for files smaller than some as yet unknown limit succeed without errors. GET requests for larger files end early for example, idebug-small-20200707.zip is 3.4MB.

  wget http://www.warpcave.com/betas/idebug-small-20200707.zip

gets into a retry loop because it detects that the entire file has not been received and requests more of the file. Firefox 45.9 reports no errors, but only receives the first 40,490 or so of the file.

The logs show that only a portion of the file has been sent.

74.101.171.114 - - [13/Jul/2021:15:02:11 +0000] www.warpcave.com "GET /betas/idebug-small-20200707.zip HTTP/1.1" 200 40490 "http://www.warpcave.com/betas/" "Mozilla/5.0 (OS/2; Warp 4.5; rv:38.0) Gecko/20100101 Firefox/38.0 SeaMonkey/2.35"
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: sendrecv.c.diff (815 bytes) 2021-12-27 01:02
https://mantis.smedley.id.au/file_download.php?file_id=597&type=bug
Notes
(0003826)
LewisR   
2021-07-18 19:15   
In case it's of any help in correlating log files, this is a wget attempt (no proxy) which ultimately succeeded (local time is -0400 EDT):

--2021-07-18 15:06:12-- http://www.warpcave.com/betas/TestDosGetDateTimeTzSetAndRuntime-20210718.zip
Resolving www.warpcave.com (www.warpcave.com)... 64.60.60.121
Connecting to www.warpcave.com (www.warpcave.com)|64.60.60.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 74865 (73K) [application/zip]
Saving to: 'TestDosGetDateTimeTzSetAndRuntime-20210718.zip'

TestDosGetDateTimeT 48%[========> ] 35.67K 31.5KB/s in 1.1s

2021-07-18 15:06:13 (31.5 KB/s) - Connection closed at byte 36527. Retrying.

--2021-07-18 15:06:14-- (try: 2) http://www.warpcave.com/betas/TestDosGetDateTimeTzSetAndRuntime-20210718.zip
Connecting to www.warpcave.com (www.warpcave.com)|64.60.60.121|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 74865 (73K), 38338 (37K) remaining [application/zip]
Saving to: 'TestDosGetDateTimeTzSetAndRuntime-20210718.zip'

TestDosGetDateTimeT 97%[+++++++++=========> ] 71.29K 29.2KB/s in 1.2s

2021-07-18 15:06:15 (29.2 KB/s) - Connection closed at byte 73001. Retrying.

--2021-07-18 15:06:17-- (try: 3) http://www.warpcave.com/betas/TestDosGetDateTimeTzSetAndRuntime-20210718.zip
Connecting to www.warpcave.com (www.warpcave.com)|64.60.60.121|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 74865 (73K), 1864 (1.8K) remaining [application/zip]
Saving to: 'TestDosGetDateTimeTzSetAndRuntime-20210718.zip'

TestDosGetDateTimeT 100%[+++++++++++++++++++>] 73.11K --.-KB/s in 0s

2021-07-18 15:06:18 (36.4 KB/s) - 'TestDosGetDateTimeTzSetAndRuntime-20210718.zip' saved [74865/74865]

I'll compare the above to Hawking's wget pull for the FTP mirror to see if the chunk sizes are the same (the update pass is not scheduled for another 11 hours or so).
(0003888)
Steven Levine   
2021-08-22 15:41   
This issue is mostly resolved with the current libcx from netlabs-exp. However, some wget requests still restart intermittently, so we are not yet ready to say the issue is resolved.
(0003900)
Steven Levine   
2021-11-09 18:47   
Status update...

The cause to that truncated GET requests has been isolated to the select statement at

network_io\os2\sendrecv.c:138
            fds = sock->socketdes;
            rv = select(&fds, 0, 1, 0, sock->timeout >= 0 ? sock->timeout/1000 : -1);

This is in our apr_socket_sendv implementation. Other platforms do not use select.

As the code is currently written, the select is not expected to fail with no sockets ready to send, but it can because the socket is configured as non-blocking. The no sockets ready is a false positive probably because the stack is busy. The result is that APR_TIMEUP is returned to the caller. This is a problem because it is not treated as an error and the client believes that the GET request completed without errors.

This is likely the case because, if the stack is busy with other operations, the number of truncated GET requests seems to increase.

The fix will be a patch to retry to failing selects, as we have need to do elsewhere, and to ensure that real time outs result in reporting an error to the caller.
(0003901)
Steven Levine   
2021-12-27 01:02   
Here's a copy of the diff I passed to Paul on the apache2 list.
(0003918)
Steven Levine   
2022-02-19 21:27   
Corrected in https://smedley.id.au/tmp/httpd-2.4.52-os2-20211228-debug.zip

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
625 [Subversion for OS/2 & eCS] Bug major always 2014-09-25 09:18 2021-10-19 21:01
Reporter: dmik Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Unicode support
Description: It seems that both subversion 1.6 and subversion 1.7 have problems supporting the characters outside the range of the current 8-bit OS/2 character set.

For instance, there is a repository http://svn.netlabs.org/repos/java/branches/vendor/sourceforge/icedtea-web which contains a few files with the characters from the extended Latin set (the ones with diacritics) in their names. Since I have the Russian locale with the CP866 codepage, these characters are missing from my codepage and here the problems start.

I need to attach screenshots to the ticket and since Mantis doesn't let you attach more than one screenshot at a time, I will put the steps to reproduce in separate comments.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: svn16.png (15,206 bytes) 2014-09-25 09:18
https://mantis.smedley.id.au/file_download.php?file_id=348&type=bug
png

svn_proper.png (35,273 bytes) 2014-09-25 09:24
https://mantis.smedley.id.au/file_download.php?file_id=349&type=bug
png

svn17.png (31,819 bytes) 2014-09-25 09:28
https://mantis.smedley.id.au/file_download.php?file_id=350&type=bug
png
Notes
(0002837)
dmik   
2014-09-25 09:22   
With subversion 1.6, checkout per se works (meaning it doesn't abort) but any further operation with the affected files (update, change & commit, etc) fails.

After doing `svn co http://svn.netlabs.org/repos/java/branches/vendor/sourceforge/icedtea-web/current@430` followed by `svn stat` I get what you see on svn16.png. I.e. for the file named `encodingTests?Š??ŽÝÁÍÉ?É??ÝÚ?ÍÓÁŠ?Ž??` I get latin letters corresponding to diacritic ones followed by a character with code 0x7F (the "house" mark on the screen shot). You may also see that svn doesn't recognize these files well after the checkout: they are marked as BOTH missing and as new (untracked).
(0002838)
dmik   
2014-09-25 09:24   
Apparently, Mantis itself has big problems with unicode. The `encodingTests` file should look like on the screenshot `svn_proper.png`.
(0002839)
dmik   
2014-09-25 09:34   
With subversion 1.7, after doing the same checkout as above, the picture is a bit different. See `svn17.png`. In particular, the names of the "missing" and "new" files don't match — in the file system I see the "new" files to be created.

I.e. svn 1.6 creates diacritics with the "house" marks in the file system (and they still look "not the same" to the ones it stores in the index when you do stat though "house" is used there as well), while svn 1.7 uses "house" marks in the index and various graphical chars in the file system.
(0002840)
dmik   
2014-09-25 09:36   
I see only one solution to this problem: svn should refuse to check out repositories with file names which it can't create in the local character set. Any other solution is unaccepted since it would be to dangerous and error prone. It is easy to detect a failure in character set conversion, so it shouldn't be too much work to implement this.
(0002843)
psmedley   
2014-10-03 05:23   
Seems this describes a similar situation on MacOS from SVN 1.5.x timeframe.. http://subversion.tigris.org/issues/show_bug.cgi?id=2464
(0002844)
dmik   
2014-10-03 09:42   
(Last edited: 2014-10-03 10:22)
JFYI, there is also a somewhat similar problem in git: http://stackoverflow.com/questions/5581857/git-and-the-umlaut-problem-on-mac-os-x.

BTW, there is another solution besides refusing to work with such repos at all: we may escape non-representable chars using printable-ASCII using one of the known algorithms (e.g. like they do when passing URLs between systems on the Internet). This would let fully support all file operations (adding, renaming, deletion) on any Unicode character within any 8-bit codepage. The only drawback is that the user will see not what it actually is for characters that are not in their code page.

For URLs they do what is called "percent-encoding": http://en.wikipedia.org/wiki/Percent-encoding. We may just use that algorithm. It may operate on UTF-8 strings (stored by the SVN/GIT server and transferred on the wire if I get it right) so there is not much to implement. Only one mangle/demangle function. We should find a right place for it though. And the existing MacOS solution may help with that.

BTW, we should not percent-encode characters that CAN be represented using the current 8-bit code page — to keep user-native characters look native. This makes the working copy non portable (you won't be able to zip it and transfer to another machine with a different code page) but this doesn't make any worse since SVN working copies are already non-portable on OS/2 due to the nature of 8-bit code pages. And in either case non-portability is not a big issue at all. Nobody should normally do that.

(0003899)
Steven Levine   
2021-10-19 21:01   
This issue appears to still exist in 1.14

  svn co https://svn.code.sf.net/p/md5deep/code/trunk .
  svn st -q

reports

    >svn st -q
    ~ sample-hashes/hashkeeper/sample-hashkeeper
    ~ tests/testfiles/symlinktest/dir1/badlink.txt
    ~ tests/testfiles/symlinktest/dir1/dir1
    ~ tests/testfiles/symlinktest/dir1/dir2/dir1
    ~ tests/testfiles/symlinktest/dir1/dir2/dir2
    ~ tests/testfiles/symlinktest/dir1/dir2/dir3/dir1
    ~ tests/testfiles/symlinktest/dir1/dir2/dir3/dir2
    ~ tests/testfiles/symlinktest/dir1/dir2/dir3/dir3
    ~ tests/testfiles/symlinktest/dir1/dir3
    ! tests/testfiles/unicode_circled_bullet_.txt
    ! tests/testfiles/unicode_snowman_.txt

The obstruction is probably an issue with symlinked directories.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
741 [PHP for OS/2, ArcaOS & eComStation (PHP versions v8.x v7.x v5.x)] Bug minor always 2021-07-23 02:49 2021-08-11 01:27
Reporter: Steven Levine Platform: OS2/eCS  
Assigned To: Steven Levine OS: OS/2 or eComstation  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: assigned Product Version: 7.4.20  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: php interactive mode seems to be broken on 7.x and 5.6.40
Description: php -a does not accept keyboard input.
Tags:
Steps To Reproduce: php -a
Type in any php expression.
Additional Information:
System Description
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
692 [MySQL v5 for OS/2 & eComStation] Bug crash random 2019-06-19 12:40 2021-07-25 02:05
Reporter: Igor Vaskov Platform: OS/2  
Assigned To: Steven Levine OS: ECS  
Priority: normal OS Version: 2.2  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: MySQL 5.5.62 Unstable working and traps.
Description: Random traps in PTHR01.DLL. Error log include the traps attached.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: mysql55.log (136,753 bytes) 2019-06-19 12:40
https://mantis.smedley.id.au/file_download.php?file_id=448&type=bug
003D_04.TRP (61,426 bytes) 2019-06-20 13:02
https://mantis.smedley.id.au/file_download.php?file_id=450&type=bug
05C1_05.TRP (55,088 bytes) 2019-06-20 13:08
https://mantis.smedley.id.au/file_download.php?file_id=451&type=bug
mysql-5.5.62.diff (84,417 bytes) 2019-07-05 21:51
https://mantis.smedley.id.au/file_download.php?file_id=455&type=bug
003D_04.TRP-annotated (62,138 bytes) 2019-07-07 01:43
https://mantis.smedley.id.au/file_download.php?file_id=456&type=bug
1e95_05.trp (62,778 bytes) 2019-07-11 00:31
https://mantis.smedley.id.au/file_download.php?file_id=457&type=bug
0044_05.trp (60,159 bytes) 2019-07-11 21:22
https://mantis.smedley.id.au/file_download.php?file_id=458&type=bug
0B76_03.trp (60,641 bytes) 2019-07-17 21:54
https://mantis.smedley.id.au/file_download.php?file_id=459&type=bug
mysql55-2.log (64,972 bytes) 2019-07-19 10:00
https://mantis.smedley.id.au/file_download.php?file_id=460&type=bug
new.trp (60,567 bytes) 2020-01-16 22:19
https://mantis.smedley.id.au/file_download.php?file_id=467&type=bug
Notes
(0003307)
Igor Vaskov   
2019-06-20 13:08   
Latest trap.
(0003308)
psmedley   
2019-06-23 09:25   
Will try and look at this when I have time, busy on some non-OS/2 related home automation stuff right now
(0003309)
psmedley   
2019-07-05 21:51   
(Last edited: 2019-07-06 05:55)
diff of mysql 5.1.62 added. Will add a build log after it rebuilds

(0003310)
Steven Levine   
2019-07-07 01:43   
A few comments for posterity.

The trap is at:

    i = cv->waiting;

because my_rw_unlock() has called

   pthread_cond_signal( &rwp->writers );

and part or all of the rwp structure has been corrupted pr possibly freed and reused. An annotated .trp file is attached.

One thing stands out in the .trp file. There are no accessible DLLs listed. This cannot be true, since exceptq was able to read and disassemble the content of PTHR01.DLL
(0003313)
Igor Vaskov   
2019-07-09 20:19   
I think it would be interesting to compare the way to implement the error-causing functionality without pthr01.dll and with it. Since previous versions not using pthr01 did not contain this error.
(0003314)
psmedley   
2019-07-10 09:30   
(Last edited: 2019-07-10 11:09)
@Igor you mean static linking pthreads? I can try that.

http://smedley.id.au/tmp/mysqld-20190710.zip

(0003315)
Igor Vaskov   
2019-07-10 20:33   
Yes. This version looks more stable. Uptime more than 8 hours. Previous did not work more than 2 hours without a trap. I continue testing the latest version.
(0003316)
Igor Vaskov   
2019-07-11 00:31   
More stable. More than 10 hours of uptime, but the trap is in the same place.
(0003317)
psmedley   
2019-07-11 09:41   
are you sure that's the right trp file?
 Process: E:\APPS\MYSQL55\BIN\MYSQLD.EXE (06/16/2019 10:51:24 30,006,313)
(0003318)
Igor Vaskov   
2019-07-11 11:39   
Sorry. This trp file incorrect. This is old verson.
(0003319)
Igor Vaskov   
2019-07-11 12:14   
Once again, I apologize for the incorrect file. I have not updated the demon to the new version. However, the placebo effect and my belief in the best did the impossible. So the version that did not work before and two hours surpassed itself and worked 11 hours.
Now I updated everything correctly and continue testing.
(0003320)
Igor Vaskov   
2019-07-11 21:22   
It is correct trp file from latest version. The trap is in the same place...
(0003321)
Igor Vaskov   
2019-07-12 11:27   
In version 5.1.17 before the build 20140725 this trap was not. In build 2014072 ptpr01.dll appeared and an error appeared.
In version 5.1.17 prior to build 20140725, another method for treating threads was used, and there was no such error there.
Is it possible to use the old method of processing threads in the new version?
(0003322)
psmedley   
2019-07-13 08:21   
(Last edited: 2019-07-13 08:21)
The 'old' method was an older version of the pthreads library. Not sure I can even find an old copy of this lib.... of course, best solution is to fix pthreads...

PS what kernel do you use?

(0003324)
Igor Vaskov   
2019-07-15 19:25   
I use the OS / 4 core.
(0003325)
Igor Vaskov   
2019-07-15 19:35   
Perhaps this error does not contain pthreads, but the code that refers to an already destroyed thread. Unfortunately, I do not have the opportunity to test this system with a different kernel (
Judging by the error, the function is called with a pointer to a non-allocated area of memory or already freed ... Perhaps this is a multitasking error. And so it appears at an arbitrary point in time.
(0003326)
Steven Levine   
2019-07-16 19:57   
Have you tested with

 PSD=ACPI.PSD /MAXCPU=1

IMO, this looks more like a possible SMP serialization issue, so running an a single CPU is a useful test.

Does running on a single CPU make the trap go away?

Another IMO, The actual failure has nothing to do with pthreads. There is some sort of buffer overflow or reuse of already freed memory in sql_parse. It just so happens to corrupt the pthreads mutex data structure.

Also, there is something strange going on with the OS4 kernel. Note that the .trp files list not DLLs in the

  DLLs accessible from this process

This is very unusual.
(0003327)
Igor Vaskov   
2019-07-17 12:03   
Is it possible to run only MySQL in single-process mode? This is a production server, I can not reduce performance as much.
(0003328)
Igor Vaskov   
2019-07-17 16:34   
I launched MySQL in single-processor mode (execmode.exe -sp). Waiting for results.
(0003329)
Igor Vaskov   
2019-07-17 21:54   
The single-processor mode of the MySQL application did not lead to success.
(0003330)
Igor Vaskov   
2019-07-18 12:25   
Steven,
I do not agree with the fact that this error has no relation to pthreads because it first appeared when a stable working version 5.1.17 was compiled with this library. There is nothing changed except the assembly with a newer libs. And the error occurred after that.
(0003331)
Igor Vaskov   
2019-07-18 21:23   
I found that the dll files in the ANPM repository and in the netlabs zip archive differ in size and compile time. I installed the library from a zip archive and returned a version that uses external dll. And I'm testing again.
(0003334)
Igor Vaskov   
2019-07-19 10:00   
Unfortunately... The trap is in the same place...
(0003335)
Igor Vaskov   
2019-08-25 23:32   
I do not give up hope to launch a new version of MySQL. It may be useful to create a test version in which to enable the output of debugging information at the time of accessing the function in which an error occurs with an indication of the module in which it occurs. Perhaps the analysis of the code near the error will give an understanding.
There is also an assumption that the parameters are passed to the function by pointer, and for some reason, it is possible that the contents are corrupted inside the function. Then another function is called with the same pointer and an error occurs.
There is a proposal before calling the pthreads functions to copy the data to another memory area and give a link to it, unless of course the function itself implies changing the data within itself.
(0003380)
Igor Vaskov   
2020-01-16 22:19   
Hi!
I update pthr01.dll. Problem is not resolve.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
739 [Apache 2.x ] Bug minor always 2021-07-15 04:38 2021-07-15 04:38
Reporter: Steven Levine Platform: OS2/eCS  
Assigned To: Steven Levine OS: OS/2 or eComstation  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: assigned Product Version: 2.4.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: GET request to a server listening on localhost seem to complete slowly.
Description: This occurs for httpd 2.4.48 ( httpd-2.4.48-os2-20210619-debug.zip), as well earlier builds.

GET requests to a server instance listening on localhost seem to complete slowly.

More test data to follow.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
478 [Apache 2.x ] Bug minor always 2011-07-18 08:16 2021-06-07 13:55
Reporter: DB1 Platform:  
Assigned To: OS: ECS  
Priority: normal OS Version: 2.0  
Status: new Product Version: v2.2.1  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Problem with TZ and logging and invoked cgi scripts
Description: My TZ variable is set to GMT0BST,3,-1,0,3600,10,-1,0,7200,3600

With this setting perl scripts get the timezone and timezone offset correctly. Apache log files on the other hand do not - it thinks everything is GMT even when DST is in effect. ie the time stamps are one hour out.

[T:\tmp]Maildate.pl
GMT0BST,3,-1,0,3600,10,-1,0,7200,3600
isdst = 1
GMT, 0, BST
Date: Mon, 18 Jul 2011 09:12:36 +0100 (BST)

Setting TZ to the POSIX format of GMT0BST,M3.5.0/2,M10.5.0/3 screws perl scripts:

[T:\tmp]maildate.pl
GMT0BST,M3.5.0/2,M10.5.0/3
isdst = 0
GMT, 0, BST
Date: Mon, 18 Jul 2011 09:12:55 +0000 (GMT)

The Apache log does the same thing - ie the time is correct local time but the offset and time zone is wrong. I had a look at the source and got quickly confused :-) It would seem that isdst is not getting correctly set whn TZ is in POSIX format.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001942)
psmedley   
2011-07-22 22:34   
apr timezone code is fugly :P

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
717 [Subversion for OS/2 & eCS] Bug minor always 2020-08-24 17:36 2021-06-07 13:55
Reporter: LewisR Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: 1.14.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 1.14.x  
Summary: svnsync 1.14.0 (2020-08-24) crashes attempting to init repo for sync
Description: After creating a new empty repository, and ensuring that the requisite pre-revprop-change hook is present, attempting to initialize the sync interactively traps.
Tags:
Steps To Reproduce: {1}[j:\] svnsync init file:///j:/subversion/data/svn14-snap-test svn://hawking:3691/svn14-snap-test/
Additional Information: Result:

.trp attached.

Sending --source-username and --source-password along also trap. The trap is not seen, however, when not using the file:/// protocol for the destination (mirror) URL.
Attached Files: 0D32_01.TRP (36,213 bytes) 2020-08-24 17:36
https://mantis.smedley.id.au/file_download.php?file_id=519&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
718 [Subversion for OS/2 & eCS] Bug minor always 2020-08-24 17:46 2021-06-07 13:55
Reporter: LewisR Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version: 1.14.x  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: 1.14.x  
Summary: svnsync 1.14.0 (2020-08-24) seems to pass source credentials to local server instance and not to source server
Description: Attempting to init a mirror using a destination (mirror) URI for a local repository over the svn:// protocol, I noticed auth failures on the local server side. This is unexpected, because by definition, --source-username and --source-password should be sent to the source (remote server) side.
Tags:
Steps To Reproduce: {0}[j:\] svnsync init --source-username username --source-password pass svn://localhost/svn14-snap-test svn://hawking:3691/svn14-snap-test/
Additional Information: Result:

CLI says:
svnsync: E170001: Authorization failed

local svnserve.log says:

3352 2020-08-24T17:30:23.558000Z 127.0.0.1 - svn14-snap-test open 2 cap=(edit-pipeline svndiff1 accepts-svndiff2 absent-entries depth mergeinfo log-revprops) / SVN/1.14.0%20(i386-pc-os2-emx) -
3352 2020-08-24T17:30:23.558000Z 127.0.0.1 - svn14-snap-test rev-prop r0 svn:sync-lock
3352 2020-08-24T17:30:23.558000Z 127.0.0.1 - svn14-snap-test ERR - 0 170001 Authorization failed

Auth should be attempted against the remote (source) server, and not the local (destination) one.

For reference:

initialize (init): usage: svnsync initialize DEST_URL SOURCE_URL

--source-username ARG : connect to source repository with username ARG
--source-password ARG : connect to source repository with password ARG

This may tie in somehow with 0000717 and #713, if the source and destination are somehow being switched.
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
730 [Port Requests] Port Request feature N/A 2021-04-17 13:43 2021-06-07 13:54
Reporter: LewisR Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Port x3270 to OS/2
Description: Our current 3270 terminal emulation options are dated and quite limited (commercial, no TLS, no support, etc.). It would be good to have a modern, maintained 3270 client with TLS capability. The x3270 project seems to be a good start in that direction:

https://sourceforge.net/projects/x3270/
Tags:
Steps To Reproduce:
Additional Information: Whether all 3270 implementations in the x3270 project are feasible at this time remains to be seen. Nevertheless, it seems that we should be able to build some type of client based on this.
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
567 [Apache 2.x ] Feature Request minor N/A 2013-03-31 21:11 2021-05-20 13:56
Reporter: LewisR Platform:  
Assigned To: OS:  
Priority: low OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: rename or move default config files in distribution package to allow for easier upgrades
Description: Trivial point, Paul:

When installing an updated version, I shouldn't need to worry that my config files will be overwritten when unzipping a new version.
Tags:
Steps To Reproduce: Unzip new package over existing installation.

apache2/conf/httpd.conf, apache2/conf/extra/httpd-mpm.conf, and apache2/conf/extra/httpd-vhosts.conf are replaced by versions in the zip file.
Additional Information: Suggest renaming apache2/conf directory to apache2/conf-dist.
Attached Files:
Notes
(0002421)
psmedley   
2013-04-02 08:26   
good point, will have to see how I can automate this from 'make install'
(0003699)
emax   
2021-05-20 09:39   
it could also easy the upgrade the removal or non necessary folders from the packages
like the ones that contains source code

thanks

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
715 [Subversion for OS/2 & eCS] Bug minor always 2020-08-22 01:50 2020-08-22 18:16
Reporter: LewisR Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Subversion 1.14 skips line endings in console output
Description: svn.exe (and likely the other executables) seems to wrap text in the command window instead of properly breaking.
Tags:
Steps To Reproduce: Perform an operation requiring authentication.
Additional Information: {0}[j:\subversion] svn up j:\devel\svn14-snap-test\
Updating 'J:/devel/svn14-snap-test':
Authentication realm: <svn://hawking:3691> c7a4dfb0-a67f-11ea-8391-9fa00ff01a97
                                                                               Password for 'root':
Attached Files:
Notes
(0003486)
psmedley   
2020-08-22 09:14   
Investigating now... using Andi's example from os2world of:
Log message unchanged or not specified
                                      (a)bort, (c)ontinue, (e)dit:
                                                                  
The actual code in subversion\svn\util.c is:
          SVN_ERR(svn_cmdline_prompt_user2
                  (&reply,
                   _("\nLog message unchanged or not specified\n"
                     "(a)bort, (c)ontinue, (e)dit:\n"), NULL, pool));

so I need to work out what SVN_ERR is doing with that string...

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
691 [MySQL v5 for OS/2 & eComStation] Bug crash random 2019-06-14 10:33 2019-06-20 10:48
Reporter: Igor Vaskov Platform: OS/2  
Assigned To: OS: ECS  
Priority: normal OS Version: 2.2  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Bug in MySQL 5.5.58
Description: Server working unstable ((( Every hour uptime trap and crash...
Trap file in attache.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: E665_14.TRP (19,057 bytes) 2019-06-14 10:33
https://mantis.smedley.id.au/file_download.php?file_id=447&type=bug
003D_04.TRP (61,426 bytes) 2019-06-20 10:48
https://mantis.smedley.id.au/file_download.php?file_id=449&type=bug
Notes
(0003299)
psmedley   
2019-06-14 21:12   
I assume pthr01.dll is the latest from rpm?
(0003300)
psmedley   
2019-06-16 06:38   
building 5.5.62 now, against the latest pthr01.dll from rpm; let's see if this helps
(0003301)
psmedley   
2019-06-16 07:05   
Can you try with http://smedley.id.au/tmp/mysql-5.5.62-os2-20190616.zip
(0003302)
Igor Vaskov   
2019-06-19 12:45   
Yes, pthr01.dll is latest version from rpm.
bitwise works GmbH:20190130 2019-03-29 16:37:58
(0003303)
Igor Vaskov   
2019-06-19 12:53   
I update MySQL version to 5.5.62 and receive traps again. I open new ticket for version 5.5.62.
(0003304)
Igor Vaskov   
2019-06-19 14:24   
In the same system MySQL 5.1.72 working is very stable.
(0003305)
Igor Vaskov   
2019-06-19 14:39   
Sorry, I could not find the xqs files for pthr01 and pthread dll. If you can, give me a link to these files.
(0003306)
Igor Vaskov   
2019-06-20 10:48   
New trap file. Dbg file for pthr01.dll installed.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
683 [Subversion for OS/2 & eCS] Bug minor always 2019-01-30 01:17 2019-03-12 02:10
Reporter: Thomasikus Platform: IBM Thinkpad T43p  
Assigned To: OS: ecomStation  
Priority: normal OS Version: 2.1  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: 'svn add' interference with either 'file' command or its magic.mgc file
Description: Command 'svn add' results in a very long printout of rather meaningless text with a reference to the 'magic.mgc' file that is the database for the 'file' command. Addition of files works but the pointless print is very annoying. Files with captured (piped) print text are included. Renaming the 'magic.mgc' file avoids the printout but then the 'file' command cannot be used.
Tags:
Steps To Reproduce: Created a directory svntest in directory D:\Prevas on my machine, then created a repository in it with 'svnadmin'. Started the SVN server with the command
    detach svnserve -d -r d:\Prevas\svntest\
It seemed to work well and I created three test directories Projekt1, Projekt2 and Projekt3 in the repository. Then I made a working copy directory, testsvnmapp, also in D:\Prevas, and made it the working copy of Projekt1 with the command
    svn checkout svn://localhost/Projekt1 . (while being in testsvnmapp)
This worked well and I proceeded to copy some random small files to the working copy testsvnmapp and added them to the project with
    svn add * or
    svn add <file>
To my surprise, this gave a very long screen print of useless data, even if the files were added correctly.
Additional Information: The print of useless data (captured and included in text files) seems related to the 'magic.mgc' file which is located at D:\usr\share\misc\magic.mgc. That path is contained in the environment variable 'magic' so that 'file' will find it. I tried renaming the 'magic.mgc' file (then the 'file' command "could not find any magic files" and didn't work) which resulted in a clean output from the 'svn add' command.
Attached Files: svn_add_result.zip (13,025 bytes) 2019-01-30 01:17
https://mantis.smedley.id.au/file_download.php?file_id=433&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
681 [Other Unix Port] Bug minor always 2018-10-16 02:29 2018-10-16 02:29
Reporter: LewisR Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: tnftp command line editing does not work
Description: tnftp (20170425) should allow for command line editing by default according to its man page, but editing is not possible.
Tags:
Steps To Reproduce:
Additional Information: Entering the edit command reports that edit mode has been turned off. When this happens, we actually get a duplicated "ftp> " prompt (which normally does not appear even by itself, as it should). Perhaps the editline library (which provides for the command line editing) is in error.
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
670 [Other Unix Port] Bug major always 2017-04-09 15:32 2018-10-16 02:17
Reporter: LewisR Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: tnftp breaks binary transfers
Description: tnftp-20170409.zip

Have not tested uploads, nor have I tested text transfers. Binaries fail, with Interrupted system call.
Tags:
Steps To Reproduce:
Additional Information: ls
[...]
-rwxrwxrwx 1 ftp -A--N 11578584 Dec 31 11:22 updates_31st_december_
2016.zip
226 Transfer complete.
mget updates_*
mget updates_31st_december_2016.zip [anpqy?]? y
227 Entering passive mode (192,168,100,2,199,214)
150 Opening BINARY mode data connection for file updates_31st_december_2016.zip (11578584 bytes).
 14% |**** | 1599 KiB 1.50 MiB/s 00:06 ETAt
nftp.exe: Reading from network: Interrupted system call
  0% | | -1 0.00 KiB/s --:-- ETA
426 Transfer failed.

Resulting file:

 4-09-17 11:20 1,637,752 124 updates_31st_december_2016.zip

[j:\]unzip -t updates_31st_december_2016.zip
Archive: updates_31st_december_2016.zip
  End-of-central-directory signature not found. Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive. In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
Attached Files:
Notes
(0003135)
LewisR   
2017-04-09 15:39   
Tested with explicitly setting binary mode; same result.

ASCII transfers in both directions seem to work just fine, however, as does paging using the configured PAGER (less, in my case).
(0003136)
psmedley   
2017-04-09 20:11   
I wonder if I broke this by modifying the code for non-blocking - will try and investigate this evening
(0003137)
psmedley   
2017-04-10 09:03   
Yep, seems messing around with O_NONBLOCK broke ftp downloads. http://smedley.id.au/tmp/tnftp-20170410.zip seems to address
(0003138)
LewisR   
2017-04-10 22:39   
Sorry, Paul, but this did not do it:

 4-10-17 4:59 1,799,788 124 tnftp.exe

mget blue*
mget bluelion-4.9.1-en.7z [anpqy?]? y
227 Entering passive mode (192,168,100,2,207,82)
150 Opening BINARY mode data connection for file bluelion-4.9.1-en.7z (846488957
 bytes).
  0% | | 4054 KiB 3.80 MiB/s 03:31 ETAt
nftp.exe: Reading from network: Interrupted system call
  0% | | -1 0.00 KiB/s --:-- ETA
426 Transfer failed.

Try again?
(0003139)
psmedley   
2017-04-11 09:33   
i'll try with a bigger test file, the file I tried was quite small
(0003140)
psmedley   
2017-04-11 09:39   
(Last edited: 2017-04-11 09:48)
mget *.zip
mget client-4.x.zip [anpqy?]? y
227 Entering Passive Mode (192,168,1,200,252,222).
150 Opening BINARY mode data connection for client-4.x.zip (20234082 bytes).
100% |***********************************| 19759 KiB 7.22 MiB/s 00:00 ETA
226 Transfer complete.
20234082 bytes received in 00:02 (7.21 MiB/s)

Any environment variables set or anything to modify tnftp from the default settings?

i'm just using:
tnftp 192.168.1.200 21

to connect to a local ftp server

(0003141)
LewisR   
2017-04-12 21:18   
First, the exe I'm using has an md5sum of:

2ee94ed85add1385fe2644e407615bc1

(just to be sure we're using the same build)

Next, I started tnftp from a prompt, then:

o hawking
<username>
<password>
cd /ftp/arcanoae/bluelion/betas

and the above.

Hawking is on the local LAN segment, so there's no firewall or NAT traversal to be made. I'll try with a smaller file...

Nope:

mget *2017-04*
mget rpm-yum-base-os2-i686-2017-04-08.exe [anpqy?]? y
227 Entering passive mode (192,168,100,2,220,20)
150 Opening BINARY mode data connection for file rpm-yum-base-os2-i686-2017-04-0
8.exe (44382826 bytes).
  0% | | 0 0.00 KiB/s --:-- ETAt
nftp.exe: Reading from network: Interrupted system call
  0% | | -1 0.00 KiB/s --:-- ETA
426 Transfer failed.
mget rpm-yum-base-os2-i686-2017-04-08.zip [anpqy?]? n
binary
200 OK
get rpm-yum-base-os2-i686-2017-04-08.zip
local: rpm-yum-base-os2-i686-2017-04-08.zip remote: rpm-yum-base-os2-i686-2017-0
4-08.zip
227 Entering passive mode (192,168,100,2,220,31)
150 Opening BINARY mode data connection for file rpm-yum-base-os2-i686-2017-04-0
8.zip (44343605 bytes).
 13% |**** | 5798 KiB 1.37 MiB/s 00:26 ETAt
nftp.exe: Reading from network: Interrupted system call
  0% | | -1 0.00 KiB/s --:-- ETA
426 Transfer failed.

Local filesystem is JFS, though that should not matter, in this case.

Smaller test:

-rwxrwxrwx 1 ftp -A--N 5426 Aug 8 2014 zwrotlogs.txt
226 Transfer complete.
get zwrotlogs.exe
local: zwrotlogs.exe remote: zwrotlogs.exe
227 Entering passive mode (192,168,100,2,220,87)
150 Opening BINARY mode data connection for file zwrotlogs.exe (87928 bytes).
100% |***********************************| 87928 1.94 MiB/s 00:00 ETA
226 Transfer complete, closing data connection.
87928 bytes received in 00:00 (1.71 MiB/s)

That works, as does:

get whois.exe
local: whois.exe remote: whois.exe
227 Entering passive mode (192,168,100,2,220,106)
150 Opening BINARY mode data connection for file whois.exe (135867 bytes).
100% |***********************************| 132 KiB 132.68 KiB/s --:-- ETA
226 Transfer complete, closing data connection.
135867 bytes received in 00:00 (132.68 KiB/s)

So, it would seem that there is some size thing happening somewhere. Both of those smaller binaries came down intact.
(0003142)
psmedley   
2017-04-25 04:41   
(Last edited: 2017-04-25 04:57)
ok, finally got around to trying to reproduce and succeeded on a larger file :)
tnftp.exe: Reading from network: Interrupted system call

OK, please try http://smedley.id.au/tmp/tnftp-20170425.zip

read() was failing with EINTR - added some code to workaround this :)

(0003143)
psmedley   
2017-04-25 09:53   
OK upload was similarly broken, zip refreshed with the fix
(0003144)
psmedley   
2017-04-25 10:04   
hmmmm except the file ends up corrupt.... need to think more on this and why read() is reporting EINTR and how to prevent this... setting the socket non-blocking didn't help.

I changed:
        while (bufrem > 0) {
            inc = read(infd, buf, MIN((off_t)bufsize, bufrem));
            if ((inc <= 0) && (errno != EINTR))
                goto copy_done;
            bytes += inc;
            bufrem -= inc;

to:
        while (bufrem > 0) {
            inc = read(infd, buf, MIN((off_t)bufsize, bufrem));
            if (inc <= 0)
                goto copy_done;
            bytes += inc;
            bufrem -= inc;

thinking now, of course this corrupts the file as inc is later used to change the amount of data to still be read, I probably need to reset inc to 0 if EINTR is received. Will play more tomorrow, at least I know where it's failing :)
(0003149)
LewisR   
2017-11-12 22:00   
Reminder sent to: Steven Levine
Steve, as we were looking at this as a poss9ible replacement for IBM's FTP in ArcaOS, when you have a few minutes to look at the code, your thoughts would be appreciated. The server email hiccup today served as a good reminder that this issue was still sort of hanging.
(0003202)
LewisR   
2018-10-16 02:17   
This has become something of an issue (again), Paul. FWIW, I attempted to download a 2MB file from Hobbes with the 20170425 build, and got a 56KB chunk before "interrupted system call" was reported. Further testing with tracing (-t) and debug enabled showed:

---> RETR qk.zip
150 Opening BINARY mode data connection for qk.zip (2103580 bytes).
 15% |*****                              |   322 KiB  314.54 KiB/s    00:05 ETAt
nftp.exe: Reading from network: Interrupted system call
  0% |                                   |    -1        0.00 KiB/s    --:-- ETA
426 Failure writing network stream.
xferbuf 512k
Socket buffer sizes: send 524288, receive 524288.
get qk.zip
local: qk.zip remote: qk.zip
---> SIZE qk.zip
213 2103580
---> PASV
227 Entering Passive Mode (128,123,34,6,44,253).
tnftp.exe: Unable to set sndbuf size 524288: No buffer space available
tnftp.exe: Unable to set rcvbuf size 524288: No buffer space available
---> RETR qk.zip
150 Opening BINARY mode data connection for qk.zip (2103580 bytes).
 32% |***********                        |   677 KiB  328.26 KiB/s    00:04 ETAt
nftp.exe: Reading from network: Interrupted system call
  0% |                                   |    -1        0.00 KiB/s    --:-- ETA
426 Failure writing network stream.
xferbuf 256k
Socket buffer sizes: send 262144, receive 262144.
get qk.zip
local: qk.zip remote: qk.zip
---> SIZE qk.zip
213 2103580
---> PASV
227 Entering Passive Mode (128,123,34,6,105,135).
tnftp.exe: Unable to set sndbuf size 262144: No buffer space available
tnftp.exe: Unable to set rcvbuf size 262144: No buffer space available
---> RETR qk.zip
150 Opening BINARY mode data connection for qk.zip (2103580 bytes).
 13% |****                               |   276 KiB  270.58 KiB/s    00:06 ETAt
nftp.exe: Reading from network: Interrupted system call
  0% |                                   |    -1        0.00 KiB/s    --:-- ETA
426 Failure writing network stream.
xferbuf 128k
Socket buffer sizes: send 131072, receive 131072.
get qk.zip
local: qk.zip remote: qk.zip
---> SIZE qk.zip
213 2103580
---> PASV
227 Entering Passive Mode (128,123,34,6,148,81).
---> RETR qk.zip
150 Opening BINARY mode data connection for qk.zip (2103580 bytes).
  2% |                                   | 45540       44.07 KiB/s    00:45 ETAt
nftp.exe: Reading from network: Interrupted system call
  0% |                                   |    -1        0.00 KiB/s    --:-- ETA
426 Failure writing network stream.
xferbuf 64k
Socket buffer sizes: send 65536, receive 65536.
get qk.zip
local: qk.zip remote: qk.zip
---> SIZE qk.zip
213 2103580
---> PASV
227 Entering Passive Mode (128,123,34,6,92,130).
---> RETR qk.zip
150 Opening BINARY mode data connection for qk.zip (2103580 bytes).
  1% |                                   | 34500       32.74 KiB/s    01:01 ETAt
nftp.exe: Reading from network: Interrupted system call
  0% |                                   |    -1        0.00 KiB/s    --:-- ETA
426 Failure writing network stream.


I would have expected to have enough buffer space for 256K, even if I didn't for 512K. Not having 64K doesn't seem reasonable.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
679 [Subversion for OS/2 & eCS] Bug major always 2018-08-13 09:29 2018-08-14 18:58
Reporter: komh Platform:  
Assigned To: OS:  
Priority: high OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: svn commit fails due to '~' marked files of svn st
Description: Hi/2.

svn commit fails due to '~' marked files of svn st. They are symbolic links.

For example, in my MPlayer local copy

svn st:
-----
~ DOCS/xml/zh_CN/encoding-guide.xml
~ DOCS/xml/zh_CN/skin.xml
~ DOCS/xml/zh_CN/install.xml
~ DOCS/xml/zh_CN/video.xml
~ DOCS/xml/zh_CN/faq.xml
~ DOCS/xml/zh_CN/ports.xml
~ DOCS/xml/it/skin.xml
~ DOCS/xml/it/ports.xml
-----

svn ci:
-----
svn: Commit failed (details follow):
svn: Entry 'F:/lang/work/mplayer/trunk/DOCS/xml/zh_CN/encoding-guide.xml' has unexpectedly changed special status
-----

Even more, if I checkout MPlayer repo freshly, symbolic links are marked as '~'.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0003192)
komh   
2018-08-13 09:36   
You can checkout MPlayer repo with:

svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

Thanks.
(0003193)
psmedley   
2018-08-14 10:00   
Yep, current APR uses OS/2 api which doesn't support symlinks locally. I have an svn build somewhere that uses unix api that might help (and also might have it's own issues), will see if I can locate it.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
366 [Rsync] Bug minor always 2009-07-30 02:30 2017-11-29 19:46
Reporter: Steven Levine Platform:  
Assigned To: Steven Levine OS:  
Priority: normal OS Version:  
Status: assigned Product Version: 3.0.9  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: rsync 3.0.x patch collector
Description: This bug serves as a repository for the rsync 3.0.x source diffs and binary packages built by Steven Levine.

The packages typically have a few more fixes and features than Paul's builds.

The .diff files are the unified diffs agains the pristine 3.0.x sources.

The .zip files contain readme.shl and readme.os2 files with build instructions.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: rsync-3.0.6-20090924-shl.diff (79,754 bytes) 2009-09-25 02:51
https://mantis.smedley.id.au/file_download.php?file_id=142&type=bug
rsync-3.0.6-20090924-shl.zip (293,486 bytes) 2009-09-25 02:51
https://mantis.smedley.id.au/file_download.php?file_id=143&type=bug
rsync-3.0.6-20091014-shl.diff (85,248 bytes) 2009-10-15 00:24
https://mantis.smedley.id.au/file_download.php?file_id=144&type=bug
rsync-3.0.6-20091014-shl.zip (295,869 bytes) 2009-10-15 00:25
https://mantis.smedley.id.au/file_download.php?file_id=145&type=bug
rsync-3.0.7-20100413-shl.diff (100,279 bytes) 2010-04-13 18:59
https://mantis.smedley.id.au/file_download.php?file_id=157&type=bug
rsync-3.0.7-20100413-shl.zip (300,665 bytes) 2010-08-16 03:59
https://mantis.smedley.id.au/file_download.php?file_id=171&type=bug
rsync-3.0.7-20101124-shl.diff (105,431 bytes) 2010-11-24 22:22
https://mantis.smedley.id.au/file_download.php?file_id=180&type=bug
rsync-3.0.7-20101124-shl.zip (302,849 bytes) 2010-11-24 22:22
https://mantis.smedley.id.au/file_download.php?file_id=181&type=bug
rsync-3.0.8-20110425-shl.zip (329,391 bytes) 2011-04-26 05:14
https://mantis.smedley.id.au/file_download.php?file_id=191&type=bug
rsync-3.0.8-20110425-shl.diff (112,670 bytes) 2011-04-26 05:14
https://mantis.smedley.id.au/file_download.php?file_id=192&type=bug
rsync-3.0.8-20110702-shl.diff (113,065 bytes) 2011-07-02 18:02
https://mantis.smedley.id.au/file_download.php?file_id=197&type=bug
rsync-3.0.8-20110702-shl.zip (330,152 bytes) 2011-07-02 18:13
https://mantis.smedley.id.au/file_download.php?file_id=199&type=bug
rsync-3.0.8-20111230-shl.zip (330,900 bytes) 2011-12-31 05:30
https://mantis.smedley.id.au/file_download.php?file_id=221&type=bug
rsync-3.0.8-20111230-shl.diff (113,106 bytes) 2011-12-31 05:31
https://mantis.smedley.id.au/file_download.php?file_id=222&type=bug
rsync-3.0.9-20121221-shl.zip (341,680 bytes) 2012-12-22 17:47
https://mantis.smedley.id.au/file_download.php?file_id=269&type=bug
rsync-3.0.9-20121221-shl.diff (124,075 bytes) 2012-12-22 17:48
https://mantis.smedley.id.au/file_download.php?file_id=270&type=bug
rsync-3.0.9.1-20171111-shl.zip (365,290 bytes) 2017-11-29 19:45
https://mantis.smedley.id.au/file_download.php?file_id=423&type=bug
Notes
(0001409)
Steven Levine   
2009-09-23 23:31   
The rsync-3.0.6-20090918-shl.diff patch set adds native OS/2 permissions support to the existing feature set. See readme.os2 for more details.
(0001420)
Steven Levine   
2009-10-15 00:25   
The rsync-3.0.6-20091014-shl patch set corrects xattrs support to a remote server and optimizes some directory operations.
(0001534)
Steven Levine   
2010-04-13 19:04   
The rsync-3.0.7-20100413-shl patch set supports rsync 3.0.7. The patch set adds logic to ensure that directory xattrs are corrected when libc chmod modifies them. Prior builds required a second rsync run to accomplish this.
(0001710)
Steven Levine   
2010-08-16 04:01   
rsync-3.0.7-20100413-shl.zip is an rsync binary built with the rsync-3.0.7-20100413-shl.diff patch set.
(0001769)
Steven Levine   
2010-11-24 22:24   
rsync-3.0.7-20101124-shl.zip is an rsync binary built with the rsync-3.0.7-20101124-shl.diff patch set.

It adjusts the config file parser to accept paths of the form c:\.

It also adds elapsed time to the --stats output.
(0001912)
Steven Levine   
2011-04-26 05:17   
rsync-3.0.8-20110425-shl.zip is an rsync binary built with the rsync-3.0.8-20110425-shl.diff patch set.

This build is
 - Updated to rsync v3.0.8 sources
 - Now building with gcc 4.5.2 - requires gcc452.dll
(0001933)
Steven Levine   
2011-07-02 18:08   
rsync-3.0.8-20110702-shl.zip is an rsync binary built with the rsync-3.0.8-20110702-shl.diff patch set.

This build is based on the rsync v3.0.8 sources and built with with gcc 4.5.2 so it requires gcc452.dll.

There are minimal changes compared to the rsync-3.0.8-20110425-shl. The changes are mostly clean of internal debugging code.
(0002097)
Steven Levine   
2011-12-31 05:32   
rsync-3.0.8-20111230-shl.* is a quick build to add some additional xattr error reporting.
(0002387)
Steven Levine   
2012-12-22 17:49   
rsync-3.0.9-20121221-shl

Changes in this version (newest first):

  - Rework --os2-perms to allow one-pass sync when --xattrs requested
  - Bump PROTOCOL_VERSION to 31
  - Support --memlimit=MiBytes option, limit memory usage (defaults to 1GiByte)
  - Switch to gcc 4.4.7 and kLibc 0.6.5
  - Enable -Zhigh-mem -Zargs-wild -Zargs-resp
(0003155)
Steven Levine   
2017-11-29 19:45   
rsync-3.0.9.1-20171111-shl

Changes in this version (newest first):

  - Ensure MAXPATHLEN set to 260 if not already set (rsync.h)
  - Ensure tmp path names do not exceed OS/2 259 character limit (receiver.c)
  - Try DosQueryFileInfo if DosQueryPathInfo fails with ERROR_SHARING_VIOLATION (sysxattrs.c)
  - Avoid touch_up_dirs noise messages
  - Switch to gcc 4.9.2 and kLIBC 0.6.6
  - Retry DosSetPathInfo operations that fail with ERROR_SHARING_VIOLATION (syscall.c)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
495 [Rsync] Bug minor always 2011-11-06 05:58 2017-11-29 19:41
Reporter: LewisR Platform:  
Assigned To: Steven Levine OS:  
Priority: normal OS Version:  
Status: feedback Product Version: 3.0.6  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Rsync has trouble with --xattrs when whitespace is present in path and/or no EAs present (certain files)
Description: This is with Steve's 3.0.8 build of 2011-04-19.

(Originally, we had --no-xattrs specified due to another issue with EAs which I can't recall offhand.)

With --xattrs specified, and the rsync pass hits a directory with a space, I'm seeing a DosQueryPathInfo error 8 at lib/sysxattrs.c(241). This error does not occur on *all* directories with whitespaces, nor on all files without EAs, so I'm a bit stymied as to what the exact cause may be (example file attached, through the miracle of mdirs).
Tags:
Steps To Reproduce:
Additional Information: Command is run from cron:

c:\opt\rsync\bin\rsync.exe -r --xattrs --times --stats --human-readable --log-file=c:/var/log/rsync_cgp.log --exclude-from=c:/MPTN/ETC/rsync-cgp-exclude.lst j:/Communigate j:/CGP_Backup >nul 2>&1

Log shows:

2011/11/06 00:32:52 [4654] [generator] unigetxattr: DosQueryPathInfo(Communigate/Accounts/lgrosenthal.macnt/OS2 Wireless.folder/all-messages.mdir/102097-S_______-20031123115013-89, FIL_QUERYEASFROMLIST) failed with error 8 at lib/sysxattrs.c(241)

Dir (from 4OS2 3.0.7) shows:

 Volume in drive J is DATA Serial number is 657E:D5BA
 Directory of J:\Communigate\Accounts\lgrosenthal.macnt\OS2 Wireless.folder\all-messages.mdir\102097-S_______-20031123115013-89

 8-01-09 23:44 3,538 0 102097-S_______-20031123115013-89
           3,538 bytes in 1 file and 0 dirs
           4,096 bytes allocated

(file attached)

(Steve, you may note that this is one of the messages which we massaged with your Perl script when I migrated to Communigate Pro; in fact, all of these older files are generating this error. These files were originally contiguous, i.e., contained in a single mbox, and later, split into separate files in an mdir via another Perl script - along with other mbox files.)
Attached Files: 102097-S_______-20031123115013-89 (3,538 bytes) 2011-11-06 05:58
https://mantis.smedley.id.au/file_download.php?file_id=213&type=bug
Notes
(0002089)
Steven Levine   
2011-12-31 00:16   
Since the pathname in the the error message is relative, it implies that the problem is with EAs on the destination file. What does the dir command have to say out this file?
(0002091)
LewisR   
2011-12-31 03:37   
Volume in drive J is DATA Serial number is 657E:D5BA
 Directory of J:\CGP_Backup\Communigate\Accounts\lgrosenthal.macnt\OS2 Wireless
.folder\all-messages.mdir\102097-S_______-20031123115013-89

 8-01-09 23:44 3,538 0 102097-S_______-20031123115013-89
           3,538 bytes in 1 file and 0 dirs
           4,096 bytes allocated
  16,920,453,120 bytes (15GB) free

No EAs, as expected. Only the archive bit is set on the backup file, as well. Do you think this could be some underlying filesystem corruption? The volume had already undergone that long chkdsk pass which we discussed on one of our mutual lists (that was 10/21, IIRC).

The thing is that this file was already copied, and had no EAs on eithe rthe original or the first copy. It hasn't changed since then, so rsync should have just skipped over it (unless it had some difficulty accessing the file for comparison).

The only things in the exclude list are the queues & logs directories, too, BTW. Oh, and no EAs on the directory itself (source or destination), either.
(0002098)
Steven Levine   
2011-12-31 05:35   
Let's see if

 http://mantis.smedley.info/file_download.php?file_id=221&type=bug

can tell us anything. It adds the failing EA name to the error report.
(0002118)
LewisR   
2011-12-31 21:27   
Hehehe...

No details, and no error (at least, not this error) running rsync-3.0.8-20111230-shl. Let's close this as resolved, unless you think that whatever changed between 20110419 and 20111231 regarding xattrs could not have addressed this.

To test, after the first rsync pass didn;t copy any files (Doh! because they were already there!), I deleted about 50 of the backup copies (including the sample, referenced in this bug) in the problem directory, and waited for the next hourly pass. The entire group of files copied without error.

Thanks!
(0002119)
Steven Levine   
2011-12-31 21:38   
I recommend we leave this ticket open for a bit. I did not change anything that could have resolved the error you reported.
(0002158)
LewisR   
2012-01-09 19:24   
Yep... Hit it again:

2012/01/09 13:14:29 [8556] [sender] unigetxattr: DosQueryPathInfo(CGP_Backup/Communigate/Domains/driven-zen.org/bulkimages.macnt/INBOX.mdir/42350-________-20100509231812-372, FIL_QUERYEASFROMLIST) for FLAGS failed with error 8 at lib/sysxattrs.c(241)

This time, no whitespaces in the path, and this file should not have been in use by any other process, as it's:

1. An old message file (2010);
2. Already in the backup directory (CGP_Backup);
3. Unchanged since originally backed up, and the hourly backup pass would not have had this open at the same time.

A dir on the file shows:

 Volume in drive J is DATA Serial number is 657E:D5BA
 Directory of J:\CGP_Backup\Communigate\Domains\driven-zen.org\bulkimages.macnt
\INBOX.mdir\42350-________-20100509231812-372

 5-09-10 19:18 12,387 124 42350-________-20100509231812-372
          12,387 bytes in 1 file and 0 dirs

The 124 bytes of EAs appear to all be LIBC EAs.

rsync-3.0.8-20111230-shl made two attempts (it would appear from the log) to access this file and two others in that directory, all of which failed with the same error. These files were not copied to the destination at all.

rsync command used:

c:\opt\rsync\bin\rsync.exe --archive --xattrs --os2-perms --del --itemize-changes --times --stats --human-readable --log-file=c:/var/log/rsync_backup_j.log j:/ e:/

I don't know how the LIBC EAs would have even been attached to the original file, as really none of the CGP mail files should have any EAs on them, however, it appears that every file touched by rsync now has LIBC EAs attached. In fact, looking more closely, I find that I actually have duplicate files, one version without EAs and another with EAs (the ones with EAs do *not* exist in the live CGP mail directory). Here's an example (from a different mailbox backup):

10-05-11 2:58 75,268 0 1-S_______-20111005065823-1262
10-05-11 2:58 75,268 124 1-________-20111005065823-1262
10-05-11 3:21 32,351 0 2-S_______-20111005072112-776
10-05-11 3:21 32,351 124 2-________-20111005072112-776
10-05-11 3:44 3,839 0 3-S_______-20111005074412-104
10-05-11 3:44 3,839 124 3-________-20111005074412-104
10-05-11 4:33 13,396 0 4-S_______-20111005083312-322
10-05-11 4:33 13,396 124 4-________-20111005083312-322
10-05-11 9:00 16,640 0 5-S_______-20111005130031-639
10-05-11 9:00 16,640 124 5-________-20111005130031-639
10-05-11 9:06 3,821 0 6-S_______-20111005130636-109
10-05-11 9:06 3,821 124 6-________-20111005130636-109
10-05-11 9:39 47,094 0 7-S_______-20111005133952-785
10-05-11 9:39 47,094 124 7-________-20111005133952-785
10-05-11 10:24 15,184 0 8-S_______-20111005142455-555
10-05-11 10:24 15,184 124 8-________-20111005142455-555
10-05-11 10:28 2,587 0 9-S_______-20111005142811-62
10-05-11 10:45 649 0 10-S_______-20111005144514-15

and the live mailbox:

10-05-11 2:58 75,268 0 1-S_______-20111005065823-1262
10-05-11 3:21 32,351 0 2-S_______-20111005072112-776
10-05-11 3:44 3,839 0 3-S_______-20111005074412-104
10-05-11 4:33 13,396 0 4-S_______-20111005083312-322
10-05-11 9:00 16,640 0 5-S_______-20111005130031-639
10-05-11 9:06 3,821 0 6-S_______-20111005130636-109
10-05-11 9:39 47,094 0 7-S_______-20111005133952-785
10-05-11 10:24 15,184 0 8-S_______-20111005142455-555
10-05-11 10:28 2,587 0 9-S_______-20111005142811-62
10-05-11 10:45 649 0 10-S_______-20111005144514-15
10-05-11 10:45 5,539 0 11-S_______-20111005144552-141
10-05-11 11:26 647 0 12-S_______-20111005152616-15
10-05-11 11:58 649 0 13-S_______-20111005155826-15
10-05-11 12:10 131,806 0 14-S_______-20111005161034-1789
10-05-11 12:22 16,963 0 15-S_______-20111005162212-399
10-05-11 13:09 21,189 0 16-S_______-20111005170920-490
10-05-11 13:25 10,021 0 17-S_______-20111005172505-331
10-05-11 13:41 3,335 0 18-S_______-20111005174144-98

Not sure why the "S" was replaced with a "_" when the EAs were tacked on. I'm happy to open a separate bug for the duplicate files or perhaps we should create a meta-bug for EA-related issues?
(0002159)
LewisR   
2012-01-09 19:33   
I understand why I have duplicate files. The filenames changed as a result of the state of the message changing (not read -> read). Now to figure out how to get rsync to replace the old versions with the ones of changed state, or better, skip them entirely. Still, we should not be *adding* EAs to the copied files when --xattrs is specified, should we?
(0002162)
Steven Levine   
2012-01-10 08:36   
I am not sure what you mean by "we should not be *adding* EAs to the copied files when --xattrs is specified." Rsync sync's EAs. It does not add EAs that do not exist at the source. If something "added" EAs to the source file, it is unlikely that it was rsync.

Note that there may be an errant libc based app out there that does add EAs to every file it accesses. I have had one report of a user system that had libc EAs attached to every file on the boot volume.
(0002163)
LewisR   
2012-01-10 16:54   
CGP is not a gcc app. None of CGP's files have *any* EAs on them, yet when running rsync.exe --xattrs, *all* backed up copies get libc EAs (exactly 124 bytes) attached.

This, though, as I said in comment #2159, is not the real issue insofar as multiple copies of the same content are concerned. It *is*, however, an issue either for libc or rsync, apparently.

What I've found is that while I haven't been able to get 3.0.8 to tack on the EAs (perhaps those came from a previous build?) it *will* consistently do it when creating new directories. I'll open a separate issue for that.
(0002164)
Steven Levine   
2012-01-10 21:33   
I finally figured out what you did to generate the EAs. Way back when you were running rsync without --xattrs. This means that libc will add the libc private EAs and rsync will leave them alone. IMO, this is appropriate. It's not different that if rsync was run without --perms. The destination file permissions will be set to to runtime defaults.

Once you started using --xattrs, rsync brought the EAs into sync for existing files. Files that no longer existed at the source remaining unchanged. If you want them to go away you can use my StripLibcEAs script or the equivalent.

Note that libc064 supports the LIBC_UNIX_EAS environment variable which allows the libc EAs logic to be suppressed for specific volumes. Unfortunately, libc064 is not yet sufficiently stable for rsync use, so we can not yet use this.

The directory EAs are a known issue. I won't bore you with the gory details, but currently it takes two rsync runs to get the directory EAs into sync. Once we have a working libc with LIBC_UNIX_EAS support, I might be able to use this to avoid the spurious EAs.
(0002171)
LewisR   
2012-01-11 02:55   
Okay. Understood. So, we're still back where we started in this bug, trying to figure out why we get the error 8 on some files and not others. Per my PM, as long as we're not getting EA data *replaced*, the fact that we're adding 124 extra bytes of EAs is of little consequence. The presence (or lack thereof) of these EAs is not what is causing the multiple copies of the CGP files, as we've determined, which was my initial concern.

Thanks for the clarification.
(0002416)
asavage   
2013-03-12 17:51   
(Last edited: 2013-03-12 18:12)
Where can I learn more about LIBC_UNIX_EAS ?

Has libc065.dll support for the env var LIBC_UNIX_EAS

I see at:
http://svn.netlabs.org/libc/ticket/43

"the value of the variable is on the forms:

   set LIBC_UNIX_EAS=!c,!e-f,d,g-h
"

Does this work now?

Oh, and where may I find the StripLibcEAs script?

(0002417)
Steven Levine   
2013-03-12 20:38   
There's not a lot of external documentation.

  http://svn.netlabs.org/libc/search?q=LIBC_UNIX_EAS

will tell you a bit more than you already know. As the query shows, the last change to the support was http://svn.netlabs.org/libc/changeset/3697.

LIBC065 was the first release to formally support the feature.

I'll send you a copy of StripLibcEAs privately with some comments. It's not 100% generic.
(0003153)
Steven Levine   
2017-11-29 19:41   
Please retest with

 http://www.warpcave.com//betas/rsync-3.0.9.1-20171111-shl.zip

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
668 [ScummVM for OS/2 & eComStation] Bug minor always 2016-03-19 23:27 2016-05-27 20:08
Reporter: Alastair Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ScummVM does not load the file .scummvmrc by default
Description: ScummVM does not load the default configuration file (.scummvmrc) when run with no switches, so although it runs none of the user saved options load.

The following error message is given:

WARNING: FSNode::createReadStream: 'bin' is a directory!

which makes me think that it is trying to read the directory rather than the configuration file (though I may be wrong in this interpretation).

It will load the default configuration file if you type "scummvm -c .scummvmrc" (without the quotes), after which ScummVM works as expected, but it should not need the use of any switches to run correctly with the default config file.
Tags:
Steps To Reproduce: Using the command line, CD to the directory containing ScummVM.exe and run ScummVM.exe without any switches.
Additional Information:
Attached Files:
Notes
(0003112)
psmedley   
2016-03-28 04:16   
Where do you have scummvm installed? It's likely hardcoded to look in /scummvm/xxx for the config file. If you've moved the directory out of this location, it may struggle to find it without some code hacks....
(0003113)
Alastair   
2016-03-28 22:50   
scummvm.exe is located in the directory \scummvm\bin which is the location within the zip file. It is also the same location as used by previous releases of ScummVM, and they did not have this problem.
(0003114)
psmedley   
2016-05-22 06:40   
looking at the code, it seems to expect .scummvmrc to be in the HOME directory
(0003115)
Alastair   
2016-05-26 23:20   
On downloading ScummVM 1.8.1 and finding the same problem I checked the readme to see if anything is mentioned there. Under section 8.0 I found the following (relevant UNIX segment shown only):


By default, the configuration file is saved in, and loaded from:

    Unix:
    We follow the XDG Base Directory Specification. This means our
    configuration can be found in:
    $XDG_CONFIG_HOME/scummvm/scummvm.ini

    If XDG_CONFIG_HOME is not defined or empty, '~/.config' will be used
    as value for XDG_CONFIG_HOME in accordance with the specification.

    If an earlier version of ScummVM was installed on your system, the
    previous default location of '~/.scummvmrc' will be kept.


Comparing with older readmes (1.7.0 https://raw.githubusercontent.com/scummvm/scummvm/v1.7.0/README and 1.8.0 https://raw.githubusercontent.com/scummvm/scummvm/v1.8.0/README) I see that a configuration file change occurred in ScummVM 1.8.0. My reading of the above is that it should still load .scummvmrc but perhaps it is looking for the file in path for XDG_CONFIG_HOME, though this is something I will have to test tomorrow.

One test I have done, however, is to set XDG_CONFIG_HOME to the partition where I have installed ScummVM (set XDG_CONFIG_HOME=X:\ if ScummVM is found under X:\scummvm) then run ScummVM. On doing this it creates a configuration file called scummvm.ini in the directory X:\scummvm.


Regarding the XDG Base Directory Specification, is this going to implemented for all OS/2 ports of UNIX-like programs that use the specification?
(0003116)
Alastair   
2016-05-27 20:08   
I've completed the tests, despite setting XDG_CONFIG_HOME ScummVM will not automatically load .config or .scummvmrc but insists on loading (or if it does not exist, creating then loading) scummvm.ini from the 'XDG_CONFIG_HOME'\scummvm directory.

So as things stand there two ways to make OS/2 ScummVM 1.8.0 and later to load the configuration file. Either set XDG_CONFIG_HOME and let ScummVM create/load scummvm.ini from the relevant directory, or use the -c command switch to create/load the configuration file you want.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
639 [Apache 2.x ] Feature Request minor always 2014-12-29 17:31 2014-12-29 21:21
Reporter: Steven Levine Platform: OS2/eCS  
Assigned To: psmedley OS: OS/2 or eComstation  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: assigned Product Version: v2.2.32  
Product Build: Resolution: fixed  
Projection: none      
ETA: none Fixed in Version:  
    Target Version: v2.2.32  
Summary: It would be handy is ab.exe wrote to stdout and stderr in text mode.
Description: The attached patch should modify ab.c to write to stdout and stderr in text mode.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: ab.c.diff (479 bytes) 2014-12-29 17:31
https://mantis.smedley.id.au/file_download.php?file_id=376&type=bug
Notes
(0002978)
psmedley   
2014-12-29 20:19   
http://smedley.id.au/tmp/ab.zip contains this change
(0002980)
Steven Levine   
2014-12-29 21:20   
Grumble. There must be something missing or some other output path. The testcase

  ab -c1 -n1 http://localhost/

still does Linux line endings.


View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
636 [Perl for OS/2] Feature Request minor always 2014-12-15 01:55 2014-12-15 01:55
Reporter: komh Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Use .bak if no extension is supplied to -i option
Description: Hi/2.

The following command fails.

    perl -pi -e s/old/new/ file

An error message is

    Can't do inplace edit without backup.

If providing some extensions such as .bak, it will be happy.

    perl -pi.bak -e s/old/new/ file

However, adding .bak every time is very annoying. So using .bak by default will make many users happy.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: 0001-Use-.bak-automatically-if-no-extension-is-supplied-t.patch (878 bytes) 2014-12-15 01:55
https://mantis.smedley.id.au/file_download.php?file_id=361&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
629 [ImageMagick] Bug minor always 2014-10-09 05:53 2014-10-16 17:16
Reporter: fr4nk Platform: OC  
Assigned To: OS: eCS  
Priority: normal OS Version: 2.2 beta  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: backslashes in output paths don't work
Description: If you use backslashes (\) inside the path for an output (target) file it doesn't work. Slashes (/) are working. For input files backslahes working like expected.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002891)
psmedley   
2014-10-15 09:02   
ok, i maybe see how to fix this....
(0002892)
gianfli   
2014-10-15 17:51   
(Last edited: 2014-10-15 19:50)
Maybe this is not related to this issue, however:
Here convert.exe need two steps to convert (no tested all formats):
[c:\imagemagick\bin]set MAGICK_CONFIGURE_PATH=C:\imagemagick\lib\ImageMagick-6.8.9\config-Q16
[c:\imagemagick\bin]convert DSC_2227.JPG C:\DESKTOP\test.png
[c:\imagemagick\bin]start ib c:\desktop\test.png
on PM pop-up "Unable to open test.png (rc=6522)"
the second
[c:\imagemagick\bin]convert DSC_2227.JPG C:\DESKTOP\test.png
[c:\imagemagick\bin]start ib c:\desktop\test.png
works;
The same occurr with all my builds (6.8.9 and previous) and affect also the library, since the latest Qt converseen i.e. (http://converseen.fasterland.net/), need two steps to convert, and fail if the destination path is on a different drive. I was waiting for your update to confirm this strange behaviour and report it.
No idea until now, but really, i've never investigate so much, since i was convinced it was a minor bug afflicting only the versions in question.

(0002893)
gianfli   
2014-10-16 17:16   
Yes, it is related to the same issue, and it is also randomly, into the same session:
[c:\imagemagick\bin]convert DSC_2227.JPG x:\test3.png
works
[c:\imagemagick\bin]convert DSC_2227.JPG c:\desktop\test3.png
not works
[c:\imagemagick\bin]convert DSC_2227.JPG c:/desktop/test3.png
works
[c:\imagemagick\bin]convert DSC_2227.JPG c:\desktop\test3.png
works
the same for library

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
624 [Perl for OS/2] Feature Request minor always 2014-09-11 02:52 2014-09-11 02:52
Reporter: komh Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: setmode() on stdin/stdout/stderr
Description: Hi/2.

Currently, setmode() works on every file handle unconditionally. But if the handle is a console, it's better to set it to a text mode even if a binary mode is requested.

In practice, a windows port of perl behave like this. In fact, MinGW.

How about mimicing this ?
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: 0001-Set-a-handle-to-a-text-mode-if-it-is-a-console.patch (633 bytes) 2014-09-11 02:52
https://mantis.smedley.id.au/file_download.php?file_id=347&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
342 [ISC DHCP Client] trivial always 2009-04-20 05:21 2013-04-28 23:37
Reporter: mckinnis Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: A few re-packaging suggestions
Description: You might want to move the readme files under the \MPTN directory so that they do not unzip to the root.

These files appear to be documentation in man format. Is there any way to get them (and other man files) into a easily readable OS/2 format?

\MPTN\dhclient.8
\MPTN\dhcp-options.5
\MPTN\dhclient.conf.5
\MPTN\dhcp-eval.5
\MPTN\dhclient-script.8
\MPTN\dhclient.leases.5
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001288)
Yoda   
2009-04-21 11:34   
I really hate those man pages too; but I haven't found a tool yet to convert them. Still searching - hope we can find a solution for next version.

As mentioned in the readme, you can find some (older) versions as HTML on
http://www.bind9.net
(0001289)
mckinnis   
2009-04-21 21:10   
I found a little man to text converter out on Hobbes, but it is old and fails to run correctly.

The simpleman from Hobbes is better then nothing and does not require X11.
(0001294)
Yoda   
2009-04-23 02:57   
Ahh, I've used simpleman for a long time - but I still hate it !
(thought everyone knew about that one, though).
Most times I just read these man pages "raw" - but they are a PITA.

About "repackaging", you are right. The readme stuff should go into
/MPTN as the other docs (and those should hopefully be HTML for next version)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
459 [Apache 2.x ] Bug minor always 2011-01-31 17:40 2013-04-18 08:19
Reporter: DB1 Platform: Intel dual P III  
Assigned To: OS: ECS  
Priority: normal OS Version: 2.0  
Status: new Product Version: v2.2.1  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: 2.2.17 perl cgi scripts fail if any switches are present on the shebang line
Description: #!d:/usr/bin/perl.exe

works

#!d:/usr/bin/perl.exe -w

fails:

[Sat Jan 29 18:32:40 2011] [error] [client 127.0.0.1] (123)APR does not
understand this error code: couldn't spawn child process:
H:/home/DB/web2/admin/cgi-bin/test.pl, referer:
http://localhost:40/cgi-bin/test.pl

Tags:
Steps To Reproduce: Add a switch to the shebang line and try and execute from browser.
Additional Information: Suspect there is a problem parsing the shebang line. Tripped over this trying to get taint mode to work with mod_cgi. Google suggests that, whilst specifying -T on the shebang line fails if executed from the command line, doing so and executing via apache works. There are specific hacks in the code for Win, which does not have a shebang line, to do with registry searching to find perl.
Attached Files:
Notes
(0001814)
psmedley   
2011-02-02 08:31   
is this the only error in the log? it's not particularly useful...
(0001815)
psmedley   
2011-02-02 09:04   
please try with http://smedley.info/cgi.zip which should produce some more logging
(0001816)
DB1   
2011-02-02 10:39   
Yes, only line in log.

[D:\Apps\apache2\modules]unzip t:/tmp/cgi.zip
Archive: t:/tmp/cgi.zip
replace cgi.dll? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
  inflating: cgi.dll

[D:\Apps\apache2]apache2.cmd
bin\\httpd.exe: Syntax error on line 72 of ./conf/httpd.conf: Cannot load D:/Apps/apache2/modules/cgi.dll into server: SYS0002: The system cannot find the file specified. (GCC445)

Oh dear :-)
(0001817)
psmedley   
2011-02-02 11:05   
You need the latest gcc445.dll from http://smedley.info/gcc445.dll
(0001818)
DB1   
2011-02-02 11:16   
404 :-(
(0001819)
psmedley   
2011-02-02 19:48   
of course I meant http://smedley.info/gcc445.zip - that's what happens when I type on the blackberry :(
(0001834)
DB1   
2011-02-12 11:06   
(Last edited: 2011-02-12 11:08)
Sorry for delay in testing this. Just tried. Does make a difference. :-(

No change in the error logging.
Page not served. Browser says "waiting for <host>" forever.
Nothing in access.log.
Apache hangs and is unkillable.

Edit: Just noticed this in error.log after various attempts to kill:

[Sat Feb 12 11:01:55 2011] [notice] caught SIGTERM, shutting down
[Sat Feb 12 11:01:55 2011] [error] (OS 10038)Socket operation on non-socket: apr_socket_accept

LIBC fatal error - streams: fmutex_request failed

Killed by SIGABRT
pid=0x00fa ppid=0x0021 tid=0x0001 slot=0x00bd pri=0x0200 mc=0x0001
D:\APPS\APACHE2\BIN\HTTPD.EXE
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

(0002433)
psmedley   
2013-04-18 00:54   
still an issue with latest builds?
(0002436)
DB1   
2013-04-18 08:19   
Yup

In browser window:

Error message:
couldn't create child process: 123: cars.pl

In error.log

[Thu Apr 18 09:14:11 2013] [error] [client 127.0.0.1] (123)APR does not understand this error code: couldn't create child process: 123: cars.pl
[Thu Apr 18 09:14:11 2013] [error] [client 127.0.0.1] (123)APR does not understand this error code: couldn't spawn child process: H:/home/DB/web2/admin/cgi-bin/
cars.pl

Note this was one attempt to load the script but it logs two messages.

First line of cars.pl is

#!d:/usr/bin/perl.exe -w

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
553 [Other Unix Port] Bug major always 2012-12-11 08:00 2012-12-12 08:52
Reporter: Steven Levine Platform: eCS/OS2  
Assigned To: OS: eComstation or OS/2  
Priority: normal OS Version: 1.x 2.x or 4.5  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: hg mercurial fails with attempts to change attribute of open file
Description: The attached patches to lib\site-packages\mercurial\util.py and transaction.py avoid aborts caused by attempts to change permissions of an open file.
Tags: hg, mercurial
Steps To Reproduce:
Additional Information:
System Description
Attached Files: util.py-20121210-shl.diff (571 bytes) 2012-12-11 08:00
https://mantis.smedley.id.au/file_download.php?file_id=264&type=bug
transaction.py-20121210-shl.diff (558 bytes) 2012-12-11 08:04
https://mantis.smedley.id.au/file_download.php?file_id=265&type=bug
Notes
(0002366)
Steven Levine   
2012-12-11 08:03   
transaction.py-20121210-shl.diff implements a similar fix for transaction.py
(0002367)
psmedley   
2012-12-12 08:06   
These should probably be checked in to the netlabs ports repository. Do you have write access there? If not, I can checkin.
(0002368)
Steven Levine   
2012-12-12 08:52   
My plan was to offer them a full diff once we have python and hg sufficiently stabilized. This is what I did for stunnel and it seems to have worked out well.

They currently are distributing an antique hg with an oldish python. A clean diff will allow them to upgrade the rpms to something more current.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
515 [Perl for OS/2] Bug crash always 2012-01-15 12:44 2012-06-10 14:56
Reporter: shmuel Platform: AMD dual core  
Assigned To: OS: eComStation  
Priority: high OS Version: 2.0 GA  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Perl 5.14.2 is truncating path names in @ISA
Description: Perl scripts terminate with the error message

Can't locate Config.pm in @INC (@INC contains: F:\Perl5\lib F:/Perl5/lib/si
rl/5.14.2/o F:/Perl5/lib/site_perl/5.14 F:/Perl5/lib/5.14.2/o F:/Perl5/lib/
F:/Perl5/lib/site_pe .).
Tags:
Steps To Reproduce: Note: I have 4.14.2 installed in F:\Perl5

PATH F:\perl5\bin;Q:\MPTN\BIN;Q:\ECS\BIN;Q:\TCPIP\BIN;Q:\IBMCOM;Q:\PROGRAMS\NETSCAPE\PROGRAM;Q:\EMX\BIN;Q:\IBMGSK50\BIN;Q:\IBMGSK40\BIN;Q:\IBMGSK\BIN;Q:\OS2;Q:\OS2\SYSTEM;Q:\OS2\MDOS\WINOS2;Q:\OS2\INSTALL;Q:\;Q:\OS2\MDOS;Q:\OS2\APPS;Q:\ECS\KLIBC\BIN;Q:\PROGRAMS\JAVA142\BIN;Q:\PROGRAMS\RSJCD;Q:\MMOS2\FREEDB;Q:\MMOS2;Q:\MMOS2\MMPLAYER;Q:\PROGRAMS\4OS2;Q:\PROGRAMS\OPENSSH;Q:\PGSQL\EMX;Q:\PGSQL\bin;Q:\WATCOM\BINP;Q:\WATCOM\BINW;Q:\OS2TK45\som\common;Q:\OS2TK45\som\bin;Q:\OS2TK45\bin;Q:\PROGRAMS\VyperHelp;Q:\PROGRAMS\ibmworks;H:\INCHARGE;H:\GTU40;H:\TSPF12;H:\UTILITY;U:\READIBM2;Q:\TOOLS\dfsee\bin;Q:\PROGRAMS\PERL\bin;
SET BEGINLIBPATH=F:\perl5\bin
SET MAKESHELL=F:\Perl5\bin\sh.exe
SET PERLDIR=F:\Perl5
SET MANPATH=F:\Perl5\man
SET PERLLIB=F:\Perl5\lib
SET PERLLIB_PREFIX=/PERL5/LIB;F:/Perl5/lib
SET PERL_SH_DIR=F:/Perl5/bin

[h:\]perl -v

This is perl 5, version 14, subversion 2 (v5.14.2) built for os2

Copyright 1987-2011, Larry Wall


OS/2 port Copyright (c) 1990, 1991, Raymond Chen, Kai Uwe Rommel
Version 5 port Copyright (c) 1994-2002, Andreas Kaiser, Ilya Zakharevich
Version 5.8.8+ ports Copyright (c) 2007-2012, Paul Smedley, Knut St. Osmundsen

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


[h:\]perl -V
Can't locate Config.pm in @INC (@INC contains: F:\Perl5\lib F:/Perl5/lib/site_perl/5.14.2/o F:/Perl5/lib/site_perl/5.14 F:/Perl5/lib/5.14.2/o F:/Perl5/lib/5.14 F:/Perl5/lib/site_pe .).
BEGIN failed--compilation aborted.
Additional Information: Per readme.os2, I installed LIBC065 (via the WPI)

[h:\]dir q:\libc0* /s

 Volume in drive Q is ECS 2_0 GA Serial number is AB1D:1C14

 Directory of Q:\Apps\Lib\libc0*

 6-11-07 22:53 48,142 0 libc06.dll
 6-11-07 22:53 48,142 0 libc061.dll
 6-11-07 22:53 157,124 0 libc062.dll
 4-15-07 12:37 1,340,869 0 libc062x.dll
 6-11-07 22:53 1,349,060 0 libc063.dll
      2,943,337 bytes in 5 files and 0 dirs 2,944,512 bytes allocated

    Total for: Q:\Apps\libc0*
      2,943,337 bytes in 5 files and 0 dirs 2,944,512 bytes allocated

 Directory of Q:\ecs\dll\libc0*

 4-14-04 16:37 356,330 0 libc05.dll
10-03-11 6:07 48,142 0 libc06.dll
10-03-11 6:07 48,142 0 libc061.dll
10-03-11 6:07 157,124 0 libc062.dll
10-03-11 6:07 157,124 0 libc063.dll
10-03-11 6:07 1,345,016 0 libc064.dll
 5-22-08 23:29 1,349,061 0 libc064x.dll
      3,460,939 bytes in 7 files and 0 dirs 3,462,144 bytes allocated

    Total for: Q:\ecs\libc0*
      3,460,939 bytes in 7 files and 0 dirs 3,462,144 bytes allocated

 Directory of Q:\usr\lib\libc0*

 1-17-05 9:54 2,212,930 0 libc06b4.dbg
 1-17-05 9:54 562,710 0 libc06b4.dll
 1-17-05 9:54 2,011,796 0 libc06b4.elh
 1-17-05 9:54 2,332,934 0 libc06b4.elh.map
 1-17-05 9:54 2,395,150 0 libc06b4.logchk
 1-17-05 9:54 2,563,688 0 libc06b4.logchk.map
 1-17-05 9:54 2,441,623 0 libc06b4.map
 1-17-05 9:54 2,240,576 0 libc06b4.prf
 1-17-05 9:54 2,552,702 0 libc06b4.prf.map
     19,314,109 bytes in 9 files and 0 dirs 19,317,248 bytes allocated

    Total for: Q:\usr\lib\libc0*
     19,314,109 bytes in 9 files and 0 dirs 19,317,248 bytes allocated

    Total for: Q:\usr\libc0*
     19,314,109 bytes in 9 files and 0 dirs 19,317,248 bytes allocated

    Total for: Q:\libc0*
     25,718,385 bytes in 21 files and 0 dirs 25,723,904 bytes allocated
    391,932,416 bytes free
System Description
Attached Files: OS2.pm (7,465 bytes) 2012-06-09 01:14
https://mantis.smedley.id.au/file_download.php?file_id=250&type=bug
Notes
(0002182)
Buck   
2012-01-21 06:20   
I came looking to see if this had yet been reported as I am seeing the same thing. If I don't set perllib_prefix then it finds the .pm files fine when run on the same drive as it searches for /perl5/lib on the root of the drive but when on another drive having to set the perllib_prefix to be able to find them fails as above.
(0002183)
shmuel   
2012-01-22 01:16   
If I issue these commands

PATH F:\perl5\bin;%PATH%
SET BEGINLIBPATH=F:\perl5\bin
SET MANPATH=F:\Perl5\man
SET PERLLIB=F:\Perl5\lib
SET PERLLIB_PREFIX=
SET PERL_SH_DIR=F:/Perl5/bin

then the perl -V works, but a test script gives me an error message:

[h:\]testpl
Can't locate warnings.pm in @INC (@INC contains: F:\Perl5\lib /perl5/lib/5.10.0/os2 /perl5/lib/5.10.0 /perl5/lib/site_perl/5.10.0/os2 /perl5/lib/site_perl/5.10.0 .) at H:\UTILITY/testpl.cmd line 3.
BEGIN failed--compilation aborted at H:\UTILITY/testpl.cmd line 3.

A dir shows that the mopdule exists:

[h:\]dir /s f:\perl5\warnings.pm

 Volume in drive F is ECS BOOT0 Serial number is 29EE:1415

 Directory of F:\perl5\lib\5.14.2\warnings.pm

 1-03-12 3:37 18,672 124 warnings.pm
         18,672 bytes in 1 file and 0 dirs 18,944 bytes allocated

 Directory of F:\perl5\lib\5.14.2\encoding\warnings.pm

 1-03-12 3:37 6,236 124 warnings.pm
          6,236 bytes in 1 file and 0 dirs 6,656 bytes allocated

kLIBC Pathrewriters maps /perl5 to F:\perl5
(0002184)
Buck   
2012-01-22 01:46   
You need to check your testpl again I think... it is using the wrong Perl:
/perl5/lib/5.10.0
(0002185)
shmuel   
2012-01-22 03:43   
You're right; EXTPROC had an absolute path. When I changed it to just perl -options and left PERLLIB_PREFIX unset it worked. The bypass will cause harmless warnings installing CPAN modules, but I can live with that.
(0002186)
psmedley   
2012-01-22 08:20   
I wonder if the code that handles PERLLIB_PREFIX can't handle the fact that the installation path is /perl5 and it's trying to change a drive letter?

I wonder what the best solution is - change the default installation to u:/perl5 and maybe PERLLIB_PREFIX will work correctly, or leave it as /perl5 and suggest the use of the klibc rewriter and that people NOT use PERLLIB_PREFIX?
(0002188)
shmuel   
2012-01-22 12:20   
Without PERLLIB_PREFIX I have problems building CPAN modules:

[h:\vendors\cpan\digest-sha1-2.11]perl Makefile.PL
Writing Makefile for Digest::SHA1
Writing MYMETA.yml

[h:\vendors\cpan\digest-sha1-2.11]U:\extras\bin\make
Skip blib/lib/Digest/SHA1.pm (unchanged)
gcc -c -DDOSISH -DOS2=2 -DEMBED -I. -I/usr/local/include -O2 -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -s -DVERSION=\"2.11\"
-DXS_VERSION=\"2.11\" -Zdll "-I/perl5/lib/5.14.2/os2/CORE" SHA1.c
In file included from SHA1.xs:8:
/perl5/lib/5.14.2/os2/CORE/perl.h:2577:27: os2ish.h: No such file or directory
In file included from /perl5/lib/5.14.2/os2/CORE/perl.h:5040,
                 from SHA1.xs:8:
/perl5/lib/5.14.2/os2/CORE/proto.h:266: error: parse error before '*' token
In file included from /perl5/lib/5.14.2/os2/CORE/perl.h:5070,
                 from SHA1.xs:8:
/perl5/lib/5.14.2/os2/CORE/intrpvar.h:88: error: parse error before "PL_statbuf"

/perl5/lib/5.14.2/os2/CORE/intrpvar.h:88: warning: data definition has no type or storage class
/perl5/lib/5.14.2/os2/CORE/intrpvar.h:89: error: parse error before "PL_statcache"
/perl5/lib/5.14.2/os2/CORE/intrpvar.h:89: warning: data definition has no type or storage class
SHA1.xs: In function `XS_Digest__SHA1_clone':
SHA1.xs:488: warning: initialization discards qualifiers from pointer target type
make.exe: *** [SHA1.o] Error 1
(0002190)
Buck   
2012-01-22 22:36   
KLIBCpathrewriter does appear to work... don't know why I didn't think to try it before other than I haven't explicitly used it very often.
Adding the drive as u: may fix it but it is odd how it is showing up.
First it adds a /o to the path then it drops the .2 from the path then it adds the /o again to the next path. I hate to say drop the PERLLIB_PREFIX as it has been around for a long time and is in almost any write up of how to setup Perl on OS/2 and dropping it would then cause all the documentation to cause people to go astray... on the other hand, klibcpathrewriter seems to work so hate to see unnecessary work done trying to figure it out, especially if it is more than just adding the drive letter.
(0002191)
shmuel   
2012-01-23 00:01   
I wouldn't mind saying to drop PERLLIB_PREFIX if that worked, but it breaks the CPAN build process. We need a fix or bypass that doesn't break anything else.
(0002201)
shmuel   
2012-01-27 02:28   
I get a little farther if I use an exlicit drive on the left side of SET PERLLIB_PREFIX=u:/perl5/lib;F:/perl5/lib, but I still get an error message from gcc:


gcc -c -DDOSISH -DOS2=2 -DEMBED -I. -I/usr/local/include -O2 -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -s -DVERSION=\"2.131\"
 -DXS_VERSION=\"2.131\" -Zdll "-I/perl5/lib/5.14.2/os2/CORE" -DUSE_PPPORT_H Dumper.c
gcc: gcc: error executing U:/usr/i386-pc-os2-emx/bin/as.exe: No such file or directory

I verified that the file exists:

[g:\os2]dir U:\usr\i386-pc-os2-emx\bin\as.exe

 Volume in drive U is SMEDLEY Serial number is 3EBD:8001
 Directory of U:\usr\i386-pc-os2-emx\bin\as.exe

 6-11-07 9:19 212,992 0 as.exe
(0002232)
DB1   
2012-04-02 11:43   
A little late to the party :-)

What PERLLIB_PREFIX does to mess things up depends on the difference in lengths of the two strings. if the replacement is two characters longer then it will drop the last two characters. I have tried using PERL5LIB which gets around the truncation problem but even with the drive letters CPAN still fails with not finding some fairly basic thing like "strict". *And* it fails if invoked from a different drive. :-(
(0002233)
DB1   
2012-04-05 14:38   
I can get a bit further by setting PERLLIB_PREFIX=/perl5;/perl5 having installed into the root of a drive. So the broken substitution does not come into play. I then used klibcrewriter to change /perl5 into t:/perl5.

Next problem in trying to install *anything* from CPAN is all tests fail always. And if there is a compile involved I get the "no such file os2ish.h" message. This is because it does not exist. The file ...../CORE/os2ish.h is a soft link to os2/os2ish.h but it does not exist. The link implies that there is a ...../CORE/os2 directory containing os2ish.h but that does not exist either. In 5.8.2 it is a real file in CORE.
(0002272)
Steven Levine   
2012-05-20 19:41   
I heard about the @INC issue from someone trying to use my mapsymw.pl on 5.14.2. This PERLLIB_PREFIX mapping issue seems to be specific to 5.14.2

Given a 5.14.2 setup of

PERL_BADLANG=0
PERL_SH_DIR=D:\BIN
PERLLIB_PREFIX=/perl5/lib;D:\usr\perl514\LIB
BeginLIBPATH=D:\USR\PERL514\BIN;

the @INC truncation is obvious

>perl -e "map { print \"$_\n\" } @INC"
D:/usr/perl514/LIB/site_perl/5.
D:/usr/perl514/LIB/site_per
D:/usr/perl514/LIB/5.
D:/usr/perl514/LI
D:/usr/perl514/LIB/s
.


The same code on 5.10.0 claims @INC is OK.

>perl -e "map { print \"$_\n\" } @INC"
D:/usr/perl510/LIB/5.10.0/os2
D:/usr/perl510/LIB/5.10.0
D:/usr/perl510/LIB/site_perl/5.10.0/os2
D:/usr/perl510/LIB/site_perl/5.10.0
.

The type of slash does not seems to matter.
(0002273)
psmedley   
2012-05-21 09:05   
There are no obvious differences in os2.c between perl 5.10.0 and 5.14.2 that would explain this.

Seems the easiest fix would be to change 5.14.2 to default to u:/perl5 as I'd wager that will take care of the PERLLIB_PREFIX issue
(0002274)
Steven Levine   
2012-05-21 19:19   
I suspect the issue is the significant rewrite to S_incpush in perl.c. Near line 4432 we have

  libdir = newSVpvn(PERLLIB_MANGLE(dir, len), len);

If I am reading the code right, this will do the substitution and create a new string chopping it off at the old length. What I don't understand is why 5.10.0 and older versions seem to work correctly since the code is similar.

What I suspect will correct the behavior is something like

  const char *dir2 = PERLLIB_MANGLE(dir, len);
  libdir = newSVpvn(dir2, strlen(dir2));
(0002275)
DB1   
2012-05-22 18:12   
Steven - I took the liberty of copying the above to the perl NG where I am having other problems with this port and CPAN. Ben Morrow, who knows *far* more about perl than I do, says:

===============================
In 5.10.0 the code says

    if ( usesep && (s = strchr(p, PERLLIB_SEP)) != NULL ) {
        sv_setpvn(libdir, PERLLIB_MANGLE(p, (STRLEN)(s - p)),
                  (STRLEN)(s - p));
        p = s + 1;
    }
    else {
        sv_setpv(libdir, PERLLIB_MANGLE(p, 0));
        p = NULL; /* break out */
    }

whereas in 5.14.2 it omits the 'usesep' condition, and only has

    if (len) {
        /* I am not convinced that this is valid when PERLLIB_MANGLE is
           defined to so something (in os2/os2.c), but the code has been
           this way, ignoring any possible changed of length, since
           760ac839baf413929cd31cc32ffd6dba6b781a81 (5.003_02) so I'll leave
           it be. */
        libdir = newSVpvn(PERLLIB_MANGLE(dir, len), len);
    } else {
        libdir = newSVpv(PERLLIB_MANGLE(dir, 0), 0);
    }

I don't know under what circumstances 'usesep' is supposed to be set,
but maybe taking the second branch prevents the truncation? The
implementation of PERLLIB_MANGLE is, um, scary; it appears to keep a
record of the old length in a global, for some reason I can't quite
follow.
================================
(0002276)
Steven Levine   
2012-05-22 18:43   
Hi DB1,

Taking the path that invokes

  libdir = newSVpv(PERLLIB_MANGLE(dir, 0), 0);

would avoid the truncation and that what might occur in 10.0 and older. You can think of newSVpv as a smart strcpy and newSVpvn as a smart strncpy. The SV objects are smart reference counted string objects.

usesep means that the input is a list of paths that need to be split and the 10.0 code loops to do this. In 14.2 there's a new outer function that does the split and the loop no longer exists. It needs to be tested, but I think my suggested fix is safe.

I don't see the global you are referring to. Got a file and line#?
(0002277)
DB1   
2012-05-22 20:02   
Sorry Steven - I posted all Ben said between the ======== lines.
(0002278)
Steven Levine   
2012-05-22 22:45   
Does Ben have commit access to the Perl repo? If so, perhaps it makes sense for us to discuss my recommendation on comp.os.os2.misc or elsewhere.
(0002288)
psmedley   
2012-06-04 09:30   
OK Steven's patch works with 5.16.0:
Examples of output below:

[U:\DEV]set PERLLIB_PREFIX=u:/perl5/lib;D:\usr\perl514\LIB

5.16.0 without Steven's patch:
[U:\DEV]perl -e "map { print \"$_\n\" } @INC"
D:/usr/perl514/LIB/site_perl/5.16
D:/usr/perl514/LIB/site_perl/
D:/usr/perl514/LIB/5.16
D:/usr/perl514/LIB/
D:/usr/perl514/LIB/sit
.

5.16.0 with Steven's patch:
[U:\DEV]perl -e "map { print \"$_\n\" } @INC"
D:/usr/perl514/LIB/site_perl/5.16.0/os2
D:/usr/perl514/LIB/site_perl/5.16.0
D:/usr/perl514/LIB/5.16.0/os2
D:/usr/perl514/LIB/5.16.0
D:/usr/perl514/LIB/site_perl
.
(0002289)
psmedley   
2012-06-04 09:31   
Test build is at http://smedley.id.au/perl-5.16.0-os2-20120604.zip
(0002293)
DB1   
2012-06-08 13:22   
(Last edited: 2012-06-08 13:25)
Are, but it does not actually work :-(

  Built under os2
  Compiled at Jun 4 2012 18:56:00
  %ENV:
    PERLDOC="-otext"
    PERLLOC="u:\perl5"
    PERLLOC2="u:/perl5"
    PERL_SH_DIR="u:\BIN"
  @INC:
    u:/perl5/lib/site_perl/5.16.0/os2
    u:/perl5/lib/site_perl/5.16.0
    u:/perl5/lib/5.16.0/os2
    u:/perl5/lib/5.16.0
    u:/perl5/lib/site_perl
    .

[U:\]perl -MCPAN -e shell
Can't locate Cwd.pm in @INC (@INC contains: U:u:/perl5/lib/site_perl/5.16.0/os2
U:u:/perl5/lib/site_perl/5.16.0 U:u:/perl5/lib/5.16.0/os2 U:u:/perl5/lib/5.16.0
U:u:/perl5/lib/site_perl .) at u:/perl5/lib/5.16.0/os2/File/Spec/OS2.pm line 215
.
BEGIN failed--compilation aborted at u:/perl5/lib/5.16.0/CPAN.pm line 17.
Compilation failed in require.
BEGIN failed--compilation aborted.


Edit: It is putting the current drive letter on the front of each path. I just tried from t:/tmp

[T:\tmp]perl -MCPAN -e shell
Can't locate Cwd.pm in @INC (@INC contains: T:u:/perl5/lib/site_perl/5.16.0/os2

(0002294)
Steven Levine   
2012-06-08 15:19   
This is most likely a side-effect to the new relocatable @INC feature. Our port may be using *ix semantics to determine if the path is absolute.

I'll see it I can track this down later.

I will need a copy of the 5.16.0 .diffs for this.
(0002295)
Steven Levine   
2012-06-08 15:53   
That's not it. Take a look at CPAN.pm line 17

 $inc = File::Spec->rel2abs($inc) unless ref $inc;

Someone broke our rel2abs when they refactored the code for 5.16.0.

>perl -e "use File::Spec ; print File::Spec->rel2abs('d:/foo')"
J:d:/foo

It looks like they tried to add code to supply a drive letter.
(0002296)
Steven Levine   
2012-06-08 16:17   
It should be sufficient to integrate the Win32 file_name_is_absolute(). This will add support for UNC pathnames which is a good thing.

FWIW, this fix along with any other .pm fixes should be passed upstream to the Perl maintainers.
(0002297)
DB1   
2012-06-08 18:09   
Absolutely, otherwise an innocently applied update to a perl module breaks the fix.
(0002298)
psmedley   
2012-06-08 22:52   
I will take a look at the patches tonight - it's possible I broke things whilst trying to fix rel2abs for Shmuel.

On the subject of submitting patches - if the Perl guys will accept them, I'm happy to submit, but many projects make it so friggin hard to submit patches that it's not worth the effort
(0002299)
psmedley   
2012-06-09 00:01   
http://smedley.id.au/perl-5.16.0.diff has the latest diff
(0002300)
Steven Levine   
2012-06-09 01:29   
(Last edited: 2012-06-09 01:30)
The attached OS2.pm can replace dist\File\Spec\OS2.pm and fixes rel2abs based on my testing. Functionally all I did was merge the Win32 version of file_name_is_absolute along with the associated variable definitions into the previously patched OS2.pm

perl -MCPAN -e shell works, although the CPAN readline has issues that will be reported in another ticket.

Those that need it now can replace lib\5.16.0\os2\File\Spec\OS2.pm with this file.

(0002302)
DB1   
2012-06-09 10:45   
What with readline? I am back to the "no test will run" scenario :-(
(0002305)
Steven Levine   
2012-06-09 18:37   
The readline issue is on hold. With, I suspect, the rel2abs fixes, CPAN now claims that $term does not support history. Before this a Ctrl-R generated perl error messages.

Which ticket are you referring to with your "no test will run" comment? I've seen some of the newsgroup postings, but they contain too much cruft for me to attempt to replicate the failure here.
(0002307)
DB1   
2012-06-10 14:56   
I don't think I raised one here.

Basically try and install anything as soon as it gets to running the test it just skips them all. There is a problem *somewhere* in makemaker and/or Test::* things. One of the things I was trying to sort with Ben's help.

U:/PERL5/BIN/PERL.EXE "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic.t ............... No subtests run
t/like-exception.t ...... No subtests run
t/release-pod-syntax.t .. No subtests run

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
516 [Perl for OS/2] Bug minor always 2012-01-15 13:08 2012-06-09 18:13
Reporter: shmuel Platform: AMD dual core  
Assigned To: OS: eComStation  
Priority: normal OS Version: 2.0 GA  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Missing CMD files in Perl 5.14.2
Description: In order to execute Perl scripts, e.g., perlbug, pod2ipt, directly,they must have a suitable extension and begin with an EXTPROC line. Note that some CPAN modules, e.g., Pod::Usage, invoke these scripts via system, so bypassing the problem by writing perl perldoc is not an option.
Tags:
Steps To Reproduce:
Additional Information:
System Description
Attached Files: perl2cmd_cmd-20060605.zip (1,107 bytes) 2012-06-09 18:12
https://mantis.smedley.id.au/file_download.php?file_id=251&type=bug
Notes
(0002174)
shmuel   
2012-01-15 14:12   
The 5.8.0 build had these:

c2ph
c2ph.cmd
dprofpp
dprofpp.cmd
enc2xs
enc2xs.cmd
find2perl
find2perl.cmd
h2ph
h2ph.cmd
h2xs
h2xs.cmd
libnetcfg
libnetcfg.cmd
perlbug
perlbug.cmd
perlcc
perlcc.cmd
perldoc
perldoc.cmd
perlivp
perlivp.cmd
pl2pm
pl2pm.cmd
pod2html
pod2html.cmd
pod2latex
pod2latex.cmd
pod2man
pod2man.cmd
pod2text
pod2text.cmd
pod2usage
pod2usage.cmd
podchecker
podchecker.cmd
podselect
podselect.cmd
pstruct
pstruct.cmd
s2p
s2p.cmd
splain
splain.cmd
testperl.cmd
xsubpp
xsubpp.cmd

Example:

[h:\]Q:\moztools\diff F:\Perl\bin\5.8.0\perlbug.cmd F:\Perl\bin\5.8.0\perlbug
1d0
< extproc perl -S

I'd advise including pod2ipf.cmd as well.
(0002303)
Steven Levine   
2012-06-09 18:13   
I've attached a copy of the perl2cmd that I use. It's got a couple of fixes.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
533 [Subversion for OS/2 & eCS] Bug major always 2012-04-15 22:45 2012-05-25 00:29
Reporter: xhajt03 Platform: I386  
Assigned To: OS: eCS  
Priority: normal OS Version: 1.0 (last FP)  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Handling of case in directory names in client
Description: Paths on the local drive should be compared to those stored in the checkout structure in case insensitive manner.

Let's imagine having a directory 'dir' in a root of a SVN checkout. If you change directory to 'DIR' e.g. in CMD.EXE, OS/2 remembers 'DIR' as the current directory. Now, trying to invoke any svn operations from that directory fails because 'DIR' does not exist in the checkout structure encoded in ../.svn (probably wc.db with the newly used SQLite base storage?). If I go to the same directory by changing directory to 'dir' (as stored on the disk), it works correctly.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0002238)
xhajt03   
2012-04-15 22:48   
Sorry, I should have mentioned that it is related to the SVN client version 1.7.4 built on the 12th of March 2012.
(0002258)
psmedley   
2012-04-29 09:47   
This one might be a problem... Seems this is an issue on mac/windows too

See http://stackoverflow.com/questions/595081/can-svn-handle-case-sensitivity-issues
(0002259)
xhajt03   
2012-05-03 12:58   
No, this shouldn't be the same problem. The request mentioned above basically asks for the SVN server to be configured as case insensitive (regardless of the clients). This could obviously not be solved by your port, but I don't need that fortunately.

The thing I need (case insensitive matching on the client side when running on a case insensitive platform/filesystem - i.e. in particular for the OS/2 / eCS port here) worked well in previous SVN versions.

The probable reason why it stopped working with 1.7.x is because of the different way how SVN stores the file hierarchy. Previously (up to SVN 1.6.x), the directory .svn existed in each and every directory of any checkout and the file 'entries' stored in .svn contained only files in that directory (local). Since 1.7, all the metadata for a particular checkout are stored in a single .svn directory at the root level of that checkout, file 'entries' apparently contains only version number for the SVN metadata structure and the files with the path relative to the checkout root are stored in a SQLite database file wc.db. I assume that the solution for my problem would be to switch searching the SQLite database to a case insensitive manner. Don't ask me where it is in the sources or how to change it though. ;-)

The trouble which may make OS/2 / eCS different from the Windows or Mac OS X case is the fact that OS/2 is case insensitive internally (unlike Windows or Mac OS X which support case insensitive file systems but are case sensitive at the kernel level). If you open CMD.EXE, create directory 'test' ('mkdir test') and switch to the newly created directory using 'cd TEST', OS/2 stores internally (for the particular session) that your current directory (for the particular current drive) is 'TEST' and it will show it that way in CMD.EXE and also return it that way in the respective OS/2 API function (DosQueryCurrentDir). If you do the same under MS Windows (WinXP tested here), MS Windows store the real name as the current working directory, not the one used when changing to it. I don't know whether there is any way to find out the real pathname (including the correct case). If something like case insensitive searching is not possible in SQLite, an alternative may be not to use the results of DosQueryCurrentDir (or the respective libc wrapper around it) directly but rather always translate it to the real path first. If OS/2 doesn't provide any support for querying the real case directly (which is well possible), one can always traverse the path from the root and check the real case using DosFindFirst for the next path element. Hope that this helps...

BTW, I've received no notification about your note although I use the monitoring function of Mantis - any idea what got wrong here?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
537 [cURL for OS/2 & eComStation] Bug block always 2012-04-25 05:45 2012-04-25 09:53
Reporter: rexx Platform: eCS  
Assigned To: OS: eCS  
Priority: normal OS Version: 2.0  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Unable to link with curl library - missing dependencies
Description: When attempting to link Rexx/CURL with the latest (7.23.1) curl library; curl.lib generated from curl.a by: emxomf -o curl.lib curl.a, I get linker errors related to libssh.
I've found a port of libssh2 on www.os2site.com, but am now getting linker errors with openssl. I have openssl 1.0.0a, but the 7.23.1 curl.exe suggests I need openssl 1.0.0d which I can't find.

Can you provide a location for downloading all the curl dependencies?

Also the poll() function is also missing (see Additional Information); I am using gcc 4.4.4.
Tags:
Steps To Reproduce:
Additional Information: Last few lines of link errors:

weakld: error: Unresolved symbol (UNDEF) '_libssh2_knownhost_writefile'.
weakld: info: The symbol is referenced by:
    D:\curl\lib\curl.lib(ssh.obj)
weakld: error: Unresolved symbol (UNDEF) '_poll'.
weakld: info: The symbol is referenced by:
    D:\curl\lib\curl.lib(select.obj)
weakld: error: Unresolved symbol (UNDEF) '_libssh2_session_set_blocking'.
weakld: info: The symbol is referenced by:
    D:\curl\lib\curl.lib(ssh.obj)
weakld: error: Unresolved symbol (UNDEF) '_libssh2_sftp_init'.
weakld: info: The symbol is referenced by:
    D:\curl\lib\curl.lib(ssh.obj)
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: _poll is an undefined reference
Error! E2028: _libssh2_session_block_directions is an undefined reference
Error! E2028: _libssh2_session_set_blocking is an undefined reference
Error! E2028: _libssh2_session_startup is an undefined reference
Error! E2028: _libssh2_session_hostkey is an undefined reference
Error! E2028: _libssh2_knownhost_check is an undefined reference
Error! E2028: _libssh2_sftp_symlink_ex is an undefined reference
Error! E2028: _libssh2_sftp_stat_ex is an undefined reference
Error! E2028: _libssh2_sftp_last_error is an undefined reference
Error! E2028: _libssh2_sftp_mkdir_ex is an undefined reference
Error! E2028: _libssh2_sftp_unlink_ex is an undefined reference
Error! E2028: _libssh2_sftp_open_ex is an undefined reference
Error! E2028: _libssh2_sftp_rename_ex is an undefined reference
Error! E2028: _libssh2_sftp_rmdir_ex is an undefined reference
Error! E2028: _libssh2_sftp_readdir_ex is an undefined reference

d:\projects\rexxcurl\regina> gcc -v
Using built-in specs.
Target: i386-pc-os2-emx
Configured with: ./configure --prefix=/usr/local444 --enable-shared --enable-languages=c,c++,fortran
 --with-gnu-as --disable-bootstrap --disable-libstdcxx-pch --enable-threads
Thread model: os2
gcc version 4.4.4 (GCC)
Attached Files:
Notes
(0002245)
psmedley   
2012-04-25 06:53   
probably easiest I build you a curl.dll which has all the dependencies rolled into the DLL.
(0002246)
psmedley   
2012-04-25 06:55   
meanwhile, try http://smedley.id.au/mark.zip for ssh/ssl/poll
(0002247)
rexx   
2012-04-25 07:09   
Thanks Paul. Downloaded mark.zip, replaced existing lib files and am getting the following link errors now.
Used the following libraries:

PACKAGELIB = $(CURL_HOMEDIR)\lib\curl.lib d:\lib\libssl.lib $(OPENSSL_HOMEDIR)\lib\libcrypto.lib d:\lib\libz.lib d:\lib\idn.lib d:\lib\ssh2.lib d:\lib\poll.lib

I needed to add the OpenSSL libcryto.lib, but that may not be compatible with the libssl.lib you sent.


make -f d:\projects\rexxcurl\makefile.os2.gcc INT=REGINA DEBUG=N
echo make -f d:\projects\rexxcurl\makefile.os2.gcc INT=REGINA DEBUG=N ^%1 ^%2 > rebuild.cmd
gcc -O3 -Zomf -Zmt -s loader.obj getopt.obj rexxcurlexe.obj packexe.obj rxmt_os2.obj -o rexxcurl.exe d:\curl\lib\curl.lib d:\lib\libssl.lib d:\openssl\lib\libcrypto.lib d:\lib\libz.lib d:\lib\idn.lib d:\lib\ssh2.lib d:\lib\poll.lib -liconv d:\projects\regina\gcc\regina.lib d:\projects\rexxcurl\rexxcurlos2_exe.def
weakld: error: Unresolved symbol (UNDEF) '_EVP_PKEY_asn1_get0_info'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(ssl_ciph.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_PKEY_sign_init'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_clnt.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_PKEY_new_mac_key'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(t1_enc.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_CIPHER_iv_length'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s2_clnt.obj)
    D:\lib\libssl.lib(s3_enc.obj)
    D:\lib\libssl.lib(t1_enc.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_CIPHER_CTX_block_size'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s2_pkt.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_CIPHER_block_size'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_enc.obj)
    D:\lib\libssl.lib(t1_enc.obj)
    D:\lib\libssl.lib(d1_both.obj)
    D:\lib\libssl.lib(d1_pkt.obj)
    D:\lib\libssl.lib(d1_enc.obj)
weakld: error: Unresolved symbol (UNDEF) '_pqueue_size'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(d1_pkt.obj)
weakld: error: Unresolved symbol (UNDEF) '_ENGINE_get_ssl_client_cert_function'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(ssl_sess.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_Cipher'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s2_enc.obj)
    D:\lib\libssl.lib(s3_enc.obj)
    D:\lib\libssl.lib(t1_enc.obj)
    D:\lib\libssl.lib(d1_enc.obj)
    D:\lib\ssh2.lib(openssl.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_MD_type'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_enc.obj)
    D:\lib\libssl.lib(t1_enc.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_CIPHER_CTX_get_app_data'.
weakld: info: The symbol is referenced by:
    D:\lib\ssh2.lib(openssl.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_CIPHER_CTX_key_length'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s2_enc.obj)
weakld: error: Unresolved symbol (UNDEF) '_DHparams_dup'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_clnt.obj)
    D:\lib\libssl.lib(s3_lib.obj)
    D:\lib\libssl.lib(ssl_cert.obj)
weakld: error: Unresolved symbol (UNDEF) '_i2d_X509_EXTENSIONS'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(t1_lib.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_CIPHER_key_length'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s2_clnt.obj)
    D:\lib\libssl.lib(s3_enc.obj)
    D:\lib\libssl.lib(t1_enc.obj)
weakld: error: Unresolved symbol (UNDEF) '_OBJ_bsearch_'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(ssl_lib.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_PKEY_CTX_ctrl'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_clnt.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_CIPHER_CTX_cipher'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_enc.obj)
    D:\lib\libssl.lib(t1_enc.obj)
    D:\lib\libssl.lib(d1_enc.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_camellia_256_cbc'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(ssl_algs.obj)
weakld: error: Unresolved symbol (UNDEF) '_ENGINE_load_ssl_client_cert'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_clnt.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_DigestSignFinal'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(t1_enc.obj)
weakld: error: Unresolved symbol (UNDEF) '_d2i_X509_EXTENSIONS'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(t1_lib.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_CIPHER_flags'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(d1_both.obj)
    D:\lib\libssl.lib(d1_pkt.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_DigestSignInit'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(t1_enc.obj)
weakld: error: Unresolved symbol (UNDEF) '_BIO_method_type'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(ssl_lib.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_seed_cbc'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(ssl_algs.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_camellia_128_cbc'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(ssl_algs.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_PKEY_encrypt_init'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_clnt.obj)
weakld: error: Unresolved symbol (UNDEF) '_OBJ_find_sigid_algs'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(ssl_lib.obj)
weakld: error: Unresolved symbol (UNDEF) '_BIO_set_flags'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_pkt.obj)
    D:\lib\libssl.lib(d1_both.obj)
    D:\lib\libssl.lib(d1_pkt.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_MD_CTX_md'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s2_pkt.obj)
    D:\lib\libssl.lib(s3_enc.obj)
    D:\lib\libssl.lib(s3_pkt.obj)
    D:\lib\libssl.lib(t1_enc.obj)
    D:\lib\libssl.lib(d1_both.obj)
    D:\lib\libssl.lib(d1_pkt.obj)
    D:\lib\libssl.lib(d1_enc.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_CIPHER_CTX_iv_length'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(t1_lib.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_PKEY_sign'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_clnt.obj)
weakld: error: Unresolved symbol (UNDEF) '_ERR_remove_thread_state'.
weakld: info: The symbol is referenced by:
    D:\curl\lib\curl.lib(ssluse.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_PKEY_asn1_find_str'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(ssl_ciph.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_MD_size'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s2_lib.obj)
    D:\lib\libssl.lib(s2_pkt.obj)
    D:\lib\libssl.lib(s3_enc.obj)
    D:\lib\libssl.lib(s3_pkt.obj)
    D:\lib\libssl.lib(t1_lib.obj)
    D:\lib\libssl.lib(t1_enc.obj)
    D:\lib\libssl.lib(ssl_ciph.obj)
    D:\lib\libssl.lib(d1_both.obj)
    D:\lib\libssl.lib(d1_pkt.obj)
    D:\lib\libssl.lib(d1_enc.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_PKEY_CTX_free'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_clnt.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_CIPHER_CTX_set_app_data'.
weakld: info: The symbol is referenced by:
    D:\lib\ssh2.lib(openssl.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_PKEY_CTX_new'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_clnt.obj)
weakld: error: Unresolved symbol (UNDEF) '_BIO_clear_flags'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_pkt.obj)
    D:\lib\libssl.lib(d1_pkt.obj)
weakld: error: Unresolved symbol (UNDEF) '_BIO_test_flags'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(ssl_lib.obj)
weakld: error: Unresolved symbol (UNDEF) '_EVP_PKEY_derive_set_peer'.
weakld: info: The symbol is referenced by:
    D:\lib\libssl.lib(s3_clnt.obj)
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: _ERR_remove_thread_state is an undefined reference
Error! E2028: _BIO_method_type is an undefined reference
Error! E2028: _OBJ_find_sigid_algs is an undefined reference
Error! E2028: _BIO_test_flags is an undefined reference
Error! E2028: _OBJ_bsearch_ is an undefined reference
Error! E2028: _ENGINE_get_ssl_client_cert_function is an undefined reference
Error! E2028: _EVP_camellia_128_cbc is an undefined reference
Error! E2028: _EVP_camellia_256_cbc is an undefined reference
Error! E2028: _EVP_seed_cbc is an undefined reference
Error! E2028: _EVP_PKEY_asn1_find_str is an undefined reference
Error! E2028: _EVP_PKEY_asn1_get0_info is an undefined reference
Error! E2028: _EVP_MD_size is an undefined reference
Error! E2028: _DHparams_dup is an undefined reference
Error! E2028: _EVP_PKEY_CTX_new is an undefined reference
Error! E2028: _EVP_PKEY_encrypt_init is an undefined reference
Error! E2028: _EVP_PKEY_derive_set_peer is an undefined reference
Error! E2028: _EVP_PKEY_CTX_ctrl is an undefined reference
Error! E2028: _EVP_PKEY_CTX_free is an undefined reference
Error! E2028: _EVP_PKEY_sign_init is an undefined reference
Error! E2028: _EVP_PKEY_sign is an undefined reference
Error! E2028: _ENGINE_load_ssl_client_cert is an undefined reference
Error! E2028: _EVP_CIPHER_iv_length is an undefined reference
Error! E2028: _EVP_CIPHER_key_length is an undefined reference
Error! E2028: _EVP_CIPHER_CTX_get_app_data is an undefined reference
Error! E2028: _EVP_CIPHER_CTX_set_app_data is an undefined reference
Error! E2028: _EVP_Cipher is an undefined reference
Error! E2028: _EVP_MD_CTX_md is an undefined reference
Error! E2028: _EVP_CIPHER_flags is an undefined reference
Error! E2028: _EVP_CIPHER_block_size is an undefined reference
Error! E2028: _BIO_set_flags is an undefined reference
Error! E2028: _BIO_clear_flags is an undefined reference
Error! E2028: _i2d_X509_EXTENSIONS is an undefined reference
Error! E2028: _d2i_X509_EXTENSIONS is an undefined reference
Error! E2028: _EVP_CIPHER_CTX_iv_length is an undefined reference
Error! E2028: _EVP_CIPHER_CTX_cipher is an undefined reference
Error! E2028: _EVP_MD_type is an undefined reference
Error! E2028: _EVP_CIPHER_CTX_key_length is an undefined reference
Error! E2028: _EVP_CIPHER_CTX_block_size is an undefined reference
Error! E2028: _pqueue_size is an undefined reference
Error! E2028: _EVP_PKEY_new_mac_key is an undefined reference
Error! E2028: _EVP_DigestSignInit is an undefined reference
Error! E2028: _EVP_DigestSignFinal is an undefined reference
file D:\curl\lib\curl.lib(ssluse.obj): undefined symbol _ERR_remove_thread_state
file D:\lib\libssl.lib(ssl_lib.obj): undefined symbol _BIO_method_type
file D:\lib\libssl.lib(ssl_lib.obj): undefined symbol _OBJ_find_sigid_algs
file D:\lib\libssl.lib(ssl_lib.obj): undefined symbol _BIO_test_flags
file D:\lib\libssl.lib(ssl_lib.obj): undefined symbol _OBJ_bsearch_
file D:\lib\libssl.lib(ssl_sess.obj): undefined symbol _ENGINE_get_ssl_client_cert_function
file D:\lib\libssl.lib(ssl_algs.obj): undefined symbol _EVP_camellia_128_cbc
file D:\lib\libssl.lib(ssl_algs.obj): undefined symbol _EVP_camellia_256_cbc
file D:\lib\libssl.lib(ssl_algs.obj): undefined symbol _EVP_seed_cbc
file D:\lib\libssl.lib(ssl_ciph.obj): undefined symbol _EVP_PKEY_asn1_find_str
file D:\lib\libssl.lib(ssl_ciph.obj): undefined symbol _EVP_PKEY_asn1_get0_info
file D:\lib\libssl.lib(ssl_ciph.obj): undefined symbol _EVP_MD_size
file D:\lib\libssl.lib(s3_clnt.obj): undefined symbol _DHparams_dup
file D:\lib\libssl.lib(s3_clnt.obj): undefined symbol _EVP_PKEY_CTX_new
file D:\lib\libssl.lib(s3_clnt.obj): undefined symbol _EVP_PKEY_encrypt_init
file D:\lib\libssl.lib(s3_clnt.obj): undefined symbol _EVP_PKEY_derive_set_peer
file D:\lib\libssl.lib(s3_clnt.obj): undefined symbol _EVP_PKEY_CTX_ctrl
file D:\lib\libssl.lib(s3_clnt.obj): undefined symbol _EVP_PKEY_CTX_free
file D:\lib\libssl.lib(s3_clnt.obj): undefined symbol _EVP_PKEY_sign_init
file D:\lib\libssl.lib(s3_clnt.obj): undefined symbol _EVP_PKEY_sign
file D:\lib\libssl.lib(s3_clnt.obj): undefined symbol _ENGINE_load_ssl_client_cert
file D:\lib\libssl.lib(s2_clnt.obj): undefined symbol _EVP_CIPHER_iv_length
file D:\lib\libssl.lib(s2_clnt.obj): undefined symbol _EVP_CIPHER_key_length
file D:\lib\libssl.lib(ssl_cert.obj): undefined symbol _DHparams_dup
file D:\lib\ssh2.lib(openssl.obj): undefined symbol _EVP_CIPHER_CTX_get_app_data
file D:\lib\ssh2.lib(openssl.obj): undefined symbol _EVP_CIPHER_CTX_set_app_data
file D:\lib\ssh2.lib(openssl.obj): undefined symbol _EVP_Cipher
file D:\lib\libssl.lib(d1_both.obj): undefined symbol _EVP_MD_CTX_md
file D:\lib\libssl.lib(d1_both.obj): undefined symbol _EVP_MD_size
file D:\lib\libssl.lib(d1_both.obj): undefined symbol _EVP_CIPHER_flags
file D:\lib\libssl.lib(d1_both.obj): undefined symbol _EVP_CIPHER_block_size
file D:\lib\libssl.lib(d1_both.obj): undefined symbol _BIO_set_flags
file D:\lib\libssl.lib(s3_pkt.obj): undefined symbol _EVP_MD_CTX_md
file D:\lib\libssl.lib(s3_pkt.obj): undefined symbol _EVP_MD_size
file D:\lib\libssl.lib(s3_pkt.obj): undefined symbol _BIO_clear_flags
file D:\lib\libssl.lib(s3_pkt.obj): undefined symbol _BIO_set_flags
file D:\lib\libssl.lib(t1_lib.obj): undefined symbol _i2d_X509_EXTENSIONS
file D:\lib\libssl.lib(t1_lib.obj): undefined symbol _d2i_X509_EXTENSIONS
file D:\lib\libssl.lib(t1_lib.obj): undefined symbol _EVP_MD_size
file D:\lib\libssl.lib(t1_lib.obj): undefined symbol _EVP_CIPHER_CTX_iv_length
file D:\lib\libssl.lib(s3_enc.obj): undefined symbol _EVP_MD_size
file D:\lib\libssl.lib(s3_enc.obj): undefined symbol _EVP_CIPHER_key_length
file D:\lib\libssl.lib(s3_enc.obj): undefined symbol _EVP_CIPHER_iv_length
file D:\lib\libssl.lib(s3_enc.obj): undefined symbol _EVP_CIPHER_CTX_cipher
file D:\lib\libssl.lib(s3_enc.obj): undefined symbol _EVP_CIPHER_block_size
file D:\lib\libssl.lib(s3_enc.obj): undefined symbol _EVP_Cipher
file D:\lib\libssl.lib(s3_enc.obj): undefined symbol _EVP_MD_CTX_md
file D:\lib\libssl.lib(s3_enc.obj): undefined symbol _EVP_MD_type
file D:\lib\libssl.lib(s3_lib.obj): undefined symbol _DHparams_dup
file D:\lib\libssl.lib(s2_lib.obj): undefined symbol _EVP_MD_size
file D:\lib\libssl.lib(s2_enc.obj): undefined symbol _EVP_Cipher
file D:\lib\libssl.lib(s2_enc.obj): undefined symbol _EVP_CIPHER_CTX_key_length
file D:\lib\libssl.lib(s2_pkt.obj): undefined symbol _EVP_MD_CTX_md
file D:\lib\libssl.lib(s2_pkt.obj): undefined symbol _EVP_MD_size
file D:\lib\libssl.lib(s2_pkt.obj): undefined symbol _EVP_CIPHER_CTX_block_size
file D:\lib\libssl.lib(d1_pkt.obj): undefined symbol _pqueue_size
file D:\lib\libssl.lib(d1_pkt.obj): undefined symbol _EVP_MD_CTX_md
file D:\lib\libssl.lib(d1_pkt.obj): undefined symbol _EVP_MD_size
file D:\lib\libssl.lib(d1_pkt.obj): undefined symbol _BIO_clear_flags
file D:\lib\libssl.lib(d1_pkt.obj): undefined symbol _BIO_set_flags
file D:\lib\libssl.lib(d1_pkt.obj): undefined symbol _EVP_CIPHER_flags
file D:\lib\libssl.lib(d1_pkt.obj): undefined symbol _EVP_CIPHER_block_size
file D:\lib\libssl.lib(t1_enc.obj): undefined symbol _EVP_MD_size
file D:\lib\libssl.lib(t1_enc.obj): undefined symbol _EVP_CIPHER_key_length
file D:\lib\libssl.lib(t1_enc.obj): undefined symbol _EVP_CIPHER_iv_length
file D:\lib\libssl.lib(t1_enc.obj): undefined symbol _EVP_PKEY_new_mac_key
file D:\lib\libssl.lib(t1_enc.obj): undefined symbol _EVP_DigestSignInit
file D:\lib\libssl.lib(t1_enc.obj): undefined symbol _EVP_MD_CTX_md
file D:\lib\libssl.lib(t1_enc.obj): undefined symbol _EVP_CIPHER_CTX_cipher
file D:\lib\libssl.lib(t1_enc.obj): undefined symbol _EVP_CIPHER_block_size
file D:\lib\libssl.lib(t1_enc.obj): undefined symbol _EVP_Cipher
file D:\lib\libssl.lib(t1_enc.obj): undefined symbol _EVP_MD_type
file D:\lib\libssl.lib(t1_enc.obj): undefined symbol _EVP_DigestSignFinal
file D:\lib\libssl.lib(d1_enc.obj): undefined symbol _EVP_MD_CTX_md
file D:\lib\libssl.lib(d1_enc.obj): undefined symbol _EVP_MD_size
file D:\lib\libssl.lib(d1_enc.obj): undefined symbol _EVP_CIPHER_CTX_cipher
file D:\lib\libssl.lib(d1_enc.obj): undefined symbol _EVP_CIPHER_block_size
file D:\lib\libssl.lib(d1_enc.obj): undefined symbol _EVP_Cipher
make.exe: *** [rexxcurl.exe] Error 1
(0002248)
psmedley   
2012-04-25 07:11   
shit I meant to include crypto too - mark.zip is refreshed now
(0002249)
rexx   
2012-04-25 07:22   
That did it! Thanks. An official separate download of dependencies would be great; whether that's static libraries or DLLs, I don't mind, although the DLLs and import libraries might be better.

BTW Any plans for updating curl to 7.25.0?
(0002250)
psmedley   
2012-04-25 08:59   
I don't update curl all that often - probably twice a year - will get to it eventually :)

If there's something specific you need in 7.25 I can move it up the priority list
(0002253)
rexx   
2012-04-25 09:53   
No, nothing I specifically need in 7.25.0.
Maybe this should now be a Feature request for the the next release for the provision of the downloadable dependencies.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
291 [Perl for OS/2] Bug minor always 2008-11-20 12:49 2012-01-26 08:14
Reporter: shmuel Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: No usable documentation for Perl 5.1.0
Description: After installing Perl 5.10.0 from perl5100.wpi, there was no usable documentation. The old perl.inf was not installed, OS/2 does not have a man command and the output from Perldoc has the problem described in issue 235.
Tags:
Steps To Reproduce:
Additional Information: I couldn't invoke Perldoc as documented; I had to exploicitly invoke Perl. I didn't try adding an extproc line, since Perldoc doesn't have a cmd extension.
Attached Files: pod2ipf137.cmd (90,979 bytes) 2012-01-20 14:49
https://mantis.smedley.id.au/file_download.php?file_id=231&type=bug
pod2ipf137.cmd.base (90,463 bytes) 2012-01-20 14:51
https://mantis.smedley.id.au/file_download.php?file_id=232&type=bug
Notes
(0002124)
shmuel   
2012-01-01 16:55   
I can now explain why pod2ipf.cmd is unusable. In Perl 5.8, the POD documentation for foo::bar with description baz included the POD text

=head1 NAME

foo::bar - baz

In 5.10 it's just

=head1 NAME

foo::bar

The code in pod2ipf requires that the description be present.
(0002147)
shmuel   
2012-01-05 16:30   
At this point in time I have a version of pod2ipf that will handle a missing file without terminating. It still has half a dozen bugs that I'm trying to track down.
(0002181)
shmuel   
2012-01-20 14:42   
(Last edited: 2012-01-20 14:43)
I can't test anything in Perl 5.14.2 until 0000515 is resolved. Meanwhile I have an updated pod2ipf.cmd from Ilya, which is not in CPAN.

(0002198)
psmedley   
2012-01-26 08:14   
Note also that the wpi is NOT from me

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
523 [Perl for OS/2] Bug minor always 2012-01-23 00:05 2012-01-25 13:51
Reporter: shmuel Platform: AMD dual core  
Assigned To: OS: eComStation  
Priority: normal OS Version: 2.0 GA  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Missing exe files
Description: The Perl 5.14.2 build is missing more.exe and sh.exe. That breaks perldoc.
Tags:
Steps To Reproduce: perl F:\perl5\usr\local\scripts\perldoc -v $'
Additional Information: I was trying to test whether the most recent perldoc still loses CR.
System Description
Attached Files:
Notes
(0002192)
psmedley   
2012-01-25 07:54   
I have no more.exe on my system...

In relation to sh.exe - I'd rather not include a build that's not part of Perl.

I've updated readme.os2 as follows:
If sh.exe can't be found in \bin; then use the PERL_SH_DIR environment variable to set the location with *forward slashes*. The recommended shell to use as sh.exe is available from ftp://ftp.netlabs.org/pub/gcc/alpha/ash.zip (rename ash.exe to sh.exe)
(0002193)
shmuel   
2012-01-25 13:51   
You might also add text suggesting that those with firefix installed set PERL_SH_DIR to bootdrive:/moztools and edit lib\5.10.0\os2\Config_heavy.pl to specify EXECSHELL as one of 'ash', 'ksh' or 'pdksh'.

Have you tried perldoc on your system? Please see [perl #108872].

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
507 [Perl for OS/2] Bug minor always 2012-01-02 02:51 2012-01-06 12:03
Reporter: shmuel Platform:  
Assigned To: OS: eComStation  
Priority: normal OS Version: 2.0 GA  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Perl 5.10.0 is missing perlinstall
Description: Perl 5.10.0 is missing perlinstall.pod, causing pod2ipf to terminate without writing anything in perl.ipf.

<<<doing file for `perlinstall'
Use of uninitialized value $fname in open at H:\vendors\cpan\pod2ipf-1.27.cmd line 768.
Use of uninitialized value $fname in concatenation (.) or string at H:\vendors\cpan\pod2ipf-1.27.cmd line 768.
perlinstall: open `': No such file or directory at H:\vendors\cpan\pod2ipf-1.27.cmd line 768.
Tags:
Steps To Reproduce: cd pod-directory
pod2ipf 2>\error-file
Additional Information: There are also 'no NAME' and 'Not matching' error messages, but I believe that those only cause partial entries in the TOC, not complete failure.

Attached Files: pod2ipf-1.27.cmd (80,559 bytes) 2012-01-03 18:51
https://mantis.smedley.id.au/file_download.php?file_id=224&type=bug
pod2ipf134.cmd (85,989 bytes) 2012-01-03 18:52
https://mantis.smedley.id.au/file_download.php?file_id=225&type=bug
Notes
(0002129)
psmedley   
2012-01-03 08:18   
no idea where this is supposed to come from, doesn't exist in my source tree:
[U:\DEV\perl-5.10.0]dir perlinstall* /s/p

The volume label in drive U is Dev.
The Volume Serial Number is 417C:05BE.

SYS0002: The system cannot find the file specified.
(0002133)
shmuel   
2012-01-03 18:56   
I've uploaded the versions of pod2ipf that I've been using, with my debugging changes, including a change to sub output_file to make the error nonfatal.

   if (not -f "./$fname") { # Protect 'B::C.pod' from accessing B drive
     unless ($fname = $modnamehash{$ftitle}) {print STDERR "!!! $ftitle not found\n"; return};
   }
 

The relevant code for perlinst is

   push @files, [ 'perlinstall', 'Installation/compilation of Perl'];

  if (-f '../INSTALL' and not -f 'perlinstall.pod') {
      copy '../INSTALL', 'perlinstall.pod';
  }
(0002137)
psmedley   
2012-01-04 21:55   
Perl 5.14.2 has the following *install*/pm/.pod's:

Directory of U:\perl5\lib\5.14.2\ExtUtils

 3/01/12 19:07 40,627 124 ---r Install.pm
 3/01/12 19:07 13,993 124 ---r Installed.pm
        2 file(s) 54,620 bytes used

Directory of U:\perl5\lib\5.14.2\Pod

 3/01/12 19:07 13,389 124 a--r perlmodinstall.pod
        1 file(s) 13,389 bytes used

Perhaps perlinstall.pod was removed at some point?
(0002139)
psmedley   
2012-01-04 22:02   
A pre-release of Perl 5.14.2 is available from http://smedley.info/perl-5.14.2-os2-20120105.zip
(0002148)
shmuel   
2012-01-05 16:34   
There is a patch to CPANPLUS to add the missing descriptions to the name sections; I believe that it is still in testing. There's a thread in comp.lang.perl.misc that discusses some of the other issues. I'll send an update to Ilya once I either have everything resolved or reach an impasse.
(0002149)
shmuel   
2012-01-06 12:03   
The fix for the incomplete NAME sections should be in <http://search.cpan.org/~bingos/CPANPLUS-0.9116/>.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
303 [Perl for OS/2] Bug major always 2008-12-25 07:47 2012-01-04 22:03
Reporter: LewisR Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: CPAN (make) under 5.10.0 fails to build with "No rule to make target `/perl5/lib/5.10.0/os2/Config.pm'"
Description: I'm not sure if this is related to 236 or perhaps a remnant of 224, but I can't for the life of me get past this one. Here's a snippet:

Warning: Prerequisite 'Parse::RecDescent => 1.94' for 'M/MA/MARKOV/Mail-IMAPClient-3.12.tar.gz' failed when processing 'D/DC/DCONWAY/Parse-RecDescent-1.94.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Test::Pod => 0' for 'M/MA/MARKOV/Mail-IMAPClient-3.12.tar.gz' failed when processing 'P/PE/PETDANCE/Test-Pod-1.26.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Digest::HMAC_MD5 => 0' for 'M/MA/MARKOV/Mail-IMAPClient-3.12.tar.gz' failed when processing 'G/GA/GAAS/Digest-HMAC-1.01.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
make: *** No rule to make target `/perl5/lib/5.10.0/os2/Config.pm', needed by `Makefile'. Stop.
  MARKOV/Mail-IMAPClient-3.12.tar.gz
  make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Tags:
Steps To Reproduce:
Additional Information: Forgetting the earlier warnings, the "No rule to make target `/perl5/lib/5.10.0/os2/Config.pm'" is persistent.

I have perl installed on J:, and the following in CONFIG.SYS:

SET PERL_PATH=j:/perl5/lib
SET PERLLIB_PREFIX=/perl5/lib;j:/perl5/lib
REM SET PERL_BADFREE=0
REM SET PERL_BADLANG=0
SET PERL_SH_DIR=j:/bin

(The remmed statements predate my installation of 5.10.0 and refer to my earlier 5.8.0 EMX installation, built by Henry.)

Am I missing something simple, perhaps? Then again, I see Shmuel's reference to the same issue here: http://fixunix.com/os2/557536-installing-perl-cpan-modules.html , so I'm thinking that there is something we have in common...

TIA
Attached Files:
Notes
(0001082)
psmedley   
2008-12-25 23:41   
i'll have to test installing from cpan - i normally just download the modules and install manually
(0001083)
LewisR   
2008-12-26 00:53   
I've managed to figure some of this out...

Evidently, Paul, there is still a need to edit the paths in Config_heavy.pl and Config.pm. I added "u:" to all of the paths, and after running in your build environment, cpan actually works. So, aside from needing the paths adjusted, there must be some conflicting versions of utilities (quick example: tar.exe shipped with eCS 2.0 RC6 and installed to \ecs\bin doesn't work quite right, as it refuses to recurse into bundled gzip archives).

Once I get this all sorted out, I'll post a follow-up.

I think it's more a matter of getting half the story in the error message instead of the whole thing (e.g., I had another module failing to build, but only a cryptic "unknown error"...the "unknown error" was revealed when running make -d, and it was the fact that we couldn't find gcc.exe!).
(0001971)
LewisR   
2011-09-05 15:02   
I wish I could remember when I post things like this. I've just spent two days trying to get this to work, and this would have given me a leg up (because I'm *almost* to the point where I left off in 2008). Still path issues. I even tried a clean Perl install on C:, as that's where /HOME/DEFAULT is located, and where .cpan lives. Figuring that there are still a number of POSIX paths (I even got - for free - an almost barren /perl5 skeleton created for me by default on C:), I started with a clean Perl on the same drive, and configured CPAN from scratch, not even allowing it to choose defaults, but taking pains to ensure that all paths were correct (I did not check the tar.exe issue I was seeing in 2008, though; I'll have to look again).
(0002061)
Buck   
2011-11-30 22:44   
There is a thread on comp.os.os2.ecomstation and copied in comp.os.os2.misc and comp.lang.perl.misc. Not sure if anything in it is helpful but possibly.
(0002086)
shmuel   
2011-12-30 14:56   
I don't know how much of this is actually necessary, but I got it to work, more or less with config.sys containing:

LIBPATH=.;Q:\PROGRAMS\RSJCD;Q:\PROGRAMS\NETSCAPE\PROGRAM;Q:\ECS\DLL;Q:\EMX\DLL;Q:\OS2\DLL;Q:\MPTN\DLL;Q:\TCPIP\DLL;Q:\IBMCOM\DLL;Q:\IBMGSK50\LIB;Q:\IBMGSK40\LIB;Q:\IBMGSK\LIB;Q:\OS2\MDOS;Q:\;Q:\OS2\APPS\DLL;Q:\ECS\SYSTEM\AMOUSE;Q:\PRTUTILS\MARKVIS;Q:
SET PATH=Q:\MPTN\BIN;Q:\ECS\BIN;Q:\TCPIP\BIN;Q:\IBMCOM;Q:\PROGRAMS\NETSCAPE\PROGRAM;Q:\EMX\BIN;Q:\IBMGSK50\BIN;Q:\IBMGSK40\BIN;Q:\IBMGSK\BIN;Q:\OS2;Q:\OS2\SYSTEM;Q:\OS2\MDOS\WINOS2;Q:\OS2\INSTALL;Q:\;Q:\OS2\MDOS;Q:\OS2\APPS;Q:\ECS\KLIBC\BIN;Q:\PROGRA
SET BOOKSHELF=Q:\OS2\BOOK;Q:\ecs\book;Q:\EMX\BOOK;Q:\TCPIP\HELP;Q:\MMOS2;Q:\PROGRAMS\4OS2;Q:\WATCOM\BINP\HELP;Q:\OS2TK45\book;G:\PERLLIB\BOOK;
SET MAKESHELL=Q:\PROGRAMS\PERL\bin\sh.exe
SET MANPATH=Q:/PROGRAMS/PERL/MAN
rem SET PERLLIB=Q:/PROGRAMS/PERL/LIB
SET PERLLIB_PREFIX=/PERL5/LIB;Q:/PROGRAMS/PERL/LIB
SET PERL_SH_DIR=Q:/PROGRAMS/PERL/BIN

kLIBC Pathrewriters containing:

/per Q:\PROGRAMS\PERL
/perl5 Q:\PROGRAMS\PERL
/bin U:\bin

q:\programs\perl\lib\5.10.0\os2\Config.pm containing

    archlibexp => 'Q:/PROGRAMS/PERL/lib/5.10.0/os2',
    libpth => 'U:/usr/lib U:/usr/lib/gcc-lib/i386-pc-os2-emx/3.3.5 u:/extras/lib u:/dev/qt/trunk/lib u:/openldap/lib u:/cups/lib',
    privlibexp => 'Q:/PROGRAMS/PERL/lib/5.10.0',
    scriptdir => 'Q:/PROGRAMS/PERL/bin',
    sitearchexp => 'Q:/PROGRAMS/PERL/lib/site_perl/5.10.0/os2',
    sitelibexp => 'Q:/PROGRAMS/PERL/lib/site_perl/5.10.0',

archlib='Q:/PROGRAMS/PERL/lib/5.10.0/os2'
archlibexp='Q:/PROGRAMS/PERL/lib/5.10.0/os2'
bin='Q:/PROGRAMS/PERL/bin'
binexp='Q:/PROGRAMS/PERL/bin'
config_arg1='-Dprefix=Q:/PROGRAMS/PERL'
config_args='-Dprefix=Q:/PROGRAMS/PERL'
initialinstalllocation='Q:/PROGRAMS/PERL/bin'
installarchlib='Q:/PROGRAMS/PERL/lib/5.10.0/os2'
installbin='Q:/PROGRAMS/PERL/bin'
installman1dir='Q:/PROGRAMS/PERL/man/man1'
installman3dir='Q:/PROGRAMS/PERL/man/man3'
installprefix='Q:/PROGRAMS/PERL'
installprefixexp='Q:/PROGRAMS/PERL'
installprivlib='Q:/PROGRAMS/PERL/lib/5.10.0'
installscript='Q:/PROGRAMS/PERL/bin'
installsitearch='Q:/PROGRAMS/PERL/lib/site_perl/5.10.0/os2'
installsitebin='Q:/PROGRAMS/PERL/bin'
installsitelib='Q:/PROGRAMS/PERL/lib/site_perl/5.10.0'
installsiteman1dir='Q:/PROGRAMS/PERL/man/man1'
installsiteman3dir='Q:/PROGRAMS/PERL/man/man3'
installsitescript='Q:/PROGRAMS/PERL/bin'
man1dir='Q:/PROGRAMS/PERL/man/man1'
man1direxp='Q:/PROGRAMS/PERL/man/man1'
man3dir='Q:/PROGRAMS/PERL/man/man3'
man3direxp='Q:/PROGRAMS/PERL/man/man3'
perlpath='Q:/PROGRAMS/PERL/bin/perl'
prefix='Q:/PROGRAMS/PERL'
prefixexp='Q:/PROGRAMS/PERL'
privlib='Q:/PROGRAMS/PERL/lib/5.10.0'
privlibexp='Q:/PROGRAMS/PERL/lib/5.10.0'
scriptdir='Q:/PROGRAMS/PERL/bin'
scriptdirexp='Q:/PROGRAMS/PERL/bin'
shrpenv='env LD_RUN_PATH=Q:/PROGRAMS/PERL/lib/5.10.0/os2/CORE'
sitearch='Q:/PROGRAMS/PERL/lib/site_perl/5.10.0/os2'
sitearchexp='Q:/PROGRAMS/PERL/lib/site_perl/5.10.0/os2'
sitebin='Q:/PROGRAMS/PERL/bin'
sitebinexp='Q:/PROGRAMS/PERL/bin'
sitelib='Q:/PROGRAMS/PERL/lib/site_perl/5.10.0'
sitelib_stem='Q:/PROGRAMS/PERL/lib/site_perl'
sitelibexp='Q:/PROGRAMS/PERL/lib/site_perl/5.10.0'
siteman1dir='Q:/PROGRAMS/PERL/man/man1'
siteman1direxp='Q:/PROGRAMS/PERL/man/man1'
siteman3dir='Q:/PROGRAMS/PERL/man/man3'
siteman3direxp='Q:/PROGRAMS/PERL/man/man3'
siteprefix='Q:/PROGRAMS/PERL'
siteprefixexp='Q:/PROGRAMS/PERL'
sitescript='Q:/PROGRAMS/PERL/bin'
sitescriptexp='Q:/PROGRAMS/PERL/bin'
startperl='#!Q:/PROGRAMS/PERL/bin/perl'

I still get warnings from makefile.pm, but the build seems to be correct.
(0002088)
psmedley   
2011-12-30 23:13   
perl is such a bastard when it comes to paths....
(0002092)
LewisR   
2011-12-31 03:55   
And that, my friend, is about the biggest understatement of 2011. :-)

Happy New Year!

Now to review those paths which Seymour has posted (thanks!) and see what I might need to adjust in my own setup to get things working.
(0002093)
Buck   
2011-12-31 03:59   
One thing I had missed earlier in this bug everytime I looked at it until today: the tar.exe you mentioned is probably because it is trying to use stdin... Tar 1.20 does not handle stdin but tar 1.10 does. I keep meaning to find out why 1.20 doesn't as it is a pain to switch back and forth depending on whether I need newer support or need stdin (I had one project I needed both so ended up kludging around the problem with some scripts because I couldn't find the stdin issue within tar.
(0002094)
psmedley   
2011-12-31 04:04   
Which reminds me that I want to update tar to the latest level anyway, so I should look at the stdin problem
(0002095)
psmedley   
2011-12-31 04:10   
Andy - do you have a simple example for the stdin problem?
(0002096)
Buck   
2011-12-31 04:22   
I'll have to see if I can come up with something simple... the only one I can think of off the top of my head was Sage
http://www.sagemath.org/
And now I don't remember if it was stdin/stdout/both. I have only seen it a few times outside of sage but sage uses it extensively. My thought was always that it didn't handle it as binary but I couldn't find where that would be in the code. Sage though is not all that simple and was the code I was trying to work around with the scripts but finally it became too much as just as I'd fix something the stupid sage build process would overwrite it.
(0002141)
psmedley   
2012-01-04 22:03   
A pre-release of Perl 5.14.2 is available from http://smedley.info/perl-5.14.2-os2-20120105.zip

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
486 [ISC DHCP Client] feature N/A 2011-09-04 00:49 2011-09-04 00:49
Reporter: Yoda Platform:  
Assigned To: crazybonz OS:  
Priority: normal OS Version:  
Status: assigned Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: New DHCP GUI monitor app
Description: We need a DHCP GUI monitor app, as exists for IBM DHCP client
Tags:
Steps To Reproduce:
Additional Information: Lets see what out developer for this can come up with :-)
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
480 [Apache 2.x ] Feature Request major have not tried 2011-07-22 10:12 2011-07-22 10:12
Reporter: Igor Vaskov Platform: OS/2  
Assigned To: OS: ECS  
Priority: normal OS Version: 2.0  
Status: new Product Version: v2.2.1  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Please compile mod_log_rotate
Description: mod_log_rotate is module for Apache 2.0 for rotate log files. This module do not required additional system process for rotate.
Source in attache.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: mod_log_rotate.c (15,252 bytes) 2011-07-22 10:12
https://mantis.smedley.id.au/file_download.php?file_id=205&type=bug
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
310 [ScummVM for OS/2 & eComStation] Bug major always 2009-01-26 19:12 2009-02-22 10:26
Reporter: Erdmann Platform:  
Assigned To: psmedley OS:  
Priority: normal OS Version:  
Status: feedback Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: ScummVM 0.12.0 does not play voices
Description: When I try to run DOTT, I hear the music but I don't hear any speech.
The console window tells me why:

WARNING: loadVOCFromStream: Invalid header !
WARNING: startSfxSound failed to load sound!

The very same game plays perfectly well under ScummVM for WinXP (with speech).
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
Notes
(0001105)
Erdmann   
2009-01-26 20:11   
Digging a bit further into it:
the trailer plays well, with all sound and voices. However the main game does not play voices. I have the CD-ROM version will full voices.
By the way: I have tried with and without
SET SDL_USE_TIMECRITICAL_AUDIO
but it makes no difference.
(0001107)
psmedley   
2009-01-27 02:52   
Looking at the error, I'd guess some kind of ascii vs binary issue - will try and have a quick look tonight
(0001147)
psmedley   
2009-02-21 05:28   
can you try with http://smedley.info/scummvm-0.13.0-os2.zip
(0001151)
Erdmann   
2009-02-22 10:21   
I tried scummvm 0.13.0. It gives the same error as 0.12.0.
Is it possible that it is some path issue and I have to start scummvm from a specific directory ? Currently I start it from the directory scummvm.exe is located in.
(0001152)
Erdmann   
2009-02-22 10:26   
Forgot to say: because I was too lazy to install SDL I am "resuing" the one that comes with Battle of Wesnoth (I am setting ENDLIBPATH to point to SDL12.dll in the wesnoth\bin directory).
Is that an issue ?

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
309 [Subversion for OS/2 & eCS] Bug major always 2009-01-25 07:30 2009-01-27 09:03
Reporter: Andi710 Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Not able to enable pre-revprop-change hook for svnserve
Description: I tried to make my repository accept revision propchanges. I adapted the template and tried both with a REXX script and a C program in the right directory of the repository. I always get an error that the repository is not enabled to take propchanges. Checkout, checkin, merge etc. all work perfectly fine.

This is running subversion 1.5.5 on eCS 1.2R using Turtoise SVN to check out and in some STATA (stats package) code and csv data files.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: pre-revprop-change.cmd (2,931 bytes) 2009-01-27 08:59
https://mantis.smedley.id.au/file_download.php?file_id=107&type=bug
pre-revprop-change.exe (32,256 bytes) 2009-01-27 08:59
https://mantis.smedley.id.au/file_download.php?file_id=108&type=bug
pre-revprop-change.c (413 bytes) 2009-01-27 08:59
https://mantis.smedley.id.au/file_download.php?file_id=109&type=bug
Notes
(0001108)
Andi710   
2009-01-27 09:03   
Copy the attached executable or REXX script into the 'hooks' subdirectory of your repository. This should enable property changes (for instance log entry edits). Does not do so here. I wonder if svnserve/2 actually tries to execute a pre-revprop-change executable/script.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
236 [Perl for OS/2] Bug major always 2008-01-30 16:00 2008-12-01 12:36
Reporter: ydario Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: perl 5.10.0 does not use PERLLIB_PREFIX, always uses /perl5
Description: it seems that the PERLLIB_PREFIX variable does not work always, I get many references to PERL_LIB in /perl5/lib.
The problem shows when additional modules are installed, using CPAN or manual install.

I will try changing u: references in config.heavy.pl as suggested in ticket 224.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
292 [Perl for OS/2] Bug minor always 2008-11-20 12:55 2008-12-01 12:33
Reporter: shmuel Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Miscellaneous warnings in Perl 5.10.0
Description: v-string in use/require non-portable at H:\UTILITY/unobfuscate.cmd line 33.

I couldn't find a non-deprectaed alternative to, e.g., use 5.8.2.

Subroutine Cwd::fast_abs_path redefined at F:/Perl/lib/5.10.0/os2/Cwd.pm line 195.

There should be a pragma to state that the redefine is deliberate.

Name "charnames::CARP_NOT" used only once: possible typo at F:/Perl/lib/5.10.0/C
arp/Heavy.pm line 304.
Name "main::CARP_NOT" used only once: possible typo at F:/Perl/lib/5.10.0/Carp/H
eavy.pm line 304.

There is a pragma but it seems to have local scope rather than global.

Tags:
Steps To Reproduce:
Additional Information:
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
293 [Perl for OS/2] Feature Request text always 2008-11-20 13:05 2008-12-01 12:32
Reporter: shmuel Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Document configuration files
Description: Document the Perl configuration process for OS/2, especially the files that may require manual editing, e.g., Config_heavy.pl. Include anything that requires changes from what is in the standard Perl documentation, e.g., explicit invocation of Perl where the camel assumes a working shebang.

There should be enough information to allow installtion of packages from CPAN after installing Perl to a nonstandard directory.
Tags:
Steps To Reproduce:
Additional Information: Note that Perldoc is broken in OS/2.
Attached Files:
There are no notes attached to this issue.

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
246 [Rsync] Bug major have not tried 2008-04-17 17:51 2008-09-13 22:58
Reporter: Steven Levine Platform:  
Assigned To: Steven Levine OS:  
Priority: normal OS Version:  
Status: feedback Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: rsync 3.0.x no longer understands localhost
Description: rsync 2.9.x handled

  hosts allow = localhost

properly. Something changed in the 3.0 codebase and 127.0.0.1 now resolves to the default UNKNOWN, rather than localhost.

I've not researched this in detail, but there are no apparent changes in clientname.c that might cause this.
Tags:
Steps To Reproduce:
Additional Information:
Attached Files: 3.0.3pre2-shl.diff (8,598 bytes) 2008-06-25 22:07
https://mantis.smedley.id.au/file_download.php?file_id=89&type=bug
Notes
(0000853)
psmedley   
2008-05-05 09:46   
Yep - agree - very strange - no changes to client_name() which is where one would expect the problem to be
(0000899)
Steven Levine   
2008-06-25 22:11   
Oops. This patch was intended for 0000245. It does nothing to resolve this ticket.
(0000921)
Steven Levine   
2008-07-29 22:53   
The reason this occurs is because we are building with the getnameinfo supplied by rsync. This does not support reverse lookups. Did you use the libc getnameinfo in your older builds or was there some other change in the rsync codebase?

The workaround is to allow 127.0.0.1 to connect.
(0000965)
psmedley   
2008-09-13 22:58   
Should be fixed in 3.0.4 (Patch provided by Steven)

View Issue Details
ID: Category: Severity: Reproducibility: Date Submitted: Last Update:
93 [Subversion for OS/2 & eCS] minor always 2006-09-30 16:56 2007-03-09 06:50
Reporter: brendan Platform:  
Assigned To: OS:  
Priority: normal OS Version:  
Status: new Product Version:  
Product Build: Resolution: open  
Projection: none      
ETA: none Fixed in Version:  
    Target Version:  
Summary: Output of 'svn diff' on LF-only files lacks CR
Description: Check out a file in UNIX format.
Edit it.
Run 'svn diff'
Output is hard to read because newlines don't contain CR:

#svn diff
Index: unixfile.txt
===================
--- unixfile.txt (revision 2)
+++ unixfile.txt (working copy)
@@ -1,4 +1,4 @@
 This is a test file for Subversion

                                   -This line contains the text to be modified.

+This line contains the text which is modified.
                                                
\ No newline at end of file
Tags:
Steps To Reproduce:
Additional Information: I did not see this problem in the previous version.
Attached Files: diff_sample.zip (2,294 bytes) 2007-03-09 04:34
https://mantis.smedley.id.au/file_download.php?file_id=47&type=bug
Notes
(0000542)
Steven Levine   
2007-02-28 02:08   
Just a note to say this issue still exists in 1.4.3.
(0000549)
Steven Levine   
2007-03-09 04:41   
Hi,

I've done some analysis of this issue. Best I can tell the subversion code is OK. It uses APR_EOL to ensure that the correct EOL markers are used. This means that the diff headers have the correct EOL markers. The source code lines are what have incorrect EOL markers. This is probably because these lines are output by lower level stream output functions in the APR runtime that do not honore APR_EOL.

I'll add some more to this note when I track down the code that is actually ouputting the unified diff source lines.
(0000550)
Steven Levine   
2007-03-09 06:50   
At bit more hunting makes me suspect that svn_subst_translation_required() in
subversion\libsvn_subr\subst.c might be a possible culprit. The working copies have CR/NL EOLs while the text_base copies have unix style NL EOLs.

It's also possible that the translation happens for the diff phase, but is neglected for the output phase. This would occur if the file images used for the diff phase is discarded after it is tokenized. If so, the would need to be retrieved again when to differences are output.