Discussions
Categories
- 196.7K All Categories
- 2.2K Data
- 235 Big Data Appliance
- 1.9K Data Science
- 449.8K Databases
- 221.5K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 549 MySQL Community Space
- 477 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 532 SQLcl
- 4K SQL Developer Data Modeler
- 186.8K SQL & PL/SQL
- 21.2K SQL Developer
- 295.4K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.1K Development Tools
- 104 DevOps
- 3.1K QA/Testing
- 645.9K Java
- 27 Java Learning Subscription
- 37K Database Connectivity
- 153 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 17 Java Essentials
- 158 Java 8 Questions
- 85.9K Java Programming
- 79 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.2K Java SE
- 13.8K Java Security
- 203 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 392 LiveLabs
- 37 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.6K Other Languages
- 2.3K Chinese
- 170 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 230 Portuguese
Oracle bug that might be fixed in newer version?

User_J188U
Member Posts: 6 Green Ribbon
I ran into a segmentation fault on Oracle 18 and 21 (using gvenzl/oracle-xe:21.3.0-slim) and was curious if this might have been fixed in a new version that the images haven't updated to yet. Here is the reproducer:
CREATE TABLE Pickup( id NUMERIC(10,0) NOT NULL PRIMARY KEY, owner varchar2(40) ) CREATE TABLE Car( id NUMERIC(10,0) NOT NULL PRIMARY KEY ) insert into Pickup(id,owner) select c1_0.id,cast(null as varchar2(4000 char)) from Car c1_0 union all select c2_0.id,cast(null as varchar2(4000 char)) from Car c2_0 order by 1 fetch first 1 rows only
Fails with the following:
Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x90] [PC:0x41AC124, kkqteCheckValidity()+3636] [flags: 0x0, count: 1] Errors in file /opt/oracle/diag/rdbms/xe/XE/trace/XE_ora_494.trc (incident=401) (PDBNAME=CDB$ROOT): ORA-07445: exception encountered: core dump [kkqteCheckValidity()+3636] [SIGSEGV] [ADDR:0x90] [PC:0x41AC124] [Address not mapped to object] [] Incident details in: /opt/oracle/diag/rdbms/xe/XE/incident/incdir_401/XE_ora_494_i401.trc Use ADRCI or Support Workbench to package the incident. See Note 411.1 at My Oracle Support for error and packaging details. Dumping diagnostic data in directory=[cdmp_20220404092259], requested by (instance=1, osid=494), summary=[incident=401].
Note that wrapping the query group like this works:
insert into Pickup(id,owner) select * from ( select c1_0.id,cast(null as varchar2(4000 char)) from Car c1_0 union all select c2_0.id,cast(null as varchar2(4000 char)) from Car c2_0 ) t order by 1 fetch first 1 rows only