Bug#455313: xserver-xorg-video-sunffb: crashes when client disconnects
package xserver-xorg-video-sunffb
found 455313 1:1.1.0-2
thanks
* Brice Goglin <Brice.Goglin@ens-lyon.org> [071214 22:22]:
> Bernhard R. Link wrote:
> > When I running an X server using xserver-xorg-video-sunffb directly
> > from the command line (don't have anything installed currently and
> > only had an xserver installed to have xrandr 1.2 to test), the xserver
> > crashes when the first client disconnects.
> > Following a (slightly shortened) script of a gdb run. (sunffb has no -dbg
> > package, perhaps I'll find the time to recompile it with debugging symbols later):
> >
>
> It would be very nice to build this debugging package (see [1] for help).
> Your analysis looks good to me, but I'd like to get a full debugging
> backtrace before reporting the problem upstream.
| Script started on Sat Dec 22 14:54:55 2007
| :~# gdb --args /usr/bin/Xorg :9
| (gdb) r
| Starting program: /usr/bin/Xorg :9
| [Thread debugging using libthread_db enabled]
|
| X.Org X Server 1.4.0
| Release Date: 5 September 2007
| X Protocol Version 11, Revision 0
| Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20071119-1)
| Current Operating System: Linux nn122 2.6.22-3-sparc64-smp #1 SMP Mon Nov 12 12:48:41 UTC 2007 sparc64
| Build Date: 02 December 2007 02:40:49AM
|
| 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: "/var/log/Xorg.9.log", Time: Sat Dec 22 14:55:00 2007
| (==) Using config file: "/etc/X11/xorg.conf"
| [New Thread 0xf7fce6b0 (LWP 10150)]
| [tcsetpgrp failed in terminal_inferior: Operation not permitted]
| (II) Module "ddc" already built-in
| (II) Module "ramdac" already built-in
| Detected FFB1-SpeedSort, Z-buffer, Double-buffered.
| expected keysym, got XF86KbdLightOnOff: line 70 of pc
| expected keysym, got XF86KbdBrightnessDown: line 71 of pc
| expected keysym, got XF86KbdBrightnessUp: line 72 of pc
| The XKEYBOARD keymap compiler (xkbcomp) reports:
| > Error: No Symbols named "sun5" in the include file "sun_vndr/us"
| > Exiting
| > Abandoning symbols file "default"
| Errors from xkbcomp are not fatal to the X server
| Could not init font path element unix/:7100, removing from list!
| Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
| Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list!
| Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list!
| Could not init font path element /usr/share/fonts/X11/Type1, removing from list!
| Could not init font path element /usr/share/fonts/X11/100dpi, removing from list!
| Could not init font path element /usr/share/fonts/X11/75dpi, removing from list!
| Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!
|
| FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
| Detected FFB1-SpeedSort, Z-buffer, Double-buffered.
Here again connecting and disconnecting a client to the server...
|
| Program received signal SIGSEGV, Segmentation fault.
| [Switching to Thread 0xf7fce6b0 (LWP 10150)]
| 0xf78c94b4 in FFBDacSaveScreen (pFfb=0xf7d3b928, mode=0)
| at ../../src/ffb_dac.c:535
| 535 tmp = DACCFG_READ(dac, FFBDAC_CFG_TGEN); /* Get the timing information */
| (gdb) bt full
| #0 0xf78c94b4 in FFBDacSaveScreen (pFfb=0xf7d3b928, mode=0)
| at ../../src/ffb_dac.c:535
| tmp = 8192
| dac = (ffb_dacPtr) 0x0
| #1 0xf78cc58c in FFBSaveScreen (pScreen=0x291ca8, mode=0)
| at ../../src/ffb_driver.c:1013
| No locals.
| #2 0xf78cba4c in FFBScreenInit (scrnIndex=0, pScreen=0x291ca8, argc=2,
| argv=0xffe59db4) at ../../src/ffb_driver.c:719
| pScrn = (ScrnInfoPtr) 0x1fb718
| pFfb = (FFBPtr) 0x1fc790
| ret = 1874096
| afb_fem = 655488
| visual = (VisualPtr) 0x1b96b4
| #3 0x0003c098 in AddScreen (pfnInit=0xf78cb4a0 <FFBScreenInit>, argc=2,
| argv=0xffe59db4) at ../../dix/main.c:769
| i = 0
| scanlinepad = <value optimized out>
| format = <value optimized out>
| depth = <value optimized out>
| bitsPerPixel = 32
| k = <value optimized out>
| pScreen = (ScreenPtr) 0x291ca8
| #4 0x000732a8 in InitOutput (pScreenInfo=0x1eb050, argc=2, argv=0xffe59db4)
| at ../../../../hw/xfree86/common/xf86Init.c:850
| i = 0
| j = <value optimized out>
| k = <value optimized out>
| scr_index = 2011216
| modulelist = <value optimized out>
| optionlist = (pointer *) 0xffe597e8
| layout = (screenLayoutPtr) 0x1c9800
| screenpix24 = <value optimized out>
| pix24 = <value optimized out>
| pix24From = <value optimized out>
| autoconfig = 1873920
| generation = 2
| #5 0x0003c960 in main (argc=2, argv=0xffe59db4, envp=0x1)
| at ../../dix/main.c:369
| i = <value optimized out>
| error = -134346768
| alwaysCheckForInput = {0, 1}
| (gdb) quit
Script done on Sat Dec 22 14:55:53 2007
> Also, this problem did not occur with xserver-xorg-core and
> xserver-xorg-video-sunffb from testing, right?
I've not used this machine as X server for quite some time, so
I cannot say this.
When trying to downgrade the X related packages to testing, I still
see this problem. (Or a similar one, at least it segfaults).
I'm thus adding the testing version to the found list.
Hochachtungsvoll,
Bernhard R. Link
Reply to: