LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-05-2006, 03:27 PM   #1
ithawtewrong
Member
 
Registered: Jul 2004
Location: Mile High
Posts: 161

Rep: Reputation: 30
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 +++
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Segfault in Samba kmoffat Linux - Networking 1 09-07-2006 07:16 AM
2006 and suspend - needs vbetool to work grcore Mandriva 1 01-16-2006 04:47 PM
Realplayer SEGFAULT! Please Help! seran Linux - General 0 05-27-2005 08:48 AM
lsmod segfault? z-vet Yoper 6 12-15-2004 03:40 PM
segfault in mallopt() spuzzzzzzz Programming 6 07-08-2004 06:03 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration