[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: page fault in mkfontdir



In message <87wvan43jn.fsf@rabbit.fire-swamp.net>
          Stephen Zander <gibreel@debian.org> wrote:

(CCed to 82601@bugs.debian.org)

>     Mark> oops, should have looked, bug 82601 is already open (says
>     Mark> sparc only, though) and that it is probably due to some
>     Mark> other lib, not mkfontdir code itself.
> 
> It says sparc only cause that's all I have.  Nice to see it isn't
> sparc only. :/

Well, ARM _does_ have ltrace (Sparc doesn't as noted in the bug reports
for this) and that has a slight clue on the matter:


bug:~# ltrace -S mkfontdir
SYS_uname(0xbffff918)                             = 0
SYS_brk(NULL)                                     = 0x02025560
SYS_mmap(0xbffff6fc, 4096, 3, 34, 4096)           = 0x40018000
SYS_open("/etc/ld.so.preload", 0, 03)             = -2
SYS_open("/etc/ld.so.cache", 0, 01)               = 3
SYS_fstat(3, 0xbfffefe8, 0xbffff050, 1016, 3)     = 0
SYS_mmap(0xbffff038, 18520, 1, 2, 1)              = 0x40019000
SYS_close(3)                                      = 0
SYS_open("/lib/libm.so.6", 0, 00)                 = 3
SYS_read(3, "\177ELF\001\001\001a", 1024)         = 1024
SYS_fstat(3, 0xbfffefb4, 0xbffff088, 0, 3)        = 0
SYS_mmap(0xbfffef8c, 184504, 5, 2, 0xbfffefbc)    = 0x40020000
SYS_mprotect(0x40045000, 32952, 0, 151552, 0xbfffefbc) = 0
SYS_mmap(0xbfffef8c, 24576, 3, 18, 2)             = 0x40048000
SYS_close(3)                                      = 0
SYS_open("/usr/lib/libz.so.1", 0, 00)             = 3
SYS_read(3, "\177ELF\001\001\001a", 1024)         = 1024
SYS_fstat(3, 0xbfffefa4, 0xbffff078, 0, 3)        = 0
SYS_mmap(0xbfffefac, 95328, 5, 2, 0xbfffefdc)     = 0x4004e000
SYS_mprotect(0x4005c000, 37984, 0, 57344, 0xbfffefdc) = 0
SYS_mmap(0xbfffefac, 32768, 3, 18, 2)             = 0x4005e000
SYS_close(3)                                      = 0
SYS_open("/lib/libc.so.6", 0, 00)                 = 3
SYS_read(3, "\177ELF\001\001\001a", 1024)         = 1024
SYS_fstat(3, 0xbfffef94, 0xbffff068, 0, 3)        = 0
SYS_mmap(0xbfffef6c, 0x00117138, 5, 2, 0xbfffef9c) = 0x40066000
SYS_mprotect(0x4016c000, 69944, 0, 0x00106000, 0xbfffef9c) = 0
SYS_mmap(0xbfffef6c, 49152, 3, 18, 2)             = 0x4016e000
SYS_mmap(0xbfffef6c, 12600, 3, 50, 0x40179514)    = 0x4017a000
SYS_close(3)                                      = 0
SYS_open("/lib/libc.so.6", 0, 00)                 = 3
SYS_read(3, "\177ELF\001\001\001a", 1024)         = 1024
SYS_fstat(3, 0xbfffef2c, 0xbffff000, 0, 3)        = 0
SYS_close(3)                                      = 0
SYS_open("/lib/libc.so.6", 0, 00)                 = 3
SYS_read(3, "\177ELF\001\001\001a", 1024)         = 1024
SYS_fstat(3, 0xbfffeecc, 0xbfffefa0, 0, 3)        = 0
SYS_close(3)                                      = 0
SYS_munmap(0x40019000, 18520)                     = 0
SYS_getpid()                                      = 2901
__gmon_start__(1, 0xbffffd3c, 0xbffffd44, 0x020010f8, 0x4001f3e8 <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


So, __gmon_start__ - I don't know anything about this, except a quick
search on Google reveals there have been some issues with this on Alpha.


hth, Peter


-- 
------------------------------------------------------------------------
 Peter Naulls - peter@erble.freeserve.co.uk
 Homepage - http://free.prohosting.com/~chocky/
 Java for RISC OS and ARM - http://www.java.riscos.org.uk/
 Debian Linux on RiscPCs - http://www.erble.freeserve.co.uk/
------------------------------------------------------------------------



Reply to: