Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EduardoLopes/2a0a0228df0c5df162bf to your computer and use it in GitHub Desktop.
Save EduardoLopes/2a0a0228df0c5df162bf to your computer and use it in GitHub Desktop.

Debug info got from commit 1c1283c6316be915e211c600fd5eb79e2f710e60 on debug mode

(gdb) run
Starting program: /var/www/empty/bin/linux/luxe_empty 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/i386-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
[New Thread 0xb75bdb40 (LWP 28136)]
[New Thread 0xb6a13b40 (LWP 28137)]
[Thread 0xb6a13b40 (LWP 28137) exited]
[New Thread 0xb6a13b40 (LWP 28138)]
[New Thread 0xb20ffb40 (LWP 28139)]
[New Thread 0xafcf2b40 (LWP 28140)]
[New Thread 0xaf4f1b40 (LWP 28141)]
Core.hx:112:      i / luxe / 1.0.0-alpha.1+4b80329f1c / debug:true / os:linux / platform:linux
Core.hx:276:      i / luxe / opengl / 2.1 Mesa 10.1.3 / 1.30 / Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) / VMware, Inc. /
[New Thread 0xad3a2b40 (LWP 28142)]
[New Thread 0xacba1b40 (LWP 28143)]
[New Thread 0xac3a0b40 (LWP 28144)]
[New Thread 0xabb9fb40 (LWP 28145)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xacba1b40 (LWP 28143)]
0x08714aa2 in hx::MarkAllocUnchecked (inPtr=0x8931324 <hx::__res_0+4>, 
    __inCtx=0xacba1318)
    at /media/160/.haxelib/hxcpp/git/src/hx/gc/Immix.cpp:1296
1296     MARK_ROWS_UNCHECKED_BEGIN
(gdb) 

Error got from commit 55fc6eae8cf99d7c1efc1955af2faade482441c3 on debug mode

$ flow run linux --debug
flow / 1.0.0-alpha.1 (node.js v0.12.7)
flow / target is linux ( arch 32 )
flow / debug = true
flow / haxe version 3.2.0

flow / build - empty 1.0.0 for linux
flow / no icon convert just yet for linux
flow / build - running haxe ...
flow / build - running hxcpp for arch 32 ...
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -g -fpic -fPIC -DHX_LINUX -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=321 -m32 -I/media/160/.haxelib/hxcpp/git/include -x c++ -frtti -Wno-invalid-offsetof /media/160/.haxelib/hxcpp/git/src/hx/gc/Immix.cpp -o/var/www/empty/bin/linux.build/cpp/obj/linux-debug/7c405378_Immix.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -g -fpic -fPIC -DHX_LINUX -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=321 -m32 -I/media/160/.haxelib/hxcpp/git/include -x c++ -frtti -Wno-invalid-offsetof /media/160/.haxelib/hxcpp/git/src/hx/Interface.cpp -o/var/www/empty/bin/linux.build/cpp/obj/linux-debug/7066c78c_Interface.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -g -fpic -fPIC -DHX_LINUX -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=321 -m32 -I/media/160/.haxelib/hxcpp/git/include -x c++ -frtti -Wno-invalid-offsetof /media/160/.haxelib/hxcpp/git/src/hx/Lib.cpp -o/var/www/empty/bin/linux.build/cpp/obj/linux-debug/7066c78c_Lib.o
Error: /media/160/.haxelib/hxcpp/git/src/hx/gc/Immix.cpp: In function ‘LocalAllocator* GetLocalAlloc()’:
/media/160/.haxelib/hxcpp/git/src/hx/gc/Immix.cpp:3502:72: error: ‘tlsImmixAllocator’ was not declared in this scope
      LocalAllocator *result = (LocalAllocator *)(hx::ImmixAllocator *)tlsImmixAllocator;
                                                                       ^
/media/160/.haxelib/hxcpp/git/src/hx/gc/Immix.cpp:3502:72: note: suggested alternative:
In file included from /media/160/.haxelib/hxcpp/git/include/hx/GC.h:4:0,
                from /media/160/.haxelib/hxcpp/git/include/hxcpp.h:263,
                from /media/160/.haxelib/hxcpp/git/src/hx/gc/Immix.cpp:1:
/media/160/.haxelib/hxcpp/git/src/hx/gc/Immix.cpp:168:39: note:   ‘hx::tlsImmixAllocator’
DECLARE_FAST_TLS_DATA(ImmixAllocator, tlsImmixAllocator);
                                      ^
/media/160/.haxelib/hxcpp/git/include/hx/Thread.h:241:23: note: in definition of macro ‘DECLARE_FAST_TLS_DATA’
   TLSData<TYPE,true> NAME;
                      ^
/media/160/.haxelib/hxcpp/git/src/hx/gc/Immix.cpp:3505:24: error: ‘BadImmixAlloc’ was not declared in this scope
         BadImmixAlloc();
                       ^
/media/160/.haxelib/hxcpp/git/src/hx/gc/Immix.cpp:3505:24: note: suggested alternative:
/media/160/.haxelib/hxcpp/git/src/hx/gc/Immix.cpp:735:6: note:   ‘hx::BadImmixAlloc’
void BadImmixAlloc()
     ^
flow / 
build - stopping because of errors in hxcpp compile, while building arch 32 

if not on debug mode, it crashes when the window is open. This is the debug info i got from GDB:

(gdb) run
Starting program: /var/www/empty/bin/linux/luxe_empty 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/i386-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
[New Thread 0xb75bdb40 (LWP 17086)]
[New Thread 0xb6a13b40 (LWP 17087)]
[Thread 0xb6a13b40 (LWP 17087) exited]
[New Thread 0xb6a13b40 (LWP 17088)]
[New Thread 0xb20ffb40 (LWP 17089)]
[New Thread 0xafcf2b40 (LWP 17090)]
[New Thread 0xaf4f1b40 (LWP 17091)]
Core.hx:112:      i / luxe / 1.0.0-alpha.1+4b80329f1c / debug:false / os:linux / platform:linux
Core.hx:276:      i / luxe / opengl / 2.1 Mesa 10.1.3 / 1.30 / Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) / VMware, Inc. /
[New Thread 0xad2a2b40 (LWP 17092)]
[New Thread 0xacaa1b40 (LWP 17093)]
[New Thread 0xac2a0b40 (LWP 17094)]
[New Thread 0xaba9fb40 (LWP 17095)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xac2a0b40 (LWP 17094)]
0x08374769 in hx::MarkAllocUnchecked(void*, hx::MarkContext*) ()

Got this error when trying to build on commit: 69ccf6f7c1f087793f42b28ffa170d5d180e4fd8

$ flow run linux
flow / 1.0.0-alpha.1 (node.js v0.12.7)
flow / target is linux ( arch 32 )
flow / haxe version 3.2.0

flow / build - empty 1.0.0 for linux
flow / no icon convert just yet for linux
flow / build - running haxe ...
flow / build - running hxcpp for arch 32 ...
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=321 -m32 -I/media/160/.haxelib/hxcpp/git/include -x c++ -frtti -Wno-invalid-offsetof /media/160/.haxelib/hxcpp/git/src/hx/gc/GcRegCapture.cpp -o/var/www/empty/bin/linux.build/cpp/obj/linux/afe12a89_GcRegCapture.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=321 -m32 -I/media/160/.haxelib/hxcpp/git/include -x c++ -frtti -Wno-invalid-offsetof /media/160/.haxelib/hxcpp/git/src/hx/Hash.cpp -o/var/www/empty/bin/linux.build/cpp/obj/linux/d2dc2198_Hash.o
Error: /media/160/.haxelib/hxcpp/git/src/hx/gc/GcRegCapture.cpp: In member function ‘virtual int hx::RegisterCapture::Capture(int*, int**, int&, int, int*)’:
/media/160/.haxelib/hxcpp/git/src/hx/gc/GcRegCapture.cpp:87:45: error: ‘memcpy’ was not declared in this scope
     memcpy(inBuf,inBottom,size*sizeof(void*));
                                             ^
flow / 
 build - stopping because of errors in hxcpp compile, while building arch 32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment