godot icon indicating copy to clipboard operation
godot copied to clipboard

**ERROR: out of memory while allocating -2147483632 bytes

Open blurmonk opened this issue 12 years ago • 4 comments

Hi

I am getting a bizarre error. This happened suddenly not sure what is going on. Everything was fine. Saved my work and try to reopen my scene.

The game runs but try to open the editor throws malloc havoc.

I am under Debian64 Intel . I have 32gb ram I doubt that I can run out of memory

ERROR: add_signal: Type already has signal At: core/object_type_db.cpp:412. ERROR: out of memory while allocating -2147483632 bytes by core/vector.h:254, memalloc.? *_ERROR: memory usage is 32422393 ERROR: _alloc: Condition ' !mem ' is true. returned: 0 At: drivers/unix/memory_pool_static_malloc.cpp:75. ERROR: alloc: Condition ' !ptr ' is true. returned: ptr At: drivers/unix/memory_pool_static_malloc.cpp:54. ERROR: resize: Condition ' !_ptr ' is true. returned: ERR_OUT_OF_MEMORY At: core/vector.h:255. ERROR: operator[]: Condition ' p_index<0 || p_index>=size() ' is true. returned: aux At: core/vector.h:116. [1] 15586 segmentation fault bin/godot -e -path /DEV/_sil/def xxxx@xxxx-6cgodot %bin/godot -e -path /DEV/sil/def ERROR: set_custom_property_info: Condition ' !props.has(p_prop) ' is true. At: core/globals.cpp:1318. ** SET ICON ***** 128 128 ERROR: set_stylebox: Condition ' p_style.is_null() ' is true. At: scene/resources/theme.cpp:267. editor: 1 list diring on: /home/xxxx/.godot/plugins ERROR: add_signal: Type already has signal At: core/object_type_db.cpp:412. *_ERROR: out of memory while allocating -2147483632 bytes by core/vector.h:254, memalloc.? *_ERROR: memory usage is 32259146 ERROR: _alloc: Condition ' !mem ' is true. returned: 0 At: drivers/unix/memory_pool_static_malloc.cpp:75.

blurmonk avatar Mar 23 '14 06:03 blurmonk

I do not have an explanation for this but I was able to delete an .obj file where I had imported .dae file from and that seemed to got rid of this problem which is just remarkably weird.

Not sure if this is worth investigating or not.

blurmonk avatar Mar 23 '14 07:03 blurmonk

I've seen this bug before and i'm not sure why it happens, but it always has to do that the file scanner finds a broken file. I thought I fixed the bug but got reports that still happens. Basically, there is a file with an extension like .res , .fnt, etc that the editor does not like, so if you delete that file the error goes away. If you find which file it is, could you send it? so I can check when it is failing to open it.

On Sun, Mar 23, 2014 at 12:07 AM, blurmonk [email protected] wrote:

I do not have an explanation for this but I was able to delete an .obj file where I had imported .dae file from and that seemed to got rid of this problem which is just remarkably weird.

Reply to this email directly or view it on GitHubhttps://github.com/okamstudio/godot/issues/219#issuecomment-38375794 .

reduz avatar Mar 23 '14 12:03 reduz

I think it's out of int32.

sxmad avatar Mar 24 '14 04:03 sxmad

ok should be fixed

reduz avatar Apr 05 '14 15:04 reduz