suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT27568 Status: Closed

IT'S POSSIBLE TO SEGV IN BSON_APPEND_BYTE WHEN MEMORY ALLOCATIONFAILS FOR
BSON DATA TYPE IN PARSE_VAL

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
The following failure was reported in low memory conditions:

(oninit) afstack
(oninit) afhandler
(oninit) affail_interface
(oninit) mt_ex_throw_sig
(oninit) afsig_handler
(Linux) 
(oninit) bson_append_byte
(oninit) bson_append_estart
(oninit) bson_append_string_base
(oninit) parse_val
(oninit) parse_doc
(oninit) json_to_bson
(oninit) json_to_bson_output
(oninit) udrlm_clang_execute_internal
(oninit) udrlm_clang_execute
(oninit) udrlm_exec_routine
(oninit) udr_execute
(oninit) exroutine
(oninit) geval
(oninit) bson_get_value
(oninit) geval
(oninit) ev_geval
(oninit) new_eval
(oninit) gettupl
(oninit) scan_next
(oninit) merge_next
(oninit) sort_open
(oninit) filltemp
(oninit) scan_open
(oninit) materialize_viewtmp
(oninit) prepselect
(oninit) open_cursor
(oninit) sql_open
(oninit) sq_open
(oninit) sqmain
(oninit) spawn_thread
(oninit) th_init_initgls
(oninit) startup

While running this SQL from jsonListener:

  SELECT bson_value_lvarchar(data, 'name') as namespace FROM (
SELECT
    ('{name:"'||trim(NVL(site,DBINFO('dbname') || '.' ||
tabname))||'",
    table:"'||tabname||'"}')::json::bson AS data FROM systables
WHERE tabid >
    99 AND bitand(flags,'0x00000C00') > 0  UNION SELECT
    bson_value_document(jparam::json::bson,'ns')::bson as data
FROM sysindices
    where bitand(indexattr,4) = 4 ) WHERE
bson_value_lvarchar(data,'name') = ?
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of IDS 12.10.xC10 and older versions.                  *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* It is possible to segv in bson_append_byte when memory       *
* allocation fails for bson data type in parse_val.            *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Local Fix:
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
26.12.2018
07.10.2019
07.10.2019
Problem solved at the following versions (IBM BugInfos)
12.10.110
Problem solved according to the fixlist(s) of the following version(s)
Informix EditionsInformix Editions
Informix Editions
DocumentationDocumentation
Documentation
IBM NewsletterIBM Newsletter
IBM Newsletter
Current BugsCurrent Bugs
Current Bugs
Bug ResearchBug Research
Bug Research
Bug FixlistsBug Fixlists
Bug Fixlists
Release NotesRelease Notes
Release Notes
Machine NotesMachine Notes
Machine Notes
Release NewsRelease News
Release News
Product LifecycleProduct Lifecycle
Lifecycle
Media DownloadMedia Download
Media Download