Re: gtk 1.3.2 does not display



Havoc Pennington wrote:

finklestein <gregor waltz villanova edu> writes:
does anyone know where i can start debugging this? the glib tests work,
so i don't think that the problem is there.

Try running strace on your program and see where it gets stuck
(probably on a file descriptor, go back and see which system call the
file descriptor comes from and try to figure out what the file
descriptor is).

the tail of the strace follows the end of this email.

from what i can tell, pango opens up its rc files and gets glib to start
loading gconv modules. it seems that that is for converting between
character standards.

then it stops after glib opens the ISO8859-1.so module. i tried the
helloworld gtk example and it stops after loading ISO8859-2.so.

i don't know what the trouble is at all.

ltrace might be useful too.

Or just run the app in gdb and get a backtrace wherever the app stops.

don't have ltrace and gdb is malfunctioning.

oh, well. thanks for the help!

-greg


100 buckets of bits on the bus
100 buckets of bits
Take one down, short it to ground
FF buckets of bits on the bus

FF buckets of bits on the bus
FF buckets of bits
Take one down, short it to ground
FE buckets of bits on the bus...

ad infinitum...



open("/usr/lib/gconv/gconv-modules", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=33722, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40018000
read(4, "# GNU libc iconv configuration.\n"..., 4096) = 4096
read(4, "20-1969-RO//\nmodule\tJIS_C6220-19"..., 4096) = 4096
read(4, "RNAL\t\tISO8859-3\t1\nmodule\tINTERNA"..., 4096) = 4096
read(4, "SO_6937-2\t1\n\n#\tfrom\t\t\tto\t\t\tmodul"..., 4096) = 4096
read(4, "M256//\nmodule\tIBM256//\t\tINTERNAL"..., 4096) = 4096
read(4, "module\t\tcost\nalias\tCP855//\t\t\tIBM"..., 4096) = 4096
brk(0x809d000)                          = 0x809d000
brk(0x809e000)                          = 0x809e000
read(4, "IBM1004//\nalias\tOS2LATIN1//\t\tIBM"..., 4096) = 4096
brk(0x809f000)                          = 0x809f000
brk(0x80a0000)                          = 0x80a0000
read(4, "_P27-1\t1\nmodule\tINTERNAL\t\tIEC_P2"..., 4096) = 4096
brk(0x80a1000)                          = 0x80a1000
brk(0x80a2000)                          = 0x80a2000
read(4, "le\tINTERNAL\t\tNATS-DANO//\t\tNATS-D"..., 4096) = 943
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40018000, 4096)                = 0
open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\370\4\0"...,
1024) = 1024
fstat(4, {st_mode=S_IFREG|0755, st_size=31801, ...}) = 0
old_mmap(NULL, 6792, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0x40018000
mprotect(0x40019000, 2696, PROT_NONE)   = 0
old_mmap(0x40019000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
4, 0) = 0x40019000
close(4)                                = 0
brk(0x80aa000)                          = 0x80aa000




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