Expression of causing in some cases unexpected dumps core XMLTable
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
I get a core dump when I run the following SQL code:select xml.CUSTOMER_EXT_REF_NO,
xml.TRANS_REF_ID,
xml.TRADE_NAME,
(select nvl2(min(crm_ext_ref_no), 'U', 'I')
from TPARTY target
where target.crm_ext_ref_no = xml.customer_ext_ref_no),
xml.RETAILER_ROLE_NO,
xml.REL_TRANS_REF_ID,
xml.LSTG_UPDATE_USER,
xml.LSTG_UPDATE_DATE,
:LSTG_CREATE_USER,
xml.LSTG_CREATE_DATE,
:LSTG_BATCH_ID,
xml.LEGAL_NAME,
xml.GST_NUMBER,
xml.GST_EXEMPT,
xml.ERR_MSG
from vdata_object_cur vdoc, xmltable('for $i in /TransactionDocument/CogneraTransactions/CogneraTransaction/Customer
return element row {$i/*[(not(name()="STG_ACTION_TYP") and @Common="Y") or @Lookup="Y"],
element CUSTOMER_EXT_REF_NO {data($i/RetailerCustomerID)},
(: element STG_ACTION_TYP {if (ora:view("TPARTY")/ROW[CRM_EXT_REF_NO=data($i/RetailerCustomerID)]) then "U" else "I"}, :)
element LEGAL_NAME {data($i/LegalName)},
element TRADE_NAME {if (not(string($i/TradeName))) then data($i/LegalName) else(data($i/TradeName))},
element GST_EXEMPT {if (string($i/FederalTaxExempt)="0" or not(string($i/FederalTaxExempt))) then "N" else("Y")},
element GST_NUMBER {if (string($i/FederalTaxExempt)="0" or not(string($i/FederalTaxExempt))) then "" else(data($i/FederalTaxExempt))}
}
'
passing vdoc.xml_content
columns
CUSTOMER_EXT_REF_NO VARCHAR2(255) path './CUSTOMER_EXT_REF_NO'
,TRANS_REF_ID NUMBER(22,0) path './TRANS_REF_ID'
,TRADE_NAME VARCHAR2(255) path './TRADE_NAME'
,RETAILER_ROLE_NO VARCHAR2(255) path './RETAILER_ROLE_NO'
,REL_TRANS_REF_ID NUMBER(22,0) path './REL_TRANS_REF_ID'
,LSTG_UPDATE_USER VARCHAR2(30) path './LSTG_UPDATE_USER'
,LSTG_UPDATE_DATE DATE path './LSTG_UPDATE_DATE'
,LSTG_CREATE_DATE DATE path './LSTG_CREATE_DATE'
,LEGAL_NAME VARCHAR2(255) path './LEGAL_NAME'
,GST_NUMBER VARCHAR2(255) path './GST_NUMBER'
,GST_EXEMPT VARCHAR2(1) path './GST_EXEMPT'
,ERR_MSG VARCHAR2(4000) path './ERR_MSG'
) xml
where VDOC.DATA_OBJECT_ID = 59293;
Error of the client (TOAD) is:ORA-03113: end of file on communication channel
Trace says:
Exception [type: SIGSEGV, address not mapped to object] [ADDR:0xF8] [PC:0 x 2447652, kkqcsiqbcbk () + 172] [flags: 0x0, count: 1]
Errors in the /oracle/diag/rdbms/vm01/vm01/trace/vm01_ora_6483.trc file (incident = 170590):
[ORA-07445: exception encountered: core dump [kkqcsiqbcbk () + 172] [SIGSEGV] [ADDR:0xF8] [PC:0 x 2447652] [address not mapped to object]]
Incident details in: /oracle/diag/rdbms/vm01/vm01/incident/incdir_170590/vm01_ora_6483_i170590.trc
.. .the current sql for the session statement is the one above.
If I comment on the inline sql:
...
(select nvl2(min(crm_ext_ref_no), 'U', 'I')
from TPARTY target
where target.crm_ext_ref_no = xml.customer_ext_ref_no)
...
OTHERWISE, I use the commented on ora: opinion:element STG_ACTION_TYP {if (ora:view("TPARTY")/ROW[CRM_EXT_REF_NO=data($i/RetailerCustomerID)]) then "U" else "I"},
OR, I've read the XML in a CLOB column rather (to test, I had the same CLOB_CONTENT and XML_CONTENT data in the view 'vdata_object_cur'):passing xmltype.createxml(vdoc.clob_content)
.. the stmt .then DON'T crash and returns the expected data.Stranger still, because my SQL statements are dynamically generated from metadata, I have many more cases of the very similar sql that does NOT fall down for example, I use the online display and read data from the xmltype XML_CONTENT column.
The solution has been in production for about 2 years, 'by the way' the XML as a variable binding (from: v_xml) without any problems (apart from the fact that performance was poor that's why I'm improving the solution to read the xml code in the column XML_CONTENT which is defined as XMLTYPE with binary storage and has a XMLIndex to this topic). The use of the XMLIndex has reduced a file load which would take 8hrs to in just 8 minutes.
I also tried a "pipe" ORDERLY and LEADER to ensure that Oracle generated rowset XMLTABLE first, but I still get the dump.
Of course, with some unexpected dumps core, I'd get normally a TAR raised, but my dev env prod a little different and I don't know if this only happens in my dev env (a custom Oracle Developer days VM)...
Any ideas?
Thanks in advance.
Published by: Pollocks01 on March 12, 2013 06:32
Hello
Of course, with some unexpected dumps core, I'd get normally a TAR raised, but my dev env prod a little different and I don't know if this only happens in my dev env (a custom Oracle Developer days VM)...
Any ideas?
What kind of help do you need?
As you say, a core dump is a job for Oracle Support, except if the trace shows a well-known problem but that doesn't seem to be the case here.
If you want someone to confirm the problem on another instance, then you will need to provide a case of test complete with table/index CFDS and, of course, a doc XML example.
Tags: Database
Similar Questions
-
The new version of Firfox save my passwords and in some cases, my customer identification numbers, even if the passwords for this site "Remember" in the security option is not checked. I don't use a master password. There are no entries in the list "password saved" so I'm not able to remove supposedly saved passwords.
To determine if one of your extensions could make logging in, could test you the page Firefox Safe Mode? It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.
You can restart Firefox in Mode safe mode using either:
- button "3-bar" menu > "?" button > restart with disabled modules
- Help menu > restart with disabled modules
Not all add-ons are disabled: Flash and other plugins still works
After stops in Firefox, a small dialog box should appear. Click on 'Start mode safe' (not reset).
Any difference?
-
Tell does not work me Why "BETWEEN" for some cases
Dear all,
This is my first post in this forum. I have a few questions which not works in some cases given below.
When I run below statements, I get the result.
(1) SELECT "record found" where double '1' BETWEEN ' 0 'AND 21'; -I get record
(2) SELECT "record found" where double '2' BETWEEN ' 0 'AND 21'; -I get record
(3) SELECT "record found" where double '3' BETWEEN ' 0 'AND 21'; -I don't get record
(4) SELECT "record found" where double '03' BETWEEN ' 0 'AND 21'; -I get record
Try this and tell me why the case 3 is fails
Published by: user12979754 on April 19, 2010 06:25user12979754 wrote:
My question is for the 'channels' only.But you are confused "numbers" and "ropes"... of course, to a human being, 03 and 3 are the same - three. But at a computer, '03' If a string is NOT the same as "3". These are different things, and the 'numbers' in the string are simply characters.
'03' is between '0' and '21' because the first character in the string ('0') enter in the range ' 0 'to 2'. "3" is not between '0' and '21' because '3' is not between the range ' 0 'to 2'.
-
Signal Express 2009 causing NIMAX generate an Exception error message
I have a system which gives an error message when I try to open an instrument in NIMAX. The popup error message shows 'unexpected error', with a code of "MAXKnownException. This system running Windows XP, and we Signal Express 3.0 with 4.3 NIMAX works perfectly. We went to Signal Express 2009 with NIMAX 4.6 and this problem occurs.
Error log message which is gereated is
"The niVISAui.mxx plug-in caused an exception in the CmxAggregateItemUI::GetToolbar function in the process of NIMax."
Thank you
Some info about failure for future reference, the problem is not benign in the pop up I chose to ignore the error message but any time, I tried to open an instrument in NIMAX I would get the same pop up and NIMAX was virtually unusable.
The good news is that we were able to get this to work. The Signal Express 2009 package we received came with the associated device drivers CD. Unfortunately, NIMAX on the CD version was 4.5 and it turns out that Signal Express 2009 must have the 4.6 version to work. We took NIMAX version 4.6 out of the web site of NOR and cured the problem.
-
Hello
8.1 to win
I recently made some changes to my internal network and all of a sudden attempts to access Bing give an error. My network is:
When I connect either wired or wireless to wireless router I get to Bing. When I connect to the router cable regular I get this error message:
As I connect within seconds after each attempt, I don't think that the site has a problem. For some reason, my new network connections have introduced some problem with the connection to Bing. I use a new cisco wireless router. When I put my old Linksys router in place, the problem does not occur.
The problem only occurs with Bing. I can connect to this forum very well, as well as MSDN and all other Microsoft forums.
Yet once again, the problem is to the wired connection on the regular router.
Additional info after writing this post: The problem is slightly different, so the title of the position was changed and this-more information can be found.
Even more information after writing this post: I installed Google Chrome to see if this is a problem in Internet Explorer. No, the Chrome has a problem as well.
I note that my ISP has given me a new IP address in a completely different set of addresses. I only mention that in case it triggers a memory on connection issues.
Hello
I think I found the problem that was affecting my system. It is not the solution for everyone, but if people are looking, it is at least a possibility.
In my router, there is a place to manually enter the server DNS IPs. I added specifically to my router the IP addresses of my ISP's DNS servers in the preferred and secondary IP addresses. It will take positive time this solved my problems, but it seems to hold.
Previously, I relied on the router to forward DNS queries to the next router in front of her which is effectively connected to the ISP (as shown in my picture). But this does not seem to have been reliable, it seems so specifically direct the router to directly access servers DNS of the ISP have mitigated the damsels of DNS.
Best regards
Alan
-
Using Windows Explorer (Windows XP) I can't delete a folder. (The data are not a program).
File attributes are set to "hidden files" and the folder is empty (0-byte and no files are in the folder).
In addition, the folder properties (and file) / attributes are 'read only '. When I uncheck "read only" and click OK, then look again at this, the box comes back to "read only with a check mark. (???)
When I try to delete the folder, the message says "no empty folder", and it won't delete.
Also, when I try to delete some files (in other cases) some people will not remove.
Help, please.
The 'read only' box on issues is not what he says. ignore it.
A folder will not delete if it contains a locked file. You will need to unlock and remove the file first.
"Some files" will not delete because they are locked - that is to say, they are in use by an application. There is a utility called "unlocker" used to be recommended to correct this situation, but the download now includes adware that may be reported by your antivirus/antimalware dangerous application.
An 'empty' file that will not delete can be fixed if you run chkdisk. Click Start > run and type the following command, and then click OK
chkdisk/f
A window will open to inform you that chkdisk /f cannot be run while Windows is active and proposed to schedule a chkdisk for the next reboot. Answer Yes and restart. When chkdisk is complete, delete the folder.
The files that appear to be in use can be deleted by one or more of the following techniques:
A. deleting a command prompt window. You need to know the name of full of the file path. For example, if you try to delete a file named test.txt that is located in a folder named Non empty folder on your desktop and your user name is NR16020, the full path name is C:\Documents and Settings\NR16020\Desktop\Non empty Folder\\test.txt
- Open a command prompt window (start > run > cmd > OK)
- Use the del for the files command and the command rd for folders. If the full path name includes spaces, include it with double spaces. Using the example:
del "C:\Documents and Settings\NR16020\Desktop\Non Folder\\test.txt empty"
'C:\Documents and Settings\NR16020\Desktop\Non Folder Empty' RD
B. remove in safe mode. To access Safe Mode, restart the computer and repeatedly press F8 immediately after that the power on sequence is complete. If you see the Windows logo, you waited too long and need to try again.
C. remove from a command prompt with closed Windows Explorer. If the procedure fails because the file is locked, follow these steps:
- Close all running applications
- Open the Task Manager
- Open a command prompt window
- In the Task Manager process tab, right-click on explorer.exe, and then select end process
- Open the command prompt window and follow the steps listed in point A above
- In the Task Manager, click file > new task (run...), type explorer.exe, and then click OK
-
My outlook express will not delete some e-mail, how to fix this?
I tried to remove a few emails and it won't let me. I was able to move it to the junk e-mail folder, but not delete it. I also can't just delete it in the junk e-mail folder. Any ideas?
First of all, OE doesn't have a native junk folder. However, I assume that you have the damaged dbx files.
Spend most of your messages out of the Inbox and move the messages you want to record off deleted items, and sent items. Locate the OE message store and then close OE.
Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.
In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.
With OE closed, find the Deleted Items.dbx and Sent Items.dbx files and delete them. New files will be created automatically when you open OE.
Compact all folders as described below.
To avoid this in the future:
Do not archive mail in the receipt or sent items box. Create your own user-defined folders and move messages you want to put in them. Empty the deleted items folder daily. Although the dbx files have a theoretical capacity of 2 GB, I recommend all a 300 MB max for less risk of corruption.
Information on the maximum size of the .dbx files that are used by Outlook Express:
http://support.Microsoft.com/?kbid=903095After you're done, followed by compacting your folders manually while working * off * and do it often.
Click Outlook Express at the top of the the folder tree so no folders are open. Then: File | Work offline (or double-click on work online in the status bar). File | Folder | Compact all folders. Don't touch anything until the compacting is completed.
Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the processors and causes a multitude of problems such as time-outs and account setting changes. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
http://www.oehelp.com/OETips.aspx#3 -
Satellite L20 modem does not work in some cases
Hello
a friend bought a Satellite L20 last summer. In January, she started working on the Internet on an irregular basis, but has known trouble. So I looked after the laptop last week:
When you try to connect to the Internet connect to the provider sometimes fails. If she finally gets the connection, it often occurs the message that the page could not be found, and only after clicking on the button "Refresh" the page several times finally appears. But oddly enough, every time I unplugged the power supply connection become noticeable better.
(Win XP; pilot/diagnosis: no problem arose; provider works very well on different computers)
Unfortunately, he had no chance to check the connection here with a different material. I can't say if the latest driver is installed, but think that Yes, because of the date of purchase. So, my guess is that the power cable is not adequately protected. But if so how? Or what else could be the reason for the unexpected behavior of the modem?
Thanks for your suggestions!
Hello
I heard a similar problem with another model of Satellite. Solution was to install the Satellite A110 modem driver. Please don t ask me why, but test it.
The modem driver, you can find HERE
Good luck!
-
Create Bluetooth earpiece function only works in some cases
The function create a listener Bluetooth generates an ID of listener that lets wait for an incoming connection of Bluetooth. Because every time that you run a VI that contains this function, it must create a new listener ID, otherwise the block following that wait on the listener will crash.
I found that for the listener to create function work properly the entry that the Service Description must be connected to a control element. If its connected to a constant run only once, then creating a new id of the listener, but she keep this id indefinitely. In this case, you will need to close all the screws and reopen to be able to run the function again.
(See attached VI for an example.)
Can someone tell me, why is this? Is there a difference in the compilation/execution screw using controls instead of constants?
Thank you!
I could reproduce the error. I presented a report to R & D. I'll let you know when I get a response from them.
For now, you can try using a control instead of a constant and make it invisible in the façade.
Kind regards
Georg
-
Time spent in the call on some cases screen
Hello
We have a new rule: when a new 'Action & Solution' is written in the descriptor, then a few time (hours or minutes) should be put in the input text.
It is posible to make hollow Admin options?, if this isn't possible, do you have any ideas?
Thanks in advance once again V.9
I understand that you cannot change the "Required" attribute to this area, because it is inactive.
Just try to check and uncheck the 'Read only' and 'Required' attribute becomes active.
I think this is 'normal'... to keep you busy.
If this attribute does not help, I guess that javascript'ing is the only way to control your entry in this case.
Gytis
-
Apply GREP style except in some cases
Hi guys!
I've been scratching my head for a few days, so I finally resorted to you!
BACKGROUND
I created a template for my thesis, and I want to point out the things I know I don't like and I want to trouble. So I created a "Star" character style that I use in my GREPs.
GOAL
I want to emphasize the hyphens that fall between two numbers, such as 2000-2010, because I want to have an en dash instead. It's pretty simple: \d-\d
Booyah
QUESTION
The problem is that I have URL in my text, and I don't want to highlight what in the URL. They are what they are.
QUESTION
Is there a way of saying "highlight sandwich of hyphens, except if they belong to a URL"? I tried several options, but none of them worked...
Thank you!!
Fred
(ps: I prefer not to use a find and replace the script here, because I want to assure you that I have REALLY wanted to set the characters highlighted)
I think I would try? \d-\d ({! \S+?\.\s{3}) (not tested, but I believe that it should only cases without characters other than a space after the second digit, then a point and three more nowheres, basically the rest of the URL.)
-
regular expression to secret underscore pascal case
I'm looking for a way to use the support of SQL regular expressions to convert text from pascal in words separated to underscore.
For example:
IsComplianceActionPossible-> Is_Compliance_Action_Possible.
What I'm confused about is how to recover the capital letter in the output.
I know I'm missing something simple. Any help is appreciated.select regexp_replace('IsComplianceActionPossible','[A-Z]','_') from dual REGEXP_REPLACE('ISCOMPLIAN -------------------------- _s_ompliance_ction_ossible
Best regards, TonyMissed that _ leader:
SQL> select ltrim(regexp_replace('IsComplianceActionPossible','([A-Z])','_\1'),'_') from dual; LTRIM(REGEXP_REPLACE('ISCOMPL ----------------------------- Is_Compliance_Action_Possible SQL>
SY.
-
Among the usernames being saved are errors... so when you enter the username box, I get a "list" of names of users. A couple username + password because apparently has not seen that the tab key did not move the slider and it was just marked on the user name. I wish I could delete or reset the user names. Questions from the forum deal with saved password, but I did not save any of my passwords and user names are automatic, unless I disable history research and form "Save". Any suggestions?
Follow these steps to delete the recorded data (form) in a drop-down list:
- Click on the (empty) input field on the web page to open the drop-down list
- Select an entry in the drop-down list with the mouse or the cursor key
do not click with the mouse or press the Enter key - Press the DELETE key (on a Mac: shift + del) to delete the highlighted entry
You can also check the Manager mot de passe for registered user names and passwords.
- Tools > Options > Security: passwords: "saved passwords" > "show passwords".
- https://support.Mozilla.org/KB/password-manager-remember-delete-change-passwords
-
On several sites, as the site for Toyota Southeast and the Florida Department of Transportation SunPass, site systems will serve PDF files that simply are not displayed in FireFox and that not downloaded. Previous versions of FireFox had no problems with these sites; Make FireFox 4 and 5. Other browsers, including Safari, Opera, and web, on Windows, IE 8 and 9, have no problems. Is there a fix and when will it be available?
Using Adobe Reader with Firefox plugin
Opening of PDF files in Firefox
Troubleshooting Plugins
Check and tell if its working.
-
Flow control - the use of some cases
Maybe you are looking for
-
ITunes backup for Iphone 6 where are my text messages
I backed up my IPhone with ITunes, then the file iTunes 6 on my computer. Text messages are stored in this file? You can see your text messages in ITunes? Are text messages only in the iTunes file in case you need to restore your phone? Can you read
-
How can I get Thunderbird to switch to a new tab immediately as I can with Firefox?
Everytime I open a new tab in Thunderbird, no matter how I do it (menu, double click, etc), it opens the content in a new tab, but keeps the focus on the current tab. How can I get Thunderbird to move immediately to a new tab when I opened a? It is q
-
Host controller USB Hi-Speed for Satellite S5200-903
After the upgrade to Windows XP Professional, USB works at reduced speed - 2.0 is no longer recognized. Message says 'Hi-speed USB Controller installed. I have not found the driver on the Toshiba site. Then?
-
ALS ik far wil Internet Bankieren bij ING-Bank, letters zijn van zo onduidelijk text, grof. Zo naked ook in deze text. Ben IK juist overgestapt op Firefox 4 omdat deze veel sneller opent red.In Internet Explorer zijn veel scherper letters.Kan ik dat
-
frozen with only symbol of iTunes
I have an ipad2. It is frozen with a side of iTunes and also with what looks like a picture of the charger cable. Any way out of this mess? Hope you can help. Thank you Jakes