Re: GNOME2 report because this is the new trend



On Fri, 22 Jun 2001, ERDI Gergo wrote:

> 4, libgnomecanvas
> 
> this one used to work before, I remember running canvas_demo a lot when
> creating my gnome-canvas-text pangoization patch. Now it simply crashes:
> 
> 0x400b4146 in malloc () from /lib/libc.so.6
> (gdb) bt
> #0  0x400b4146 in malloc () from /lib/libc.so.6
> #1  0x400b3844 in malloc () from /lib/libc.so.6
> #2  0x40425e8a in g_malloc (n_bytes=1024) at gmem.c:136
> #3  0x40426edf in g_mem_chunk_alloc (mem_chunk=0x80516d8) at gmem.c:825
> #4  0x4041d8dc in g_hash_node_new (key=0x80b2cd0, value=0x818e718)
>     at ghash.c:624
> #5  0x4041d057 in g_hash_table_insert (hash_table=0x8052a50,
> key=0x80b2cd0, 
>     value=0x818e718) at ghash.c:305
> #6  0x403e5ebf in handler_insert (signal_id=20, instance=0x80b2cd0, 
>     handler=0x81888c8) at gsignal.c:323
> #7  0x403e8dd4 in g_signal_connect_closure_by_id (instance=0x80b2cd0, 
>     signal_id=20, detail=0, closure=0x818e700, after=0) at gsignal.c:1289
> #8  0x402476cd in gtk_signal_connect_full (object=0x80b2cd0, 
>     name=0x403197d6 "mnemonic_activate", 
>     func=0x40221eb0 <gtk_notebook_mnemonic_activate_switch_page>, 
>     unsupported=0, data=0x80b15c0, destroy_func=0, object_signal=0,
> after=0)
>     at gtksignal.c:145
> #9  0x402223c5 in gtk_notebook_insert_page_menu (notebook=0x80b15c0, 
>     child=0x814eff0, tab_label=0x80b2cd0, menu_label=0x0, position=-1)
>     at gtknotebook.c:3908
> #10 0x40221a65 in gtk_notebook_append_page (notebook=0x80b15c0, 
>     child=0x814eff0, tab_label=0x80b2cd0) at gtknotebook.c:3644
> #11 0x804a226 in create_canvas () at canvas.c:33
> #12 0x804a2df in main (argc=1, argv=0xbffff814) at canvas.c:46
> #13 0x400602db in __libc_start_main () from /lib/libc.so.6
> 
> FWIW, the notebook demo in testgtk doesn't crash.

actually, there is more to this, since modifying canvas.c:33 to insert a
non-AA canvas into the notebook disables this crash.
A simple AA demo doesn't crash.


-- 
   .--= ULLA! =---------------------.   `We are not here to give users what
   \     http://cactus.rulez.org     \   they want'  -- RMS, at GUADEC 2001
    `---= cactus cactus rulez org =---'
Jó dolog, ha emlékeznek az emberre, de néha kifizetôdôbb, ha elfelejtik.





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