On Sat, May 06, 2017 at 05:18:42PM +0200, Juergen Sauermann wrote:
thanks. Unfortunately I cannot reproduce this problem on my box:
[...]
However, I may have located and fixed it in SVN 942.
I'm still seeing it in 944.
I'll try to find the cause myself, then.
The backtrace from gdb looks like this:
Program received signal SIGABRT, Aborted.
__GI_raise (address@hidden) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 __GI_raise (address@hidden) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ff863b813fa in __GI_abort () at abort.c:89
#2 0x00007ff863bbdbd0 in __libc_message (address@hidden, address@hidden "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ff863bc3f96 in malloc_printerr (action="" str=0x7ff863cb2d28 "double free or corruption (fasttop)", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5046
#4 0x00007ff863bc478e in _int_free (av=0x7ff863ee5b00 <main_arena>, p=0x555941479040, have_lock=0) at malloc.c:3902
#5 0x000055593f67c7f7 in Simple_string<unsigned char, false>::deallocate (this=0x555941477eb0) at Simple_string.hh:258
#6 Simple_string<unsigned char, false>::operator= (other=..., this=0x555941477eb0) at Simple_string.hh:104
#7 UTF8_string::operator= (this=0x555941477eb0) at UTF8_string.hh:40
#8 InputFile::operator= (this=0x555941477ea8) at InputFile.hh:30
#9 Simple_string<InputFile, false>::insert_before (t=..., pos=0, this=<optimized out>) at Simple_string.hh:156
#10 Workspace::load_DUMP (out=..., filename=..., fd=<optimized out>, address@hidden, address@hidden, address@hidden) at Workspace.cc:710
#11 0x000055593f67d9ac in Workspace::copy_WS (out=..., address@hidden, wsname=..., lib_ws_objects=..., address@hidden) at Workspace.cc:997
#12 0x000055593f547e34 in Command::cmd_COPY (out=..., args=..., address@hidden) at Command.cc:676
#13 0x000055593f555835 in Command::do_APL_command (out=..., line=...) at Command.def:27
#14 0x000055593f5569fc in Command::process_line (line=...) at Command.cc:76
#15 0x000055593f556aff in Command::process_line () at Command.cc:64
#16 0x000055593f67537d in Workspace::immediate_execution (exit_on_error=false) at Workspace.cc:178
#17 0x000055593f50d0d5 in main (argc=<optimized out>, argv=<optimized out>) at main.cc:479
(gdb)
-k