search for: errormsg

Displaying 20 results from an estimated 56 matches for "errormsg".

2009 Jun 23
0
[LLVMdev] [PATCH] Catch NULL return value of ExecutionEngine::create()
ExecutionEngine::create() can return NULL with an empty error message (admittedly, it did so because of global variable initialization problems). The code currently lets NULL go through if ErrorMsg is empty, and segfaults later. When EE is NULL but ErrorMsg is empty, simply do not try to print it and exit. Index: tools/lli/lli.cpp =================================================================== --- tools/lli/lli.cpp (revision 73978)...
2009 Jun 23
3
[LLVMdev] X86 JIT
...is only called if either JIT.h or Interpreter.h is included. When they are not included, JIT::Register() is not called, and ExecutionEngine::JITCtor and ExecutionEngine::InterpCtor are both NULL, and ExecutionEngine::create() returns NULL. This is not caught by (in lli.cpp): if (!EE && !ErrorMsg.empty()) { std::cerr << argv[0] << ":error creating EE: " << ErrorMsg << "\n"; exit(1); } as ErrorMsg is empty. Then it segfaults line 190. This is quite nasty behavior. I don't know what the proper fix is, but relying on static constructo...
2011 Dec 04
2
a weird question about gdata:::
Dear R People: If I put in: > findPerl Error: object 'findPerl' not found But if I use: > gdata:::findPerl function (perl, verbose = "FALSE") { errorMsg <- "perl executable not found. Use perl= argument to specify the correct path." if (missing(perl)) { perl = "perl" } perl = Sys.which(perl) if (perl == "" || perl == "perl") stop(errorMsg) if (.Platform$OS == "windo...
2008 Apr 30
1
Avelsieve 1.9.7 and Dovecot/TLS
...LIENT) == false) { $this->error=EC_UNKNOWN; $this->error_raw = "Failed to establish TLS connection."; return false; } else { $this->loggedin = true; $starttls_response = $this->line=fgets($this->fp,1024); $errormsg .= _("MFI fgets ") . $starttls_response . '<br>'; print_errormsg($errormsg); // RFC says that we need to ask for the capabilities again $this->sieve_get_capability(); $this->loggedin = false; } } and could read...
2004 Oct 13
1
[LLVMdev] Compiling TableGen with Visual Studio
...code and should really be named .lpp and .ypp) and the tools behave slightly different in this setting. The problems are in FileLexer.l: extern "C" int yywrap() which should be (according to VS): extern "C" int yywrap ( void ) and in FileParser.y: int yyerror(const char *ErrorMsg) which should be (again according to VS): void yyerror(char *ErrorMsg) in the second case I have to remove the 'const' qualifier because bison adds the line 'extern void yyerror(char* s);' to the generated file. I would appreciate some input on how we can fix these issues so it...
2009 Jun 22
0
[LLVMdev] X86 JIT
On Jun 22, 2009, at 2:19 PM, Kasra wrote: > Hi, > > for some reason I could not get the machine code generator for x86 > working. The interpreter is the only thing that works, is there > anything that I am missing here? This recently changed. In your main program, please #include "llvm/ Target/TargetSelect.h" and call InitializeNativeTarget(); before setting up
2009 Jun 22
2
[LLVMdev] X86 JIT
Hi, for some reason I could not get the machine code generator for x86 working. The interpreter is the only thing that works, is there anything that I am missing here? -- Kasra -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090622/89dca208/attachment.html>
2009 Nov 12
1
trap window pop up when running 'bugs' in R
...nterpreter.Command [0000131CH] .left StdInterpreter.Ident "BugsCmds" .ptype INTEGER 3 .right StdInterpreter.Ident "Parse" ... StdInterpreter.CallHook.Call [00001441H] .ch CHAR 0X .e ARRAY 64 OF CHAR "" ... .errorMsg ARRAY 1 OF CHAR "" .f ARRAY 64 OF CHAR "" ... .g ARRAY 64 OF CHAR "" ... .hook StdInterpreter.CallHook [01060050H] .i INTEGER 112 .i0 INTEGER 0 .i1 INTEGER 0 .id StdInterpreter.Ident "...
2007 Jul 20
0
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
....24 (latest stable). However, I don't think the code above is necessarily wrong. If you get an address back, there's no error (dlerror only reports and error when dlsym returns 0). The DLERROR macro just calls dlerror. The LT_DLMUTEX_SETERROR looks like this: #define LT_DLMUTEX_SETERROR(errormsg) LT_STMT_START { \ if (lt_dlmutex_seterror_func) \ (*lt_dlmutex_seterror_func) (errormsg); \ else lt_dllast_error = (errormsg); } LT_STMT_END So, its basically calling a function to report the error or saving the erro...
2016 Jan 22
3
lld: ELF/COFF main() interface
...for whatever reason, we can copy in-memory objects to shared memory objects and exec the linker, so the basic design should work in such case too. The function signature would be something like: bool link(ArrayRef<LinkerArg> CommandLineArgs, MemoryBuffer &OutputFile, std::string &ErrorMsg); where the return value indicates success/failure. LinkerArg is a union type of StringRef and MemoryBufferRef. The result is returned as OutputFile memory buffer. If it prints out any message, ErrorMsg will hold it. (I want to point out that the function "bool link(ArrayRef<const char*&g...
2006 Apr 15
1
Begin with Autocompleter
...nt in the database: <?php $query = isset ( $_POST[''qword''] ) ? trim ( rtrim ( $_POST[''qword''] ) ) : null; if ( $query != null ){ $db->Execute(" SELECT * FROM table WHERE field LIKE ''%". $query ."%'' ") or die($db->ErrorMsg()); $elements = array(); while ( $record = $db->fetchRow() ){ $elements[] = $record; } return $elements; } else { return 0; } ?> Now in line 30 is suppose that the result must be return to original page and assign this to DIV element. See the Autocompleter doc''s I fou...
2016 Jan 22
2
lld: ELF/COFF main() interface
...to shared memory objects and exec the linker, so the basic design >> should work in such case too. >> >> The function signature would be something like: >> >> bool link(ArrayRef<LinkerArg> CommandLineArgs, MemoryBuffer >> &OutputFile, std::string &ErrorMsg); >> >> where the return value indicates success/failure. LinkerArg is a union >> type of StringRef and MemoryBufferRef. The result is returned as OutputFile >> memory buffer. If it prints out any message, ErrorMsg will hold it. >> >> (I want to point out that th...
2008 Apr 12
0
[LLVMdev] Bitwidth analysis?
We have a bitwidth analysis that can be downloaded. It is not in LLVM. There should be a link in the paper: http://www.cs.utah.edu/~regehr/papers/pldi075-cooprider.pdf John Regehr
2008 Apr 12
1
[LLVMdev] Bitwidth analysis?
...1/func.c -otest/small1/func.o gcc -D_GNUCC -E -DCIL=1 test/small1/func.c -o /tmp/cil-UGzNLDHj.i /project/fernando/cil-cXprop/obj/x86_LINUX/cilly.asm.exe --out /tmp/cil-WsGP4BtF.cil.c /tmp/cil-UGzNLDHj.i test/small1/func.c:17: Bug: unrollType failed in castTo Context : 2cil: foo error in doExp (Errormsg.Error) Error: Cabs2cil had some errors Fatal error: exception Errormsg.Error make[1]: *** [test/func] Error 2 make[1]: Leaving directory `/misc/project/fernando/cil-cXprop' make: *** [check] Error 2 bash-3.1$ exit exit ---------------------------------------------------------------------------...
2011 Aug 23
1
Access Violation error after loading csv file
...luding line 145, 346, but the same access violation error if I want to see the tail. So, I don't think it is due to that particular line (145,346). Can you please help me to resolve this problem? Thanks, Mitu -------------- next part -------------- A non-text attachment was scrubbed... Name: ErrorMsg.png Type: image/png Size: 91006 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110823/20d23c51/attachment.png>
2007 Jul 20
2
[LLVMdev] Trouble Resolving Objective-C Symbols in lli
Hi Reid, > > if ((err = dlerror())) { > > error("earlier undetected dlerror: %s\n", err); > > } > > p = dlsym(handle, sym); > > if ((err = dlerror())) { > > error("dlsym failed: %s\n", err); > > } > > No, you're not missing anything. The correct way to check for errors > is with
2010 Jul 13
1
Define package-wide character constants
Dear list! I develop a package for R and wonder how I can best define package-wide constants (both character strings or named vectors of strings) which are used throughout different classes and methods. I'm new to R and wonder if there is some kind of ?best practice? that I just haven't read of yet. My main programming language is Java, so if that helps anyone to understand my thinking: I
2008 Nov 24
2
PopCap games won't work any longer!!!
I recently installed Ubuntu 8.10 and, ever since then, I am not able to play any PopCap games at all whatsoever via Wine. Everytime I play any PopCap game via Wine, I get the following error message.... [Image: http://www.geocities.com/reeslester/errormsg.png ] Can anybody please explain to me what this means and what can be done to fix this problem? Here is the entire bugging message contained in that error window: Exception: Access Violation (code 0xc0000005) at address 00454D55 in thread 1A Module: popcapgame1.exe Logical Address: 0001:00053D5...
2008 Apr 09
4
[LLVMdev] Bitwidth analysis?
Hi, LLVMers, has someone implemented bitwidth analysis for LLVM? I was looking for something similar to the bitwise compiler described in "Bidwidth analysis with application to silicon compilation, by Mark Stephenson, Jonathan Babb and Saman Amarasinghe" e.g.: http://portal.acm.org/citation.cfm?id=349299.349317 all the best, Fernando
2012 Jul 07
2
[LLVMdev] Crash using the JIT on x86 but work on x64
...he JIT. llvm::InitializeNativeTarget(); llvm::InitializeNativeTargetAsmPrinter(); llvm::SMDiagnostic Err; LLVM_Module = new llvm::Module("LLVM Test", *LLVM_Context); if (!LLVM_Module) { Err.print(argv[0], llvm::errs()); return 1; } std::string ErrorMsg; llvm::EngineBuilder builder(LLVM_Module); builder.setErrorStr(&ErrorMsg); builder.setJITMemoryManager(llvm::JITMemoryManager::CreateDefaultMemManager()); builder.setEngineKind(llvm::EngineKind::JIT); //CodeGenOpt::Level OLvl = CodeGenOpt::Default; //builder.setOptLeve...