Script started on Sun 05 Mar 2006 12:19:48 PM EST gback@nectarine [1](~/pintos/pintos-solution2/src/filesys/build) > gdb kernel.o GNU gdb Red Hat Linux (6.3.0.0-1.84rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) source /home/courses/cs3204/public_html/spring2006/gback/pintos-gdb-macros (gdb) debugpintos 0x0000fff0 in ?? () Reply contains invalid hex digit 78 (gdb) c Continuing. Reply contains invalid hex digit 78 (gdb) c Continuing. Program received signal 0, Signal 0. Current language: auto; currently asm pintos-debug: a page fault occurred in kernel mode Current language: auto; currently c #0 0xc010368e in lock_held_by_current_thread (lock=0x10) at ../../threads/synch.c:359 #1 0xc01032e3 in lock_acquire (lock=0x10) at ../../threads/synch.c:254 #2 0xc010e92b in dir_reopen (dirp=0x0) at ../../filesys/directory.c:97 #3 0xc010d8d2 in filesys_resolve_directory (name=0xc0007d88 "args-none", pdir=0xc002ff20, basename=0xc002ff1c) at ../../filesys/filesys.c:76 #4 0xc010da04 in filesys_create (name=0xc0007d88 "args-none", initial_size=38846, type=FILE) at ../../filesys/filesys.c:119 #5 0xc01107d5 in fsutil_put (argv=0xc0116a08) at ../../filesys/fsutil.c:105 #6 0xc01007f0 in run_actions (argv=0xc0116a08) at ../../threads/init.c:331 #7 0xc01000fe in main () at ../../threads/init.c:140 Current language: auto; currently asm 0xc0102320 in intr0e_stub () (gdb) c Continuing. Program received signal 0, Signal 0. pintos-debug: a page fault occurred in kernel mode Current language: auto; currently c #0 0xc010a720 in find_bucket (h=0x0, e=0xc002fd60) at ../../lib/kernel/hash.c:301 #1 0xc010a37d in hash_find (h=0x0, e=0xc002fd60) at ../../lib/kernel/hash.c:127 #2 0xc011130a in page_handle_fault (irqf=0xc002fe18, faultaddr=0x10) at ../../vm/page.c:242 #3 0xc010c61b in page_fault (f=0xc002fe18) at ../../userprog/exception.c:157 #4 0xc01020e5 in intr_handler (frame=0xc002fe18) at ../../threads/interrupt.c:356 #5 0xc0102297 in intr_entry () at ../../threads/intr-stubs.S:37 #6 0xc002fe18 in ?? () #7 0xc0115ed9 in __func__.1624 () #8 0xc012a210 in ?? () #9 0xc002fe68 in ?? () #10 0xc002fe38 in ?? () #11 0x000000b9 in ?? () #12 0xc0007d65 in ?? () #13 0x00000009 in ?? () #14 0x00000010 in ?? () #15 0xc0020010 in ?? () #16 0xc0100010 in main () at ../../threads/init.c:77 Current language: auto; currently asm 0xc0102320 in intr0e_stub () (gdb) quit The program is running. Exit anyway? (y or n) y gback@nectarine [2](~/pintos/pintos-solution2/src/filesys/build) > ^D Script done on Sun 05 Mar 2006 12:21:50 PM EST