× 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.


  • Subject: Re: Deep bug
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Wed, 18 Apr 2001 11:34:43 -0500 (CDT)



On Tue, 17 Apr 2001, Jason Bechtel wrote:

> 0.16.1 has the same problem.  :(
> 

Hmmm... I'm looking at the code that you said was causing the assert in
version 0.16.1.   This is what I see (in tn5250_wtd_context_write_field,
around line #360):

      /* Put the field control word(s). */
      if (field->FCW != 0) {
         tn5250_wtd_context_putc (This, (unsigned char)(field->FCW >> 8));
         tn5250_wtd_context_putc (This, (unsigned char)(field->FCW & 0x00ff));
      }
   }  

   /* Put the screen attribute. */
   /* FIXME: Re-enable assert: TN5250_ASSERT (tn5250_attribute (attr)); */
   tn5250_wtd_context_putc (This, attr);


You'll note that the assert that's failing is commented out.   How could
that assertion fail if the assert is commented out?!

Does your copy of 0.16.1 have that assert commented out?  Maybe we're not
looking at the same code...


> > > application that my client is using.  I've counted and it takes about 68
> > > keystrokes to ge the point in the application where the emulator
> > > crashes.
> > 
> > Hmmm... this makes it more difficult for me to try to come up with a fix.
> > A tracefile might help, but I'm not familiar with them. :(
> 
> How do I generate a tracefile?

tn5250 trace=/path/to/somefile.txt . . .

Beware!  The tracefile will contain everything that happens in your tn5250
session, and therefore will contain your password.  I'd recommend creating
a "test" account to reproduce the problem with, create the tracefile,
then delete the test account.

> > If the problem persists after upgrading tn5250, maybe I'll take a look at
> > that... or give Mike access to my AS/400 to see if he can figure it out :)
> 
> That would be nice...  :)
> 

I can do that, but without knowing how to reproduce the problem, it 
wouldn't help. :)


+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.