Opened 7 years ago
Closed 6 years ago
#176 closed task (invalid)
Calling CUPS API from REXX DLL causes exception in GCC1 (stack overflow?)
Reported by: | ataylor | Owned by: | |
---|---|---|---|
Priority: | Feedback pending | Milestone: | |
Component: | cups | Version: | |
Severity: | medium | Keywords: | |
Cc: |
Description
Opening this ticket to track the issue.
I've started working on a REXX-callable interface to CUPS (rexxcups, currently hosted in ecups/trunk/rexxlib).
Calling a simple function (CupsGetQueues) which works fine in a standalone test exe causes an exception when called via REXX.
12-06-2017 14:39:10 SYS3175 PID 099a TID 0001 Slot 007e C:\OS2\CMD.EXE c0000005 1e8c00e3 P1=00000002 P2=0016fff0 P3=XXXXXXXX P4=XXXXXXXX EAX=0000304c EBX=004e6aa0 ECX=0016fff0 EDX=00000008 ESI=004e39c0 EDI=00000003 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:1e8c00e3 CSACC=d0df CSLIM=5fffffff SS:ESP=006b:00175fe4 SSACC=d0f3 SSLIM=5fffffff EBP=00175ffc FLG=00010206 GCC1.DLL 0001:000000e3
This may be a result of running out of stack space.
The same general error occurs when building with gcc 4.5.2 or 4.9.2, or linking against cups.dll (RPM) or cups20.dll (Paul).
One possible approach may be to start a new thread (with a large stack) when calling any CUPS function?
Change History (2)
comment:1 by , 6 years ago
Priority: | major → Feedback pending |
---|
comment:2 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
hmm no feedback since several weeks. So I close it. Please reopen with new informations if there are some.
hmm does this really belong to ports section? Isn't this a pure REXX dll issue? And btw cups tickets belong to our github issue tracker, as cups was moved to there.