gnash
[Top][All Lists]
Advanced

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

[Gnash] Problem porting as_value to AMD64 64-bit integer


From: Massimo Perga
Subject: [Gnash] Problem porting as_value to AMD64 64-bit integer
Date: Tue, 10 Jan 2006 23:02:24 +0100

Hello All,
  I've some problems porting gnash::as_value to AMD64 64-bit integer: as you know so fine that type, could you please help me understanding which is the problem ?

Thanks in advance,
Regards,
  Max

---------- Forwarded message ----------
From: Massimo Perga <address@hidden>
Date: 9-gen-2006 23.54
Subject: Re: How to debug Gnash
To: Rob Savoye <address@hidden>

This is the "bt" got through GDB:

lt-gnash: ../libbase/container.h:835: int hash<T, U, hash_functor>::find_index(const T&) const [with T = tu_stringi, U = gnash::as_value, hash_functor = stringi_hash_functor<tu_stringi>]: Assertion `! (e->first == key)' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread 46912542682032 (LWP 12722)]
0x00002aaaacb6fdf0 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00002aaaacb6fdf0 in raise () from /lib/libc.so.6
#1  0x00002aaaacb712a0 in abort () from /lib/libc.so.6
#2  0x00002aaaacb68ffb in __assert_fail () from /lib/libc.so.6
#3  0x00002aaaaae6a054 in hash<tu_stringi, gnash::as_value, stringi_hash_functor<tu_stringi> >::find_index (this=0x5ae260, address@hidden)
    at container.h:835
#4  0x00002aaaaae54f08 in gnash::as_environment::get_member (this=0x5ae198,
    address@hidden, val=0x6) at container.h :582
#5  0x00002aaaaae8520b in gnash::sprite_instance::get_member (this=0x5ae0a0,
    address@hidden, val=0x7fffffeef5e0) at impl.cpp:4405
#6  0x00002aaaaae577bd in gnash::as_environment::get_variable_raw (
    this=0x5ae198, address@hidden, address@hidden)
    at action.cpp:3709
#7  0x00002aaaaae57c63 in gnash::as_environment::get_variable (this=0x5ae198,
    address@hidden, address@hidden) at action.cpp:3666
#8  0x00002aaaaae5facb in gnash::action_buffer::execute (this=0x5a9978,
    env=0x5ae198, start_pc=2, exec_bytes=668, retval=0x0,
    address@hidden, is_function2=false) at action.cpp :1846
#9  0x00002aaaaae67156 in gnash::action_buffer::execute (this=0x5a9978,
    env=0x5ae198) at action.cpp:1657
#10 0x00002aaaaae7d73e in execute_actions (env=0x5ae198, address@hidden)
    at impl.cpp:139
#11 0x00002aaaaae8cfb9 in gnash::sprite_instance::on_event_load (this=0x5ae0a0)
---Type <return> to continue, or q <return> to quit---
    at impl.cpp:3663
#12 0x00002aaaaae720fd in gnash::display_list::add_display_object (
    this=0x5815e0, ch=0x5ae0a0, depth=<value optimized out>,
    replace_if_depth_is_occupied=true, address@hidden, address@hidden,
    ratio=0, clip_depth=0) at dlist.cpp:221
#13 0x00002aaaaae959ab in gnash::sprite_instance::add_display_object (
    this=<value optimized out>, character_id=<value optimized out>,
    name=<value optimized out>, address@hidden,
    depth=<value optimized out>, replace_if_depth_is_occupied=true,
    address@hidden, address@hidden, ratio=0, clip_depth=0)
    at impl.cpp:3799
#14 0x00002aaaaae820f9 in gnash::place_object_2::execute (
    this=<value optimized out>, m=0x206) at impl.cpp:2814
#15 0x00002aaaaae860e0 in gnash::sprite_instance::execute_frame_tags (
    this=0x581530, frame=0, state_only=false) at impl.cpp:3581
#16 0x00002aaaaae8cf96 in gnash::sprite_instance::on_event_load (this=0x31b2)
    at impl.cpp:4639
#17 0x00002aaaaae88220 in gnash::movie_root::advance (this=0x5825d0,
    delta_time=0) at impl.cpp:1225
#18 0x0000000000407d29 in main (argc=<value optimized out>,
    argv=0x7fffffef0bc8) at gnash.cpp:695
(gdb)

Many thanks,
  Max

2006/1/6, Massimo Perga <massimo.address@hidden>:
Hi Rob,
  I've successfully built Gnash on AMD64 but I got the following error message:

address@hidden:~/savannah/gnash$ !b
backend/gnash server/samples/test_rotation.swf
lt-gnash: ../libbase/container.h:807: int hash<T, U, hash_functor>::find_index(const T&) const [with T = int, U = void (*)(gnash::stream*, int, gnash::movie_definition_sub*), hash_functor = fixed_size_hash<int>]: Assertion `! (e->first == key)' failed.
Abortito
address@hidden :~/savannah/gnash$

What's the best way (some Makefile target which enables debug or something similar) I can use to debug Gnash ?

Thanks,
Regards,
  Max







reply via email to

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