Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Steven Levine

Pages: [1] 2
Applications / Re: General Software Testing
« on: May 22, 2024, 06:10:29 pm »
This appears to be an older version of the IBM supplied migration tool (\os2\install\migrate.exe).

General Discussion / Re: smp.inf - Adendum
« on: May 09, 2024, 03:42:05 am »
To keep this interesting, there is a 3rd version of the November, 1996 smp.inf.  This one adds the definition for the CVK_CMD_SCANPCB packet command.

Programming / Re: ClassiCube porting thread
« on: May 06, 2024, 02:30:18 am »
Exception codes are documented in the OS/2 Debugging Handbook (sg244640.inf) and the Control Program Guide and Reference (GPG&R)

Both annotate the value differently.  Given c0000005, you need to search for 0c0000005h in the Debugging Handbook and for 0xc0000005 in the CPG&R.

As Dave noted, you need to expand the per thread stack for TID 0xa.  You can use LIBC_THREAD_MIN_STACK_SIZE to set the minimum at runtime or, assuming that ClassiCube is using pthreads, you can adjust the compile time values by modifying the code that eventually invokes pthread_attr_setstacksize()

Note that while you can get stack overflow if the stack is too small, you can also get stack overflow if the code recurses unexpectedly.  A popuplog is typically not going to tell why the stack overflow happened.  This requires an exceptq report or a process dump file.

BTW, are your sources available anywhere?

Programming / Re: ClassiCube porting thread
« on: May 05, 2024, 03:17:28 am »
This looks like stack overflow in a secondary thread (TID 0xa).  If possible, try rebuilding with larger thread stacks.


Hardware / Re: OpenWatcom Discussion
« on: February 02, 2024, 02:37:21 am »
When talking about repositories, current is a subjective term.  The same is true for which is best.

The OpenWatcom repository Gregg and I maintain was intended as a placeholder until Michal got back up an running.  The lack of an issues tracker was an oversight, which has been corrected. Silvan is the first to mention it.

Gregg and I had commits that needed to be made, so the repo came to be.

The repository is a fork of Jiri Malak's, which is about 3 years old.
Jiri's owp4v1copy was current as of when the Perforce repository went away.

Jiri's owp4v1copy is significantly newer than iainnicol's.

Jiri's OpenWatcom repositories have been around for a while.  He created them back in 2012.

Networking / Re: Samba Users and Groups
« on: January 16, 2024, 05:45:16 pm »
Sorry if I ruffled any feathers.

For those that might be curious, assuming you are running an updated system, there is


and for libc, there is


I will return to my cave.

Networking / Re: Samba Users and Groups
« on: January 15, 2024, 09:53:39 am »
I generally ignore exceptq reports generated without proper symbolics.  The exceptq documentation explains clearly what is required.

Also, by now it should be well known that when libcx0 traps it's common sense to look in %UNIXROOT/var/log/libcx in
case a libcx log was generated.

However, this libcx trap location is well known and the exceptq report happened to include a somewhat readable version of part of the log:

 0062F160 : 1E061F79 00000085 1E0625FC 1E061F8C : y........%......
 0062F170 : 0062F1CD 1E061F8C 00000000 0062F1EC : ..b...........b.
 0062F180 : 30303030 33616664 20313020 74727341 : 0000dfa3 01 Asrt
 0062F190 : 72777020 2E657469 33313A63 72703A33 :  pwrite.c:133:pr
 0062F1A0 : 5F646165 69727770 203A6574 65737341 : ead_pwrite: Asse
 0062F1B0 : 6F697472 6166206E 64656C69 7261203A : rtion failed: ar
 0062F1C0 : 3D3D2063 5F4F4E20 4F525245 36282052 : c == NO_ERROR (6
 0062F1D0 : 3D0A0A29 3D3D3D3D 42494C20 72207843 : )..===== LIBCx r

For some, as yet unknown reason, the mutex that serializes pread/pwrite operations has gone bad.

This smbpasswd.exe is a tad antique.  I recommend replacing it with one of Paul's new builds and see if this is sufficient to make the exception go away.

Applications / Re: ArcaOS 5.1 - First Impressions
« on: January 04, 2024, 02:45:15 am »
I cannot replicate Lars' failure mode either.

If you want to use top to monitor threads, there is an easier way.

Use the Display menu to select Process Details so the thread count is always visible.  Use the Sort menu to sort by Name so that the process list does not change so much.  You might want to increase the refresh rate with Options ->
Refresh Rate.

Lars, when you say many, how many is many?  I tested with a folder containing 3000+ files.

Programming / Re: Git push to Github issue.
« on: December 29, 2023, 09:17:05 am »
403 means you probably still have an authentication issue.  I would suspect a push URL issue.  The rules have changed over the years.  For example, the git: scheme is no longer allowed.  The same is true for plain http:.

Check the push URL defined in the repo's config file (i.e.  .git\config)

These days, I usually use something like:

  url =

There's rarely a need for a specific pushurl.

Can you push to any repo?

A git push --dry-run to your repo fails here as expected.  I have a known good token, but no permission to push to the repo.

FWIW, I maintain a sandbox repo for working out these kinds of issues.  I can tune the access permissions without messing with the production repos.

Utilities / Re: LinearMemoryMap.cmd => new version produces an error...why?
« on: December 24, 2023, 06:44:46 pm »
Dariuz, I don't think you are running the current version of LinearMemoryMap.cmd.  The if statement is not at line 190 in recent versions.

That said, you have discovered a defect.  There is a code path that does not  define dir before it is used.  A fix should be uploaded to soon.

Programming / Re: Git push to Github issue.
« on: December 24, 2023, 06:22:48 pm »
Martin, I guess it's been a while since you last pushed.  Tokens have been required for pushes for quite a while.

Your access control settings seem reasonable.  I'll have to check what I use.

The token is associated with the user id.  If you login as os2world, you need token for os2world. 
If you login as MartinI, you need a token for MartinI

There's no need to copy/paste tokens.  Use a credential helper

In %HOME\.gitconfig add:


; helper = cache
helper = store
; helper = store --file d:/home/.git-credentials

Then create %HOME\.git-credentials

and insert the URL:

8.4p1 is from netlabs experimental.  You need to install more debug symbols if you actually want to debug this.  You also need to update exceptq to

A quick look at the somewhat limited exceptq report implies a double free:

 001BEB28  1DBE8E3D   LIBCN0    0001:000A8E3D  ifree.c#129 __um_free_maybe_lock + 269 0001:000A8BD4 (ifree.obj)

corresponds to

  if (_UM_HDR_STATUS (hdr) == _UMS_FREE)
      _um_abort ("_um_free_maybe_lock: Tried to free block twice - block=%p lock=%d\n",
                 block, lock);

It's also possible the something corrupted the heap, but we won't know until someone spends some quality time with the debugger.

Hi Andy,

ArcaOS sets TERM=os2 in config.sys to match what some of the ported apps expect and there is a corresponding /usr/share/terminfo/6f/os2.

What you need to do is override TERM after the ssh login.  It's been a while, but I typically used TERM=vt100 from the *ix command line after logging in.

FWIW, your old version is probably from Hobbes.

Programming / Re: Installing Prominaire Designer
« on: April 29, 2021, 09:49:09 pm »
If I had this problem, I would install vfdisk and copy files to the vfdisk and install from there.  This would allow you mix and match files until you get the files onto the correct correct diskette.  I suspect if I had the set of files you are working with, I could find the control files for the installer which would speed up the process.

Pages: [1] 2