Reply
Visitor
Palm Z22
vamoslon
Posts: 2
Registered: 05-03-2007
0

StringMgr.c, Line:367

Hi everybody, I´m new here and sorry if somebody already tried this subject, but I´ve been surfing the net for several weeks trying to find a reason why the "Fatal error StringMgr.c, Line:367, string too long(>64k) appears in my Z22 (in an NSBasic application I´ve made).
It seems nobody really knows why is it.
I checked the program code and I first thought it was a problem of too long Sub procedures, so I splited them into Modules, but the error goes on and on.
Does anybody here found an explanation about this error ?
For more information, I´ve got 6 Z22, and the error appears in every one of them in the same form of the program.

Thanks in advance.



Post relates to: Palm Z22

Visitor
Palm Z22
vamoslon
Posts: 2
Registered: 05-03-2007
0

Re: StringMgr.c, Line:367

So..., I guess nobody here knows about it.
Thanks anyway.
Super Contributor
Treo 680 (Unlocked GSM)
Posts: 2,234
Registered: 01-11-2007
0

Re: StringMgr.c, Line:367

Not knowing NSBasic but having a programmer background AND seeing you have this on 5 other devices I'd say you have a bug in your program which results in a string becoming too long.
Simple as that.
Since you say it always occurs in the same form, try not to print the strings but instead the lengths of those same strings and maybe you will be able to figure out how it overruns that 64K limit.
---------------------------------------
Digital since 1980, handheld since 2001: M105 - T|E - T3.5 - Treo680 and Treo 500v
Happy DateBk6 user | BrightHand moderator: http://forum.brighthand.com/
Newbie
Tungsten E2
GreatAstronomer
Posts: 3
Registered: 05-08-2008
0

Re: StringMgr.c, Line:367

Hi,

I've had the same problem except that I use a Palm Tungsten E2.  Strangely, I was glad to know I'm not the only one who has struggled with this, as I was beginning to think I was crazy :smileysurprised: 

 

Did you ever find a solution?

Thanks,

JM 


Post relates to: Tungsten E2

Visitor
Tungsten E2
Dreamdweller
Posts: 5
Registered: 07-23-2008
0

Re: StringMgr.c, Line:367

Well I guess I'll put in my 2 cents too. I ALSO am using a Tungsten E2. I have NO IDEA what changed, but I have been using my Palm for over 3 months and now all of a sudden I am getting that error message too; the same one that we are talking about here. I have NOT used any kind of IR, Bluetooth, ANY THING. I added more files to it. But these files are the same kind I have been adding for months. I never had a problem before and now I get this nonsence.

 

I do notice one thing. I ONLY get this error message when I use the Quick Unlock (the directional pad). If I go into the security and turn off the AUTO LOCK then the error message doesn't show up again. Again.....I have used this before dozens of times. I never had a problem before. It only happened just recently. Is there anyone who knows what is going on?


Post relates to: Tungsten E2

Newbie
Tungsten E2
GreatAstronomer
Posts: 3
Registered: 05-08-2008
0

Re: StringMgr.c, Line:367

Although I haven't had a lot of time to tinker with this issue, what I have realized is that I made some changes a while back in the structure of the files, but never finished up.  I added some extra columns to one of the "tables" (files), and initiated this new structure by having a routine rewrite the table with the new columns, filling the new columns with nothing (just to serve as place holders), but in fact having the new columns there.  The problem is that I never got around to changing the part that reads the table (file), so I've left myself in limbo.  What I theorize is going on, at least in my case, is that when I fire up the program in question, it reads in the new columns as part of the last column (ORIGINAL last column), and once in a while it reads in way too much data for the one column - just a guess though.  Most of the time I don't have the problem, but once in a while it does have this nasty problem and is stubborn in workign correctly again.  I still don't know what makes the problem stop occuring, but after a dozen or more tries, it just begins to work right.  Anyway, it seems like I did put some valid data in the new columns in one or two rows as a test, and I think maybe that whenever it I start the program, and the last record viewed was one of those test rows, it then bombs.  Well, that's all I can think of, but like I said, I haven't had a lot of time to analyze it, although I will soon.

 

Thanks for the clue about the Quick Unlock thing.  I've been using that feature for several months now, but the program in question still works correctly most of the time.  If it bombs again with this PITA problem, I'll deactivate the quick lock and try it again, and let you know what I find.  In reference to your question "Is there anyone who knows what is going on?", I would think only the NSB people know, but they're sure not interested in helping, and hence the reason I haven't upgraded since.  Because of this, I'm hoping another vendor comes along with a similar product :smileyhappy:

 


Post relates to: Tungsten E2

Visitor
Tungsten E2
Dreamdweller
Posts: 5
Registered: 07-23-2008

Re: StringMgr.c, Line:367

Hello everyone. I wanted to post a little thing here to tell people that I finally found something that works for ME. I don't know if it will work for everyone else........it probably won't. Anyhow here goes:

 

I have had that strange error message come up on my palm for a while now. After a lot of messing around I finally got rid of it. The problem was in the security settings. I'll tell step by step what I had and what I did to fix it.

 

I went into "Prefs". Then under "General" I clicked on Security Now on my device I have Password assigned, Quick Unlock assigned, and on mine I have Auto Lock set to "On power off". Here is where the error message was started and erased.....

At the bottom it has on mine: Done, Lock, Options, Help. I originally had it where if I click on "Options" and at the top I clicked on "Encrypt data when locked." I also had the Encryption type on AES (FIPS). To fix mine.....I unchecked the "Encrypt data when locked" and changed the Encryption type to RC4 instead of AES (FIPS).

 

Now I don't know if this will effect anyone elses problem. I'm sure some of you out there might not have any of this checked or not. But if you do try doing what I did and see if this helps or not. I am still able to keep my other security settings on. It was just the encryption settings that I had to change. Let me know if this helps anyone out there having this error.

 

Sincerely,

 

Bryan


Post relates to: Tungsten E2

Newbie
Tungsten E2
2350Sgastss
Posts: 1
Registered: 05-02-2011
0

Re: StringMgr.c, Line:367

 


Dreamdweller wrote:

Hello everyone. I wanted to post a little thing here to tell people that I finally found something that works for ME. I don't know if it will work for everyone else........it probably won't. Anyhow here goes:

 

I have had that strange error message come up on my palm for a while now. After a lot of messing around I finally got rid of it. The problem was in the security settings. I'll tell step by step what I had and what I did to fix it.

 

I went into "Prefs". Then under "General" I clicked on Security Now on my device I have Password assigned, Quick Unlock assigned, and on mine I have Auto Lock set to "On power off". Here is where the error message was started and erased.....

At the bottom it has on mine: Done, Lock, Options, Help. I originally had it where if I click on "Options" and at the top I clicked on "Encrypt data when locked." I also had the Encryption type on AES (FIPS). To fix mine.....I unchecked the "Encrypt data when locked" and changed the Encryption type to RC4 instead of AES (FIPS).

 

Now I don't know if this will effect anyone elses problem. I'm sure some of you out there might not have any of this checked or not. But if you do try doing what I did and see if this helps or not. I am still able to keep my other security settings on. It was just the encryption settings that I had to change. Let me know if this helps anyone out there having this error.

 

Sincerely,

 

Bryan


Post relates to: Tungsten E2


This worked for me! Thank you very much for sharing Bryan / Dreamdweller! It's a big help! :smileyvery-happy: Thank you and God bless you and your family!