IBM Support

IT42285: AF GENERATED WHEN USING GROUP BY FOR SELECT QUERY WITH GENBSON FUNCTION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • An assert failure is generated when running select query with
    genbson function using GROUP BY.
    
    select genbson(row(customer_num, count (*)))::JSON from orders
    GROUP BY 1;
    This select statement can be run against dbaccessdemo.
    
    
    The stack is as follows:
    14:37:50  Assert Failed: No Exception Handler
    14:37:51   Who: Session(5984, informix@server, 0, 1138eca28)
                    Thread(6063, sqlexec, 1138c5f28, 1)
                    File: mtex.c Line: 569
    14:37:51   Results: Exception Caught. Type: MT_EX_OS, Context:
    mem
    14:37:51   Action: Please notify IBM Informix Technical Support.
    14:37:51   See Also: /home/informix/af.1b97581c
    
    14:37:50  Stack for thread: 6063 sqlexec
    oninit :: lddblnull
    oninit :: rdatavalFloat
    oninit :: ev_column
    oninit :: new_eval
    oninit :: next_row
    oninit :: get_first_row_from_producer
    oninit :: hash_process_all_groups
    oninit :: group_open
    oninit :: prepselect
    oninit :: open_cursor
    oninit :: sql_open
    oninit :: sq_open
    oninit :: sqmain
    oninit :: listen_verify
    oninit :: spawn_thread
    oninit :: th_init_initgls
    oninit :: startup
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Server prior to 12.10.xC16 and 14.10.xC10  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Informix Server 12.10.xC16 or 14.10.xC10.         *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 14.10.xC10.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT42285

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-10-19

  • Closed date

    2023-02-23

  • Last modified date

    2023-05-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
18 May 2023