Page 1 of 1

Bochs & ldsym problems

Posted: Mon Nov 17, 2008 8:11 am
by prayeriz
Hi everybody

I've got a problem when I try to load a symbol file in bochs.
This file called symbols looks like that :

00200000 multiboot_header
00201000 _start
00201011 loop
00201014 sos_idt_setup
002010c3 sos_idt_set_handler
0020118d sos_idt_get_handler
00201204 sos_gdt_setup
00201238 sos_exceptions_setup
0020125d sos_exception_set_routine
002012f9 sos_exception_get_routine
00201338 sos_exception_wrapper_0
0020137c sos_exception_wrapper_1
002013c0 sos_exception_wrapper_2
...

And then when I run bochs (compiled with de debug option) I've got this

(0) [0xfffffff0] f000:fff0 (unk. ctxt): jmp far f000:e05b ; ea5be000f0
<bochs:1> ldsym "symbols"
<bochs: 2> s
(0) Erreur de segmentation

The fact of loading the file get bochs crashed. I've tried to change some things in my file, and I noticed that when I put only 2 or less lines in the file it works, but when there is more lines bochs crashed.

Can you help me please ?

Re: Bochs & ldsym problems

Posted: Tue Nov 18, 2008 9:15 am
by stlw
prayeriz wrote:Hi everybody

I've got a problem when I try to load a symbol file in bochs.
This file called symbols looks like that :

00200000 multiboot_header
00201000 _start
00201011 loop
00201014 sos_idt_setup
002010c3 sos_idt_set_handler
0020118d sos_idt_get_handler
00201204 sos_gdt_setup
00201238 sos_exceptions_setup
0020125d sos_exception_set_routine
002012f9 sos_exception_get_routine
00201338 sos_exception_wrapper_0
0020137c sos_exception_wrapper_1
002013c0 sos_exception_wrapper_2
...

And then when I run bochs (compiled with de debug option) I've got this

(0) [0xfffffff0] f000:fff0 (unk. ctxt): jmp far f000:e05b ; ea5be000f0
<bochs:1> ldsym "symbols"
<bochs: 2> s
(0) Erreur de segmentation

The fact of loading the file get bochs crashed. I've tried to change some things in my file, and I noticed that when I put only 2 or less lines in the file it works, but when there is more lines bochs crashed.

Can you help me please ?
Which Bochs ver are you using ?
Anyway, it any such case open a bug report for Bochs - segfault of the emulator is not code problem :)

P.S> I will check it.

Thanks,
Stanislav