gnash-dev
[Top][All Lists]
Advanced

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

[Gnash-dev] set_display_viewport error?


From: Low Yu Siang
Subject: [Gnash-dev] set_display_viewport error?
Date: Fri, 30 May 2008 14:25:20 +0100 (BST)

Hi,

I am trying to develop an app based on gnash, but it
keep stucking at the set_display_viewport(). Please
note that I am very new to c++ so this might be a very
simple programming problem like pointer or
something...

The code:-
root = &(gnash::VM::init(*movie,_clock).getRoot());
root->set_display_viewport(0, 0, 176, 144);
root->set_background_alpha(1.0f);
root->display();
If I comment out set_display_viewport(), the code
would run set_background_alpha() well and then stucked
at display() with similar error.

This is what i get from gdb:-
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208740144 (LWP 23159)]
0x00ac72b8 in gnash::movie_root::set_display_viewport
(this=0x83e6858, x0=0, y0=0, w=176, h=144) at
/usr/include/boost/intrusive_ptr.hpp:120
120             return p_;

I am using version 0.8.2. Any idea where should I
start looking for this bug?  Thank you.

Regards,
Low Yu Siang


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]