Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2009 21:08:44 GMT
From:      Pavel Gorshkov <gorshkov.pavel@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/134474: deskutils/wmpinboard segfaults on startup
Message-ID:  <200905112108.n4BL8i78038416@www.freebsd.org>
Resent-Message-ID: <200905112110.n4BLA36e006247@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134474
>Category:       ports
>Synopsis:       deskutils/wmpinboard segfaults on startup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 11 21:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Pavel Gorshkov
>Release:        7.2/amd64
>Organization:
>Environment:
FreeBSD lifebook 7.2-STABLE FreeBSD 7.2-STABLE #2: Tue May  5 20:20:45 MSD 2009     root@lifebook:/usr/obj/usr/src/sys/LIFEBOOK  amd64
>Description:
deskutils/wmpinboard segfaults on startup regardless of what the locale settings are.
The actual segfault occurs in libX11-1.2.1/src/xlibi18n/ICWrap.c, at line 117:

This GDB was configured as "amd64-marcel-freebsd"...
(gdb) run
Starting program: /tmp/wmpinboard-1.0.fromports/src/wmpinboard

Program received signal SIGSEGV, Segmentation fault.
0x0000000800694e2a in _XIMCountVaList (var=0x7fffffffe060,
    total_count=0x7fffffffe08c) at ICWrap.c:117
117             if (!strcmp(attr, XNVaNestedList)) {
(gdb) bt
#0  0x0000000800694e2a in _XIMCountVaList (var=0x7fffffffe060,
    total_count=0x7fffffffe08c) at ICWrap.c:117
#1  0x0000000800695307 in XCreateIC (im=0x80114e020) at ICWrap.c:243
#2  0x000000000040f4de in init_xlocale () at xmisc.c:260
#3  0x000000000040e4bb in main (argc=1, argv=0x7fffffffe920)
    at wmpinboard.c:2118
(gdb) display attr
1: attr = 0x800000000 <Error reading address 0x800000000: Bad address>

>How-To-Repeat:
Just build and run it.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905112108.n4BL8i78038416>