lightspark segfaults on troubleshooting's example 1_coordinates[1].swf

Bug #908810 reported by RobM
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lightspark (Ubuntu)
New
Undecided
Unassigned

Bug Description

I was following the LightSpark trouble-shooting instructions at http://sourceforge.net/apps/trac/lightspark/wiki/Troubleshooting when it became clear my trouble was a seg-fault.

meermanr@ikari:~/Desktop/lightspark$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10

meermanr@ikari:~/Desktop/lightspark$ apt-cache policy lightspark
lightspark:
  Installed: 0.5.1-0ubuntu1
  Candidate: 0.5.1-0ubuntu1
  Version table:
 *** 0.5.1-0ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages
        100 /var/lib/dpkg/status

I expected that running "lightspark 1_coordinates[1].swf" would launch an X11 window and display some noddy SWF example. What actually happened: an X11 window momentarily appears (maybe for 0.1s?) and then is gone, and my terminal shows "Segmentation Fault".

I've installed lightspark-dbg and captures a coredump, but I cannot see an symbols in when replaying it with gdb. So perhaps the bug is in some library used by lightspark? I can't be sure. Here's my session (with verbose logging, in case it helps):

meermanr@ikari:~/Desktop/lightspark$ lightspark --log-level 4 1_coordinates\[1\].swf
Lightspark version 0.5.1 Copyright 2009-2011 Alessandro Pignotti and others

(lightspark:13723): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(lightspark:13723): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(lightspark:13723): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(lightspark:13723): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
TRACE: Mutex ThreadProfile waited 0 times
TRACE: Mutex ThreadProfile waited 0 times
TRACE: Mutex ThreadProfile waited 0 times
TRACE: Mutex ThreadProfile waited 0 times
TRACE: Mutex ThreadProfile waited 0 times
INFO: A plugin was found. Adding it to the list.
ERROR: findPluginInList: no plugin found in list
INFO: The plugin Pulse plugin output only was added with backend: pulseaudio
INFO: the selected backend is: pulseaudio
INFO: get_plugin: pulseaudio
TRACE: Building traits for :Object
TRACE: Building traits for flash.events:EventDispatcher
TRACE: Building traits for flash.display:LoaderInfo
CALLS: Calling Instance init flash.display:LoaderInfo
TRACE: Building traits for :Object
TRACE: Building traits for flash.events:EventDispatcher
CALLS: Calling Instance init flash.events:EventDispatcher
TRACE: Building traits for :Object
TRACE: Building traits for flash.events:EventDispatcher
TRACE: Building traits for flash.display:DisplayObject
TRACE: Building traits for flash.display:InteractiveObject
TRACE: Building traits for flash.display:DisplayObjectContainer
TRACE: Building traits for flash.display:Stage
CALLS: Calling Instance init flash.display:Stage
INFO: RenderThread this=0x1d331c0
INFO: Creating input thread
INFO: Running in local-with-filesystem sandbox
INFO: Compressed SWF file: Version 9
INFO: FrameRate 30
TRACE: Reading tag type: 69 at byte 15 with length 4 bytes
TRACE: FileAttributesTag Tag
INFO: Creating VM
INFO: Global is 0x1d054d0
TRACE: Building traits for :Object
TRACE: Reading tag type: 9 at byte 21 with length 3 bytes
TRACE: Reading tag type: 86 at byte 30 with length 11 bytes
TRACE: DefineSceneAndFrameLabelDataTag
TRACE: Reading tag type: 82 at byte 47 with length 30189 bytes
CALLS: DoABCDefineTag Name:
CALLS: ABCVm version 46.16
CALLS: Class [pakns:fl.managers] IFocusManagerComponent
CALLS: Flags:
CALLS: Sealed
CALLS: Interface
CALLS:

CALLS: Class [pakns:fl.core] InvalidationType
CALLS: Flags:
CALLS: Sealed
CALLS: ProtectedNS fl.core:InvalidationType
CALLS: Super [pakns:] Object
CALLS:

CALLS: Class [pakns:fl.managers] IFocusManager
CALLS: Flags:
CALLS: Sealed
CALLS: Interface
CALLS:

CALLS: Class [pakns:fl.managers] StyleManager
CALLS: Flags:
CALLS: Sealed
CALLS: ProtectedNS fl.managers:StyleManager
CALLS: Super [pakns:] Object
CALLS:

