× 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: Jason Bechtel <jason@xxxxxxxxxxx>
  • Date: Tue, 17 Apr 2001 14:27:19 -0400
  • Organization: Unique Systems, Inc.

The client is paranoid about security and we do not administrate their
security.  It would be difficult to get you access to the system.  And I
would trust you with shell access, but they might not...

Jason


Michael Madore wrote:
> 
> Hi,
> 
> Unfortunately, I am without AS/400 access these days.  If someone was able
> to give me access to a machine, I could investigate this.  Provided I get
> access to a machine, I would need step by step instructions to reproduce the
> bug.

> On Tue, Apr 17, 2001 at 08:31:25AM -0400, Jason Bechtel wrote:
> > Hi all,
> >
> > A client of mine using the xt5250 and tn5250 applications compiled from
> > source (version 0.15.6) has encountered a reproduceable crash with core
> > dump.  From their informal observation, it appears that the problem
> > occurs when they are three "screens" deep (you know, those little AS400
> > ASCII "windows").  Here is the message that appears when tn5250 is run
> > out of a terminal:
> >
> >       Assertion tn5250_attribute (attr) failed at wtd.c, line 329.  A
> >       borted (core dumped)
> >
> > Sure enough, that part of the code looks to be an assertion:
> >
> >     298 /****i* lib5250/tn5250_wtd_context_write_field
> >     299  * NAME
> >     300  *    tn5250_wtd_context_write_field
> >     301  * SYNOPSIS
> >     302  *    tn5250_wtd_context_write_field (This, field, attr);
> >     303  * INPUTS
> >     304  *    Tn5250WTDContext *   This       -
> >     305  *    Tn5250Field *        field      -
> >     306  *    unsigned char        attr       -
> >     307  * DESCRIPTION
> >     308  *    Write the SF order and the field's information.
> >     309  *****/
> >     310 static void tn5250_wtd_context_write_field (Tn5250WTDContext
> > *This, Tn5250Field *field, unsigned char attr)
> >     311 {
> >     312    TN5250_LOG (("Writing SF order in stream data.\n"));
> >     313
> >     314    tn5250_wtd_context_putc (This, SF);
> >     315
> >     316    /* Put the field format word. */
> >     317    if (field->FFW != 0) {
> >     318       tn5250_wtd_context_putc (This, (unsigned char)(field->FFW
> > >> 8));
> >     319       tn5250_wtd_context_putc (This, (unsigned char)(field->FFW
> > & 0x00ff));
> >     320
> >     321       /* Put the field control word(s). */
> >     322       if (field->FCW != 0) {
> >     323          tn5250_wtd_context_putc (This, (unsigned
> > char)(field->FCW >> 8));
> >     324          tn5250_wtd_context_putc (This, (unsigned
> > char)(field->FCW & 0x00ff));
> >     325       }
> >     326    }
> >     327
> >     328    /* Put the screen attribute. */
> > *-> 329    TN5250_ASSERT (tn5250_attribute (attr));
> >     330    tn5250_wtd_context_putc (This, attr);
> >     331
> >     332    /* Put the field length. */
> >     333    tn5250_wtd_context_putc (This, (unsigned char)(field->length
> > >> 8));
> >     334    tn5250_wtd_context_putc (This, (unsigned char)(field->length
> > & 0x00ff));
> >     335 }
> >
> >
> > Anyone have any ideas what might be causing this error?  Has this
> > already been found and solved (new to the list)?  How difficult would
> > this be to debug?

-- 
  __________________________________  __________________________
 /         Jason Bechtel            \/  Phone:  (419) 861-3331  \
/       Unique Systems, Inc.         \    FAX:  (419) 861-3340   \
) 6920 Spring Valley Drive, Ste. 106 (                           (
\        Holland, OH 43528           / mailto:jason@uniqsys.com  /
 \__________________________________/\__________________________/
+---
| 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.