Bug#505379: phosphor segfaults

2009-03-14 Thread Frans Pop
FWIW, started using phosphor again recently and I'm seeing the same
problem. I'm running phosphor from KDE 3.5 with fortune as source
for text (had to edit /usr/share/xscreensaver/config/phosphor.xml
to be able to use that).

Mar  6 19:07:17 aragorn kernel: phosphor[31384]: segfault at 0
   ip 7f96e068f110 sp 7fffe9dd1d28 error 4 in 
libc-2.7.so[7f96e0623000+14a000]
Mar  7 20:20:20 aragorn kernel: phosphor[8362]: segfault at 0
   ip 7f2c47bcc110 sp 7fff5130e898 error 4 in 
libc-2.7.so[7f2c47b6+14a000]
Mar 12 22:44:58 aragorn kernel: phosphor[12924]: segfault at 0
   ip 7f448e684110 sp 7fff97dc7358 error 4 in 
libc-2.7.so[7f448e618000+14a000]
Mar 13 08:53:05 aragorn kernel: phosphor[7521]: segfault at 0
   ip 7f3cc8afc110 sp 7fffd223d0e8 error 4 in 
libc-2.7.so[7f3cc8a9+14a000]
Mar 13 10:03:27 aragorn kernel: phosphor[9167]: segfault at 0
   ip 7fc27c858110 sp 7fff85f9b528 error 4 in 
libc-2.7.so[7fc27c7ec000+14a000]
Mar 13 10:38:01 aragorn kernel: phosphor[10558]: segfault at 0
   ip 7f3e937a3110 sp 7fff9cee4478 error 4 in 
libc-2.7.so[7f3e93737000+14a000]
Mar 13 17:46:08 aragorn kernel: phosphor[8295]: segfault at 0
   ip 7fa631644110 sp 7fff3ad85318 error 4 in 
libc-2.7.so[7fa6315d8000+14a000]
Mar 13 21:19:07 aragorn kernel: phosphor[31937]: segfault at 0
   ip 7f0e57a4e110 sp 7fff61190b38 error 4 in 
libc-2.7.so[7f0e579e2000+14a000]

System is a HP 2510p notebook (Intel Core Duo/ ICH8) running
Debian/lenny/amd64 using self-compiled 2.6.29-rc8 kernel
Video driver is intel:
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960
   Integrated Graphics Controller [8086:2a02] (rev 0c)
00:02.1 Display controller [0380]: Intel Corporation Mobile GM965/GL960
   Integrated Graphics Controller [8086:2a03] (rev 0c)

X.org conf and log attached.

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

# Using the evdev driver should make the special keys supported by default,
# but I cannot get it working.
Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
#Driver evdev
Option  XkbRules  xorg
Option  XkbModel  pc104
#Option XkbModel  evdev
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
#   Option  CorePointer
EndSection

# Note: Synaptics touchpad is recognized through hal; see:
# /etc/hal/fdi/policy/10-synaptics.fdi
#Section InputDevice
#   Identifier  Synaptics Touchpad
#   Driver  synaptics
#   Option  SendCoreEvents
#EndSection

Section Device
Identifier  Intel GM965 Video Controller

Option  Monitor-LVDS  Internal Panel
Option  Monitor-VGA   External VGA Monitor
# to prevent high interrupts from i915 driver
# (or: don't use 3D GL screensavers...)
# restart X.Org to get rid of high DRI interrupts
#Option NoDRI
EndSection

Section Monitor
Identifier  Internal Panel
DisplaySize 261 163 # 10.2 x 6.3
EndSection

Section Monitor
Identifier  External VGA Monitor
#DisplaySize360 270 # NEC HR19
EndSection

Section Screen
Identifier  Default Screen
Monitor Internal Panel
Monitor External VGA Monitor

Subsection Display
Virtual 3000 2000
EndSubSection
EndSection

#Section ServerLayout
#   Identifier  Default Layout
#   Screen  Default Screen
#   InputDevice Generic Keyboard
#   #InputDeviceConfigured Mouse
#   #InputDeviceSynaptics Touchpad
#EndSection

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-11~fjp)
Current Operating System: Linux aragorn 2.6.29-rc8-rjw #9 SMP Sat Mar 14 14:26:22 CET 2009 x86_64
Build Date: 04 February 2009  03:40:02PM
 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: 

Bug#505379: phosphor segfaults

2008-12-02 Thread Elmar Hoffmann
Hi Tormod,

