LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   vbetool segfault x86_64 (http://www.linuxquestions.org/questions/linux-software-2/vbetool-segfault-x86_64-a-498903/)

ithawtewrong 11-05-2006 03:27 PM

vbetool segfault x86_64
 
I've been having a problem with segfaults in vbetool that seem to be getting worse. I noticed this in my logs from day 1 of my install, but the laptop worked fine and I just ignored it figuring it wasn't that important. I have had problems with even starting my laptop lately where it hangs during startup with the segfault and then when I try to restart all services stop, but it hangs hard on Bluetooth services. I've done some searching and can't come up with anything, but it looks like the strace program may help someone with more knowledge than me narrow it down. I have attached the output and a copy of the error. I guess the other significant info is hardware: HP ZV5000, 64bit Athlon, Nvidia GeForce 440 64 Meg (driver version 8776), NForce3 chipset

The log error is:

Nov 5 12:26:48 localhost kernel: [ 59.171795] vbetool[3800]: segfault at 000000000000548f rip 00000000004256f3 rsp 00007fffffea56f0 error 4
Nov 5 12:38:55 localhost kernel: [ 184.927090] vbetool[4012]: segfault at 000000000000548f rip 00000000004256f3 rsp 00007fffffb4a0e0 error 4

I tried running the app again from terminal and get:

user@laptop:/etc/init.d$ sudo vbetool vbestate save
Get video state buffer size failed
Allocated buffer at 0x20000 (base is 0x0)
ES: 0x2000 EBX: 0x0000
Segmentation fault
user@laptop:/etc/init.d$ sudo strace vbetool vbestate save
execve("/usr/sbin/vbetool", ["vbetool", "vbestate", "save"], [/* 35 vars */]) = 0
uname({sys="Linux", node="River", ...}) = 0
brk(0) = 0x531000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaac1000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaac2000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=70570, ...}) = 0
mmap(NULL, 70570, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2aaaaaac4000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/libpci.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\32\0\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0644, st_size=31664, ...}) = 0
mmap(NULL, 1078528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2aaaaabc2000
mprotect(0x2aaaaabca000, 1045760, PROT_NONE) = 0
mmap(0x2aaaaacc9000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x2aaaaacc9000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\305\1\0"..., 640) = 640
fstat(3, {st_mode=S_IFREG|0755, st_size=1267512, ...}) = 0
mmap(NULL, 2327016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2aaaaacca000
mprotect(0x2aaaaade7000, 1159656, PROT_NONE) = 0
mmap(0x2aaaaaee7000, 94208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11d000) = 0x2aaaaaee7000
mmap(0x2aaaaaefe000, 16872, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaefe000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaaaf03000
arch_prctl(ARCH_SET_FS, 0x2aaaaaf036d0) = 0
munmap(0x2aaaaaac4000, 70570) = 0
open("/dev/zero", O_RDWR) = 3
mmap(0x10000, 262144, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED|MAP_FIXED, 3, 0) = 0x10000
close(3) = 0
open("/dev/mem", O_RDWR) = 3
mmap(NULL, 1282, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED|MAP_FIXED, 3, 0) = 0
mmap(0xa0000, 393216, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_FIXED, 3, 0xa0000) = 0xa0000
close(3) = 0
ioperm(0, 0x400, 0x1) = 0
iopl(0x3) = 0
brk(0) = 0x531000
brk(0x552000) = 0x552000
access("/sys/bus/pci/devices", R_OK) = 0
write(2, "Get video state buffer size fail"..., 35Get video state buffer size failed
) = 35
write(2, "Allocated buffer at 0x20000 (bas"..., 42Allocated buffer at 0x20000 (base is 0x0)
) = 42
write(2, "ES: 0x2000 EBX: 0x0000\n", 23ES: 0x2000 EBX: 0x0000
) = 23
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


All times are GMT -5. The time now is 12:45 PM.