On Tue, 19 Jan 2010 14:25:35 +0100, Stefan Reinauer stepan@coresystems.de wrote:
On 1/19/10 1:42 PM, Joseph Smith wrote:
Sorry, how do I do a backtrace on it again? Rudolf Marek said he had the same issue also, something about the serialice.lua script. He was not sure off the top of his head how he
fixed
it. Thanks for the help
stepan$ gdb qemu-0.11.0/i386-softmmu/qemu GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 UTC 2009) Copyright 2004 Free Software Foundation, Inc. [..] gdb$ run -M serialice -serialice /dev/cu.usbserial-FTCV2YGN -gdb tcp::1234 -L examples/amibios [..] SerialICE: Open connection to target hardware... ... Program received signal SIGSEGV, Interrupt 0x00007fff828fa34e in read () gdb$ bt #0 0x00007fff828fa34e in read () #1 0x0000000100027e01 in serialice_write () #2 0x0000000100028f86 in serialice_init () #3 0x0000000100029680 in pc_init_serialice () #4 0x000000010000678d in qemu_main () [..] #22 0x00000001000c1ec3 in main () gdb$
For some reason the above would not work for me, but if I do this I get:
[root@smitty2 joe]# cd qemu-0.11.0 [root@smitty2 qemu-0.11.0]# gdb i386-softmmu/qemu GNU gdb (GDB) Fedora (7.0.1-26.fc12) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-redhat-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /home/joe/qemu-0.11.0/i386-softmmu/qemu...done. (gdb) run -serialice /dev/ttyS0 -hda /dev/zero -L ../bios > logfile.txt Starting program: /home/joe/qemu-0.11.0/i386-softmmu/qemu -serialice /dev/ttyS0 -hda /dev/zero -L ../bios > logfile.txt [Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault. cpu_register_physical_memory_offset (start_addr=4292345856, size=524288, phys_offset=0, region_offset=0) at /home/joe/qemu-0.11.0/exec.c:2327 2327 if (env->kqemu_enabled) { Missing separate debuginfos, use: debuginfo-install glibc-2.11.1-1.i686 ncurses-libs-5.7-3.20090207.fc12.i686 zlib-1.2.3-23.fc12.i686 (gdb) bt #0 cpu_register_physical_memory_offset (start_addr=4292345856, size=524288, phys_offset=0, region_offset=0) at /home/joe/qemu-0.11.0/exec.c:2327 #1 0x080715b8 in cpu_register_physical_memory ( phys_offset=<value optimized out>, size=<value optimized out>, start_addr=<value optimized out>) at ../cpu-common.h:33 #2 serialice_register_physical (phys_offset=<value optimized out>, size=<value optimized out>, start_addr=<value optimized out>) at /home/joe/qemu-0.11.0/serialice.c:93 #3 0x08194ee5 in luaD_precall () #4 0x0819e022 in luaV_execute () #5 0x08195378 in luaD_call () #6 0x08192571 in f_call () #7 0x08194a27 in luaD_rawrunprotected () #8 0x08194a89 in luaD_pcall () #9 0x0819239b in lua_pcall () #10 0x080713db in serialice_lua_init () at /home/joe/qemu-0.11.0/serialice.c:117 #11 serialice_init () at /home/joe/qemu-0.11.0/serialice.c:911 #12 0x080b0f1b in module_call_init (type=<value optimized out>) at module.c:78 #13 0x0805225f in main (argc=<value optimized out>, argv=<value optimized out>, envp=<value optimized out>) at /home/joe/qemu-0.11.0/vl.c:5956 (gdb)
Does this help at all? Sorry I am not to good at GDB.