CALLS: Class [pakns:fl.managers] IFocusManagerGroup
CALLS: Flags:
CALLS: Sealed
CALLS: Interface
CALLS:

CALLS: Class [pakns:fl.controls] ButtonLabelPlacement
CALLS: Flags:
CALLS: Sealed
CALLS: ProtectedNS fl.controls:ButtonLabelPlacement
CALLS: Super [pakns:] Object
CALLS:

CALLS: Class [pakns:fl.events] ComponentEvent
CALLS: Flags:
CALLS: Sealed
CALLS: ProtectedNS fl.events:ComponentEvent
CALLS: Super [pakns:flash.events] Event
CALLS:

CALLS: Class [pakns:fl.managers] FocusManager
CALLS: Flags:
CALLS: Sealed
CALLS: ProtectedNS fl.managers:FocusManager
CALLS: Super [pakns:] Object
CALLS: Implements
CALLS: [pakns:fl.managers] IFocusManager
CALLS:

CALLS: Class [pakns:fl.core] UIComponent
CALLS: Flags:
CALLS: Sealed
CALLS: ProtectedNS fl.core:UIComponent
CALLS: Super [pakns:flash.display] Sprite
CALLS:

CALLS: Class [pakns:1_coordinates_fla] workarea_2
CALLS: Flags:
CALLS: ProtectedNS 1_coordinates_fla:workarea_2
CALLS: Super [pakns:flash.display] MovieClip
CALLS:

CALLS: Class [pakns:] TextInput_disabledSkin
CALLS: Flags:
CALLS: ProtectedNS TextInput_disabledSkin
CALLS: Super [pakns:flash.display] MovieClip
CALLS:

CALLS: Class [pakns:] TextInput_upSkin
CALLS: Flags:
CALLS: ProtectedNS TextInput_upSkin
CALLS: Super [pakns:flash.display] MovieClip
CALLS:

CALLS: Class [pakns:code] Drawing1
CALLS: Flags:
CALLS: Sealed
CALLS: ProtectedNS code:Drawing1
CALLS: Super [pakns:flash.display] MovieClip
CALLS:

CALLS: Class [pakns:fl.core] ComponentShim
CALLS: Flags:
CALLS: ProtectedNS fl.core:ComponentShim
CALLS: Super [pakns:flash.display] MovieClip
CALLS:

CALLS: Class [pakns:] focusRectSkin
CALLS: Flags:
CALLS: ProtectedNS focusRectSkin
CALLS: Super [pakns:flash.display] MovieClip
CALLS:

CALLS: Class [pakns:fl.controls] TextInput
CALLS: Flags:
CALLS: Sealed
CALLS: ProtectedNS fl.controls:TextInput
CALLS: Super [pakns:fl.core] UIComponent
CALLS: Implements
CALLS: [pakns:fl.managers] IFocusManagerComponent
CALLS:

CALLS: Class [pakns:fl.controls] BaseButton
CALLS: Flags:
CALLS: Sealed
CALLS: ProtectedNS fl.controls:BaseButton
CALLS: Super [pakns:fl.core] UIComponent
CALLS:

CALLS: Class [pakns:fl.controls] LabelButton
CALLS: Flags:
CALLS: Sealed
CALLS: ProtectedNS fl.controls:LabelButton
CALLS: Super [pakns:fl.controls] BaseButton
CALLS: Implements
CALLS: [pakns:fl.managers] IFocusManagerComponent
CALLS:

CALLS: Class [pakns:fl.controls] Button
CALLS: Flags:
CALLS: Sealed
CALLS: ProtectedNS fl.controls:Button
CALLS: Super [pakns:fl.controls] LabelButton
CALLS: Implements
CALLS: [pakns:fl.managers] IFocusManagerComponent
CALLS:

CALLS: ABC Exec
TRACE: Reading tag type: 2 at byte 30242 with length 36 bytes
TRACE: DefineShapeTag
TRACE: Reading tag type: 39 at byte 30284 with length 16 bytes
TRACE: DefineSprite ID: 2
TRACE: Reading tag type: 26 at byte 30290 with length 6 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 1 at byte 30298 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 0 at byte 30300 with length 0 bytes
TRACE: EndTag at position 30300
TRACE: EndDefineSprite ID: 2
TRACE: Reading tag type: 39 at byte 30306 with length 8 bytes
TRACE: DefineSprite ID: 3
TRACE: Reading tag type: 1 at byte 30312 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 0 at byte 30314 with length 0 bytes
TRACE: EndTag at position 30314
TRACE: EndDefineSprite ID: 3
TRACE: Reading tag type: 32 at byte 30320 with length 93 bytes
TRACE: DefineShape3Tag
TRACE: Reading tag type: 39 at byte 30419 with length 16 bytes
TRACE: DefineSprite ID: 5
TRACE: Reading tag type: 26 at byte 30425 with length 6 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 1 at byte 30433 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 0 at byte 30435 with length 0 bytes
TRACE: EndTag at position 30435
TRACE: EndDefineSprite ID: 5
TRACE: Reading tag type: 78 at byte 30437 with length 10 bytes
NOT_IMPLEMENTED: DefineScalingGridTag Tag on ID 5
TRACE: Reading tag type: 2 at byte 30453 with length 94 bytes
TRACE: DefineShapeTag
TRACE: Reading tag type: 39 at byte 30553 with length 16 bytes
TRACE: DefineSprite ID: 7
TRACE: Reading tag type: 26 at byte 30559 with length 6 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 1 at byte 30567 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 0 at byte 30569 with length 0 bytes
TRACE: EndTag at position 30569
TRACE: EndDefineSprite ID: 7
TRACE: Reading tag type: 78 at byte 30571 with length 10 bytes
NOT_IMPLEMENTED: DefineScalingGridTag Tag on ID 7
TRACE: Reading tag type: 2 at byte 30587 with length 96 bytes
TRACE: DefineShapeTag
TRACE: Reading tag type: 39 at byte 30689 with length 16 bytes
TRACE: DefineSprite ID: 9
TRACE: Reading tag type: 26 at byte 30695 with length 6 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 1 at byte 30703 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 0 at byte 30705 with length 0 bytes
TRACE: EndTag at position 30705
TRACE: EndDefineSprite ID: 9
TRACE: Reading tag type: 78 at byte 30707 with length 9 bytes
NOT_IMPLEMENTED: DefineScalingGridTag Tag on ID 9
TRACE: Reading tag type: 39 at byte 30722 with length 85 bytes
TRACE: DefineSprite ID: 10
TRACE: Reading tag type: 26 at byte 30728 with length 11 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 1 at byte 30741 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 28 at byte 30743 with length 2 bytes
TRACE: RemoveObject2 Depth: 1
TRACE: Reading tag type: 26 at byte 30747 with length 16 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 26 at byte 30765 with length 11 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 26 at byte 30778 with length 11 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 26 at byte 30791 with length 12 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 1 at byte 30805 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 0 at byte 30807 with length 0 bytes
TRACE: EndTag at position 30807
TRACE: EndDefineSprite ID: 10
TRACE: Reading tag type: 2 at byte 30813 with length 67 bytes
TRACE: DefineShapeTag
TRACE: Reading tag type: 39 at byte 30886 with length 16 bytes
TRACE: DefineSprite ID: 12
TRACE: Reading tag type: 26 at byte 30892 with length 6 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 1 at byte 30900 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 0 at byte 30902 with length 0 bytes
TRACE: EndTag at position 30902
TRACE: EndDefineSprite ID: 12
TRACE: Reading tag type: 26 at byte 30904 with length 8 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 83 at byte 30918 with length 2112 bytes
TRACE: DefineShape4Tag
TRACE: Reading tag type: 39 at byte 33036 with length 16 bytes
TRACE: DefineSprite ID: 14
TRACE: Reading tag type: 26 at byte 33042 with length 6 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 1 at byte 33050 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 0 at byte 33052 with length 0 bytes
TRACE: EndTag at position 33052
TRACE: EndDefineSprite ID: 14
TRACE: Reading tag type: 32 at byte 33058 with length 272 bytes
TRACE: DefineShape3Tag
TRACE: Reading tag type: 39 at byte 33336 with length 42 bytes
TRACE: DefineSprite ID: 16
TRACE: Reading tag type: 26 at byte 33346 with length 20 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 26 at byte 33368 with length 6 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 1 at byte 33376 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 0 at byte 33378 with length 0 bytes
TRACE: EndTag at position 33378
TRACE: EndDefineSprite ID: 16
TRACE: Reading tag type: 26 at byte 33384 with length 22 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 75 at byte 33412 with length 1193 bytes
TRACE: DefineFont3
TRACE: Reading tag type: 73 at byte 34611 with length 143 bytes
NOT_IMPLEMENTED: DefineFontAlignZonesTag Tag
TRACE: Reading tag type: 88 at byte 34760 with length 143 bytes
NOT_IMPLEMENTED: DefineFontNameTag Tag
TRACE: Reading tag type: 11 at byte 34909 with length 40 bytes
TRACE: DefineText ID 18
TRACE: Reading tag type: 26 at byte 34951 with length 9 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 11 at byte 34966 with length 40 bytes
TRACE: DefineText ID 19
TRACE: Reading tag type: 26 at byte 35008 with length 9 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 11 at byte 35023 with length 31 bytes
TRACE: DefineText ID 20
TRACE: Reading tag type: 26 at byte 35056 with length 10 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 11 at byte 35072 with length 31 bytes
TRACE: DefineText ID 21
TRACE: Reading tag type: 26 at byte 35105 with length 10 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 11 at byte 35121 with length 42 bytes
TRACE: DefineText ID 22
TRACE: Reading tag type: 26 at byte 35165 with length 10 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 26 at byte 35181 with length 25 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 26 at byte 35212 with length 25 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 26 at byte 35243 with length 19 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 26 at byte 35268 with length 19 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 26 at byte 35293 with length 27 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 22 at byte 35326 with length 115 bytes
TRACE: DefineShape2Tag
TRACE: Reading tag type: 11 at byte 35447 with length 36 bytes
TRACE: DefineText ID 24
TRACE: Reading tag type: 22 at byte 35489 with length 162 bytes
TRACE: DefineShape2Tag
TRACE: Reading tag type: 34 at byte 35657 with length 38 bytes
TRACE: Reading tag type: 26 at byte 35701 with length 25 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 32 at byte 35732 with length 179 bytes
TRACE: DefineShape3Tag
TRACE: Reading tag type: 39 at byte 35917 with length 16 bytes
TRACE: DefineSprite ID: 28
TRACE: Reading tag type: 26 at byte 35923 with length 6 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 1 at byte 35931 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 0 at byte 35933 with length 0 bytes
TRACE: EndTag at position 35933
TRACE: EndDefineSprite ID: 28
TRACE: Reading tag type: 76 at byte 35939 with length 157 bytes
TRACE: SymbolClassTag
TRACE: SymbolClassTag Exec
CALLS: Binding 16 1_coordinates_fla.workarea_2
CALLS: Binding 10 fl.controls.TextInput
CALLS: Binding 9 focusRectSkin
CALLS: Binding 7 TextInput_upSkin
CALLS: Binding 5 TextInput_disabledSkin
CALLS: Binding 3 fl.core.ComponentShim
CALLS: Binding 0 code.Drawing1
TRACE: Reading tag type: 26 at byte 36102 with length 23 bytes
TRACE: PlaceObject2
TRACE: Reading tag type: 1 at byte 36127 with length 0 bytes
TRACE: ShowFrame
TRACE: Reading tag type: 0 at byte 36129 with length 0 bytes
TRACE: EndTag at position 36129
INFO: End of parsing @ 36129
Chosen config 0x99
INFO: Fragment shader compilation
INFO: Vertex shader compilation
INFO: Vertex shader compilation
Segmentation fault (core dumped)
meermanr@ikari:~/Desktop/lightspark$

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightspark 0.5.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Mon Dec 26 16:08:57 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: lightspark
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
RobM (robert-meerman) wrote :
Revision history for this message
RobM (robert-meerman) wrote :

FYI: I have since downloaded, compiled and installed lightspark-0.5.3 (from http://lightspark.github.com/) and run the same testcase, the result was an error about my OpenGL lacking support for Framebuffer Objects (but no segfault). I updated my (restricted) nVidia drivers and that got v0.5.3 + this testcase working (an X11 window opens where I can drag a marker around a grid and the X/Y coordinate read-outs change accordingly).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.