Assert is broken
I'm a fairly new Java programmer, coming from a C++ background. Over the past several months, I've written about 26000 lines of Java code, with heavy use of the assert statement to catch bugs and invalid data. Works great. I'm using Borland JBuilder 9, Weblogic edition.
Now that I'm trying to deploy, I've found that assert is broken. You see, in C++ land, assert is useful because it is ignored unless you are in debug mode. Ignored means the compiler ignores it, and the arguments in it aren't evaluated. Won't affect performance.
But now, when I adjust the project settings and uncheck the box that says "enable the assert keyword", I suddenly find my code full of errors: assert isn't ignored, it's just uncompilable!
Hopefully I'm missing something important here. Or is this just broken? Is there a way I can make it ignore (and not evaluate!) the contents of the assert statements? I guess in C++ it's easier, becase assert is a macro. Hmm, maybe this is the reason why it is the way it is: no macros in Java. Am I right?
--- Eric
assert's not broken, it's a flaw either in JBuilder or your understanding.
Why is it that when people have problems they automatically assume that they're doing everything right and the JVM is bugged? I don't get it.
I think you're the problem. Dig deeper - there's a flag in the JVM that will tell the compiler/runtime to ignore the asserts. I just don't know what it is, because I don't use assert. I find that it's always turned off at runtime. During development, I'd rather have a full set of JUnit tests than all the asserts in the world. JMO
Similar Messages
-
[SOLVED][GNOME] 3.14 update broken
Hi all,
Just upgraded my system to the latest 3.14 release and now everything is broken. GDM will not start and I cannot start a GNOME session directly via startx.
Is anyone else having this issue?
This is on an Intel Haswell based system, by the way.
journalctl shows the following:
Oct 16 09:44:43 minime gnome-session[708]: Unrecoverable failure in required component gnome-shell.desktop
Last edited by cabrey (2014-10-16 14:16:17)I also get an error when trying to start a GNOME session after the upgrade. I removed my infinality patched freetype2 and fontconfig and installed the latest ones, with no change. using SLiM as my login manager because GDM isn't compatible with the Catalyst graphics drivers.
this is most of the output of journalctl | grep gnome:
10月 16 21:27:03 fleecey slim[311]: gnome-session - GNOME
10月 16 21:27:03 fleecey slim[311]: env GNOME_SHELL_SESSION_MODE=classic gnome-session --session gnome-classic - GNOME Classic
10月 16 21:27:05 fleecey slim[311]: gnome-session - GNOME
10月 16 21:27:05 fleecey slim[311]: env GNOME_SHELL_SESSION_MODE=classic gnome-session --session gnome-classic - GNOME Classic
10月 16 21:27:27 fleecey gnome-session[512]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
10月 16 21:27:27 fleecey gnome-session[512]: GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1
10月 16 21:27:27 fleecey gnome-session[512]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
10月 16 21:27:37 fleecey gnome-session[512]: X Error of failed request: BadValue (integer parameter out of range for operation)
10月 16 21:27:37 fleecey gnome-session[512]: Major opcode of failed request: 141 (RANDR)
10月 16 21:27:37 fleecey gnome-session[512]: Minor opcode of failed request: 13 (RRChangeOutputProperty)
10月 16 21:27:37 fleecey gnome-session[512]: Value in failed request: 0x99
10月 16 21:27:37 fleecey gnome-session[512]: Serial number of failed request: 299
10月 16 21:27:37 fleecey gnome-session[512]: Current serial number in output stream: 301
10月 16 21:27:37 fleecey gnome-session[512]: gnome-session[512]: WARNING: App 'gnome-shell.desktop' exited with code 1
10月 16 21:27:37 fleecey gnome-session[512]: WARNING: App 'gnome-shell.desktop' exited with code 1
10月 16 21:27:37 fleecey gnome-session[512]: X Error of failed request: BadValue (integer parameter out of range for operation)
10月 16 21:27:37 fleecey gnome-session[512]: Major opcode of failed request: 141 (RANDR)
10月 16 21:27:37 fleecey gnome-session[512]: Minor opcode of failed request: 13 (RRChangeOutputProperty)
10月 16 21:27:37 fleecey gnome-session[512]: Value in failed request: 0x99
10月 16 21:27:37 fleecey gnome-session[512]: Serial number of failed request: 299
10月 16 21:27:37 fleecey gnome-session[512]: Current serial number in output stream: 301
10月 16 21:27:37 fleecey gnome-session[512]: WARNING: App 'gnome-shell.desktop' exited with code 1
10月 16 21:27:37 fleecey gnome-session[512]: WARNING: App 'gnome-shell.desktop' respawning too quickly
10月 16 21:27:37 fleecey gnome-session[512]: gnome-session[512]: WARNING: App 'gnome-shell.desktop' exited with code 1
10月 16 21:27:37 fleecey gnome-session[512]: gnome-session[512]: WARNING: App 'gnome-shell.desktop' respawning too quickly
10月 16 21:27:37 fleecey gnome-session[512]: Unrecoverable failure in required component gnome-shell.desktop
10月 16 21:27:38 fleecey gnome-session[512]: Failed to play sound: File or data not found
10月 16 21:27:38 fleecey gnome-session[512]: (nm-applet:662): GLib-GObject-WARNING **: The property GtkButton:use-stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
10月 16 21:27:38 fleecey gnome-session[512]: (nm-applet:662): GLib-GObject-WARNING **: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
10月 16 21:27:38 fleecey gnome-session[512]: (nm-applet:662): GLib-GObject-WARNING **: The property GtkImage:stock is deprecated and shouldn't be used anymore. It will be removed in a future version.
10月 16 21:27:39 fleecey gnome-session[512]: (nm-applet:662): GLib-GObject-WARNING **: The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
10月 16 21:27:40 fleecey gnome-session[512]: Entering running state
10月 16 21:27:42 fleecey gnome-session[512]: (zeitgeist-datahub:672): GLib-GObject-WARNING **: invalid (NULL) pointer instance
10月 16 21:27:42 fleecey gnome-session[512]: (zeitgeist-datahub:672): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
EDIT: this topic seems more relevant to my issue. I'll move there instead.
Last edited by parashep (2014-10-17 05:03:04) -
Need Help with Identity Asserter and Authenticator
First I have build custom authentication provider and configured in Web logic without Assertion and deployed as MBean --
Then I build one Custom Identity Assertion separately and deployed on Web Logic with below configuration. Now my problem is that even though I pass TOKEN in header , but still weblogic prompts for username / password . Though it successfully prints Token on console inside Asserter.
Also I have set below in config.xml to avoid
<enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials>
Web.xml
<security-constraint>
<display-name></display-name>
<web-resource-collection>
<web-resource-name>anything</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>PUT</http-method>
<http-method>HEAD</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<description>user </description>
<role-name>myuser</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>CLIENT-CERT</auth-method>
<realm-name>myrealm</realm-name>
</login-config>
<security-role>
<role-name>myuser</role-name>
</security-role>
where do I need to define myuser in weblogic admin console ?hello!
I've been trying to find a working example for creating
a custom Identity Assert...but the links to such resources in the old BEA
docs are now broken...
can you point me towards a source of working code examples
for an Identity Asserter?
thank you! -
Hello forum members,
Sorry for my english, this is not my native language.
I use a Script from http://www.typomedia.org/adobe/indesign/fontcatalog/ to get all fonts from %Systemroot%/Fonts and the font folder of InDesign and write a simple text with these fonts. To test the script I run it under CS5 and CS5 Debug. It found only 6 of over 900 fonts. In CS5 Debug any time I run the Script, I collect two times the assert:
JavaScriptDataConverter::ScriptDataToVariant - Untranslated key string: System Font
Eng: Script providers must return untranslated strings to INX and translated strings to scripting clients.
QE: Please report this assert as a 2/2 bug
..\..\..\source\components\script\javascript\JavaScriptDataConverter.cpp (101)
In my first step I consult the developer of the script, but he has no idea why I get the assert. He also test his script under InDesign CC but he has no problems.
My InDesign CS5 and CS5 Debug versions are installed on the same system Windows Server 2008 R2 Standard SP 1.
I think the assert is the reason I get only 6 fonts in the normal CS5 Version.
Maybe the problem occur, because its a Server System or there are interdependency with other components because its an developer machine.
Have someone an idea or a similar issue, how I can clear my problem?
Thanks for your attention
m.gmazThe debug version is for developing plugins, so a script programmer need not know such details.
The assert is just a warning, you will still receive the string.
As you have the debug build, you should know that, and how to file a bug report / support case, but I doubt that bug fixes for CS5 will be handled with high priority - after all it is just an assert. OTOH if you can demonstrate that this also leads to broken INX files, that might ring a bell.
Iterating fonts by means of the file system is a less than stellar idea, for that purpose we have the app.fonts collection which also considers the other applicable locations - application specific fonts, document fonts, fonts provided by font activation programs, even fonts in some spurious location of the scripts folder and missing fonts. The font object also has a property for its file system path, if you really need that (writing your own package command?).
Dirk -
My root filesystem seems to be broken after I forced my laptop restart by powering it off.
Now I am always dropped into an emergency shell. The log tells me that mount got segmentation fault when it tried to mount the root partition. I'm using btrfs for the root partition(silly me!).
I already tried mounting the root system from a live cd, got the same segmentation fault.
Can anyone shed some light on this? Is there any tool similar to fsck for btrfs?
If the log is required, I will attach it later.
Thanks in advance.
EDIT:
I tried running
btrfsck --repair /dev/sda7
but also failed with
enabling repair mode
checking extents
checking fs roots
checking root refs
btrfsck: extent-tree.c:2549: btrfs_reserve_extent: Assertion `!(ret)` failed.
[1] 385 abort (core dumped) btrfsck --repair /dev/sda7
EDIT 2:
The problem seems to be solved by following
http://www.funtoo.org/wiki/BTRFS_Fun
section Clearing the BTRFS journal and Using btrfsck
Last edited by qiuwei (2013-05-17 15:22:14)falconindy wrote:
https://plus.google.com/108087225644395 … kMy11j1yW7
shorter version:
# btrfs-zero-log /dev/sda7
Many thanks. It indeed solved the problem. -
I installed the Keyboard Update -- now iCal is a mess. No list of calendars, to-do's are missing, and I can't switch months or choose from menus. I can't even resize the iCal menu. Not sure if they're related, but ... in short, it's broken!
I've removed the pref files, and sync support... tried all I saw in this forum, to no avail.
Here's my Console error:
2/21/08 9:01:05 PM iCal[161] * Assertion failure in -[CoreTaskOutlineView _uncachedRectHeightOfRow:], /SourceCache/AppKit/AppKit-949.27/TableView.subproj/NSTableView.m:1574
2/21/08 9:01:05 PM iCal[161] rowHeight must be > 0
Has anyone seen this before?
LauraLaura,
I've removed the pref files, and sync support...
1. Do you use any sync features?
2. Did you do anything in the SyncServices folder? Apple says: As if it were a swarm of bees, you should stay away from the SyncServices folder in Mac OS X. Removing or modifying anything in it—or in subfolders within it—may cause unexpected issues. This folder is located in your Application Support folder, in your Library folder, in your Home folder.
If you are attempting to troubleshoot an issue that involves this folder in Mac OS X 10.5 or later, see this article.
tried all I saw in this forum, to no avail.
3. Did you delete the iCal cache file?
4. Do you have any iCal backups?
5. Perhaps you should also install the 10.5.2 Combo Update.
;~) -
MenuBar is broken & half of my apps freeze on launch
My iMac just started acting up today and now half of my applications are hanging on launch and my MenuBar is broken, all the system items (clock, wifi, bluetooth status, etc) aren't showing up in the MenuBar.
My console.log is filled with this cryptic error:
2008-02-19 17:35:09.404 Software Update[651] * Assertion failure in -[NSMenuItem initWithTitle:action:keyEquivalent:], Menus.subproj/NSMenuItem.m:140
2008-02-19 17:35:09.404 Software Update[651] Invalid parameter not satisfying: aString != nil
Every application I launch ends up with this in the console.log, I've tried logging in as another user as well as creating a "clean" user account and it's all the same...
Any insight would be greatly appreciated as I can't get any of my work done for my job and I'm at my wit's end!
Thanks!
Message was edited by: TESFoxStill don't know what caused it, but I needed to get my machine back up and running & an archive & install with migrate users turned on worked flawlessly, I have a small handful of things that I need to re-install, and a run of software update, but I'm back up and running. Thanks to anyone who looked at this and tried to come up with a solution.
-
Reloading POF context -- broken integration tests
Adding in POF support has broken our integration tests. Each test passes by itself, but running the suite causes some to fail. Based on the log messages, it looks like one test A loads the default POF config from the coherence jar. Then test B sets tangosol.pof.config to a file that contains user types, but test B fails because the user type is not recognized. We call CacheFactory.shutdown() after every test, so I would expect the POF config to be fully reloaded.
My question is: how can I reload the POF context so it will use the current tangosol.pof.config value?
Here's the source for a junit test that reproduces the problem. It fails on the assertion in bold.
public class ReloadPofConfigTest
private static final String CACHE_NAME = "SearchResultCache";
@Test
public void pofContextShouldBeReconfigurable()
ConfigurablePofContext pofContext pofContext = getPofContext(CacheFactory.getCache(CACHE_NAME));
assertFalse(pofContext.isUserType(PortableSearchFuture.class));
CacheFactory.shutdown();
System.setProperty("tangosol.coherence.cluster", "SearchResultCache-local");
System.setProperty("tangosol.coherence.ttl", "0");
System.setProperty("tangosol.pof.config", "search-pof-config.xml");
pofContext = getPofContext(CacheFactory.getCache(CACHE_NAME));
assertTrue(pofContext.isUserType(PortableSearchFuture.class));
CacheFactory.shutdown();
public static ConfigurablePofContext getPofContext(NamedCache cache)
Serializer serializer = cache.getCacheService().getSerializer();
assertEquals(ConfigurablePofContext.class, serializer.getClass());
ConfigurablePofContext pofContext = (ConfigurablePofContext) serializer;
return pofContext;
}Hi user10646670,
If you change your configuration to
<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>SearchResultCache</cache-name>
<scheme-name>search-result-cache</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>search-result-cache</scheme-name>
<backing-map-scheme>
<local-scheme/>
</backing-map-scheme>
<autostart>true</autostart>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value system-property="my.pof.config">coherence-pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
</distributed-scheme>
<local-scheme>
<scheme-name>search-result-local-cache</scheme-name>
</local-scheme>
</caching-schemes>
</cache-config>and use my.pof.config system property in your test:
System.setProperty("my.pof.config", "search-pof-config.xml");it should work.
Regards,
Dimitri -
Sempahore broken? [solved]
My imagemagick (or semaphores?) seems broken...
[root@one ~]# convert -version
Version: ImageMagick 6.5.7-5 2009-11-08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Features: OpenMP
convert: magick/semaphore.c:220: DestroySemaphoreInfo: Assertion `(*semaphore_info) != (SemaphoreInfo *) ((void *)0)' failed.
Aborted
I have tried pacman -Rd imagemagic and pacman -Syu - I'm now running out of ideas, Can anyone tell me what might be causing this on a fairly new (i.e: only just installed last week) system?
Many thanks,
Richard.
Last edited by r_j_h (2010-03-06 19:05:27)(Solved)
I'm running as root; because I build the system to my liking then create a user for normal use. I was investigating why convert -version was crashing dvdrip.
I noticed a version difference between this and my laptop; even though both were fully up to date. After checking and tweaking /etc/pacman.d/mirrorlist it appears that a mirror (probably ftp://mirrors.uk2.net/pub/archlinux/$repo/os/i686??) was quite out of date. Re-running pacman -Syu suddenly requested ~300MB of updates. One of these must have done the trick.
Seems odd that an official mirror should be so far out of sync - but I'm glad I managed to solve it.
Thanks anyway. -
Why lock a perfectly innocuous post about a broken PowerBook hinge?
Very odd.
Some chap below said that his hinge had broken, that Applecare told him to take it to an Applestore to get them to determine if it was warrantable, but set his expectation that he would spend $500 repairing a 2 year old machine that he did not break.
He asks for advice, mentions that he's furious and the topic is locked.
Seemed like a perfectly reasonable thread to me. Just wondering what terms justify locking that particular thread and stopping that poor chap getting advice from the Apple community.
Any ideas?Thanks for the response. I Can't say I agree with your points at all.
a) Forum for technical problems only?
This is what Apple say on the subject;
"Apple Discussions is a user-to-user support forum that enables anyone who uses Apple products to meet and discuss various topics, resolve issues, ask questions, get tips and advice, and more".
If what you say about technical problems is written somewhere, perhaps you could point us to it.
Seem to me that he had a mechanical problem, completely legitimate.
He asked for advice on how to deal with the issue he had. He got advice. Nobody told him what to do - when I make a post, usually, the post allows me to decide if I want to mark it answered. His was locked. Doesn't that strike you as a bit strange?
His original question expressed a bit of frustration at being told he'd likely have to pay $500 for what he considered a hardware failure or design fault. He wasn't rude, profane or unreasonable in what he originally wrote, otherwise he wouldn't have got replies.
His follow up to the advice he got was to tell us what he was going to do and to promise to keep us posted.
"Odd thing was I had just used it right before it broke. I simply Opened the screen in the upward direction and heard something almost like a crack. Didn't think much of the noise and when I opened it to its upright position it had broke. That simple. No force whatsoever. Thats the most upsetting part. It's simply rediculous. If this has happened and Apple has received repairs specifically this type, the lightbulb should go on and say, "Hey we have a bunch of people with the SAME EXACT PROBLEM going on here. What can we do to rectify the problem and fix this." It's a simple recall just like what they did with the batteries. Enough people complain and something gets taken care of. Anyway, thanks for the luck. I am taking it to the Apple store this weekend to have them look at it. I will post my experiance as soon as I can. Hope this helps people who have had the SAME problem as me. "
Doesn't sound like whining, sounds like he was going to do something about it and like he wants a resolution to a legitimate complaint in an expensive 2 year old machine. A pretty reasonable response to the advice he got, I thought. He actually went to the trouble of explaining how he experienced the fault as he said "to help people who have had the SAME problem as me"
There are loads of posts here which have been going for months and months asking questions and debating issues - e.g. the Powerbook lines issue for example.
I'm just struggling to understand why someone has locked this particular post. I don't agree with your assertion that the poster is merely whining or has had his problem solved.
So for the moment I am still wondering;
Why lock a perfectly innocuous post about a broken PowerBook hinge? -
Hi,
Just yesterday the power/lock button of my iPhone 4s decided to stop working out of nowhere.
Never dropped it or pushed it with force, yet still, it broke.
Anyway, since it's too much of a hassle to replace it, I tried looking for a software solution since this seemed completely fixable with an app.
So after looking around I came across the 'Assertive Touch' "solution" Apple implemented into iOS
But seriously, who came up with this?
Did Apple think this one trough?
Why isn't this customisable?
Although the power/lock button is a widespread problem, Apple decided that the 'Notification Center' and 'Control Center' (two things that are perfectly accessible by just swiping) are more important then providing a easy workaround for a mayor hardware flaw...
Now I need 3 tabs to lock my screen.
If I could put the 'Lock Screen' icon in the first set, I would only need 2...
Why hasn't someone come up with a simple app for this?
Something that would just need one tab to lock your screen...
Just like the 'Flashlight' apps just need one tap to turn your light on.
I would happily give 5$ for such an app that fixes my lock button problem.
So yeah... Are there any other solutions?
ThanksI'm really not sure if your post is serious or if you're trolling. I'll give you the benefit of the doubt and say that you're serious but using hyperbole to exaggerate the issue and make a point.
Although the power/lock button is a widespread problem, Apple decided that the 'Notification Center' and 'Control Center' (two things that are perfectly accessible by just swiping) are more important then providing a easy workaround for a mayor hardware flaw...
Yes, because AssistiveTouch is designed to ease use of the iPhone for people with physical disabilities that make precise swiping more difficult.
Your broken power button is a "mayor (sic) hardware flaw"? Apple acknowledged an issue with a "small percentage" of iPhone 5 devices that they replaced through an official program, but to my knowledge, there was no such issue with the 4S. Can you please point me to where you found the information that this is a widespread problem with the 4S.
In any case, the power button is one of only a few mechanical components in the device. Mechanical components wear out sometimes.
So after looking around I came across the 'Assertive Touch' "solution" Apple implemented into iOS
Are you talking about AssistiveTouch?
But seriously, who came up with this?
Did Apple think this one trough?
Why isn't this customisable?
If in fact you're talking about AssistiveTouch, experts in building accessible devices for the physically impaired came up with it. And is it customizable, something you must have missed.
Anyway, since it's too much of a hassle to replace it, I tried looking for a software solution since this seemed completely fixable with an app.
Why is it too much of a hassle? You've already spent time researching software solutions and posting here. Now add in all the time you're going to spend tapping three times and you see, it starts to add up. In less time, you could probably have fixed the problem yourself or had someone do it for you. I Googled "How to fix a broken iphone 4s power button" and immediately found a number of how-to guides with clear, step-by-step instructions.
I would happily give 5$ for such an app that fixes my lock button problem.
Since I've provided both a way to use AssistiveTouch to accomplish this, and links to DIY solutions, can I have the $5 you offered? :-) -
SWPM - System Copy - Assertion Failed Unable to load database
Hello again,
(already the next question form me, sorry for this
I am executing a sysetm copy (DB-refresh) on ASE using SWPM.
However, in "Configure Components" step I get the error: Assertion failed. Unable to load database <SID of Target Sysetm>.
Where else can I check for errors?
I think it is still something on which I already worked (with other thread).
In sapinst_dev.log I found this
TRACE 2015-03-25 11:05:00.320
SAPInst calls the LogInquirer. The output of the LogInquirer can be found in file sapinst_loginquirer.log.
TRACE 2015-03-25 11:05:06.122 [iaxxgenimp.cpp:638]
CGuiEngineImp::showMessageBox()
<html> <head> </head> <body> <p> An error occurred while processing option <i>SAP Enhancement Package 1 for SAP N
etWeaver 7.3 > SAP ASE > System Copy > Target System > Standard System > Based on AS ABAP > Database Refresh or M
ove( Last error reported by the step: Assertion failed: Unable to load database <SID>.)</i>. You can now: </p> <ul>
<li> Choose <i>Retry</i><br>to repeat the current step. </li> <li> Choose <i>Log Files</i><br>to get more inform
ation about the error. </li> <li> Stop the option and continue later. </li> </ul> <p> Log files are written to /t
mp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF. </p> </body></html>
TRACE 2015-03-25 11:05:06.124 [iaxxgenimp.cpp:1031]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
In sapinst.log I found this:
ERROR 2015-03-25 11:04:59.573
FCO-00011 The step syb_step_setup_preload with step key |NW_ABAP_DB_DBRefresh|ind|ind|ind|ind|0|0|NW_ABAP_DB|ind
|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_S
YB_DB|ind|ind|ind|ind|SYB_DB_CONTEXT|0|syb_step_setup_preload was executed with status ERROR ( Last error reporte
d by the step: Assertion failed: Unable to load database <SID>.).
INFO 2015-03-25 11:04:59.772
Creating file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/__instana_tmp.xml.
INFO 2015-03-25 11:05:00.307
Removed file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/instslana.xml.
INFO 2015-03-25 11:05:00.308
Creating file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/instslana.xml.Hello Kiran,
I did a few tests again yesterday, and it was really a stupid mistake from myside.
The error message did mean, that there wasn't enough space.
It isn't the authority issue, it was a leak of space.
FYI, the complete DB-Size of Source System is required - NOT JUST RESERVED SPACE!!!
Thx for help and sorry for stealing your time :O -
Jackd + guitar: "timeouts and broken pipes"
Hi friends! I'm trying to pass my electric guitar via any rack/effects (like Guitarix or Creox) with no luck. I've got this sound card:
01:06.0 Multimedia audio controller: Creative Labs [SB Live! Value] EMU10k1X
01:06.1 Input device controller: Creative Labs [SB Live! Value] Input device controller
I try with QJackCtl and invoking jackd from the terminal with any luck.
jackd -d alsa -C -P
jackd 0.121.3
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
could not open driver .so '/usr/lib/jack/jack_net.so': libcelt0.so.2: cannot open shared object file: No such file or directory
could not open driver .so '/usr/lib/jack/jack_firewire.so': libffado.so.2: cannot open shared object file: No such file or directory
JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
jackd watchdog: timeout - killing jackd
[gabo@machina ~]$
This is the output from QJackCtl:
00:12:07.126 Client deactivated.
00:12:07.130 JACK is being forced...
cannot read server event (Success)
cannot continue execution of the processing graph (Bad file descriptor)
zombified - calling shutdown handler
cannot send request type 7 to server
cannot read result for request type 7 from server (Broken pipe)
cannot send request type 7 to server
cannot read result for request type 7 from server (Broken pipe)
00:12:07.339 JACK was stopped with exit status=1.
I can hear my guitar and record with Audacity, but when jackd enter into the escenario everything blows up. I read that nowadays almost any sound card will work with QJackCtl with the default options. I play with the parameters and sometimes jack refuse to start. With the default options on i can make it run, but i get no sound of the racks or guitar effects processors neither the guitar tuners that use jack takes the sound from the guitar. My line input is in capture via alsamixer, but still no luck. Any clue on this? I'm skipping steps?
Thanks in advance.
iamgaboHi!
groups && cat /proc/asound/cards && cat ~/.asoundrc && cat '/etc/security/limits.d/audio.conf' && jackd -v
adm disk lp wheel http network video audio optical storage power users polkitd vboxusers wireshark kismet
0 [Live ]: EMU10K1X - Dell Sound Blaster Live!
Dell Sound Blaster Live! at 0xcc00 irq 17
#pcm.upmix71 {
#type upmix
#slave.pcm "surround71"
#delay 15
#channels 8
pcm.!default {
type hw
card 0
ctl.!default {
type hw
card 0
# convert alsa API over jack API
# use it with
# % aplay foo.wav
# use this as default
pcm.!default {
type plug
slave { pcm "jack" }
ctl.mixer0 {
type hw
card 1
# pcm type jack
pcm.jack {
type jack
playback_ports {
0 system:playback_1
1 system:playback_2
capture_ports {
0 system:capture_1
1 system:capture_2
cat: /etc/security/limits.d/audio.conf: No such file or directory
I have a file called 99-audio.conf
cat /etc/security/limits.d/99-audio.conf
@audio - rtprio 99
@audio - memlock unlimited
Also i've seen some guys changing this file too:
cat /etc/security/limits.conf
# /etc/security/limits.conf
#Each line describes a limit for a user in the form:
#<domain> <type> <item> <value>
#Where:
#<domain> can be:
# - an user name
# - a group name, with @group syntax
# - the wildcard *, for default entry
# - the wildcard %, can be also used with %group syntax,
# for maxlogin limit
#<type> can have the two values:
# - "soft" for enforcing the soft limits
# - "hard" for enforcing hard limits
#<item> can be one of the following:
# - core - limits the core file size (KB)
# - data - max data size (KB)
# - fsize - maximum filesize (KB)
# - memlock - max locked-in-memory address space (KB)
# - nofile - max number of open files
# - rss - max resident set size (KB)
# - stack - max stack size (KB)
# - cpu - max CPU time (MIN)
# - nproc - max number of processes
# - as - address space limit (KB)
# - maxlogins - max number of logins for this user
# - maxsyslogins - max number of logins on the system
# - priority - the priority to run user process with
# - locks - max number of file locks the user can hold
# - sigpending - max number of pending signals
# - msgqueue - max memory used by POSIX message queues (bytes)
# - nice - max nice priority allowed to raise to values: [-20, 19]
# - rtprio - max realtime priority
#<domain> <type> <item> <value>
#* soft core 0
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#@student - maxlogins 4
* - rtprio 0
* - nice 0
@audio - rtprio 65
@audio - nice -10
@audio - memlock unlimited
jackd 0.121.3
There are the snaps for QJackCtl
Also, checkout this stuff that i've recorded with audacity, only from the line and nothing else
http://ompldr.org/vZ3A2eg
Thanks!
Last edited by iamgabo (2012-12-15 02:21:08) -
I have an older I-Phone (3G) that for some reason the body of the phone has split in two. This phone was a business phone and it had a lot of important information on it. I have a second phone that is also a 3G. On the broken phone there is a lot of important information that I need in my calendar. Im not worried about anything else but the calendar. I didn't have the Mobile Me account at that time or I would be having this problem. Does anybody know if I can ust switch out the sim cards. I just need to recover the old calendar, so im hoping that the calendar will transfer when I switch the sim card into the good 3G. If that doesn't work does anybody know of anyway that I can retrieve this information off of this phone?
Nothing is stored on the sim card on an iPhone. If you backed up to your computer the backup will contain your calendar events. Otherwise, if your phone isn't functioning there is no way to back up or extract your calendar at this point.
-
As the title suggests, I can not use the lock screen/power button on my iPod Touch, it is broken. I can use Adaptive Touch to turn the screen on and off at will, and also turn my device off. But if I turn it off, I don't know how to get it to turn back on. Could I just plug it into a charger and turn it back on, or would I need to plug it into my computer? Please help, in a few days I won't have access to it for 9 weeks, I need immediate help.
If you power off the iPod, it will turn back on if you connect it to a charger like a wall charger or a computer. I just checked with a charging source to confirm. I knew it did it with a computer.
Maybe you are looking for
-
Using JDev 10.1.3.0.4. I have a page that shows a single record. The user can toggle between regular and Find mode to enter query by example criteria. One of the fields has been bound to a dynamic list. The "No Selection" Item in the List Binding Edi
-
Employee Technicals Requirements in the side of ECC 6.0
Hi forum Recently i wrote one note in SAP about one problem i have, the thing is that i have one BAPI (HRXSS_SER_GETMENUDATA) that has one parameter more in some ERPs. and ESS 603 use it Summarizing this note: I have this version of ESS ins
-
Flash prospectus - best practice?
Hello all, I'm currently pitching to put together a 110 page Flash based prospectus for a local college. The finished result will be made available online, and also via CD-ROM. The layout of the pages will be very consistent in terms of what elements
-
Changing Ramp color in After Effects
Hi all, I'm still new to AE and currently using step by step guides from books to practice in AE. In one of my practice, I'm creating a text animation with a ramps shader as the background as seen in my attached file here, and according to the book
-
Hotmail won't let me send email, says corelr plug-in and shuts down safari
Trying to send email from hotmail. as soon as i hit compose mail, safari shuts down. The message i get is it's a "coreclr plug-in" causing it.