Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2010 15:24:57 -0500
From:      omar <omars1234@gmail.com>
To:        multimedia@FreeBSD.org
Subject:   grip port segfaults on 8.1-RELEASE amd64
Message-ID:  <AANLkTikzHm6rzweB2HnauedPqYf8b0BWZdd2xExdbZd0@mail.gmail.com>

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

I'm running into a segfault with grip (built from ports,
FreeBSD-8.1/amd64).   Grip starts, GUI appears, then exits within 2 seconds
with  segfault.

I've rebuilt a couple of times, including all requirements with "portupgrade
-fRr grip".  My ports tree is up to date as of early this morning.
Rebuilding grip itself doesn't offer any errors.

I've run the same hardware and a recent port of grip under
FreeBSD7.3/i386...  This is the first time I've tried it under
8.1-RELEASE/amd64.

I've tried it with and without my old .grip file

Any advice?  thanks for any help!

Various data below.  Let me know if this seems like a grip bug that I should
report to the developers...

> uname -a
FreeBSD mine.heedme.com 8.1-RELEASE FreeBSD 8.1-RELEASE #1: Wed Nov 10
12:26:44 EST 2010     root@:/usr/obj/usr/src/sys/MINE  amd64

> pkg_info | grep grip
grip-3.3.1_2        GTK front-end to external cd rippers and audio encoders

Last lines from:
>truss grip
read(2,"\^A\0\M^A\a\0\0\0\0\0\0\0\0\0\0"...,4096) = 32 (0x20)
read(2,0xc708902c,4096)                          ERR#35 'Resource
temporarily unavailable'
poll({2/POLLIN|POLLOUT},1,-1)                    = 1 (0x1)
writev(0x2,0x7fffffffe270,0x3,0x1,0x0,0x0)       = 4 (0x4)
read(2,0xc708902c,4096)                          ERR#35 'Resource
temporarily unavailable'
open("/usr/pkg/share/pixmaps/griptray.png",O_RDONLY,0666) = 15 (0xf)
fstat(15,{ mode=-r--r--r-- ,inode=1273997,size=2313,blksize=16384 }) = 0
(0x0)
read(15,"\M^IPNG\r\n\^Z\n\0\0\0\rIHDR\0\0"...,16384) = 2313 (0x909)
lseek(15,0x0,SEEK_CUR)                           = 2313 (0x909)
sigprocmask(SIG_BLOCK,0x0,0x0)                   = 0 (0x0)
sigprocmask(SIG_BLOCK,0x0,0x0)                   = 0 (0x0)
close(15)                                        = 0 (0x0)
SIGNAL 11 (SIGSEGV)
process exit, rval = 0

gdb against the binary and core shows the segfault is here:
#0  0x00000000c2f0a9a0 in gtk_widget_set_parent ()
   from /usr/pkg/lib/libgtk-x11-2.0.so.0
[New Thread c70cba80 (LWP 100772)]
[New Thread c70041c0 (LWP 101329)]

-omar



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