Re: [gamin] various regressions in gamin HEAD CVS



Le lundi 22 août 2005 à 12:08 -0400, Daniel Veillard a écrit :
> On Mon, Aug 22, 2005 at 05:51:28PM +0200, Frederic Crozat wrote:

> > -when forcing dnotify backend using GAM_TEST_DNOTIFY, I got a crash when
> > removing and re-creating a bunch of files rapidly :
> > GAM_TEST_DNOTIFY=1 /home/gnome/prefix212/libexec/gam_server --notimeout
> > test
> > 
> > ** ERROR **: file gam_poll_generic.c: line 119
> > (gam_poll_generic_remove_missing): assertion failed: (g_list_find
> > (missing_resources, node))
> > aborting...
> > Aborted
> 
>   Damn, what was the scenario ? Watching a dir or all the individual files ?

directory + files are removed in a signe shot and a new tree is untar
instead, the whole thing is monitored dynamically (monitor are removed
when directory are removed and added when new directory are added) with
gnome-panel/gnome-menus


Check testcase in http://bugzilla.gnome.org/show_bug.cgi?id=313833 and
http://bugzilla.gnome.org/show_bug.cgi?id=313624 (I'm not sure with one
is triggering the crash)

Full stacktrace :

** ERROR **: file gam_poll_generic.c: line 119
(gam_poll_generic_remove_missing): assertion failed: (g_list_find
(missing_resources, node))
aborting...

Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7d5bef1 in raise () from /lib/tls/libc.so.6
#2  0xb7d5d83b in abort () from /lib/tls/libc.so.6
#3  0xb7ea7419 in IA__g_logv (log_domain=0x0,
log_level=G_LOG_LEVEL_ERROR,
    format=0xb7ecbda0 "file %s: line %d (%s): assertion failed: (%s)",
    args1=0xbf90b68c "ß\206\005\bw") at gmessages.c:497
#4  0xb7ea74a9 in IA__g_log (log_domain=0x0,
log_level=G_LOG_LEVEL_ERROR,
    format=0xb7ecbda0 "file %s: line %d (%s): assertion failed: (%s)")
    at gmessages.c:517
#5  0xb7ea7550 in IA__g_assert_warning (log_domain=0x0,
    file=0x80586df "gam_poll_generic.c", line=119,
    pretty_function=0x8058800 "gam_poll_generic_remove_missing",
    expression=0x8058840 "g_list_find (missing_resources, node)")
    at gmessages.c:552
#6  0x0804d7bc in gam_poll_generic_remove_missing (node=0x8064898)
    at gam_poll_generic.c:119
#7  0x0804e515 in gam_poll_generic_unregister_node (node=0x8064898)
    at gam_poll_generic.c:530
#8  0x08056bfd in node_remove_directory_subscription (node=0x8063690,
    sub=0x80632b8) at gam_poll_dnotify.c:423
#9  0x08057124 in gam_poll_dnotify_remove_subscription_real
(sub=0x80632b8)
    at gam_poll_dnotify.c:563
#10 0x08057245 in gam_poll_dnotify_remove_subscription (sub=0x80632b8)
---Type <return> to continue, or q <return> to quit---
    at gam_poll_dnotify.c:601
#11 0x0804b759 in gam_poll_remove_subscription (sub=0x80632b8)
    at gam_server.c:487
#12 0x08055f5e in gam_dnotify_remove_subscription (sub=0x80632b8)
    at gam_dnotify.c:429
#13 0x0804b681 in gam_kernel_remove_subscription (sub=0x80632b8)
    at gam_server.c:446
#14 0x0804b3c4 in gam_remove_subscription (sub=0x80632b8) at
gam_server.c:251
#15 0x0804fe8e in gam_connection_request (conn=0x8061ce8, req=0x8061d04)
    at gam_connection.c:385
#16 0x080501e8 in gam_connection_data (conn=0x8061ce8, len=10)
    at gam_connection.c:484
#17 0x0804ecd9 in gam_client_conn_read (source=0x8061ca0,
condition=G_IO_IN,
    info=0x8061ce8) at gam_channel.c:283
#18 0xb7ec3475 in g_io_unix_dispatch (source=0x8062d90,
    callback=0x804ea1a <gam_client_conn_read>, user_data=0x8061ce8)
    at giounix.c:162
#19 0xb7e9ff22 in g_main_dispatch (context=0x805ec58) at gmain.c:1934
#20 0xb7ea0d7b in IA__g_main_context_dispatch (context=0x805ec58)
    at gmain.c:2484
#21 0xb7ea113d in g_main_context_iterate (context=0x805ec58, block=1,
    dispatch=1, self=0x805d018) at gmain.c:2565
#22 0xb7ea1701 in IA__g_main_loop_run (loop=0x805ea58) at gmain.c:2769
---Type <return> to continue, or q <return> to quit---

-- 
Frederic Crozat <fcrozat mandriva com>
Mandriva




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