nanogui: Thread: segfault in example binaries


[<<] [<] Page 1 of 1 [>] [>>]
Subject: segfault in example binaries
From: Eric Van Buggenhaut ####@####.####
Date: 27 Aug 2001 15:23:10 -0000
Message-Id: <20010827172301.A592@eric>

Hi,

Just tried mterm and microwindow linux binaries I downloaded from
www.microwindows.org (actually from ftp://microwindows.censoft.com/pub/microwindows/LinuxExamples)

They segfault on my machine cause I got the framebuffer using 16-bits depth. If
I switch to 8-bits, it works fine, although the pointer of the mouse won't
move.

strace attached.

Thanks.

Please cc me, i'm not subscribed.

-- 
Eric VAN BUGGENHAUT                 "Real Programers don't use Pascal"
        \_|_/           Andago
       \/   \/          Av. Santa Engracia, 54
a n d a g o  |--        E-28010 Madrid - tfno:+34(91)2041100
       /\___/\ 		http://www.andago.com
        / | \           "Innovando en Internet"
                        ####@####.####

execve("./mterm", ["./mterm"], [/* 30 vars */]) = 0
uname({sys="Linux", node="curitiba", ...}) = 0
brk(0)                                  = 0x8070844
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat64(0x4, 0xbfffec94)                = 0
old_mmap(NULL, 20608, PROT_READ, MAP_PRIVATE, 4, 0) = 0x40016000
close(4)                                = 0
open("/lib/libm.so.6", 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\0000I\0\000"..., 1024) = 1024
fstat64(0x4, 0xbfffecdc)                = 0
old_mmap(NULL, 137204, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4001c000
mprotect(0x4003d000, 2036, PROT_NONE)   = 0
old_mmap(0x4003d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x20000) = 0x4003d000
close(4)                                = 0
open("/lib/libc.so.6", 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\30\327"..., 1024) = 1024
fstat64(0x4, 0xbfffeccc)                = 0
old_mmap(NULL, 1179680, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4003e000
mprotect(0x40154000, 40992, PROT_NONE)  = 0
old_mmap(0x40154000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x115000) = 0x40154000
old_mmap(0x4015a000, 16416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4015a000
close(4)                                = 0
munmap(0x40016000, 20608)               = 0
gettimeofday({998909054, 587898}, NULL) = 0
open("/dev/tty", O_RDONLY|O_NONBLOCK)   = 4
ioctl(4, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(4, SNDCTL_TMR_CONTINUE, {B38400 opost isig -icanon -echo ...}) = 0
open("/dev/fb0", O_RDWR)                = 5
ioctl(5, FBIOGET_FSCREENINFO, 0xbffff7f8) = 0
ioctl(5, FBIOGET_VSCREENINFO, 0xbffff758) = 0
open("/dev/tty0", O_RDWR)               = 6
ioctl(6, VT_GETMODE, 0x806fa08)         = 0
rt_sigaction(SIGUSR2, {0x8053ec8, [USR2], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
ioctl(6, VT_SETMODE, 0x806fa08)         = 0
ioctl(6, KDSETMODE, 0x1)                = 0
old_mmap(NULL, 2359296, PROT_READ|PROT_WRITE, MAP_SHARED, 5, 0) = 0x4015f000
ioctl(5, FBIOGETCMAP, 0xbffff710)       = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
Subject: Re: [nanogui] segfault in example binaries
From: "Greg Haerr" ####@####.####
Date: 28 Aug 2001 01:58:32 -0000
Message-Id: <05f501c12f63$81f6fdc0$3aba46a6@xmission.com>

: Just tried mterm and microwindow linux binaries I downloaded from
: www.microwindows.org (actually from
ftp://microwindows.censoft.com/pub/microwindows/LinuxExamples)
:
: They segfault on my machine cause I got the framebuffer using 16-bits depth.
If
: I switch to 8-bits, it works fine, although the pointer of the mouse won't
: move.


Hmm...  The example binaries are not built from the latest source
release.  I would suggest that you compile up from source and
see whether this is still a problem.

Regards,

Greg


[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.