When running recent versions of fc-solve with some deals and presets, I get a "double free or corruption" error. For instance, pi-make-microsoft-freecell-board -t 285 | ./fc-solve --freecells-num 3 -l as:
*** Error in `./fc-solve': double free or corruption (!prev): 0x00000000013ca020 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fe7c3d647e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fe7c3d6d37a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fe7c3d7153c]
/home/theodorepringle/fc-solve/fc-solve/B/libfreecell-solver.so.0(+0xe00b)[0x7fe7c40c500b]
/home/theodorepringle/fc-solve/fc-solve/B/libfreecell-solver.so.0(+0xe25f)[0x7fe7c40c525f]
/home/theodorepringle/fc-solve/fc-solve/B/libfreecell-solver.so.0(+0xed4b)[0x7fe7c40c5d4b]
/home/theodorepringle/fc-solve/fc-solve/B/libfreecell-solver.so.0(+0x12f68)[0x7fe7c40c9f68]
/home/theodorepringle/fc-solve/fc-solve/B/libfreecell-solver.so.0(+0x173cf)[0x7fe7c40ce3cf]
/home/theodorepringle/fc-solve/fc-solve/B/libfreecell-solver.so.0(freecell_solver_user_resume_solution+0x18)[0x7fe7c40ce563]
/home/theodorepringle/fc-solve/fc-solve/B/libfreecell-solver.so.0(freecell_solver_user_solve_board+0x170)[0x7fe7c40ce6d5]
./fc-solve[0x4025d1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fe7c3d0d830]
./fc-solve(_start+0x29)[0x4013d9]
======= Memory map: ========
00400000-00404000 r-xp 00000000 08:07 6689592 /home/theodorepringle/fc-solve/fc-solve/B/fc-solve
00603000-00604000 r--p 00003000 08:07 6689592 /home/theodorepringle/fc-solve/fc-solve/B/fc-solve
00604000-00605000 rw-p 00004000 08:07 6689592 /home/theodorepringle/fc-solve/fc-solve/B/fc-solve
013af000-0191e000 rw-p 00000000 00:00 0 [heap]
7fe7bc000000-7fe7bc021000 rw-p 00000000 00:00 0
7fe7bc021000-7fe7c0000000 ---p 00000000 00:00 0
7fe7c37ce000-7fe7c37e4000 r-xp 00000000 08:07 9703883 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fe7c37e4000-7fe7c39e3000 ---p 00016000 08:07 9703883 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fe7c39e3000-7fe7c39e4000 rw-p 00015000 08:07 9703883 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fe7c39e4000-7fe7c3aec000 r-xp 00000000 08:07 9706940 /lib/x86_64-linux-gnu/libm-2.23.so
7fe7c3aec000-7fe7c3ceb000 ---p 00108000 08:07 9706940 /lib/x86_64-linux-gnu/libm-2.23.so
7fe7c3ceb000-7fe7c3cec000 r--p 00107000 08:07 9706940 /lib/x86_64-linux-gnu/libm-2.23.so
7fe7c3cec000-7fe7c3ced000 rw-p 00108000 08:07 9706940 /lib/x86_64-linux-gnu/libm-2.23.so
7fe7c3ced000-7fe7c3ead000 r-xp 00000000 08:07 9706945 /lib/x86_64-linux-gnu/libc-2.23.so
7fe7c3ead000-7fe7c40ad000 ---p 001c0000 08:07 9706945 /lib/x86_64-linux-gnu/libc-2.23.so
7fe7c40ad000-7fe7c40b1000 r--p 001c0000 08:07 9706945 /lib/x86_64-linux-gnu/libc-2.23.so
7fe7c40b1000-7fe7c40b3000 rw-p 001c4000 08:07 9706945 /lib/x86_64-linux-gnu/libc-2.23.so
7fe7c40b3000-7fe7c40b7000 rw-p 00000000 00:00 0
7fe7c40b7000-7fe7c40e7000 r-xp 00000000 08:07 6689514 /home/theodorepringle/fc-solve/fc-solve/B/libfreecell-solver.so.0.5.0
7fe7c40e7000-7fe7c42e6000 ---p 00030000 08:07 6689514 /home/theodorepringle/fc-solve/fc-solve/B/libfreecell-solver.so.0.5.0
7fe7c42e6000-7fe7c42e7000 r--p 0002f000 08:07 6689514 /home/theodorepringle/fc-solve/fc-solve/B/libfreecell-solver.so.0.5.0
7fe7c42e7000-7fe7c42e8000 rw-p 00030000 08:07 6689514 /home/theodorepringle/fc-solve/fc-solve/B/libfreecell-solver.so.0.5.0
7fe7c42e8000-7fe7c430e000 r-xp 00000000 08:07 9706923 /lib/x86_64-linux-gnu/ld-2.23.so
7fe7c44dd000-7fe7c44e0000 rw-p 00000000 00:00 0
7fe7c450a000-7fe7c450d000 rw-p 00000000 00:00 0
7fe7c450d000-7fe7c450e000 r--p 00025000 08:07 9706923 /lib/x86_64-linux-gnu/ld-2.23.so
7fe7c450e000-7fe7c450f000 rw-p 00026000 08:07 9706923 /lib/x86_64-linux-gnu/ld-2.23.so
7fe7c450f000-7fe7c4510000 rw-p 00000000 00:00 0
7ffe55e63000-7ffe55e84000 rw-p 00000000 00:00 0 [stack]
7ffe55f32000-7ffe55f34000 r--p 00000000 00:00 0 [vvar]
7ffe55f34000-7ffe55f36000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted (core dumped)
It seems that this commit was responsible for the problem:
https://github.com/shlomif/fc-solve/commit/ea01d897c9a8f1758c9dd95c39d1294b1a2416d1 https://github.com/shlomif/fc-solve/commit/ea01d897c9a8f1758c9dd95c39d1294b1a2416d1
Received on Tue Oct 03 2017 - 23:57:50 IDT