Displaying 20 results from an estimated 20 matches for "throwexcept".
2007 Sep 20
10
Element.addMethods functions swallowing exceptions (IE6 + 7)
...occurs regardless of attributes/no attributes
Has anyone else seen this, or have any suggestions?
<html>
<head>
<script type="text/javascript" src="prototype.js"></script>
<script type="text/javascript">
Element.addMethods({
throwException: function() {
if (arguments.length > 1) {
var message = arguments[1];
} else {
var message = "default message";
}
alert("Element: about to throw exception");
throw new Error(message);
alert("this should not be executed");...
2008 Feb 11
2
[LLVMdev] exception handling broken on x86-64?
Hello Evan and Dale,
> Shootout-C++/except works for me. Anton suggests there may be an
> issue with the unwinding libraries and he may be right, I'll look at
> it with you tomorrow.
Yes. Please be sure, that you're linking with system libgcc.{so,dylib},
not with llvm-compiled one.
--
WBR, Anton Korobeynikov
2008 Mar 15
1
[LLVMdev] exception handling broken on x86-64?
...x86_64?
I'm having problems with exceptions on linux x86_64. Today, on x86_64
with a recently updated working copy of llvm, I tried calling a JITted
function that calls an external function that throws:
thrower.cpp: (which gets compiled into a dynamic library)
extern "C"
void throwexception()
{
throw 5;
}
My code that invokes the JIT:
llvm::Function *q_main = implementationVisitor.m_module-
>getFunction("q_main");
std::vector<GenericValue> args;
try {
GenericValue GV=EE->runFunction(q_main, args);
} catch (...) {
printf(&...
2010 Apr 09
3
[LLVMdev] VMKit assertion failure
...$NOCANCEL$UNIX2003 ()
#2 0x9518c013 in usleep$NOCANCEL$UNIX2003 ()
#3 0x951a3685 in abort ()
#4 0x955eb005 in __gnu_cxx::__verbose_terminate_handler ()
#5 0x955e910c in __gxx_personality_v0 ()
#6 0x955e914b in std::terminate ()
#7 0x955e9261 in __cxa_throw ()
#8 0x000130ae in j3::JavaThread::throwException (this=0x20000000,
obj=0x1bcfc00) at JavaThread.cpp:73
#9 0x0002352b in j3::Class::initialiseClass (this=0x20e5c60,
vm=0x20525a8) at Jnjvm.cpp:249
#10 0x000242e5 in j3::Jnjvm::loadBootstrap (this=0x20525a8) at
Jnjvm.cpp:1134
#11 0x000243f1 in j3::Jnjvm::mainJavaStart (thread=0x20000000) at...
2010 Apr 09
0
[LLVMdev] VMKit assertion failure
VMKit runs multiple threads (for example for GC, finalization, etc), so I
need the back trace of other threads as well :)
Thanks!
Nicolas
On Fri, Apr 9, 2010 at 9:28 AM, Konrad Hinsen <konrad.hinsen at fastmail.net>wrote:
> On 7 Apr 2010, at 21:36, nicolas geoffray wrote:
>
> Hmm, I am not getting that error message on my MacOS 10.5 machine with
>> that same gcc. Could you
2010 Apr 09
2
[LLVMdev] VMKit assertion failure
On 7 Apr 2010, at 21:36, nicolas geoffray wrote:
> Hmm, I am not getting that error message on my MacOS 10.5 machine
> with that same gcc. Could you run j3 in gdb and get me a backtrace?
Sure:
(gdb) bt
#0 0x950be44e in __semwait_signal ()
#1 0x950e93e6 in _pthread_cond_wait ()
#2 0x950e8dcd in pthread_cond_wait$UNIX2003 ()
#3 0x000be2d2 in mvm::Cond::wait (this=0x20527c4,
2010 Apr 10
0
[LLVMdev] VMKit assertion failure
...18c013 in usleep$NOCANCEL$UNIX2003 ()
> #3 0x951a3685 in abort ()
> #4 0x955eb005 in __gnu_cxx::__verbose_terminate_handler ()
> #5 0x955e910c in __gxx_personality_v0 ()
> #6 0x955e914b in std::terminate ()
> #7 0x955e9261 in __cxa_throw ()
> #8 0x000130ae in j3::JavaThread::throwException (this=0x20000000,
> obj=0x1bcfc00) at JavaThread.cpp:73
> #9 0x0002352b in j3::Class::initialiseClass (this=0x20e5c60, vm=0x20525a8)
> at Jnjvm.cpp:249
> #10 0x000242e5 in j3::Jnjvm::loadBootstrap (this=0x20525a8) at
> Jnjvm.cpp:1134
> #11 0x000243f1 in j3::Jnjvm::mainJavaStar...
2013 Nov 13
3
[LLVMdev] (Very) small patch for the jit event listener
...asm code,
it can give you some ideas if you plan to integrate a stub generator
able to perform dynamic dispatch like virtual call in c++) because
MCJIT does not provide this facility. So, for each function, I define
a module. In each module, I have to define the runtime function (such
as gcmalloc, throwException and this kind of functions). They are
defined in a separated runtime module populated during the bootstrap.
I have thus this picture
MCJIT
|----------------------------------------------------------
| | |
Runtime module module fo...
2013 Nov 14
0
[LLVMdev] (Very) small patch for the jit event listener
...asm code, it can give you some ideas if you plan to integrate a stub generator able to perform dynamic dispatch like virtual call in c++) because MCJIT does not provide this facility. So, for each function, I define a module. In each module, I have to define the runtime function (such as gcmalloc, throwException and this kind of functions). They are defined in a separated runtime module populated during the bootstrap.
I have thus this picture
MCJIT
|----------------------------------------------------------
| | |
Runtime module module fo...
2013 Nov 14
2
[LLVMdev] (Very) small patch for the jit event listener
...asm code, it can give you some ideas if you plan to integrate a stub generator able to perform dynamic dispatch like virtual call in c++) because MCJIT does not provide this facility. So, for each function, I define a module. In each module, I have to define the runtime function (such as gcmalloc, throwException and this kind of functions). They are defined in a separated runtime module populated during the bootstrap.
> I have thus this picture
>
> MCJIT
> |----------------------------------------------------------
> | | |
>...
2006 Jun 01
5
RAD RAILS Problem. Wont start! Linux nubee
...ain.java:952)
!ENTRY org.eclipse.osgi 4 0 2006-06-01 16:22:13.685
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in org.radrails.ide.ui was
unable to load class org.radrails.ide.ui.RadRails.
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:162)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:146)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
at
org....
2013 Nov 14
0
[LLVMdev] (Very) small patch for the jit event listener
...asm code, it can give you some ideas if you plan to integrate a stub generator able to perform dynamic dispatch like virtual call in c++) because MCJIT does not provide this facility. So, for each function, I define a module. In each module, I have to define the runtime function (such as gcmalloc, throwException and this kind of functions). They are defined in a separated runtime module populated during the bootstrap.
> I have thus this picture
>
> MCJIT
> |----------------------------------------------------------
> | | |
>...
2013 Nov 16
2
[LLVMdev] (Very) small patch for the jit event listener
...asm code, it can give you some ideas if you plan to integrate a stub generator able to perform dynamic dispatch like virtual call in c++) because MCJIT does not provide this facility. So, for each function, I define a module. In each module, I have to define the runtime function (such as gcmalloc, throwException and this kind of functions). They are defined in a separated runtime module populated during the bootstrap.
>> I have thus this picture
>>
>> MCJIT
>> |----------------------------------------------------------
>> | |...
2013 Nov 16
0
[LLVMdev] (Very) small patch for the jit event listener
...asm code, it can give you some ideas if you plan to integrate a stub generator able to perform dynamic dispatch like virtual call in c++) because MCJIT does not provide this facility. So, for each function, I define a module. In each module, I have to define the runtime function (such as gcmalloc, throwException and this kind of functions). They are defined in a separated runtime module populated during the bootstrap.
>>> I have thus this picture
>>>
>>> MCJIT
>>> |----------------------------------------------------------
>>> |...
2013 Nov 13
0
[LLVMdev] (Very) small patch for the jit event listener
Hi Andy,
We had previous discussions about this, I'd like to state more exactly what
features would make MCJIT a replacement for the JIT.
After putting significant effort trying to move to MCJIT, I'm currently
back with the JIT. This is in a REPL environment where functions are added
and removed dynamically and response time is important. The issue is the
legacy JIT provides great
2013 Nov 18
2
[LLVMdev] (Very) small patch for the jit event listener
...asm code, it can give you some ideas if you plan to integrate a stub generator able to perform dynamic dispatch like virtual call in c++) because MCJIT does not provide this facility. So, for each function, I define a module. In each module, I have to define the runtime function (such as gcmalloc, throwException and this kind of functions). They are defined in a separated runtime module populated during the bootstrap.
>>> I have thus this picture
>>>
>>> MCJIT
>>> |----------------------------------------------------------
>>> |...
2011 Dec 05
1
using StatEt IDE for Eclipse
...e.ecf.docshare.menu.DocShareRosterMenuContributionItem'
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in de.walware.ecommons.ltk.ui
was unable to load class
org.eclipse.ecf.docshare.menu.DocShareRosterMenuContributionItem.
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at
org.eclipse.core.internal.regi...
2013 Nov 19
0
[LLVMdev] (Very) small patch for the jit event listener
...asm code, it can give you some ideas if you plan to integrate a stub generator able to perform dynamic dispatch like virtual call in c++) because MCJIT does not provide this facility. So, for each function, I define a module. In each module, I have to define the runtime function (such as gcmalloc, throwException and this kind of functions). They are defined in a separated runtime module populated during the bootstrap.
>>>> I have thus this picture
>>>>
>>>> MCJIT
>>>> |----------------------------------------------------------
>>>> |...
2013 Nov 19
1
[LLVMdev] (Very) small patch for the jit event listener
...asm code, it can give you some ideas if you plan to integrate a stub generator able to perform dynamic dispatch like virtual call in c++) because MCJIT does not provide this facility. So, for each function, I define a module. In each module, I have to define the runtime function (such as gcmalloc, throwException and this kind of functions). They are defined in a separated runtime module populated during the bootstrap.
>>>> I have thus this picture
>>>>
>>>> MCJIT
>>>> |----------------------------------------------------------
>>>> |...
2013 Nov 13
3
[LLVMdev] (Very) small patch for the jit event listener
Hi Gaƫl,
I'm not familiar enough with the details of the old JIT engine and its event interface to comment on whether or not your changes are appropriate, but I'm not sure anyone is so the patch is probably OK as is. I don't see any obvious problems with it.
However, your description of the changes raises a bigger issue in my mind. I'm not sure if you are aware of this, but