Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2006 14:24:24 +0300 (EEST)
From:      Andriy Gapon <avg@icyb.net.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/102428: editors/vim: gvim crashes on "Save As..." dialog
Message-ID:  <200608231124.k7NBOOFn003150@oddity.topspin.kiev.ua>
Resent-Message-ID: <200608231130.k7NBULZa004323@freefall.freebsd.org>

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

>Number:         102428
>Category:       ports
>Synopsis:       editors/vim: gvim crashes on "Save As..." dialog
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 23 11:30:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andriy Gapon
>Release:        FreeBSD 6.1-RELEASE-p2 i386
>Organization:
>Environment:
System: 
FreeBSD 6.1-RELEASE-p2 i386
vim-gtk2-7.0.39 (built from ports with WITH_GTK2=yes)
libmap.conf is empty

>Description:
GVim, executed as gvim command in X-windows environment, crashes as soon as File/Save As menu
is accessed. The following message appears on terminal where gvim is started:
/libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam"

The cause for this appears to be that gvim is not linked with any pthreads library (libthr, libpthread, etc),
but on the other hand it dynamically loads some GNOME or GTK2 library that directly or indirectly depends
on libgthread which in turn depends on system pthreads library. As I understand, none of dynamic libraries
has recorded dependency on any threading library, only programs have them. I am not sure how all this works,
but it seems that the burden of loading a threading library is on programs not libs.

Please also see the following message and its followups:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=177611+0+archive/2006/freebsd-gnome/20060806.freebsd-gnome

>How-To-Repeat:
1. Build and install vim from editors/vim with WITH_GTK2=yes
2. run gvim 
3. access File/Save menu
4. gvim aborts
>Fix:
Don't have it, but see some reasoning above.


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



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