segmentation fault when loading local file

Bug #582861 reported by Pablo Rodríguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Lightspark
Fix Released
High
Unassigned

Bug Description

lightspark crashes when loading http://www.archive.org/download/Lessig-Free_Culture/lessig-freeculture.swf locally.

Here is the gdb output:

Starting program: /usr/bin/lightspark -l 4 lessig-freeculture-loader.swf
[Thread debugging using libthread_db enabled]
[New Thread 0x2424b70 (LWP 5737)]
[New Thread 0x2c25b70 (LWP 5738)]
[New Thread 0x3426b70 (LWP 5739)]
[New Thread 0x3c27b70 (LWP 5740)]
[New Thread 0x4428b70 (LWP 5741)]
[New Thread 0x4c29b70 (LWP 5742)]
TRACE: Building traits for EventDispatcher
CALLS: Linking with interface IEventDispatcher
TRACE: Building traits for LoaderInfo
CALLS: Calling Instance init LoaderInfo
TRACE: Building traits for EventDispatcher
CALLS: Linking with interface IEventDispatcher
CALLS: Calling Instance init EventDispatcher
TRACE: Building traits for EventDispatcher
CALLS: Linking with interface IEventDispatcher
TRACE: Building traits for DisplayObject
TRACE: Building traits for InteractiveObject
TRACE: Building traits for DisplayObjectContainer
TRACE: Building traits for Stage
CALLS: Calling Instance init Stage
[New Thread 0x563eb70 (LWP 5747)]
INFO: RenderThread this=0xbffff7d0
[New Thread 0x5e3fb70 (LWP 5748)]
INFO: Creating input thread
[New Thread 0x6640b70 (LWP 5749)]
INFO: Compressed SWF file: Version 7 Length 13046
INFO: FrameRate 12.0
TRACE: Reading tag type: 9
TRACE: Reading tag type: 48
TRACE: DefineFont2
ERROR: Not supported wide font offsets...Aborting
INFO: FPS: 0
[Thread 0x4c29b70 (LWP 5742) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x5e3fb70 (LWP 5748)]
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x0815d5f7 in lightspark::RenderThread::loadShaderPrograms() ()
#2 0x0815dcc4 in lightspark::RenderThread::commonGLInit(int, int, unsigned int*) ()
#3 0x0815e37a in lightspark::RenderThread::sdl_worker(lightspark::RenderThread*) ()
#4 0x0015896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5 0x00eb7a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

Could you please try again with the current version? (0.3.5)

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

Can you give some details about your hardware configuration? (CPU/Video card/Video driver/linux distribution)

Changed in lightspark:
importance: Undecided → High
milestone: none → lightspark-0.4.0
Revision history for this message
Didier Raboud (odyx) wrote :

FYI it works here with 0.3.5

Revision history for this message
Didier Raboud (odyx) wrote :

(where "works" = "doesn't crash") :p

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

Ok, I think that bug #582825 may be related to this, please report there any issues with a similar backtrace

Changed in lightspark:
status: New → Fix Released
Revision history for this message
Pablo Rodríguez (ousia) wrote :

Video card seems to be an ATI Technologies Inc Radeon Mobility X1400 (from lspci).

Ubuntu 10.04 seems to install the radeon drivers.

CPU is a dual core Intel T2050 @ 1.6GHz.

I hope this is complete.

Thanks,

Pablo

Revision history for this message
Pablo Rodríguez (ousia) wrote :

Just in case it might help, I attach the output from glewinfo.

Revision history for this message
Pablo Rodríguez (ousia) wrote :

Thanks, Alessandro, right now lightspark displays a message warning that the video card doesn't support OpenGL 2.0.

I have been googling for it and I guess this might be a lack in the implementation of the opensource radeon driver. At least this is what I understand from http://www.amd.com/us/products/notebook/graphics/ati-mobility-hd-x1000/x1400/Pages/x1400-specs.aspx.

Would you be so kind to confirm this?

Thanks,

Pablo

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

Hi Pablo, could you please try the latest release? I'm allowing a more relaxed detection of features by glew now.

Revision history for this message
Pablo Rodríguez (ousia) wrote :

Many thanks, Alessandro. I get the standard "Aborted" message after a bunch of unimplemented features.

So, it is fixed now. Thanks again.

Just in case it might help, here you have the unimplemented features list contained in the log:

INFO: RenderThread this=0xbfd71510
INFO: Creating input thread
INFO: Compressed SWF file: Version 7 Length 13046
INFO: FrameRate 12.0
INFO: ExportAssetsTag Tag
NOT_IMPLEMENTED: Sync to variable name load_text
NOT_IMPLEMENTED: Unsupported tag type 40
NOT_IMPLEMENTED: Unimplemented Tag 40
INFO: ExportAssetsTag Tag
NOT_IMPLEMENTED: Unsupported tag type 40
NOT_IMPLEMENTED: Unimplemented Tag 40
INFO: ExportAssetsTag Tag
NOT_IMPLEMENTED: Unsupported tag type 40
NOT_IMPLEMENTED: Unimplemented Tag 40
INFO: ExportAssetsTag Tag
NOT_IMPLEMENTED: Unsupported tag type 40
NOT_IMPLEMENTED: Unimplemented Tag 40
INFO: ExportAssetsTag Tag
NOT_IMPLEMENTED: Unsupported tag type 40
NOT_IMPLEMENTED: Unimplemented Tag 40
INFO: ExportAssetsTag Tag
NOT_IMPLEMENTED: Unsupported tag type 40
NOT_IMPLEMENTED: Unimplemented Tag 40
INFO: ExportAssetsTag Tag
NOT_IMPLEMENTED: Unsupported tag type 40
NOT_IMPLEMENTED: Unimplemented Tag 40
INFO: ExportAssetsTag Tag
NOT_IMPLEMENTED: Unsupported tag type 40
NOT_IMPLEMENTED: Unimplemented Tag 40
INFO: ExportAssetsTag Tag
NOT_IMPLEMENTED: Unsupported tag type 33
NOT_IMPLEMENTED: Unimplemented Tag 33
NOT_IMPLEMENTED: Unsupported tag type 33
NOT_IMPLEMENTED: Unimplemented Tag 33
NOT_IMPLEMENTED: Unsupported tag type 40
NOT_IMPLEMENTED: Unimplemented Tag 40
INFO: ExportAssetsTag Tag
NOT_IMPLEMENTED: Unsupported ActionCode 139
ERROR: Not supported action opcode
NOT_IMPLEMENTED: Unsupported ActionCode 139
ERROR: Not supported action opcode
NOT_IMPLEMENTED: Unsupported ActionCode 139
ERROR: Not supported action opcode
NOT_IMPLEMENTED: Unsupported ActionCode 139
ERROR: Not supported action opcode
NOT_IMPLEMENTED: Unsupported ActionCode 155
ERROR: Not supported action opcode
NOT_IMPLEMENTED: Unsupported tag type 40
NOT_IMPLEMENTED: Unimplemented Tag 40
INFO: ExportAssetsTag Tag
ERROR: No such Id on dictionary 15
INFO: FPS: 0
INFO: Fragment shader compilation
INFO: Vertex shader compilation

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

Other bug subscribers

Bug attachments

Remote bug watches

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