Re: gvfsd-dav SIGABRT when using WebDAV [& how-to-get-a-core?]



On Fri, 2013-01-04 at 15:20 +0100, Tomas Bzatek wrote:
> On Fri, 2013-01-04 at 08:46 -0500, Adam Tauno Williams wrote:
> > I use WebDAV via GVFS a *LOT*. Our server works fine for every box -
> > exept by laptop.  On my laptop a save or copy-to frequently fails with a
> > not-mounted error.
> The "not-mounted" error usually represents backend disappearing
> unexpectedly, i.e. crashing or aborting.
> > write(2, "**\nGLib:ERROR:gmain.c:2781:g_mai"..., 97) = 97
> Would be interesting to get full message here.
> > Packages:
> >   gvfs-1.14.2-1.2.x86_64
> >   gvfs-backends-1.14.2-1.2.x86_64
> FYI, we made some changes in 1.15.1 lately, check it out.
> > How does one get a core dump from GVFS?  I'd like to at least be able to
> > do a backtrace.
> Yes, backtrace and repro steps are crucial for debugging. Once you got
> the backtrace, please put it in bugzilla.
> The easiest way is to let gvfs spawn the backend and then attach gdb to
> it. E.g. `gdb /usr/libexec/gvfsd-dav 1234` where 1234 is PID of the
> running process. When it attaches, continue the process and grab
> backtrace when it fails.

DOH!  Ok, got that.   Right click -> New file from template ... CRASH!

Backtrace
=========
Program received signal SIGABRT, Aborted.
0x00007f61351aad25 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f61351aad25 in raise () from /lib64/libc.so.6
#1  0x00007f61351ac1a8 in abort () from /lib64/libc.so.6
#2  0x00007f61357a3887 in g_assertion_message ()
   from /usr/lib64/libglib-2.0.so.0
#3  0x00007f61357a3da4 in g_assertion_message_expr ()
   from /usr/lib64/libglib-2.0.so.0
#4  0x00007f6135780df3 in g_main_context_acquire ()
   from /usr/lib64/libglib-2.0.so.0
#5  0x00007f61357819a4 in ?? () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f6135781f22 in g_main_loop_run ()
from /usr/lib64/libglib-2.0.so.0
#7  0x0000000000413d17 in daemon_main (argc=argc@entry=4,
argv=argv@entry=
    0x7fff74ff4618, max_job_threads=max_job_threads@entry=1, 
    default_type=default_type@entry=0x427219 "dav", 
    mountable_name=mountable_name@entry=0x0, 
    first_type_name=first_type_name@entry=0x427219 "dav") at
daemon-main.c:396
#8  0x000000000040c160 in main (argc=4, argv=0x7fff74ff4618)
    at daemon-main-generic.c:39


strace of a subsequent failure with longer strings
====================================================
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
clone(child_stack=0x7f8367ffef30, flags=CLONE_VM|CLONE_FS|CLONE_FILES|
CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|
CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7f8367fff9d0,
tls=0x7f8367fff700, child_tidptr=0x7f8367fff9d0) = 5381
futex(0x177ae80, FUTEX_WAKE_PRIVATE, 1) = 1
poll([{fd=14, events=POLLIN}], 1, 0)    = 0 (Timeout)
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
futex(0x1771910, FUTEX_WAKE_PRIVATE, 1) = 1
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
poll([{fd=3, events=POLLIN}, {fd=18, events=POLLIN}, {fd=14,
events=POLLIN}], 3, 154905) = 1 ([{fd=3, revents=POLLIN}])
poll([{fd=3, events=POLLIN}, {fd=18, events=POLLIN}, {fd=14,
events=POLLIN}], 3, 154905) = 1 ([{fd=3, revents=POLLIN}])
read(3, "\7\0\0\0\0\0\0\0", 16)         = 8
poll([{fd=3, events=POLLIN}, {fd=18, events=POLLIN}, {fd=14,
events=POLLIN}], 3, 154905) = 2 ([{fd=3, revents=POLLIN}, {fd=18,
revents=POLLNVAL}])
read(3, "\2\0\0\0\0\0\0\0", 16)         = 8
write(2, "**\nGLib:ERROR:gmain.c:2781:g_main_context_acquire: assertion
failed: (context->owner_count == 0)\n", 97) = 97
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(5107, 5107, SIGABRT)             = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=5107,
si_uid=1000} ---
+++ killed by SIGABRT (core dumped) +++


-- 
Adam Tauno Williams  GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA



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