NetBSD Problem Report #48540

From ryo_on@yk.rim.or.jp  Tue Jan 21 14:46:44 2014
Return-Path: <ryo_on@yk.rim.or.jp>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D6853A6485
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 21 Jan 2014 14:46:44 +0000 (UTC)
Message-Id: <20140121144641.420CC6FDBB@mail.SiriusCloud.jp>
Date: Tue, 21 Jan 2014 23:46:41 +0900 (JST)
From: ryoon@NetBSD.org
Reply-To: ryoon@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: pkgsrc/misc/yelp3 dumps core when loading documents
X-Send-Pr-Version: 3.95

>Number:         48540
>Category:       pkg
>Synopsis:       pkgsrc/misc/yelp3 dumps core when loading documents
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    prlw1
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 21 14:50:05 +0000 2014
>Closed-Date:    Sat Oct 25 08:41:20 +0000 2014
>Last-Modified:  Sat Oct 25 08:41:20 +0000 2014
>Originator:     Ryo ONODERA
>Release:        NetBSD 6.99.29
>Organization:

>Environment:


System: NetBSD tellurium.elements.tetera.org 6.99.29 NetBSD 6.99.29 (DTRACE2) #6: Tue Jan 21 18:45:07 JST 2014 ryo_on@tellurium.elements.tetera.org:/usr/obj/amd64/sys/arch/amd64/compile/DTRACE2 amd64
Architecture: x86_64
Machine: amd64
>Description:
When I have tried to open GNOME Documentation Build Utilities
or other documents, yelp dumps core with segfault.
This problem is observed on NetBSD/amd64 6.1.1 and 6.99.29 (both is
native X).
misc/yelp (xulrunner192 based) works fine.

And yelp cannot find my dbus. Is this related to this problem?

$ yelp
** (yelp:24139): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-QnpOEPw73c: No such file or directory
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
[1]   Segmentation fault (core dumped) yelp



$ gdb /usr/pkg/bin/yelp
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/pkg/bin/yelp...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/pkg/bin/yelp

** (yelp:880): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-QnpOEPw73c: No such file or directory
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1]
0x00007f7fddbfc112 in ?? ()
(gdb) thread apply all bt
[New LWP 8]
[New LWP 7]
[New LWP 6]
[New LWP 5]
[New LWP 3]
[New LWP 2]

Thread 7 (LWP 2):
#0  0x00007f7fe12394ea in poll () from /usr/lib/libc.so.12
#1  0x00007f7fe5c073b9 in poll () from /usr/lib/libpthread.so.1
#2  0x00007f7fe1e42db4 in g_main_context_iterate.clone.5 ()
   from /usr/pkg/lib/libglib-2.0.so.0
#3  0x00007f7fe1e431ff in g_main_loop_run () from /usr/pkg/lib/libglib-2.0.so.0
#4  0x00007f7fe32bc7b0 in gdbus_shared_thread_func ()
   from /usr/pkg/lib/libgio-2.0.so.0
#5  0x00007f7fe1e64af5 in g_thread_proxy () from /usr/pkg/lib/libglib-2.0.so.0
#6  0x00007f7fe5c0b2ce in ?? () from /usr/lib/libpthread.so.1
#7  0x00007f7fe1275d80 in ___lwp_park50 () from /usr/lib/libc.so.12
Cannot access memory at address 0x7f7fdec00000

Thread 6 (LWP 3):
#0  0x00007f7fe123964a in _sys___kevent50 () from /usr/lib/libc.so.12
#1  0x00007f7fe5c06ed3 in __kevent50 () from /usr/lib/libpthread.so.1
#2  0x00007f7fe32d6c55 in _kqueue_thread_func ()
   from /usr/pkg/lib/libgio-2.0.so.0
#3  0x00007f7fe5c0b2ce in ?? () from /usr/lib/libpthread.so.1
#4  0x00007f7fe1275d80 in ___lwp_park50 () from /usr/lib/libc.so.12
#5  0x00010102464c457f in ?? ()
#6  0x0000000000000000 in ?? ()

