Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8894309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:27:50+00:00 2026-06-14T23:27:50+00:00

I am reading through Informix 4GL By Example. Ex4 is giving a segmentation fault

  • 0

I am reading through Informix 4GL By Example. Ex4 is giving a segmentation fault so I am attempting to use the debugger to find out where the program is failing, but the debugger is not working.

From within r4gl, I can compile forms and modules. But when I debug it shows a blank screen with
“Press Return to continue”.

From the command line fgldb returns the following error:

fgldb: symbol lookup error: fgldb: undefined symbol: kw__numkws

DB is up and running, I can isql in and run queries.

System details:

  • OpenSuSE 12.1 32 bit
  • Informix RDS 7.50 UC6
  • Informix SQL DEV 7.50 UC6
  • Informix Growth Edition 11.70 UC5
  • Informix Interactive Debugger 7.50 UC6

I have searched the net, but have not found anything helpful. Any idea what’s wrong?

UPDATE 1:

Thank you again for the assistance. I will be trying to install in a seperate directory and let you know. This is probably blonde but how do I install in a different directory. If I attempt to I get errors:

“INFORMIXDIR and working directory do not match.”
“INFORMIXDIR = /usr/informix”
“Current working directory = /usr/informix/i4gl”

Can I edit $INFORMIXDIR to match where I want to install?

Many thanks,

Neill

UPDATE 2:

OK, so I got them both installed in /usr/informix/i4gl.

Set variables to point to that directory, not sure exactly which ones need to though because I still receive errors.

  1. fgldb: -16326: Cannot open file ‘fgldb.iem’

The /usr/informix/i4gl does contain a directory msg/en_us/0333, but that file does not exist there, while /usr/informix/msg/en_us/0333 does include the fgldb.iem file.

  1. isql -> Query Language: Says SELECT DATABASE, but none or shown for me to select.

Kind regards

Neill

UPDATE 3:

OK, my blonde momnets are getting crazy now, but after installing into /usr/informix/i4gl, I never changed back the $INFORMIXDIR variable. I did this and then stopped and started the DB.

Now when trying to compile the demo f_custkey.per (using stores_demo db as before) form, I get errors -329 and -2810, which are to do with the database not found.

I am not sure if this is what you were talking about in your last statement. I am unsure if splitting these two into seperate directories has solved my debugger issue because now I can’t compile anything, but I sense I am getting close.

Kind regards,

Neill

UPDATE 4 – Final!

OK, so it is working now.

Ran the dbaccessdemo7 command again to recreate the database and all is well in the land of nod.

Compiling and debugging ex4 now works.

Thank you so much for all the information. Learning as I go.

Kind regards

Neill

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T23:27:52+00:00Added an answer on June 14, 2026 at 11:27 pm

    The core dump/crash that you’re hitting is an unfortunate bug that we found out about earlier this week. The ESQL/C code is fixed (as of today), but the fixed releases are not yet available, and won’t be for a while (read ‘until after Thanksgiving at the earliest’). The I4GL and ISQL code still has to be fixed (some separate, but closely related problems).

    What’s happened is that a structure changed size in the CSDK. I4GL will be compiling the code with the one size and the CSDK libraries are expecting another size; the difference is about 4 bytes.
    This leads to hard to track memory overwriting.

    The kw__numkws issue is an older problem that I thought was fixed in 7.50.UC6. I’ll have to check whether that release did get the fix, and if so, how you are seeing that error still.

    There are a couple of short-term options that should get you going until a fixed ensemble is available:

    1. Reinstall I4GL (and ISQL) in the server directory. I’ve not proved that this will work. The concept is to make sure I4GL is using the CSDK libraries it was built with, rather than the updated 3.70.xC6 version.

    2. Reinstall I4GL (and ISQL) in a separate directory (/opt/IBM/i4gl, perhaps). Have a suitable sqlhosts file in this directory; it might be a symlink to the one in the IDS directory. Point the I4GL programs at this alternative directory, setting LD_LIBRARY_PATH appropriately.

    Option 2 ensures that I4GL is using the ‘correct’ CSDK. Option 1 may achieve the same result, but I’m not ready to guarantee it. Consequently, I suggest option 2.

    If your I4GL code needs to run DB-Access or other programs found in the server $INFORMIXDIR, there are ways to deal with that — indicate in a comment and I’ll explain, but I’d rather not confound you if there’s no need. (It’s not dreadfully hard, but it isn’t completely trivial either.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When reading through this Async Sockets example , I find this code: // Get
Was reading through some text and playing around with attempting to write past the
I've been reading through a few asp.net articles, and attempting some code, but I
Reading through some code, I came across the use of !0 and !1 .
Reading through the pthread tutorial from LLNL I hit the following example code /******************************************************************************
While reading through countless answers on here I can't seem to find one that
Reading through the doc for Boost.Log, it explains how to fan out into multiple
I'm reading through some MSDN example code on Composite controls and finding that there
Reading through the Clojure docs and I'm confused by one example of the reduce
After reading through several Q/A, I still can't find a suitable answer for my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.