on Tue, Dec 02, 2008 at 00:09:17 +0100, you wrote:

 Usually you will only get DRI on the first X server, so if phosphor is
 running without DRI it's probably why it's so stable. Do you notice it
 is slower, or uses more CPU?

GLX does work fine on the second server and glxinfo sais direct
rendering: Yes, so it seems I do get DRI on multiple servers.
The /var/log/Xorg.[01].log files of both servers also only differ with
regard to unrelated messages, the dri module load messages are the
same.

elmar

-- 

 .'`./\
| :' :   Elmar Hoffmann [EMAIL PROTECTED]ASCII Ribbon Campaign  \ /
`. `'GPG key available via pgp.netagainst HTML email   X
  `- vCards  / \



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#505379: phosphor segfaults

2008-12-02 Thread Tormod Volden
On Tue, Dec 2, 2008 at 12:39 PM, Elmar Hoffmann [EMAIL PROTECTED] wrote:
 GLX does work fine on the second server and glxinfo sais direct
 rendering: Yes, so it seems I do get DRI on multiple servers.
 The /var/log/Xorg.[01].log files of both servers also only differ with
 regard to unrelated messages, the dri module load messages are the
 same.

You are using the proprietary nvidia driver, and I guess the
screensaver triggers a bug in the driver. Maybe you can file a bug
upstream, see 
http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/README/chapter-06.html

If you can provide a backtrace that shows xscreensaver is doing
something wrong we will of course take a closer look.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#505379: phosphor segfaults

2008-12-01 Thread Elmar Hoffmann
Hi,

on Tue, Nov 25, 2008 at 01:19:45 +0100, I wrote:

  Do you run it fullscreen? You can use the -root option in a bare X
  session (failsafe xterm session), i.e. without desktop backgrounds etc
  hiding the root window.
 
 With gdb I did use the same options as configured in xscreensaver,
 ie. /usr/lib/xscreensaver/phosphor -root -delay 34000 -scale 3, but
 within my normal session.

I have it running with that commandline in a separate X server via
startx for a couple of days now. it still runs fine, whereas I had two
or three crashes of the phosphor run by xscreensaver in my usual X
session during that time.
I'll let it running some longer, but it seems this won't reproduce the
crash either. :/

elmar

-- 

 .'`./\
| :' :   Elmar Hoffmann [EMAIL PROTECTED]ASCII Ribbon Campaign  \ /
`. `'GPG key available via pgp.netagainst HTML email   X
  `- vCards  / \



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#505379: phosphor segfaults

2008-12-01 Thread Tormod Volden
On Mon, Dec 1, 2008 at 10:35 PM, Elmar Hoffmann [EMAIL PROTECTED] wrote:
 I have it running with that commandline in a separate X server via
 startx for a couple of days now. it still runs fine, whereas I had two
 or three crashes of the phosphor run by xscreensaver in my usual X
 session during that time.

Usually you will only get DRI on the first X server, so if phosphor is
running without DRI it's probably why it's so stable. Do you notice it
is slower, or uses more CPU?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#505379: phosphor segfaults

2008-11-24 Thread Tormod Volden
Thanks for your bug report. Please attach your /var/log/Xorg.0.log and
/etc/X11/xorg.conf.

gdb slows down execution a bit, so it sometimes helps against timing
issues and races. Can you make phosphor crash standalone without gdb?
Do you run it fullscreen? You can use the -root option in a bare X
session (failsafe xterm session), i.e. without desktop backgrounds etc
hiding the root window.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#505379: phosphor segfaults

2008-11-24 Thread Elmar Hoffmann
Hi Tormod,

on Mon, Nov 24, 2008 at 10:04:47 +0100, you wrote:

 Thanks for your bug report. Please attach your /var/log/Xorg.0.log and
 /etc/X11/xorg.conf.

Done.

 gdb slows down execution a bit, so it sometimes helps against timing
 issues and races. [...]

Yeah, that would be an explanation. My thinking was along the lines of
the environment xscreensaver runs the hacks in being different in some
way to running them on their own...

 [...] Can you make phosphor crash standalone without
 gdb?

I think I ran phosphor without options (ie. in a window) for a bit
without it crashing, before I tried gdb.

 Do you run it fullscreen? You can use the -root option in a bare X
 session (failsafe xterm session), i.e. without desktop backgrounds etc
 hiding the root window.

With gdb I did use the same options as configured in xscreensaver,
ie. /usr/lib/xscreensaver/phosphor -root -delay 34000 -scale 3, but
within my normal session.

I just now started phosphor with these options inside xnest (though I
guess the different nature of xnest compared to the real server will
not make it crash...).
I'll look into having an additional, real X session running to try it
there. Replacing my normal session with a failsafe one is
unfortunately not an option on my main workstation. ;)

elmar

-- 

 .'`./\