Thread 5 (LWP 5):
#0  0x00007f7fe1275d6a in ___lwp_park50 () from /usr/lib/libc.so.12
#1  0x00007f7fe5c09d50 in pthread_cond_wait () from /usr/lib/libpthread.so.1
#2  0x00007f7fe62a1c83 in WTF::TCMalloc_PageHeap::scavengerThread() ()
   from /usr/pkg/lib/libjavascriptcoregtk-3.0.so.0
#3  0x00007f7fe62a1ca3 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
   from /usr/pkg/lib/libjavascriptcoregtk-3.0.so.0
#4  0x00007f7fe5c0b2ce in ?? () from /usr/lib/libpthread.so.1
#5  0x00007f7fe1275d80 in ___lwp_park50 () from /usr/lib/libc.so.12
#6  0x00007f7fde000000 in ?? ()
#7  0x00007f7ff7fdc5c0 in ?? ()
#8  0x0000000111110001 in ?? ()
#9  0x0000000033330003 in ?? ()
#10 0x0000000000000000 in ?? ()

Thread 4 (LWP 6):
---Type <return> to continue, or q <return> to quit---
#0  0x00007f7fe1275d6a in ___lwp_park50 () from /usr/lib/libc.so.12
#1  0x00007f7fe5c09d50 in pthread_cond_wait () from /usr/lib/libpthread.so.1
#2  0x00007f7ff544d4f6 in WebCore::IconDatabase::syncThreadMainLoop() ()
   from /usr/pkg/lib/libwebkitgtk-3.0.so.0
#3  0x00007f7ff544d7b5 in WebCore::IconDatabase::iconDatabaseSyncThread() ()
   from /usr/pkg/lib/libwebkitgtk-3.0.so.0
#4  0x00007f7fe62af886 in WTF::wtfThreadEntryPoint(void*) ()
   from /usr/pkg/lib/libjavascriptcoregtk-3.0.so.0
#5  0x00007f7fe5c0b2ce in ?? () from /usr/lib/libpthread.so.1
#6  0x00007f7fe1275d80 in ___lwp_park50 () from /usr/lib/libc.so.12
#7  0x00010102464c457f in ?? ()
#8  0x0000000000000000 in ?? ()

Thread 3 (LWP 7):
#0  0x00007f7fe1275d6a in ___lwp_park50 () from /usr/lib/libc.so.12
#1  0x00007f7fe5c09a52 in pthread_cond_timedwait ()
   from /usr/lib/libpthread.so.1
#2  0x00007f7fe62afa2a in WTF::ThreadCondition::timedWait(WTF::Mutex&, double)
    () from /usr/pkg/lib/libjavascriptcoregtk-3.0.so.0
#3  0x00007f7fe610a66d in JSC::BlockAllocator::waitForRelativeTime(double) ()
   from /usr/pkg/lib/libjavascriptcoregtk-3.0.so.0
#4  0x00007f7fe610a821 in JSC::BlockAllocator::blockFreeingThreadMain() ()
   from /usr/pkg/lib/libjavascriptcoregtk-3.0.so.0
#5  0x00007f7fe62af886 in WTF::wtfThreadEntryPoint(void*) ()
   from /usr/pkg/lib/libjavascriptcoregtk-3.0.so.0
#6  0x00007f7fe5c0b2ce in ?? () from /usr/lib/libpthread.so.1
#7  0x00007f7fe1275d80 in ___lwp_park50 () from /usr/lib/libc.so.12
#8  0x00010102464c457f in ?? ()
#9  0x0000000000000000 in ?? ()

Thread 2 (LWP 8):
#0  0x00007f7fe1275d6a in ___lwp_park50 () from /usr/lib/libc.so.12
#1  0x00007f7fe5c09a52 in pthread_cond_timedwait ()
   from /usr/lib/libpthread.so.1
#2  0x00007f7fe1e7e3bc in g_cond_wait_until ()
   from /usr/pkg/lib/libglib-2.0.so.0
