|
I did a little investigating. I applied the server patches to 0.15.7 (which is what they were written for) and everything works fine on UnixWare 7. I did find that the there are at least a couple of instances where the configuration object field is not getting initialized to NULL. Obviously this is OK on Linux, but on UnixWare the operating system apparently doesn't take care of this for you. I'm going to give fixing it a shot, but I'm not totally sure what some of the configuration code is supposed to do. Mike On Tue, 16 May 2000, Scott Klement wrote: > > Okay, I did a "rm -rf tn5250/" and checked out the whole thing from > scratch. I'm still having the same problem. > > It says that This->ref is in an invalid area of memory. > > I'm running this on FreeBSD. One of the issues that we've run into on > this project in the past is that Linux will often initialize things to > zero or null, and FreeBSD assumes that you'll do the initializing. > > If I have a chance, I'll try this on Linux, and see if it works... > > I guess, the problem doesn't necessarily have to be a result of the > server changes that you added to CVS, it may be a result of another > change that went into CVS... I hadn't updated in two or three days prior > to trying this out. > > But either way, I'd really like to see it be fixed :) (Since I can't > currently run it at all) > > > > On Tue, 16 May 2000, Mike Madore wrote: > > > Hmmm. I didn't touch conf.c. Could you try doing a fresh checkout and > > see if it still crashes. It seems to run fine for me. > > > > Mike > > > > On Tue, 16 May 2000, Scott Klement wrote: > > > > > > > > After doing an update from CVS, the emulator fails to run for me. > > > I immediately get a "Segmentation Fault". > > > > > > The line that it crashes on is in conf.c: > > > > > > > > > void tn5250_config_unref (Tn5250Config *This) > > > { > > > if (-- This->ref == 0) { <---- This line ------ > > > Tn5250ConfigStr *iter, *next; > > > > > > /* Destroy all vars. */ > > > if ((iter = This->vars) != NULL) { > > > > > > Most likely, something isn't being initialized to NULL or a pointer isnt > > > getting memory allocated to it, but I don't know what at this point. > > > > > > PLEASE HELP! :) > > > > > > On Mon, 15 May 2000, Mike Madore wrote: > > > > > > > Hi, > > > > > > > > I have applied Greg Swenson's (swenson@cross-works.com) 5250 server > > > > patches that lay some groundwork for providing 5250 server functionality > > > > on Linux. My initial testing indicate that the patch hasn't broken > > > > anything, but if people could try out what's in CVS and see if >everything > > > > still works for them, that would be great. The patch doesn't provide >any > > > > user visible changes. So, who wants to write a 5250 shell? ;-) > > > > > > > > Mike > > > > > > +--- > | 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 > +--- > +--- | 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 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.