× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 7/3/24 12:43 PM, Scott Klement wrote:
If you want me to look into it, I need some way to reproduce the problem on my own machine -- this is important, because it gives me a place to do deep debugging. Do you have a code sample that I can run that will do that?

I think I'll hold off on setting up that sort of thing, at least this week, since you'd need to have a Google Geocoding API key, and you might also need a V6 box with identical PTF installation status, and this particular nonstandard version of HTTPAPI.

***

Since my last email on the subject, I was able to account for the difference in the length of the debugging trace.

The first time I call my application, I get 208 lines, starting with this:

HTTPAPI Ver 1.24 released 2012-01-23
OS/400 Ver V6R1M0

New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_persist_open(): entered

. . . and ending with what I reported for successful calls in my previous post.


The second time I call my application, I get 207 lines. The "New iconv() objects set, PostRem=819." line is not present, but the "successful" ending is.

The third time, I get the same 202 lines as before, no "New iconv()" line near the top, and ending at the "recvdoc parms" line.

If I do it a fourth time, it's back to the 208-line version.

*****

While I was doing this, I had the debugger active, and when the exception was thrown, the debugger jumped to the source of the HTTPUTILR4 module, with an unmonitored exception, giving me:

D xdealloc PI
D ptr *
/if defined(TERASPACE)
/else
C dealloc ptr
/endif
C eval ptr = *null
P E

Looking at the job's call stack from another terminal session, I see:

Program GEOLOOKUP:
_QRNP_PEP_GEOLOOKUP
3505 GEOLOOKUP
3636 GEOCODE
Service Program HTTPAPIR4:
5712 HTTP_URL_GET_RAW
6403 HTTP_PERSIST_GET
6719 HTTP_PERSIST_REQ
4179 DO_OPER
6916 PARSE_RESP_CHAIN
3738 HEADER_PARSE
3807 HEADER_CLEAN
4120 XDEALLOC

Does any of this tell us anything we don't already know?

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.