BAD ALLOCATION SAPTS_GET_ALL_DATA_RW
Hi,
A huge treatment(update macro) is blocking every livecache sessions (
DB ANALYZER : UTK1 : user tasks is waiting for CPU in state 'vbegexcl'
UTK... user tasks is waiting for CPU in state 'command wai')
triggers 3 erros in sim_session (long runtime..) 'APTS_AGGMULT_TIMESERIES'
is there a way to isolate livecache session?
by limiting for a session, parameter like : data cache, oms_heap_limit?
thanks for your help.
chris
#!!# DbpError exception in S
2010-09-16 16:17:28 385 ERR 51000 OBJECT APTS_AGGMULT_TIMESERIES ##########
COM
2010-09-16 16:17:28 385 ERR 51000 OBJECT build 50012.002 CL 374315 (5.0_HOT) on
2010-09-16 16:17:28 385 ERR 51000 OBJECT Solaris X86_64
OMS_Context::GetObjFr
2010-09-16 16:17:28 385 ERR 51000 OBJECT omLiveCacheBase_1 (/SAP_DB/76_REL/sunx86
2010-09-16 16:17:28 385 ERR 51000 OBJECT 64/genopt/sys/wrk/incl/SAPDB/Oms/OMSCo
2010-09-16 16:17:28 385 ERR 51000 OBJECT ntext.hpp:44) n
2010-09-16 16:17:28 385 ERR 51000 OBJECT omsTerminate will be triggered:
2010-09-16 16:17:28 385 ERR 51000 OBJECT SAPTS_AGGMULT_TIMESERIES
2010-09-16 16:17:28 385 ERR 51000 OBJECT file: /sapmnt/patch_scratch/ux3102/5.0_H
2010-09-16 16:17:28 385 ERR 51000 OBJECT OT/sys/wrk/incl/COMBase/api_functor/cbs_
2010-09-16 16:17:28 385 ERR 51000 OBJECT api_obj_functor.h
2010-09-16 16:17:28 385 ERR 51000 OBJECT line: 69
2010-09-16 16:17:28 385 ERR 51000 OBJECT DbpError -102 errorKind = 0 in SAPTS_AG
2010-09-16 16:17:28 385 ERR 51000 OBJECT GMULT_TIMESERIES
, SQL statement cancell
2010-09-16 16:17:28 385 ERR 51000 OBJECT ed ERROR -1000102 in SAPTS_AGGMULT_TIMES
2010-09-16 16:17:28 385 ERR 51000 OBJECT ERIES (file: /sapmnt/patch_scratch/ux310
2010-09-16 16:17:28 385 ERR 51000 OBJECT 2/5.0_HOT/sys/wrk/incl/COMBase/api_funct
2010-09-16 16:17:28 385 ERR 51000 OBJECT or/cbs_api_obj_func
2010-09-16 16:17:28 385 ERR 51000 OBJECT <a href="lcapo_com_trace_01.txt#$2QIJ000
2010-09-16 16:17:28 385 ERR 51000 OBJECT 000gdmO06b$w0G">For details see lcapo_co
2010-09-16 16:17:28 385 ERR 51000 OBJECT m_trace_01.txt</a>
2010-09-16 16:17:28 339 ERR 51000 OBJECT SAPTS_AGGMULT_TIMESERIES
2010-09-16 16:17:28 339 ERR 51000 OBJECT file: /sapmnt/patch_scratch/ux3102/5.0_H
2010-09-16 16:17:28 339 ERR 51000 OBJECT OT/sys/wrk/incl/COMBase/api_functor/cbs_
2010-09-16 16:17:28 339 ERR 51000 OBJECT api_obj_functor.h
2010-09-16 16:17:28 339 ERR 51000 OBJECT line: 69
2010-09-16 16:17:28 339 ERR 51000 OBJECT
Hello Chris,
1.
The liveCache routine SAPTS_AGGMULT_TIMESERIES (resp. the workprocess
which has called it) seems to have been manually aborted or canceled due
unexpectedly long runtime. Please check the system log - /nsm21 and corresponding dev log of WP on your system.
DBberror -102 means:
The SQL statement currently executed was terminated by user or operator
intervention.
User Action:
No user action is required in interactive operation. Reset the
transaction with a ROLLBACK statement.
The error happens, for example, if a user e.g. use the "stop transaction" command in an application and then the error -102 is written to the current tracefile and to system error messages. (works as designed)
2.
u201CliveCache user tasks in state 'vbegexcl'u2026u201D ::
Vbegexcl(Enter Region):
Task waits to enter a protected region
It will be helpful to collect more information during the application run using x_cons tool.
Also we need to know the system SP stack, LCA build and liveCache version, the data selection during the application run
=> I recommend to create the SAP message to the component u201CBC-DB-LCAu201D
In general, please review the SAP notes u2013 1081508, 833216 and 936058, 1112046 and 957711.
Please use the SAP note 1111426 to check the configuration of the liveCache parameters.
Thank you & best regards, Natalia Khlopina
Similar Messages
-
A C-runtime error occured (bad allocation) from xmlViewService
Hi There,
I have a .NET code which calls OBI webservice xmlViewService. I observed xmlViewService.executeXMLQuery works fine when there are records between 0 - 80000, but when records go beyond 80000-100000 it fails & returns an exception "A C-runtime error occured (bad allocation)".
I tried gradually increasing the maxRowsPerPage from 10 to 100000 but in vain.
Below is the code am using:
sawSessionService = new SAWSessionService(obieeWebServiceUrl);
sawSessionService.Timeout = obieeTimeout;
XmlViewService xmlViewService = new XmlViewService(obieeWebServiceUrl);
xmlViewService.Timeout = obieeTimeout;
SAWSessionParameters sawSessionParms = CreateSawSessionParameters();
AuthResult logonResult = sawSessionService.logonex(obieeUserId, obieePassword, sawSessionParms);
sessionID = logonResult.sessionID;
ReportRef reportRef = new ReportRef();
reportRef.reportPath = request.ReportPath;
XMLQueryExecutionOptions xmlQueryOptions = new XMLQueryExecutionOptions();
xmlQueryOptions.async = false;
xmlQueryOptions.refresh = false;
xmlQueryOptions.maxRowsPerPage = 100000; //10;
xmlQueryOptions.presentationInfo = true;
xmlQueryOptions.type = "";
ReportParams reportParams = new ReportParams();
QueryResults queryResults = new QueryResults();
queryResults = xmlViewService.executeXMLQuery(reportRef, XMLQueryOutputFormat.SAWRowsetSchemaAndData, xmlQueryOptions, reportParams, sessionID);
Please help me solving the issue. Highly Appreciate any help.
Thanks - harry
Edited by: 887426 on Sep 26, 2011 12:45 AMHi Harry,
We face this issue, when the criteria returns lot of data. Is the issue resolved for you now? If yes, can you share your solution.
Thanks,
madhu -
Bad allocation in paragraph formatting
Hi,
In some circonstancies, where is a bad allocation for the text of the paragraph.
this program highlight the problem by drawing the insideAllocation.
The text must be inside the allocation rectangle but it's not always the case.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
public class ParagraphBug extends javax.swing.JFrame {
public ParagraphBug(){
this.setSize(400,400);
this.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e){
System.exit(0);
JTextPane jtp = new JTextPane();
jtp.setEditorKit(new MyEditorKit());
Style defaultStyle = StyleContext.getDefaultStyleContext().getStyle(StyleContext.DEFAULT_STYLE);
Style myStyle = jtp.addStyle("myStyle", defaultStyle);
StyleConstants.setFontSize(myStyle,10);
jtp.setLogicalStyle(myStyle);
StringBuffer buff = new StringBuffer();
for(int i = 0;i<300;i++) buff.append("BUG ");
jtp.setText(new String(buff));
this.setContentPane(new JScrollPane(jtp));
public static void main(String[] args) {
ParagraphBug editor = new ParagraphBug();
editor.setVisible(true);
* the editor kit
public class MyEditorKit extends StyledEditorKit{
private final ViewFactory defaultFactory = new MyFactory();
public MyEditorKit(){
super();
public ViewFactory getViewFactory() {
return defaultFactory;
public final class MyFactory implements ViewFactory{
public View create(Element elem) {
String nm = elem.getName();
if (nm != null) {
if (nm.equals(AbstractDocument.ContentElementName)) {
return new LabelView(elem);
} else if (nm.equals(AbstractDocument.ParagraphElementName)) {
return new MyParagraphView(elem);
} else if (nm.equals(AbstractDocument.SectionElementName)) {
return new BoxView(elem, View.Y_AXIS);
} else if (nm.equals(StyleConstants.ComponentElementName)) {
return new ComponentView(elem);
} else if (nm.equals(StyleConstants.IconElementName)) {
return new IconView(elem);
return new LabelView(elem);
* Custom Paragraph view to highlight the insideAllocation
public class MyParagraphView extends ParagraphView{
public MyParagraphView(Element elem) {
super(elem);
public void paint(Graphics g, Shape a) {
g.setColor(Color.RED);
((Graphics2D)g).draw(getInsideAllocation(a));
super.paint(g,a);ok. i have located the problem. it's juste because the calculation of minorAxisSizeRequirements is wrong : the minimum and the maximum are inversed.
The solution is just to inverse minimum and maximum :o)
in most of case, where is no graphics bug... but not in my application where i use a lot of different Style.
Code from Boxview.java
protected SizeRequirements baselineRequirements(int axis, SizeRequirements r) {
r.minimum = Math.max((int)(totalAscent.minimum / r.alignment),
(int)(totalDescent.minimum / (1.0f - r.alignment)));
// a similar calculation is made for the maximum but we choose the smaller number.
r.maximum = Math.min((int)(totalAscent.maximum / r.alignment),
(int)(totalDescent.maximum / (1.0f - r.alignment)));
return r;
} -
Bad allocation file- any hope?
Hi there- having problems with a 15" Powerbook G4 running OSX.4.9 (possibly .10). Friday the computer was unbootable with the system disk- would automatically start up from my TechTools eDrive. Volume or directory problems on the start-up drive, so I couldn't do volume tests (or they failed), with "Bad header" error, and couldn't test disk permissions using Disk Utility. Took to Apple store- where the genius at the bar tried to recover the directory structure but said he couldn't do it.
Skip to this morning- I was about to reinstall OSX but the start-up disk worked! After an immediate home-folder backup, I'm trying TechTools again, and now show the error BAD ALLOCATION FILE. Is there any way to fix this? Would a bad allocation file affect my back-up (ie. should I use a slightly older back-up before these problems started?) Any advice here- I'd really like to avoid having to reinstall the OS and all my apps if possible.
Thanks!
AlanJust a final update here- I ended up wiping the HD and reinstalling. So far the reinstall is going smoothly, although I'll need to figure out who controls the site licenses for some of my apps at my new university...
I had a strange contradiction between Disk Utility and TechTools- techtools showed an allocation overlap error but disk utility showed no problem. I ended up trying the repair in tech tools- the repair process worked, although it damaged some OS files (airport disabled, basically everything with the network preferences was not working). Hence the reinstall.
From the techtools moderator:
"Given the diagnosis and the symptoms, it is likely that there was an allocation overlap that damaged a file important to the operating system. The most it is possible to do is to identify the files. An overwritten sector of a file cannot be repaired."
The one other thing I learned was that Techtools pro is now up to v. 4.5.3- I was using 4.1.1. Apparently the older versions may not work quite as well with Tiger. The upgrade is not downloadable and requires a DVD...
Thanks to everyone for their advice. -
Saw: C-runtime error occured (bad allocation)
We are running into an issue with the Prod Web Server, wherein it is suddenly stops once in a while and does not restart unless we reboot. We seem to have two issues going on
1) What brings down the server in the first place?
From the logs it looks like 3 of th last 4 times it failed, it was due to the Drifted Accounts report. The specific error is below. It seems that somehow this report is triggering the saw server to fail (no impact on the analytics server).
Type: Error
Severity: 25
Time: Wed Oct 29 09:54:49 2008
File: project/webcube/cubecache.cpp Line: 249
Properties: RptPath-/shared/IRIT/45 - Service/Report #8 - Accounts Summary Report;DashPath-/shared/IR Core Service Dashboard/_portal/IR Core Service 1. Summary Reports;DashPagePath-/shared/IR Core Service Dashboard/_portal/IR Core Service 1. Summary Reports/Drifted Accounts;SID-vff5to3ductfhfrtgvc2oi8vtq;ThreadID-3428;HttpCommand-Dashboard;RSP-d:dashboard~p:u673vcdbvpa7b12p~r:anokhgbsd4jnr317;RemoteIP-10.201.0.48;User-Administrator;HttpArgs-_scid='*YuesJlTN7Y'
Location:
saw.cube.cache.processCube
saw.views.pivottable.displayer
saw.views.dashboard
saw.subsystem.portal
saw.httpserver.request
saw.rpc.server.responder
saw.rpc.server
saw.rpc.server.handleConnection
saw.rpc.server.dispatch
saw.threadPool
saw.threads
A C-runtime error occured (bad allocation)
2) What prevents the service from restarting unless the server is rebooted.
If we try to restart the saw service we see the foll error message
Type: Error
Severity: 42
Time: Mon Oct 20 10:02:16 2008
File: project/webcomm/socket.cpp Line: 338
Properties: ThreadID-5800
Location:
saw.rpc.server.initialize
saw.sawserver
saw.sawserver.initializesawserver
saw.threads
Port 9710 is in use on the local system. [Socket:512]
Any experience with or insight into this error is appreciated.
Thanks,
TLHave you tried patch 7140673 - OBI PRESENTATION SERVER CRASH IN PIVOT TABLE
-
Simple multiversion test crashes (db-5.3.15)
Hi!
I wrote a small test for a multiversion database (using the C++ API). The test starts a transaction with DB_TXN_SNAPSHOT and reads/writes a key-value pair foo=bar. It then sleeps 10 seconds to allow starting a second instance of the program. The first instance succeeds, with this output:
$ mvcctest
get key foo
put key foo
successfully wrote key foo=bar
waiting 10 seconds...
$
The second instance which I started in gdb to get the stacktrace produces this output/stacktrace:
(gdb) r
Starting program: /home/stefan/src/sandbox/bdb-trans/mvcctest
[Thread debugging using libthread_db enabled]
get key foo
put key foo
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b5bd01 in __memp_fput (dbmfp=0x605230, ip=0x0, pgaddr=0x0, priority=DB_PRIORITY_UNCHANGED)
at ../src/mp/mp_fput.c:125
125 infop = &dbmp->reginfo[bhp->region];
(gdb) bt
#0 0x00007ffff7b5bd01 in __memp_fput (dbmfp=0x605230, ip=0x0, pgaddr=0x0, priority=DB_PRIORITY_UNCHANGED)
at ../src/mp/mp_fput.c:125
#1 0x00007ffff79f3cce in __bam_get_root (dbc=0x605a10, root_pgno=1, slevel=1, flags=12802, stack=0x7fffffffd75c)
at ../src/btree/bt_search.c:235
#2 0x00007ffff79f3ed6 in __bam_search (dbc=0x605a10, root_pgno=1, key=0x7fffffffdbf0, flags=12802, slevel=1, recnop=0x0,
exactp=0x7fffffffd934) at ../src/btree/bt_search.c:309
#3 0x00007ffff79dce1c in __bamc_search (dbc=0x605a10, root_pgno=1, key=0x7fffffffdbf0, flags=14, exactp=0x7fffffffd934)
at ../src/btree/bt_cursor.c:2804
#4 0x00007ffff79dad0b in __bamc_put (dbc=0x605a10, key=0x7fffffffdbf0, data=0x7fffffffdc20, flags=14, pgnop=0x7fffffffd9b0)
at ../src/btree/bt_cursor.c:2143
#5 0x00007ffff7adf03f in __dbc_iput (dbc=0x605a10, key=0x7fffffffdbf0, data=0x7fffffffdc20, flags=14)
at ../src/db/db_cam.c:2136
#6 0x00007ffff7adee8d in __dbc_put (dbc=0x605a10, key=0x7fffffffdbf0, data=0x7fffffffdc20, flags=14)
at ../src/db/db_cam.c:2049
#7 0x00007ffff7ad78dd in __db_put (dbp=0x604af0, ip=0x0, txn=0x605390, key=0x7fffffffdbf0, data=0x7fffffffdc20, flags=0)
at ../src/db/db_am.c:583
#8 0x00007ffff7af20c8 in __db_put_pp (dbp=0x604af0, txn=0x605390, key=0x7fffffffdbf0, data=0x7fffffffdc20, flags=0)
at ../src/db/db_iface.c:1661
#9 0x00007ffff79bc576 in Db::put (this=0x604a50, txnid=0x605fa0, key=0x7fffffffdbf0, value=0x7fffffffdc20, flags=0)
at ../lang/cxx/cxx_db.cpp:367
#10 0x0000000000400caf in main () at mvcctest.cc:60
I am unsure if this is my fault (because the testcase does something it should not do), or if this is a Berkeley DB bug.
#include <sys/stat.h>
#include <sys/types.h>
#include <assert.h>
#include <db_cxx.h>
#include <string.h>
#include <stdlib.h>
#include <string>
using std::string;
int
main()
mkdir ("bdb", 0770);
DbEnv *db_env = new DbEnv (DB_CXX_NO_EXCEPTIONS);
int ret = db_env->open ("bdb",
DB_CREATE | /* on-demand create */
DB_INIT_MPOOL | /* shared memory buffer subsystem */
DB_INIT_TXN | /* transactions */
DB_INIT_LOG | /* logging */
DB_INIT_LOCK | /* locking */
DB_MULTIVERSION,
0);
assert (ret == 0);
db_env->set_flags (DB_MULTIVERSION, 1);
Db *db = new Db (db_env, 0);
db->set_flags (DB_DUP); // allow duplicate keys
// Open the database
u_int32_t oFlags = DB_CREATE | DB_AUTO_COMMIT | DB_MULTIVERSION; // Open flags;
db->open (NULL, // Transaction pointer
"db", // Database name
NULL, // Optional logical database name
DB_BTREE, // Database access method
oFlags, // Open flags
0); // File mode (using defaults)
DbTxn* transaction;
ret = db_env->txn_begin (NULL, &transaction, DB_TXN_SNAPSHOT);
assert (ret == 0);
char foo[4] = "foo";
char bar[4] = "bar";
Dbt key (foo, 3);
Dbt new_data (bar, 3);
Dbt data;
printf ("get key foo\n");
ret = db->get (transaction, &key, &data, 0);
if (ret == 0)
printf ("successfully read key foo\n");
printf ("put key foo\n");
ret = db->put (transaction, &key, &new_data, 0);
if (ret == 0)
printf ("successfully wrote key foo=bar\n");
printf ("waiting 10 seconds...\n");
sleep (10);
ret = transaction->commit (0);
assert (ret == 0);
ret = db->close (0);
delete db;
db = NULL;
assert (ret == 0);
ret = db_env->close (0);
delete db_env;
db_env = NULL;
assert (ret == 0);
}Yes, we have the same error:
com.sleepycat.dbxml.XmlException: std::exception thrown from C++ API: bad allocation: Unknown error, errcode = INTERNAL_ERROR
at com.sleepycat.dbxml.dbxml_javaJNI.XmlQueryExpression_execute__SWIG_1(Native Method)
at com.sleepycat.dbxml.XmlQueryExpression.execute(XmlQueryExpression.java:93)
com.sleepycat.dbxml.XmlException, errcode = NO_MEMORY_ERROR
at com.sleepycat.dbxml.dbxml_javaJNI.XmlQueryExpression_execute__SWIG_1(Native Method)
at com.sleepycat.dbxml.XmlQueryExpression.execute(XmlQueryExpression.java:93)
The version we use is 2.2.13, can anyone give suggestions to resolve it?
Regards,
Jane -
Internal Error while repeatedly querying
I’m having a problem when I try to repeatedly query the Berkley XML DB. I’m using XML DB 2.3.8 on Windows and Java 1.4.2_13.
Typically my first 2000 or so queries will work, and then they will begin to fail with the following exception.
com.sleepycat.dbxml.XmlException: std::exception thrown from C++ API: bad allocation, errcode = INTERNAL_ERROR
at com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_query__SWIG_2(Native Method)
at com.sleepycat.dbxml.XmlManager.query(XmlManager.java:606)
I assume the problem is that I’m not setting something up properly or not cleaning up objects after each query. I was hoping someone could tell me what the exception could be caused by and what I should check my code for.
If it helps my code basically does the following:
During initialization open an environment
For each query
1) open container
2) Create an XmlQueryContext
3) Obtain an XmlResults object by calling XmlManager.query(String, XmlQueryContext)
4) Obtain an XmlValue by calling XmlResults.next()
5) Obtain an XmlDocument by calling XmlValue.asDocument()
6) Call XmlContainer.delete()
7) Call XmlQueryContext.delete()
8) Call XmlResults.delete()
9) Call XmlValue.delete()
10) Call XmlDocument.delete()
My environment is being opened with the following parameters:
EnvironmentConfig config = new EnvironmentConfig();
config.setCacheSize(50 * 1024 * 1024);
config.setMaxLockers(100000);
config.setMaxLockObjects(100000);
config.setMaxLocks(100000);
config.setAllowCreate(true);
config.setInitializeCache(true);
config.setTransactional(true);
config.setInitializeLocking(true);
config.setInitializeLogging(true);
config.setAllowCreate(true);
config.setErrorStream(System.err);
//config.setRunFatalRecovery(true);
config.setRunRecovery(true);
The container is being opened with the following parameters:
XmlContainerConfig config = new XmlContainerConfig();
config.setTransactional(true);
config.setAllowCreate(true);
Thanks,
EricHi Eric,
You will probably need to delete each XmlValue and XmlDocument in the loop before getting a new one. I expect this is why you are seeing odd errors, which are almost certainly out of memory issues.
John -
Error -36 when trying to delete from external HD
Hi there,
As obviously many people before me, I've just experienced the Error Code -36 problem.
I'm using an external WD 2tb USB hard drive, formatted to NTFS. It has always worked perfectly using Paragon NTFS (got 10.0.2 installed atm). Today I tried deleting several files in completely different folders and it says the drive can't be read or written with said error code -36.
Here's what I've tried:
- ejecting the drive, completely disconnecting it from power and re-connecting it
- rebooting the Mac
- re-installing Paragon NTFS
- connecting the drive directly (I usually connect it through a USB hub)
- dot_clean on the entire drive and every folder and sub-folder
Obviously, nothing has worked out...
I've checked the permissions and it says I should be able to read and write. Then I've tried deleting from any possible folder on that hard drive - same problem - and on the Mac HD itself - works there. I can even copy/move files to that hard drive, access the files on the disc (e.g. pictures, video files) and copy/move from the disk to the Mac HD.
I couldn't repair the disk in Disk Utility either. First it didn’t even verify it (stopped with an error) and then it told me to repair it (brought loads of “Attribute 0x80 has either a cross-link or a bad allocation length” and “File xy does not contain data attribute”). But then after a while it says “Disk Utility stopped repairing. Disk Utility can’t repair this disk” and tells me to reformat it.
And here goes the weird part: I've tried deleting the exact same files using another Mac and it worked and now it even works with my Mac again.
While the problem is solved (for now), I'd just love to know what actually was the problem in the first place (yes, I am a weirdo). So, if anyone has an idea, please let me know :)Ok sorry I didn't read your whole first post. I have no idea as to why.
If you have a Windows PC just delete file on that NTFS formatted drive from there.
Check in the Paragon forums for a answer to the question why you can't delete from OS X.
That would be the place to start.
MissKillALot wrote:
I know that obviously. That's why I wrote that I'm using Paragon NTFS and also that I was still able to actually move files onto the disk and from the disk to the Mac HD, but just wasn't able to delete anything. -
INTERNAL_ERROR in multithreaded test on db xml 2.3.10
I upgraded from 2.2.13 to 2.3.10. I'm on Windows XP / Java 1.5.10
My multi-threaded test soon hits INTERNAL_ERRORs when running on 2.3.10.
While on 2.2.13, I have much better results.
My test case basically sets up one or more threads doing a tight loop of
for (i=1; i < 10000000; i++) {
try { putXML("key"+i/2, contentString); } finally {}
try {getXML("key+i/2); } finally {}
}With one thread, this test will run for at least an hour or more until my time limit expires.
With two threads, this will run ~10-20 minutes
With three threads this test will immediately hit these internal errors.
Once these errors, they repeat and soon the JVM crashes.
I've checked nearly every forum posting, deleted every results.next, deleted every Xml* object possible (except XmlContainer) and so on.
Any advice? Are there any samples that do multi-threaded write/read/queries?
Are there any clues to be found by looking at com.sleepycat.dbxml.dbxml_javaJNI.XmlContainer_putDocument__SWIG_12 ?
Thanks in advance,
Douglas Moore
Reported error:
com.sleepycat.dbxml.XmlException: Uncaught exception from C++ API, errcode = INTERNAL_ERROR
at com.sleepycat.dbxml.dbxml_javaJNI.XmlContainer_putDocument__SWIG_12(Native Method)
at com.sleepycat.dbxml.XmlContainer.putDocument(XmlContainer.java:433)
at ....putXML(XMLBDBFacade.java:370)create container method:
// set properties specific to the BDB XML Container
XmlContainerConfig xmlContainerConfig = new XmlContainerConfig();
xmlContainerConfig.setAllowCreate(true);
// TODO review me this is new for BDB XML 2.3.10
// TODO review me xmlContainerConfig.setDirtyRead(BDB_XML_DIRTY_READ);
xmlContainerConfig.setMultiversion(true);
xmlContainerConfig.setSnapshot(true);
xmlContainerConfig.setReadUncommitted(false);
xmlContainerConfig.setTransactional(true);
//TODO xmlContainerConfig.setPageSize(1024);
xmlContainerConfig.setAllowValidation(false);
xmlContainerConfig.setNodeContainer(true);
xmlContainerConfig.setIndexNodes(true);
xmlContainerConfig.setCacheSize(200000);
xmlContainerConfig.setCacheCount(1);
if (LOG.isDebugEnabled()) {
LOG.debug("Creating XML DB Container "
+ dpcContainerConfig$.getAbsolutePath());
// BDB XML container create
XmlContainer xmlContainer = getBDBXMLManager().openContainer(
dpcContainerConfig$.getAbsolutePath(),
xmlContainerConfig);getXmlTransaction method:
TransactionConfig txnConfig = new TransactionConfig();
txnConfig.setNoWait(true);
txnConfig.setReadUncommitted(true);
txnConfig.setReadCommitted(true);
txnConfig.setSnapshot(true);
txnConfig.setSync(true);
transaction = getXmlManager().createTransaction(null, txnConfig);putXML method:
try {
ContentKey contentKey = new ContentKey(container$, key$, ContentType.XML);
boolean exists = ItemRegistry.instance().contains(contentKey);
if (exists) {
// updating document
doc = getXmlManager().createDocument();
doc.setName(key$);
doc.setContent(content$);
updateContext = getXmlManager().createUpdateContext();
xmlContainer.updateDocument(transaction$, doc, updateContext);
} else {
// putting document
updateContext = getXmlManager().createUpdateContext();
xmlContainer.putDocument(transaction$, key$, content$, updateContext);
ItemRegistry.instance().add(contentKey);
} catch (XmlException e) {
BDBUtility.handleXmlException(container$, key$, e);
} finally {
if (null != doc) {
doc.delete();
doc = null;
if (null != updateContext) {
updateContext.delete();
updateContext = null;
}Yes, we have the same error:
com.sleepycat.dbxml.XmlException: std::exception thrown from C++ API: bad allocation: Unknown error, errcode = INTERNAL_ERROR
at com.sleepycat.dbxml.dbxml_javaJNI.XmlQueryExpression_execute__SWIG_1(Native Method)
at com.sleepycat.dbxml.XmlQueryExpression.execute(XmlQueryExpression.java:93)
com.sleepycat.dbxml.XmlException, errcode = NO_MEMORY_ERROR
at com.sleepycat.dbxml.dbxml_javaJNI.XmlQueryExpression_execute__SWIG_1(Native Method)
at com.sleepycat.dbxml.XmlQueryExpression.execute(XmlQueryExpression.java:93)
The version we use is 2.2.13, can anyone give suggestions to resolve it?
Regards,
Jane -
Problems with f4fpackager for videos in H264 codec
Hi,
I have been trying to use the f4fpackager for some videos i have encoded in h264 using the following ffmpeg command:
./ffmpeg -i video.mp4 -acodec libmp3lame -ab 96k -r 25 -vcodec libx264 -fpre ./ffpresets/libx264-fast.ffpreset -b 1200000 -s 852x480 testvid_1200.mp4
Now when i tried using the f4fpackager for the output file from the above command, I get the following error:
Error 12: Standard Exception: std::bad_alloc f4fpackager
I followed up with the available data on the internet and apparantly there is not a lot of stuff up there. Can anyone help me out with this?? Also I had sufficient memory when i was running the f4fpackager. So no lack of memory space.The f4fpackager works just fine with non-H264 videos. Am I missing something here. Please help me out here!Hi,
Thanks for trying out the f4fpackager.
My best guess for the f4fpackager throwing this error is because of unsupported codecs. The video codecs that are supported by the f4fpackager are VP6, H263 and H264 while the audio codecs are MP3, AAC, HE-AAC, NM and Speex. Rest of the codecs cannot be packaged. Can you try with any other mp4 file and see if you are able to package.
Though the file you tried is invalid, the error that is thrown looks bad, i am sure there is no memory crunch or bad allocs happening. Its just an improper handling of the invalid files. We would try and fix that soon.
Can you please send us the invalid file so that we can have it reproduced and fix the error condition. You can mail me at [email protected]
Thank you for your co-operation! -
Presentation Server shutting down while running Pivot View
Hi all,
The presentation server is shutting down after running a pivot view report.It is fetching more than 5000 rows.
I have set the parameters also in Instanceconfig file for Pivot but then also it is shutting down.
The error in log i get is this.
Location:
saw.cube.cache.processCube
saw.views.pivottable.displayer
saw.views.dashboard
saw.httpserver.request
saw.rpc.server.responder
saw.rpc.server
saw.rpc.server.handleConnection
saw.rpc.server.dispatch
saw.threadPool
saw.threads
A C-runtime error occured (bad allocation)
Help is appreciated.
Regardshi,
Its a bug u need to install the patch
Presentation Services crash regularly
thanks,
saichand -
Problem when installing NetWeaver 04S
Hi,
I am installing NetWeaver 04S and facing problem in phase 39 "Installing software units". I have tried restarting the server and retrying the installation, but the problem prevails. I am attaching contents of java.log file and sapinst.log file.
Any help is greatly appreciated!
regards,
Suma.
Info: Finished successfully: development component 'com.sap.km.cm.protocols.ice'/'sap.com'/'SAP AG'/'7.0006.20060301194711.0000':
Deployment was successful
Info: Starting: Initial deployment: Selected development component
INFO 2006-10-16 11:16:23 [syxxccuren.cpp:105]
CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(iastring)
Working directory changed to C:\Program Files\sapinst_instdir\NW04S\SYSTEM\MSS\CENTRAL\AS.
INFO 2006-10-16 11:16:23
CJSlibModule::writeInfo_impl()
Output of C:\j2sdk1.4.2_12\bin\java.exe -Xmx256M -jar C:\usr\sap\N4S\DVEBMGS01\SDM/program/bin/SDM.jar deploy list=SDAS_TO_BE_DEPLOYED.LST onerror=stop sdmhome=C:\usr\sap\N4S\DVEBMGS01\SDM/program "logfile=C:\Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS/callSdmViaSapinst.log" logtoconsole=true is written to the logfile java.exe.log.
TRACE [iaxxejsbas.hpp:281]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown std::bad_alloc: bad allocation
ERROR 2006-10-16 11:18:18
FCO-00011 The step enableUsageTypes with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Enablement|ind|ind|ind|ind|4|0|enableUsageTypes was executed with status ERROR .
TRACE
<html><head></head><body><p>An error occurred while processing service <b>SAP NetWeaver 2004s Support Release 1 > SAP Systems > MS SQL Server > Central System > Central System Installation</b>. You may now</p><ul> <li>press <I>Retry</I> to repeat the current step.</li> <li>press the <I>View Log</I> button to get more information about the error.</li> <li>stop the task and continue with it later.</li></ul><p>Log files are written to <b>C:\Program Files/sapinst_instdir/NW04S/SYSTEM/MSS/CENTRAL/AS</b>.</p></body></html>
TRACE [iaxxgenimp.cpp:1093]
showDialog()
waiting for an answer from gui
TRACE [iaxxgenimp.cpp:1093]
showDialog()
waiting for an answer from gui
Log from callSDMViaSapinst file :
Oct 16, 2006 6:11:28 PM Info: -
Deployment was successful -
Oct 16, 2006 6:11:30 PM Info: Summarizing the deployment results:
Oct 16, 2006 6:11:30 PM Info: OK: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\EPWDC06_0.SCA
Oct 16, 2006 6:11:30 PM Info: OK: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\NETPDK06_0.SCA
Oct 16, 2006 6:11:30 PM Error: Admitted: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\SAPEU06_4.SCA
Oct 16, 2006 6:11:30 PM Info: OK: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\LMPORTAL06_0.SCA
Oct 16, 2006 6:11:30 PM Error: Admitted: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\CAFKM06_1.SCA
Oct 16, 2006 6:11:30 PM Info: OK: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\KMCCOLL06_0.SCA
Oct 16, 2006 6:11:30 PM Info: OK: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\KMCCM06_0.SCA
Oct 16, 2006 6:11:30 PM Info: OK: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\RTC06_0.SCA
Oct 16, 2006 6:11:30 PM Info: OK: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\RTCSTREAM06_0.SCA
Oct 16, 2006 6:11:30 PM Info: OK: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\UWLJWF06_0.SCA
Oct 16, 2006 6:11:30 PM Info: OK: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\KMCBC06_0.SCA
Oct 16, 2006 6:11:30 PM Error: Admitted: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\VCBASE06_0.SCA
Oct 16, 2006 6:11:30 PM Error: Admitted: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\VCFLEX06_0.SCA
Oct 16, 2006 6:11:30 PM Error: Admitted: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\VCKITGP06_0.SCA
Oct 16, 2006 6:11:30 PM Error: Admitted: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\VCKITXX06_0.SCA
Oct 16, 2006 6:11:30 PM Error: Admitted: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\WDEXTENSIONS06_0.SCA
Oct 16, 2006 6:11:30 PM Error: Admitted: D:\Netweaver_04s_Softwares\SAP_NW_Java_Components\J2EE_OSINDEP\UT\VCFRAMEWORK06_0.SCA
Oct 16, 2006 6:11:30 PM Error: Processing error. Return code: 4Hello Suma,
Check the OSS note 883286 for this issue. The note mentions that it applies to SAP ERP 2005 systems based on SAP NetWeaver * 2004s Java only, Double-stack (ABAP+Java).
Even though your system in nor ERP 2005 in my understanding but I hope this solution will work for you.
Please award points for useful answer.
Regards.
Ruchit. -
Hi All,I am running the Office Deployment Tool with Office 365 in Download mode from an elevated CMD to get the latest install/update files for my local source. It is downloading the first 5 items without issue, but when it gets to "Downloading file http.../stream.x86.x-none.dat", it immediately throws the error below, and the file does not get downloaded:TextERROR: bad allocation.Quitting!Does anyone have any idea what is going wrong? There seems to be no instances of this in a google search. I have been able to successfully download this in the past. There is over a TB of free space on the destination drive.
Here is the whole process:
TextMicrosoft Windows [Version 6.1.7601]Copyright (c) 2009 Microsoft Corporation. All rights reserved.C:\Windows\System32>\\server\share\OfficeCTR\setup.exe /download \\server\share\OfficeCTR\...
This topic first appeared in the Spiceworks CommunityHi,
It will be great if you can provide the entire error message/log so that we can understand you clearly.
If Outlook is running while Office 365 desktop setup is attempting to configure Outlook, the configuration will fail. To correct this issue, close Outlook and run Office 365 desktop setup again.
Thanks,
Ethan Hua CHN
TechNet Community Support -
IMac Harware Test runs for hours, repairpermission too
My iMac G5 started having failures last year already. So I first ran Disk Warrior and everything turned out well for a while. But now, the system started showing the endless rotating whell when booting, and I could not do an Archive and Install. So I diagnosed a HD failure and bought a new HD.
I reinstalled everything via Carbon Copy Cloner and did and Archive and Install. But obviously the permissions were wrong and Disk Util took ages trying to repait them. So I decided to boot in Single User Mode and tried to run Applejack wich also seemed to step on the spot after finding some "bad Alloc[157]...etc". So I threw in Apple Hardwae Test and ran a full checkup and as it turns out, it gets stuck when checking the RAM, so I stopped it after 1 hour.
Does anybody have a clue of what might be wrong? How shall I determine what is rong when Hardware Test stops in the middle? Is it the RAM? How should I find out?
matHello,
You re absolutely right. I did too many things at the
same time.
Yes, repairs and trouble-shooting need to be done systematically. And, it needs to be done with tools appropriate to the task.
Using one tool to do this, and then another tool to fix the first tools mistakes, and then jumping to another one just doesn't work well.
I finally reinstalled the system and tomorrow, while
I'm at work,
Yes, that will be the way to go.
You should consider that while you are at work, the system will be sitting there completed. So, if your fans run full speed while in the diagnostic test (I cannot remember for sure if they did or not on my system), then they will continue to do so until you come back.
I don't know if I'd leave the computer there for 8 hours with fans at full speed and the screen unmoving on maximum brightness. That just doesn't sound ideal to me.
I think perhaps I'd demonstrate exactly what you want done to your wife (or someone else if someone else is home), and request them to do that for you to get the machine up and running for you about 2 and a half hours before you get home.
I'll have Hardware Test running at home.
I was just quite exasperated because Hardware Test
said it would take about 15 Min, so after an hour, I
thought it was stuck.
That's understandable.
I promise to be a goob boy now and stop thinking my
Mac was a box of Lego where I can unbuild and rebuild
everything like I please.
Yes. Computers don't like that
Let us know how it works out. -
What is bad # for 'Space Allocated/Used" and 'ITL Waits' in V$SEGMENT_STATS
I ran a query against the V$SEGMENT_STATISTICS view today and got some possibly disturbing numbers. Can some one let me know if they are bad or if I just reading to much into them.
DB has been up since 1/10/2011 so they represent the stats since then. DB size is 3TB
OBJECT_NAME OBJECT_TYPE STATISTIC_NAME VALUE
XXPK0EMIANCE INDEX space allocated 27,246,198,784
ITEMINTANCE TABLE space allocated 22,228,762,624
LITEMINSTANCE TABLE space used 19,497,901,889
XXPK0TEMINSTANCE INDEX space used 17,431,957,592
TTINGCORE TABLE space allocated 8,724,152,320
XXPK0IANCE INDEX space allocated 6,912,212,992
SKISTANCE TABLE space allocated 4,697,620,480
IIXCNSTANCE TABLE space allocated 4,697,620,480
on the XXPK0EMIANCE index the inital extent is 64k
XXPK0MINSTANCE INDEX ITL waits 1,123
XXIEKILSTANCE INDEX ITL waits 467
XXPKLINSTANCE INDEX ITL waits 463
XXPKCE INDEX ITL waits 338
XXIE3ENT INDEX ITL waits 237
If these are bad do they impact performance? My understanding is that being wait states, things stop until they are resolved. Is that true.
Also these looked high, are they?
LATION_PK INDEX logical reads 242,212,503,104
XXAK1STSCORE INDEX logical reads 117,542,351,984
XXPK0TSTANCE INDEX logical reads 113,532,240,160
TCORE TABLE db block changes 1,913,902,176
SDENT TABLE physical reads 72,161,312
XXPK0PDUCT INDEX segment scans 35,268,027
ESTSORE TABLE buffer busy waits 2,604,947
XXPK0SUCORE INDEX buffer busy waits 119,007
XXPK0INSTANCE INDEX row lock waits 63,810
XXPK0EMINSTANCE INDEX row lock waits 58,129
XXPK0NSTANCE INDEX row lock waits 57,776
XXIE2DDSTANCE INDEX row lock waits 54,788
XXPK0DDDSTSCORE INDEX row lock waits 49,167
Am i just reading too much into this? I am not a DBA, our DBA is too busy doing data changes and such to spent time looking at these stuff. I was tasked to try to find out why our DB is so slow.Statistics on waits and reads are cumulative since the last database instance startup --- which was more than 4 months ago.
So :
XXPK0MINSTANCE INDEX ITL waits 1,1231,123 waits in 4+ months isn't bad.
Reading such statistics without reference to the duration is utterly meaningless.
Those 1,123 waits could have been 10 waits a day @1 every 2 hours.
OR those 1,123 waits could have occurred between 01:00 and 01:30 on 03-May-2011.
We have no way of knowing which is the case.
Hemant K Chitale
Maybe you are looking for
-
How can I locate the drop down menu to select thumbnails for viewing my photos?
I am using Microsoft Windows Vista. I select Files> Get photos and Videos> From Files and Folders. I select my photos and In my views I have a choice of different size icons, list, details and tiles. The icons are a flower image. When I select an i
-
HI I updated iphone 5 to ios 8.1 but now there is many problems and i want to turn back to ios 7 . How can i do it?
-
Freight Amount-KF00 in Sales Order/Invoice
Hi All, requirement is regarding Capturing Freight costs involved in Transportation. Transportation charges are based on , Incoterms_INCO1 , Transporter_LIFNR , Departure zone(Ship.Point)_LZONEA, Destination Zone(Customer-Ship to Party)_LZONEZ , Ship
-
Solaris 10x86 and grub, bootloading and how to add new disk
In the latest version of Solaris 10 (1/06) it now uses grub to do the bootloading. I cannot get grub to create a new partition on my new second disk. BIOS sees my disk. At first "format" would not see the disk. I ran "reboot -- -r" to fix this. Now,
-
Office Control does not display word document
HI all, I followed the example code to display a word document in the office Control UI, but the display remains blank when I push the button to 'show document'. I do not have MS Office installed on the server so I have a wordpad named example.doc on