Bug#603492: warzone2100: on startup/load: SIGSEGV: Invalid memory reference: Address not mapped to object

Victor Pablos Ceruelo victorpablosceruelo at gmail.com
Mon Aug 8 10:17:34 UTC 2011


Ups, sorry. I found it is caused by errors in my xorg configuration
and I forgot to report it is not a bug.
With the following configuration it works perfectly in a Lenovo W500:

$ cat 60-files-modules-others.conf

Section "Files"
     ModulePath   "/usr/lib/xorg/modules"
     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"
     FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
     FontPath     "built-ins"
EndSection

Section "Module"
     Load  "dbe"
     Load  "dri"
     Load  "extmod"
     Load  "record"
     Load  "dri2"
     Load  "glx"
#    Load  "GLcore" # Only for fglrx !!!
EndSection

$ cat 63-monitors.conf

Section "Monitor"
     Identifier   "LVDS1"
     VendorName   "LEN"
     ModelName    "4055"
#    Modeline "1920x1200"  150.79  1920 1950 2030 2060  1200 1202 1206 
1220 # -hsync -vsync (73.2 kHz)
#    Modeline "1920x1200"  125.66  1920 1950 2030 2060  1200 1202 1206 
1220 # -hsync -vsync (61.0 kHz)
     Option    "PreferredMode" "1920x1200"
     Option    "DPMS"
EndSection

Section "Monitor"
     Identifier   "VGA1"
     VendorName   "Monitor Vendor"
     ModelName    "Monitor Model"
     Option    "DPMS"
EndSection

$ cat 65-serverlayouts.conf
Section "ServerLayout"
     Identifier    "ByHandConfigured-ATI"
     Screen        "DVI-0-ATI"
     Screen        "VGA-0-ATI"
     InputDevice    "Mouse0" "CorePointer"
     InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerLayout"
     Identifier    "ByHandConfigured-Intel"
     Screen        "DVI-0-Intel"
     Screen        "VGA-0-Intel"
     InputDevice    "Mouse0" "CorePointer"
     InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
     DefaultServerLayout    "ByHandConfigured-Intel"
     Option        "DontZap"    "false"

     # From 
http://www.randombugs.com/linux/disable-monitor-standby-xorg-xserver.html
     Option "blank time" "0"
     Option "standby time" "0"
     Option "suspend time" "0"
     Option "off time" "0"
     # Option "dpms" "false"
     Option "dpms" "true"
EndSection

$ cat 67-screens-ati.conf

Section "Screen"
     Identifier "DVI-0-ATI"
     Monitor    "DVI0"
     Device       "CardATI"
     DefaultDepth 24
     SubSection "Display"
         Viewport   0 0
         Depth     16
# "2560x2048" "2560x1600" "2048x1536"
         Modes    "1920x1200" "1600x1200" "1280x1024" "1680x1050" 
"1400x1050" "1024x768" "800x600" "640x480"
     EndSubSection
     SubSection "Display"
         Viewport   0 0
         Depth     24
         Modes   "1920x1200" "1600x1200" "1280x1024" "1680x1050" 
"1400x1050" "1024x768" "800x600" "640x480"
     EndSubSection
EndSection

Section "Screen"
     Identifier "VGA-0-ATI"
     Monitor    "VGA0"
     Device       "CardATI"
     DefaultDepth 24
     SubSection "Display"
         Viewport   0 0
         Depth     16
         Modes    "1920x1200" "1600x1200" "1280x1024" "1680x1050" 
"1400x1050" "1024x768" "800x600" "640x480"
     EndSubSection
     SubSection "Display"
         Viewport   0 0
         Depth     24
         Modes   "1920x1200" "1600x1200" "1280x1024" "1680x1050" 
"1400x1050" "1024x768" "800x600" "640x480"
     EndSubSection
EndSection

$ cat 67-screens-intel.conf

Section "Screen"
     Identifier "DVI-0-Intel"
     Monitor    "DVI0"
     Device       "CardIntel"
     DefaultDepth 24
     SubSection "Display"
         Viewport   0 0
         Depth     16
         Modes   "1920x1200" "1600x1200" "1280x1024" "1680x1050" 
