我在Windows 10(主机)上的virtualbox(5.1.18)中运行ubuntu(16.10)(guest)
我已从各个网站下载了festival tts代码,并试图在此设置上构建它。
代码构建没有任何障碍。
但是在运行时,所有可执行文件都崩溃并转储核心。
然后我启用了构建调试(gcc -g)并在gdb中运行了exec。 在gdb崩溃后,当我在那里做的时候,我看到了这种模式...... (此模式对于所有崩溃的可执行文件都是相同的)
Example 1.
Command : gdb ./xml_example
(gdb) where
#0 0xb7fd9d05 in __kernel_vsyscall ()
#1 0xb7c9a050 in __libc_signal_restore_set (set=0xbfffeeb0)
at ../sysdeps/unix/sysv/linux/nptl-signals.h:79
#2 __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#3 0xb7c9b577 in __GI_abort () at abort.c:89
#4 0xb7cd5f0f in __libc_message (do_abort=<optimized out>, fmt=<optimized out>)
at ../sysdeps/posix/libc_fatal.c:175
#5 0xb7cdcb07 in malloc_printerr (action=<optimized out>,
str=0xb7dd1b60 "free(): invalid next size (fast)", ptr=<optimized out>,
ar_ptr=0xb7e24780 <main_arena>) at malloc.c:5046
#6 0xb7cdd3c6 in _int_free (av=0xb7e24780 <main_arena>, p=0x8088ed8, have_lock=0) at malloc.c:3902
#7 0x0804b012 in XML_Parser_Class::try_and_open(entity*) ()
#8 0x08061135 in ParseDtd ()
#9 0x08063b81 in parse ()
#10 0x08063de7 in ReadXBit ()
#11 0x0804b419 in XML_Parser::go() ()
#12 0x08049866 in main () at xml_example.cc:132
Example 2
Command : gdb ./string_example
(gdb) where
#0 0xb7fd9d05 in __kernel_vsyscall ()
#1 0xb7c9a050 in __libc_signal_restore_set (set=0xbfffefa0)
at ../sysdeps/unix/sysv/linux/nptl-signals.h:79
#2 __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#3 0xb7c9b577 in __GI_abort () at abort.c:89
#4 0xb7cd5f0f in __libc_message (do_abort=<optimized out>, fmt=<optimized out>)
at ../sysdeps/posix/libc_fatal.c:175
#5 0xb7cdcb07 in malloc_printerr (action=<optimized out>,
str=0xb7dd1b60 "free(): invalid next size (fast)", ptr=<optimized out>,
ar_ptr=0xb7e24780 <main_arena>) at malloc.c:5046
#6 0xb7cdd3c6 in _int_free (av=0xb7e24780 <main_arena>, p=0x805e0a0, have_lock=0) at malloc.c:3902
#7 0x0804e328 in EST_String::unquote(char) const ()
#8 0x0804e8eb in EST_String::unquote_if_needed(char) const ()
#9 0x0804936e in main () at string_example.cc:90
Example 3
Command : gdb ./list_example
(gdb) where
#0 0xb7fd9d05 in __kernel_vsyscall ()
#1 0xb7c9a050 in __libc_signal_restore_set (set=0xbffff080)
at ../sysdeps/unix/sysv/linux/nptl-signals.h:79
#2 __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#3 0xb7c9b577 in __GI_abort () at abort.c:89
#4 0xb7cd5f0f in __libc_message (do_abort=<optimized out>, fmt=<optimized out>)
at ../sysdeps/posix/libc_fatal.c:175
#5 0xb7cdcb07 in malloc_printerr (action=<optimized out>,
str=0xb7dd1b60 "free(): invalid next size (fast)", ptr=<optimized out>,
ar_ptr=0xb7e24780 <main_arena>) at malloc.c:5046
#6 0xb7cdd3c6 in _int_free (av=0xb7e24780 <main_arena>, p=0x80611c0, have_lock=0) at malloc.c:3902
#7 0x0804b601 in EST_TItem<EST_String>::release(EST_TItem<EST_String>*) ()
#8 0x0804a2d0 in EST_UList::clear_and_free(void (*)(EST_UItem*)) ()
#9 0x0804964c in EST_TList<EST_String>::~EST_TList (this=0xbffff574, __in_chrg=<optimized out>)
at ../include/EST_TList.h:122
#10 main () at list_example.cc:65
显然这与我的设置有关,因为, 1.这不是我的代码,这个代码正在全世界使用,没有任何问题! 2.我最近通过增加root分区大小对guest linux进行了更改。
如果我需要提供更多详细信息,请与我们联系。
请告诉我任何指南,以便我可以继续解决此问题。
提前致谢。