| :' :   Elmar Hoffmann [EMAIL PROTECTED]ASCII Ribbon Campaign  \ /
`. `'GPG key available via pgp.netagainst HTML email   X
  `- vCards  / \
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type man /etc/X11/xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section Files
FontPath/usr/share/fonts/X11/misc
FontPath/usr/share/fonts/X11/cyrillic
FontPath/usr/share/fonts/X11/100dpi/:unscaled
FontPath/usr/share/fonts/X11/75dpi/:unscaled
FontPath/usr/share/fonts/X11/Type1
FontPath/usr/share/fonts/X11/100dpi
FontPath/usr/share/fonts/X11/75dpi
# path to defoma fonts
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
EndSection

Section Module
Loadbitmap
Loaddbe
Loadddc
#   Loaddri   # nvidia
Loadextmod
Loadfreetype
Loadglx
Loadint10
Loadrecord
Loadtype1
Loadvbe
Loadv4l
EndSection

Section Extensions
#   Option  Composite enable
EndSection

Section InputDevice
Identifier  US Qwerty Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout us
#   Option  XkbOptionsctrl:nocaps
EndSection

Section InputDevice
Identifier  US Dvorak Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout dvorak
Option  XkbOptionsctrl:nocaps
EndSection

Section InputDevice
Identifier  USB Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
Option  Emulate3Buttons   false
Option  ZAxisMapping  4 5
EndSection

Section Device
Identifier  NVidia Graphics Card
Driver  nvidia
Option  NoLogotrue
Option  RenderAccel   true
Option  BackingStore  true
Option  AllowGLXWithComposite true
EndSection

Section Monitor
Identifier  DDC Monitor
Option  DPMS
EndSection

Section Monitor
Identifier  TV
HorizSync   30-50
VertRefresh 50-60
EndSection

Section Screen
Identifier  Default Screen
Device  NVidia Graphics Card
Monitor DDC Monitor
DefaultDepth24
#   Option  ConnectedMonitor  CRT
SubSection Display
Depth   8
Modes   1600x1200 1400x1050 1280x960 1152x864 
1024x768 800x600 640x480

Bug#505379: phosphor segfaults

2008-11-11 Thread Elmar Hoffmann
Package: xscreensaver-data-extra
Version: 5.05-3
Severity: normal

phosphor, when used in xscreensaver, segfaults regularly after a while,
leading to a black screen remaining and syslog showing:
kernel: phosphor[27671]: segfault at 0 ip b7dab351 sp bf87a5d8 error 4 in 
libc-2.7.so[b7d45000+155000]

I tried running phosphor standalone (including the commandline options
as per xscreensaver settings) from within gdb, but it ran fine for
days, whereas I've been seeing above segfault every other day during
the last 2 months or so.

elmar

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xscreensaver-data-extra depends on:
ii  dictionaries-common   0.98.12Common utilities for spelling dict
ii  libc6 2.7-15 GNU C Library: Shared libraries
ii  libglib2.0-0  2.16.6-1   The GLib library of C routines
ii  libgtk2.0-0   2.12.11-3  The GTK+ graphical user interface 
ii  libice6   2:1.0.4-1  X11 Inter-Client Exchange library
ii  libjpeg-progs 6b-14  Programs for manipulating JPEG fil
ii  libjpeg62 6b-14  The Independent JPEG Group's JPEG 
ii  libsm62:1.0.3-2  X11 Session Management library
ii  libx11-6  2:1.1.5-2  X11 client-side library
ii  libxext6  2:1.0.4-1  X11 miscellaneous extension librar
ii  libxmu6   2:1.0.4-1  X11 miscellaneous utility library
ii  libxpm4   1:3.5.7-1  X11 pixmap library
ii  libxt61:1.0.5-3  X11 toolkit intrinsics library
ii  netpbm2:10.0-12  Graphics conversion tools
ii  xscreensaver-data 5.05-3 data files to be shared among scre

xscreensaver-data-extra recommends no packages.

xscreensaver-data-extra suggests no packages.

-- no debconf information

-- 

 .'`./\
| :' :   Elmar Hoffmann [EMAIL PROTECTED]ASCII Ribbon Campaign  \ /
`. `'GPG key available via pgp.netagainst HTML email   X
  `- vCards  / \



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]