[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#506666: marked as done (SDL_Init causing crashes on powerpc)



Your message dated Sun, 19 Jan 2014 14:50:02 +0000
with message-id <52DBE61A.4040801@solveig.org>
and subject line Re: SDL_Init causing crashes on powerpc - closing
has caused the Debian Bug report #506666,
regarding SDL_Init causing crashes on powerpc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
506666: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506666
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libdirectfb-1.0-0
Version: 1.0.1-11
Severity: critical
Justification: breaks unrelated software


This bug already reported in Launchpad, but no ppc support there.
https://bugs.launchpad.net/ubuntu/+source/directfb/+bug/301278


This problem's first symptom is that you are completely logged out of your X session as soon as you try to run something like Tuxpaint on PPC. I have seen it on Fedora, Debian Lenny and Intrepid. Etch.5 worked fine, probably because directfb was version 0.9.

I have stepped though Tuxpaint until an SDL init:

SDL_Init(1048625)
(Those flags are: SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_AUDO | SDL_INIT_NOPARACHUTE)

I then stepped through the SDL code until here:
DirectFB_CreateDevice (devindex=<value optimized out>) at ../../src/video/directfb/SDL_DirectFB_video.c:123

DirectFB_CreateDevice crashes. It sometimes prints the error below, but mostly
it doesn't print anything, it just terminates the session. Since it looks permissions related I have
run everything as root but that doesn't help.

The machine I am running is a G4 Mac Mini (powerpc).
The graphics card:
0000:00:10.0 VGA compatible controller [0300]: ATI Technologies Inc RV280 [Radeon 9200] [1002:5962] (rev 01) (prog-if 00 [VGA controller])
	Subsystem: ATI Technologies Inc RV280 [Radeon 9200] [1002:5962]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 255 (2000ns min), Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 48
	Region 0: Memory at 98000000 (32-bit, prefetchable) [size=128M]
	Region 1: I/O ports at 0400 [size=256]
	Region 2: Memory at 90000000 (32-bit, non-prefetchable) [size=64K]
	Expansion ROM at f1000000 [disabled] [size=128K]
	Capabilities: [58] AGP version 2.0
		Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
		Command: RQ=8 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: radeonfb


I have already gone through three distributions, rebuilt Tuxpaint and SDL from source
with debug symbols and stepped to discover the problem - so I'm willing to help
fix this.


The rare error message:

---------8x-------------8x-----------8x-----------------8x---------------8x--------------------

     =======================| DirectFB 1.0.1 |=======================
          (c) 2001-2007 The DirectFB Organization (directfb.org)
          (c) 2000-2004 Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-09-12 20:02)
(*) Direct/Memcpy: Using ppcasm_memcpy()
(!) DirectFB/Core: Could not initialize 'system' core!
    --> Access denied!

     =======================| DirectFB 1.0.1 |=======================
          (c) 2001-2007 The DirectFB Organization (directfb.org)
          (c) 2000-2004 Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-09-12 20:02)
(*) Direct/Memcpy: Using libc memcpy()
(!) DirectFB/Core: Could not initialize 'system' core!
    --> Access denied!

Error: I could not initialize video and/or the timer!
The Simple DirectMedia Layer error that occurred was:
DirectFBCreate: Access denied!




-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.26-1-powerpc
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libdirectfb-1.0-0 depends on:
ii  libc6                         2.7-16     GNU C Library: Shared libraries
ii  libsysfs2                     2.1.0-5    interface library to sysfs
ii  libts-0.0-0                   1.0-4      touch screen library

libdirectfb-1.0-0 recommends no packages.

libdirectfb-1.0-0 suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi! I'm closing this bug, since it was tagged "moreinfo" for years
without answer. If you still encounter this problem, please feel free
to re-open it or ask me to do it.

 Solveig

--- End Message ---

Reply to: