Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
firebird3.0.3 crash when compiling on a non sse4 host Pentium(R) Dual-Core CPU E5400
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current -m -z -n /home/mariuz/Work/firebird/firebird/src/yvalve/blob.epp /home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp
gpre version LI-V3.0.3.32722 Firebird 3.0
*** Error in `/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current': free(): invalid size: 0x00007f3f7017c2a0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7f3f6f45f08b]
/lib/x86_64-linux-gnu/libc.so.6(+0x826fa)[0x7f3f6f4686fa]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f3f6f46c12c]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x93fc0)[0x55c953ed2fc0]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x8756c)[0x55c953ec656c]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x8777c)[0x55c953ec677c]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a270)[0x7f3f6f420270]
/lib/x86_64-linux-gnu/libc.so.6(+0x3a2ca)[0x7f3f6f4202ca]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x484a8)[0x55c953e874a8]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x207ae)[0x55c953e5f7ae]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7f3f6f4063f1]
/home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_current(+0x21aaa)[0x55c953e60aaa]
======= Memory map: ========
55c953e3f000-55c953f11000 r-xp 00000000 08:01 18098901 /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
55c954110000-55c95411f000 r--p 000d1000 08:01 18098901 /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
55c95411f000-55c954124000 rw-p 000e0000 08:01 18098901 /home/mariuz/Work/firebird/firebird/gen/Release/firebird/bin/gpre_boot
55c954124000-55c95412b000 rw-p 00000000 00:00 0
55c954f7d000-55c954faf000 rw-p 00000000 00:00 0 [heap]
7f3f68000000-7f3f68021000 rw-p 00000000 00:00 0
7f3f68021000-7f3f6c000000 ---p 00000000 00:00 0
7f3f6ee02000-7f3f6f0dd000 r--p 00000000 08:01 6299570 /usr/lib/locale/locale-archive
7f3f6f0dd000-7f3f6f1e5000 r-xp 00000000 08:01 15076913 /lib/x86_64-linux-gnu/libm-2.24.so
7f3f6f1e5000-7f3f6f3e4000 ---p 00108000 08:01 15076913 /lib/x86_64-linux-gnu/libm-2.24.so
7f3f6f3e4000-7f3f6f3e5000 r--p 00107000 08:01 15076913 /lib/x86_64-linux-gnu/libm-2.24.so
7f3f6f3e5000-7f3f6f3e6000 rw-p 00108000 08:01 15076913 /lib/x86_64-linux-gnu/libm-2.24.so
7f3f6f3e6000-7f3f6f5a3000 r-xp 00000000 08:01 15076909 /lib/x86_64-linux-gnu/libc-2.24.so
7f3f6f5a3000-7f3f6f7a3000 ---p 001bd000 08:01 15076909 /lib/x86_64-linux-gnu/libc-2.24.so
7f3f6f7a3000-7f3f6f7a7000 r--p 001bd000 08:01 15076909 /lib/x86_64-linux-gnu/libc-2.24.so
7f3f6f7a7000-7f3f6f7a9000 rw-p 001c1000 08:01 15076909 /lib/x86_64-linux-gnu/libc-2.24.so
7f3f6f7a9000-7f3f6f7ad000 rw-p 00000000 00:00 0
7f3f6f7ad000-7f3f6f7c5000 r-xp 00000000 08:01 15076925 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f3f6f7c5000-7f3f6f9c5000 ---p 00018000 08:01 15076925 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f3f6f9c5000-7f3f6f9c6000 r--p 00018000 08:01 15076925 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f3f6f9c6000-7f3f6f9c7000 rw-p 00019000 08:01 15076925 /lib/x86_64-linux-gnu/libpthread-2.24.so
7f3f6f9c7000-7f3f6f9cb000 rw-p 00000000 00:00 0
7f3f6f9cb000-7f3f6f9e1000 r-xp 00000000 08:01 15073302 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f3f6f9e1000-7f3f6fbe0000 ---p 00016000 08:01 15073302 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f3f6fbe0000-7f3f6fbe1000 r--p 00015000 08:01 15073302 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f3f6fbe1000-7f3f6fbe2000 rw-p 00016000 08:01 15073302 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f3f6fbe2000-7f3f6fd5b000 r-xp 00000000 08:01 6296316 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f3f6fd5b000-7f3f6ff5a000 ---p 00179000 08:01 6296316 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f3f6ff5a000-7f3f6ff64000 r--p 00178000 08:01 6296316 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f3f6ff64000-7f3f6ff66000 rw-p 00182000 08:01 6296316 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.22
7f3f6ff66000-7f3f6ff6a000 rw-p 00000000 00:00 0
7f3f6ff6a000-7f3f6ff8f000 r-xp 00000000 08:01 15076905 /lib/x86_64-linux-gnu/ld-2.24.so
7f3f7013f000-7f3f70144000 rw-p 00000000 00:00 0
7f3f7014b000-7f3f7018f000 rw-p 00000000 00:00 0
7f3f7018f000-7f3f70190000 r--p 00025000 08:01 15076905 /lib/x86_64-linux-gnu/ld-2.24.so
7f3f70190000-7f3f70191000 rw-p 00026000 08:01 15076905 /lib/x86_64-linux-gnu/ld-2.24.so
7f3f70191000-7f3f70192000 rw-p 00000000 00:00 0
7ffd87dde000-7ffd87e00000 rw-p 00000000 00:00 0 [stack]
7ffd87eb6000-7ffd87eb8000 r--p 00000000 00:00 0 [vvar]
7ffd87eb8000-7ffd87eba000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
make.rules:85: recipe for target '/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp' failed
make[3]: *** [/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp] Aborted
make[3]: *** Deleting file '/home/mariuz/Work/firebird/firebird/temp/Release/yvalve/blob.cpp'
make[3]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
Makefile:172: recipe for target 'master_process' failed
make[2]: *** [master_process] Error 2
make[2]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
Makefile:66: recipe for target 'firebird' failed
make[1]: *** [firebird] Error 2
make[1]: Leaving directory '/home/mariuz/Work/firebird/firebird/gen'
Makefile:6: recipe for target 'firebird' failed
make: *** [firebird] Error 2
@themaddoctor

This comment has been minimized.

Copy link

commented Jan 17, 2018

I have SSE4, and similar crash:

make[3]: Entering directory '/building/libreoffice/Firebird-3.0.2.32703-0/gen'
/building/libreoffice/Firebird-3.0.2.32703-0/gen/Release/firebird/bin/gpre_current -m -z -n /building/libreoffice/Firebird-3.0.2.32703-0/src/yvalve/blob.epp /building/libreoffice/Firebird-3.0.2.32703-0/temp/Release/yvalve/blob.cpp
gpre version LI-V3.0.2.32703 Firebird 3.0
*** Error in `/building/libreoffice/Firebird-3.0.2.32703-0/gen/Release/firebird/bin/gpre_current': free(): invalid size: 0x00007f79ca4892a0 ***

from /proc/cpuinfo:

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm cpuid_fault epb tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm arat pln pts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.