"1400x1050" "1024x768" "800x600" "640x480"
     EndSubSection
     SubSection "Display"
         Viewport   0 0
         Depth     24
         Modes   "1920x1200" "1600x1200" "1280x1024" "1680x1050" 
"1400x1050" "1024x768" "800x600" "640x480"
     EndSubSection
EndSection

Section "Screen"
     Identifier "VGA-0-Intel"
     Monitor    "VGA0"
     Device       "CardIntel"
     DefaultDepth 24
     SubSection "Display"
         Viewport   0 0
         Depth     16
         Modes    "1920x1200" "1600x1200" "1280x1024" "1680x1050" 
"1400x1050" "1024x768" "800x600" "640x480"
     EndSubSection
     SubSection "Display"
         Viewport   0 0
         Depth     24
         Modes   "1920x1200" "1600x1200" "1280x1024" "1680x1050" 
"1400x1050" "1024x768" "800x600" "640x480"
     EndSubSection
EndSection

$ cat 70-device-ati.conf

Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "NoAccel"                # [<bool>]
         #Option     "SWcursor"               # [<bool>]
         #Option     "Dac6Bit"                # [<bool>]
         #Option     "Dac8Bit"                # [<bool>]
         #Option     "BusType"                # [<str>]
         #Option     "CPPIOMode"              # [<bool>]
         #Option     "CPusecTimeout"          # <i>
         #Option     "AGPMode"                # <i>
         #Option     "AGPFastWrite"           # [<bool>]
         #Option     "AGPSize"                # <i>
         #Option     "GARTSize"               # <i>
         #Option     "RingSize"               # <i>
         #Option     "BufferSize"             # <i>
         #Option     "EnableDepthMoves"       # [<bool>]
         #Option     "EnablePageFlip"         # [<bool>]
         #Option     "NoBackBuffer"           # [<bool>]
         #Option     "DMAForXv"               # [<bool>]
         #Option     "FBTexPercent"           # <i>
         #Option     "DepthBits"              # <i>
         #Option     "PCIAPERSize"            # <i>
         #Option     "AccelDFS"               # [<bool>]
         #Option     "IgnoreEDID"             # [<bool>]
         #Option     "CustomEDID"             # [<str>]
         #Option     "DisplayPriority"        # [<str>]
         #Option     "PanelSize"              # [<str>]
         #Option     "ForceMinDotClock"       # <freq>
         #Option     "ColorTiling"            # [<bool>]
         #Option     "VideoKey"               # <i>
         #Option     "RageTheatreCrystal"     # <i>
         #Option     "RageTheatreTunerPort"     # <i>
         #Option     "RageTheatreCompositePort"     # <i>
         #Option     "RageTheatreSVideoPort"     # <i>
         #Option     "TunerType"              # <i>
         #Option     "RageTheatreMicrocPath"     # <str>
         #Option     "RageTheatreMicrocType"     # <str>
         #Option     "ScalerWidth"            # <i>
         #Option     "RenderAccel"            # [<bool>]
         #Option     "SubPixelOrder"          # [<str>]
         #Option     "ShowCache"              # [<bool>]
         #Option     "ClockGating"            # [<bool>]
         #Option     "VGAAccess"              # [<bool>]
         #Option     "ReverseDDC"             # [<bool>]
         #Option     "LVDSProbePLL"           # [<bool>]
         #Option     "AccelMethod"            # <str>
         #Option     "DRI"                    # [<bool>]
         #Option     "ConnectorTable"         # <str>
         #Option     "DefaultConnectorTable"     # [<bool>]
         #Option     "DefaultTMDSPLL"         # [<bool>]
         #Option     "TVDACLoadDetect"        # [<bool>]
         #Option     "ForceTVOut"             # [<bool>]
         #Option     "TVStandard"             # <str>
         #Option     "IgnoreLidStatus"        # [<bool>]
         #Option     "DefaultTVDACAdj"        # [<bool>]
         #Option     "Int10"                  # [<bool>]
         #Option     "EXAVSync"               # [<bool>]
         #Option     "ATOMTVOut"              # [<bool>]
         #Option     "R4xxATOM"               # [<bool>]
         #Option     "ForceLowPowerMode"      # [<bool>]
         #Option     "DynamicPM"              # [<bool>]
         #Option     "NewPLL"                 # [<bool>]
         #Option     "ZaphodHeads"            # <str>
     Identifier  "CardAti"
     Driver      "radeon"
     # Driver      "fglrx"
     VendorName  "ATI Technologies Inc"
     BoardName   "Mobility Radeon HD 3650"
     BusID       "PCI:1:0:0"
     Option      "DPI" "96 x 96"
EndSection

$ cat 70-device-intel.conf

# From /var/log/Xorg.0.log
# (WW) intel(0): Option "DPI" is not used
# (WW) intel(0): Option "MigrationHeuristic" is not used
# (WW) intel(0): Option "TripleBuffer" is not used
# (WW) intel(0): Option "XAANoOffscreenPixmaps" is not used


Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
         ### [arg]: arg optional
         #Option     "NoAccel"                # [<bool>]
         #Option     "SWcursor"               # [<bool>]
         #Option     "ColorKey"               # <i>
         #Option     "CacheLines"             # <i>
         #Option     "Dac6Bit"                # [<bool>]
         #Option     "DRI"                    # [<bool>]
         #Option     "NoDDC"                  # [<bool>]
         #Option     "ShowCache"              # [<bool>]
         #Option     "XvMCSurfaces"           # <i>
         #Option     "PageFlip"               # [<bool>]
     Identifier  "CardIntel"
     Driver      "intel"
     VendorName  "Intel Corporation"
     BoardName   "Mobile 4 Series Chipset Integrated Graphics Controller"
     # BusID       "PCI:00:02.1"
     Option      "DRI"            "yes"
     Option      "DRI"            "true"
#    Option      "DDC"            "no"
#    Option      "NoDDC"            "yes"
#    Option      "DPI"            "96 x 96"
     # From http://www.freeorion.org/forum/viewtopic.php?f=25&t=4903
     Option        "AccelMethod"         "XAA"
#    Option         "MigrationHeuristic"     "greedy"
#    Option      "TripleBuffer"         "true"
#    Option      "XAANoOffscreenPixmaps"    "true"
EndSection

# From http://www.larsen-b.com/Article/231.html
Section "DRI"
     Mode 0666
EndSection

$ cat 80-input-devices.conf

Section "InputDevice"
     Identifier  "Keyboard0"
     Driver      "kbd"
EndSection

Section "InputDevice"
     Identifier  "Mouse0"
     Driver      "mouse"
     Option        "Protocol" "auto"
     Option        "Device" "/dev/input/mice"
     Option        "ZAxisMapping" "4 5 6 7"
EndSection


** Model information
sys_vendor: LENOVO
product_name: 40625YG
product_version: ThinkPad W500
chassis_vendor: LENOVO
chassis_version: Not Available
bios_vendor: LENOVO
bios_version: 7VET90WW (3.20 )
board_vendor: LENOVO
board_name: 40625YG
board_version: Not Available



Please, close the bug.

Victor.



On 11/21/2010 05:13 AM, Paul Wise wrote:
> tags 603492 + moreinfo unreproducible
> thanks
>
> On Mon, Nov 15, 2010 at 1:41 AM, Victor Pablos Ceruelo
> <victorpablosceruelo.logs at gmail.com>  wrote:
>
>> Dump caused by signal: SIGSEGV: Invalid memory reference: Address not mapped to object
> I can't reproduce this on an Intel GPU.
>
> Which GPU and graphics drivers do you use?
>
> Please install the libgl1-mesa-glx-dbg package and debug packages for
> any other mesa packages you have installed and then regenerate the
> backtrace.
>


-- 
---------------------------------------------------------------------

Víctor Pablos Ceruelo - Software Engineer, Phd student.

Web page: http://babel.ls.fi.upm.es/~vpablos/

---------------------------------------------------------------------







More information about the Pkg-games-devel mailing list