On Wed, Jul 05, 2006 at 01:29:30AM +0200, Pavel Machek wrote:
> But we are running them under emulator, so that should not be a
> problem... and they are probably 16-bit x86 instructions, anyway.

yes, I see. That emulator seems be causing the segfaults when I use -s:

# gdb s2ram
GNU gdb 6.4.90-debian

(gdb) run -f -s
Starting program: /home/lunz/suspend-0.2/s2ram -f -s
Switching from vt7 to vt1
Calling save_state
Get video state buffer size failed
Allocated buffer at 0x20000 (base is 0x0)
ES: 0x2000 EBX: 0x0000

Program received signal SIGSEGV, Segmentation fault.
0x0000000000424c4f in rdb (addr=21647) at sys.c:234
234             val = *(u8*)(M.mem_base + addr);
(gdb) bt
#0  0x0000000000424c4f in rdb (addr=21647) at sys.c:234
#1  0x00000000004038f7 in fetch_data_byte (offset=20623) at decode.c:308
#2  0x00000000004181f3 in x86emuOp_add_byte_RM_R (op1=<value optimized out>) at 
ops.c:115
#3  0x00000000004047b0 in X86EMU_exec () at decode.c:123
#4  0x000000000040206e in real_call ()
#5  0x0000000000402b5a in __save_state ()
#6  0x000000000040194e in s2ram_hacks () at s2ram.c:176
#7  0x0000000000401bcf in main (argc=<value optimized out>, argv=<value 
optimized out>)
    at s2ram.c:360


I don't have time to look into this any further right now, but this
might give someone a hint.

Jason

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to