#3  0x00007f7fe1e1bdba in g_async_queue_pop_intern_unlocked ()
   from /usr/pkg/lib/libglib-2.0.so.0
#4  0x00007f7fe1e65356 in g_thread_pool_thread_proxy ()
---Type <return> to continue, or q <return> to quit---
   from /usr/pkg/lib/libglib-2.0.so.0
#5  0x00007f7fe1e64af5 in g_thread_proxy () from /usr/pkg/lib/libglib-2.0.so.0
#6  0x00007f7fe5c0b2ce in ?? () from /usr/lib/libpthread.so.1
#7  0x00007f7fe1275d80 in ___lwp_park50 () from /usr/lib/libc.so.12
#8  0x00007f7ff7a5ffc0 in ?? ()
#9  0x0000000e00000001 in ?? ()
#10 0x0000000000000001 in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 1 (LWP 1):
#0  0x00007f7fddbfc112 in ?? ()
#1  0x00007f7ff7eb98b0 in ?? ()
#2  0x00007f7ff7a5eb00 in ?? ()
#3  0x00007f7fee1f1ad0 in ?? ()
#4  0x00007f7ff7a5e440 in ?? ()
#5  0x00007f7ff7c03c1d in _rtld_bind_start () from /usr/libexec/ld.elf_so
#6  0x00007f7fee1e2800 in ?? ()
#7  0x00007f7ff7ea7380 in ?? ()
#8  0x0000000000000001 in ?? ()
#9  0x0000000000000019 in ?? ()
#10 0x00007f7f9dbff380 in ?? ()
#11 0x00007f7ff7eb98b0 in ?? ()
#12 0x00007f7f9bc003b8 in ?? ()
#13 0x0000000000000000 in ?? ()
(gdb) c
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb)






>How-To-Repeat:

>Fix:

I have no idea.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->prlw1
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 21 Jan 2014 15:16:32 +0000
Responsible-Changed-Why:
Over to maintainer.


From: "Patrick Welche" <prlw1@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48540 CVS commit: pkgsrc/misc/yelp3
Date: Wed, 8 Oct 2014 10:32:40 +0000

 Module Name:	pkgsrc
 Committed By:	prlw1
 Date:		Wed Oct  8 10:32:40 UTC 2014

 Modified Files:
 	pkgsrc/misc/yelp3: Makefile PLIST distinfo
 Removed Files:
 	pkgsrc/misc/yelp3/patches: patch-configure

 Log Message:
 Update yelp3 to 3.14.0

 This seems to fix PR pkg/48540

 Highlights from the release notes:

 * Fixed crash on searching, #736312 (Marcos Chavarria Teijeiro)
 * Style the find revealer, #736408 (David King)
 * Use new symbolic menu item
 * Complete redesign to fit with new GNOME 3 apps
 * Updated color computing code to avoid deprecations
 * Fixed critical crasher after closing windows
 * Fixed some deprecation warnings
 * Implemented auto-reload for DocBook, #704821
 * Updated GSettings install rule, #697815  <- no need for patch-configure
 * Correctly detect Unity for conditional processing, #707352 (Kevin Godby)
 * Fixed build issue with intltool and gettext, #706854 (Sean de Burca)
 * Various updates for deprecated APIs in GLib and GTK
 * Added support for DocBook conditional processing on desktop environment
 * Updated translations

 For full details see:

 https://git.gnome.org/browse/yelp/tree/NEWS?id=3.14.0


 To generate a diff of this commit:
 cvs rdiff -u -r1.30 -r1.31 pkgsrc/misc/yelp3/Makefile
 cvs rdiff -u -r1.4 -r1.5 pkgsrc/misc/yelp3/PLIST pkgsrc/misc/yelp3/distinfo
 cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/misc/yelp3/patches/patch-configure

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 16 Oct 2014 07:02:42 +0000
State-Changed-Why:
Did that fix it for you?


State-Changed-From-To: feedback->closed
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Sat, 25 Oct 2014 08:41:20 +0000
State-Changed-Why:
Thank you.
It works fine now.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.