search for: bad_alloc

Displaying 20 results from an estimated 46 matches for "bad_alloc".

2017 Jul 03
2
R memory limits on table(x, y) (and bigtabulate)
...5/06/r-in-a-64-bit-world/>, but I just want to make sure I understood that right); - I thought I could handle this with the package bigtabulate, but whenever I run xy.tab <- bigtable(data.frame(x, y), ccols=1:2) R crashes as follows: terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted Any idea on what I am doing wrong with bigtabulate? Thanks for your consideration
2019 Nov 18
2
Crash using exceptions
...what()); } } } I compile with: clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core orcjit native` -O3 -fexceptions -o toy ./toy ready> var 3 = 2 ready> Error: expected identifier after var ready> 1 terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc zsh: abort ./toy Technical details: - LLVM latest master (commit 2c4ca6832fa6b306ee6a7010bfb80a3f2596f824) on https://github.com/llvm-mirror/llvm.git - clang version 8.0.0-3 Thank you, -- Julien Lopez
2012 Sep 11
2
[LLVMdev] Build Error from Intrinsics.td
gmake[1]: Entering directory `/home/ryan/llvm/llvm_core/trunk/lib/VMCore' llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc 0 llvm-tblgen 0x000000000058525f 1 llvm-tblgen 0x0000000000585719 2 libpthread.so.0 0x00002b05a7801c60 3 libc.so.6 0x00002b05a83ead05 gsignal + 53 4 libc.so.6 0x00002b05a83eeab6 abort + 390 5 libstdc++.so.6 0x00002b05a7f556dd __gnu_cxx::__ve...
2012 Sep 11
2
[LLVMdev] Fwd: Build Error from Intrinsics.td
...Intrinsics.td > To: llvmdev at cs.uiuc.edu <mailto:llvmdev at cs.uiuc.edu> > > > gmake[1]: Entering directory `/home/ryan/llvm/llvm_core/trunk/lib/VMCore' > llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td > terminate called after throwing an instance of 'std::bad_alloc' > what(): std::bad_alloc > 0 llvm-tblgen 0x000000000058525f > 1 llvm-tblgen 0x0000000000585719 > 2 libpthread.so.0 0x00002b05a7801c60 > 3 libc.so.6 0x00002b05a83ead05 gsignal + 53 > 4 libc.so.6 0x00002b05a83eeab6 abort + 390 > 5 libstdc++.so.6...
2012 Sep 11
3
[LLVMdev] Fwd: Build Error from Intrinsics.td
...ld Error from Intrinsics.td >> To: llvmdev at cs.uiuc.edu >> >> >> gmake[1]: Entering directory `/home/ryan/llvm/llvm_core/trunk/lib/VMCore' >> llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td >> terminate called after throwing an instance of 'std::bad_alloc' >> what(): std::bad_alloc >> 0 llvm-tblgen 0x000000000058525f >> 1 llvm-tblgen 0x0000000000585719 >> 2 libpthread.so.0 0x00002b05a7801c60 >> 3 libc.so.6 0x00002b05a83ead05 gsignal + 53 >> 4 libc.so.6 0x00002b05a83eeab6 abort + 390...
2012 Sep 11
0
[LLVMdev] Fwd: Build Error from Intrinsics.td
...> Date: Tue, Sep 11, 2012 at 1:28 PM Subject: Build Error from Intrinsics.td To: llvmdev at cs.uiuc.edu gmake[1]: Entering directory `/home/ryan/llvm/llvm_core/trunk/lib/VMCore' llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc 0 llvm-tblgen 0x000000000058525f 1 llvm-tblgen 0x0000000000585719 2 libpthread.so.0 0x00002b05a7801c60 3 libc.so.6 0x00002b05a83ead05 gsignal + 53 4 libc.so.6 0x00002b05a83eeab6 abort + 390 5 libstdc++.so.6 0x00002b05a7f556dd __gnu_cxx::__ve...
2017 Jul 03
0
R memory limits on table(x, y) (and bigtabulate)
...t; I just want to make sure I understood that right); > - I thought I could handle this with the package bigtabulate, but whenever I run > > xy.tab <- bigtable(data.frame(x, y), ccols=1:2) > > R crashes as follows: > > terminate called after throwing an instance of 'std::bad_alloc' > what(): std::bad_alloc > Aborted > > Any idea on what I am doing wrong with bigtabulate? Thanks for your > consideration > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz...
2008 Aug 04
1
[LLVMdev] llvm-c bindings and exceptions?
...#39;t use exceptions in anything that has C bindings, so the > catch isn't needed. It does use 'new' (e.g. LLVMCreateModuleProviderForExistingModule), and also calls C++ functions which in turn use new (e.g. LLVMGetBitcodeModuleProvider -> llvm::getBitcodeModuleProvider), so std::bad_alloc is a possibility (a quick search didn't turn up any "set_new_handler" also). There might also be C++ client code (e.g. overridden virtual functions in custom passes) which might (unintentionally) throw exceptions. Regards, -Mahadevan.
2012 Sep 11
0
[LLVMdev] Fwd: Build Error from Intrinsics.td
...:28 PM > Subject: Build Error from Intrinsics.td > To: llvmdev at cs.uiuc.edu > > > gmake[1]: Entering directory `/home/ryan/llvm/llvm_core/trunk/lib/VMCore' > llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td > terminate called after throwing an instance of 'std::bad_alloc' > what(): std::bad_alloc > 0 llvm-tblgen 0x000000000058525f > 1 llvm-tblgen 0x0000000000585719 > 2 libpthread.so.0 0x00002b05a7801c60 > 3 libc.so.6 0x00002b05a83ead05 gsignal + 53 > 4 libc.so.6 0x00002b05a83eeab6 abort + 390 > 5 libstdc++.so.6...
2012 Sep 11
3
[LLVMdev] Fwd: Build Error from Intrinsics.td
...PM Subject: Build Error from Intrinsics.td To: llvmdev at cs.uiuc.edu<mailto:llvmdev at cs.uiuc.edu> gmake[1]: Entering directory `/home/ryan/llvm/llvm_core/trunk/lib/VMCore' llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc 0 llvm-tblgen 0x000000000058525f 1 llvm-tblgen 0x0000000000585719 2 libpthread.so.0 0x00002b05a7801c60 3 libc.so.6 0x00002b05a83ead05 gsignal + 53 4 libc.so.6 0x00002b05a83eeab6 abort + 390 5 libstdc++.so.6 0x00002b05a7f556dd __gnu_cxx::__ve...
2015 Mar 02
2
R-devel does not update the C++ returned variables
...ction parameters when using .Call. So I can run like this: .Call("sppedUp", D, S, pD, pS, nrow(D), as.integer(N), length(N), ssq[i], i, as.integer(B), overlaps, overlaps.P) But I am receiving the memory(?) related error: terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Now that I am running the code using .Call. Thanks. On Mon, Mar 2, 2015 at 2:01 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 02/03/2015 3:50 AM, sarah manderni wrote: > > Hi, > > > > Within my R code, I am using a C++ func...
2018 Mar 02
3
Problemas de conexion con base de datso
...roblema y es que intentando conectarme a una base de datos SQL Server, tras cosneguirme conectarme usando el paquete odbc, me deja acceder al contenido de algunas tablas (mediante un select), pero sin embargo en otras me pone lo siguiente: Error in new_result(connection en ptr, statement) : std::bad_alloc No entiendo muy bien porque me salta ese error, ya que desde SQL si que puedo acceder a dicha tabla... La base de datos ahora mismo esta casi vacia...(2 registros como mucho) Lo que hago para ver el codigo de la tabla es pinchar en View de Rstudio, pero haciendo l aconsulta con dbSendQuery(con...
2012 Sep 11
0
[LLVMdev] Fwd: Build Error from Intrinsics.td
...:28 PM > Subject: Build Error from Intrinsics.td > To: llvmdev at cs.uiuc.edu > > > gmake[1]: Entering directory `/home/ryan/llvm/llvm_core/trunk/lib/VMCore' > llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td > terminate called after throwing an instance of 'std::bad_alloc' > what(): std::bad_alloc > 0 llvm-tblgen 0x000000000058525f > 1 llvm-tblgen 0x0000000000585719 > 2 libpthread.so.0 0x00002b05a7801c60 > 3 libc.so.6 0x00002b05a83ead05 gsignal + 53 > 4 libc.so.6 0x00002b05a83eeab6 abort + 390 > 5 libstdc++.so.6...
2013 Dec 20
2
[LLVMdev] Making LLVM safer in out-of-memory situations
...f what your message said. > If I misunderstood, please correct me.) It was probably not completely correct to say that we did not extend the exception propagation in LLVM. In most of cases where malloc or other C allocation functions are called, we had to add a check for NULL and throw std::bad_alloc. But these are a kind of straightforward fixes, that do not require much effort. > Does this mean that you're compiling your build of LLVM with exceptions > enabled? By default, I believe LLVM is built without RTTI or exception > support. OK, I see. This explains why the destruc...
2008 May 01
0
[LLVMdev] optimization assumes malloc return is non-null
...++ program may define a function with this function signature that displaces the default version defined by the C++ Standard library. Required behavior: Return a non-null pointer to suitably aligned storage (_basic.stc.dynamic_), or else throw a bad_alloc exception. This requirement is binding on a replacement version of this function. These _are_ the defined semantics. You cannot imagine any other semantic and substitute it. Any program that does, is outside the scope of the standard and has _no_ constraint upon it. Meaning, the...
2012 Sep 11
0
[LLVMdev] Fwd: Build Error from Intrinsics.td
....td >>> To: llvmdev at cs.uiuc.edu >>> >>> >>> gmake[1]: Entering directory `/home/ryan/llvm/llvm_core/trunk/lib/VMCore' >>> llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td >>> terminate called after throwing an instance of 'std::bad_alloc' >>> what(): std::bad_alloc >>> 0 llvm-tblgen 0x000000000058525f >>> 1 llvm-tblgen 0x0000000000585719 >>> 2 libpthread.so.0 0x00002b05a7801c60 >>> 3 libc.so.6 0x00002b05a83ead05 gsignal + 53 >>> 4 libc.so.6 0x0000...
2015 Mar 02
0
R-devel does not update the C++ returned variables
...gt; .Call. So I can run like this: > .Call("sppedUp", D, S, pD, pS, nrow(D), as.integer(N), length(N), > ssq[i], i, as.integer(B), overlaps, overlaps.P) > > But I am receiving the memory(?) related error: > terminate called after throwing an instance of 'std::bad_alloc' > what(): std::bad_alloc > Now that I am running the code using .Call. Code using .Call is quite different from code using .C. My guess would be that you didn't get all the details right. I generally recommend that people use Rcpp, which hides a lot of the details. It will...
2015 Mar 31
2
[LLVMdev] why we assume malloc() always returns a non-null pointer in instruction combing?
> I think we can do such optimization with operator new, because new never returns null. This is incorrect in the case of `new (std::nothrow) ...` - the whole point of `(std::nothrow)` is to tell new that it should return NULL in case of failure, rather than throw an exception (bad_alloc). But the point here is not the actual return value, but the fact that the compiler misses that the constructor has side-effects. -- Mats On 31 March 2015 at 10:44, mats petersson <mats at planetcatfish.com> wrote: > The optimisation here is that "nothing uses `m`, so we can assu...
2012 Sep 11
0
[LLVMdev] Fwd: Build Error from Intrinsics.td
...uc.edu >>>> >>>> >>>> gmake[1]: Entering directory >>>> `/home/ryan/llvm/llvm_core/trunk/lib/VMCore' >>>> llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td >>>> terminate called after throwing an instance of 'std::bad_alloc' >>>> what(): std::bad_alloc >>>> 0 llvm-tblgen 0x000000000058525f >>>> 1 llvm-tblgen 0x0000000000585719 >>>> 2 libpthread.so.0 0x00002b05a7801c60 >>>> 3 libc.so.6 0x00002b05a83ead05 gsignal + 53 >>>> 4...
2008 Feb 27
2
[LLVMdev] llvm-gcc and mips
...vm-2.2/include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -Dinhibit_libc \ -c ../../../llvm-gcc4.2-2.2/gcc/crtstuff.c -DCRT_BEGIN \ -o crtbegin.o terminate called after throwing an instance of 'std::bad_alloc' what(): St9bad_alloc ../../../llvm-gcc4.2-2.2/gcc/crtstuff.c:378: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. make[2]: *** [crtbegin.o] Error 1 I had to m...