#5 test-canvas demo crashes (diacanvas2-0.14.4)

open
nobody
None
5
2006-05-01
2006-05-01
Anonymous
No

jeff@ubuntu:~/Desktop/diacanvas2-0.14.4/demos$
./test-canvas
TEST-Message: start of main...
Dumping canvas 'canvas':
+ DiaCanvasGroup (0x0x8090020/1)
TEST-Message: creating object...

(lt-test-canvas:18966): DiaCanvas2-WARNING **: No
transaction

(lt-test-canvas:18966): DiaCanvas2-WARNING **: No
transaction
TEST-Message: Visibility = 1
TEST-Message: Item destroyed: DiaCanvasLine at 0x0x8095100

(lt-test-canvas:18966): GLib-GObject-WARNING **:
invalid unclassed pointer in cast to `GObject'

TEST-ERROR **: file test-canvas.c: line 886 (main):
assertion failed: (G_OBJECT (item)->ref_count == 1)
aborting...
Abandon

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Found the same problem on FC4, although all of the unit
    tests run OK.

    Here's some GDB spew from the time of the crash:

    862 g_assert (G_OBJECT (item)->ref_count == 1);
    (gdb)
    866 dia_canvas_item_connect (box,
    item->handles->data);
    (gdb)

    (test-canvas:7261): DiaCanvas2-WARNING **: No transaction
    882 dia_canvas_item_move (item, 100.0, 100.0);
    (gdb)
    884 g_signal_connect (item, "notify::parent",
    G_CALLBACK (visible_cb), NULL);
    (gdb)
    885 g_object_unref (item);
    (gdb)

    (test-canvas:7261): DiaCanvas2-WARNING **: No transaction
    TEST-Message: Visibility = 1
    TEST-Message: Item destroyed: DiaCanvasLine at 0x0x8933f98
    886 g_assert (G_OBJECT (item)->ref_count == 1);
    (gdb)

     
  • Exell Enrique. Franklin J.

    Logged In: YES
    user_id=1754521
    Originator: NO

    ithink tha t the test fails because there some wrong when make the fourth an fiveth object
    on test-canvas.c
    funtion: main (int argc, char* argv[])
    on the code, when you add the second line (4th object)
    and the clock(5th) object. you have to do some minor changes
    or coment that code.
    make
    ./test-canvas
    and funtion :)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks