This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Perl/TK Missing Dependency Found

On Mon, 9 Jan 2006, Brett Serkez wrote:

> [snip]
> > > Please also bear in mind, that I only install what I need, the
> > > default plus minimum, in this case, Perl/Tk. If this doesn't work on
> > > your system, please try this approach.
> >
> > I'll admit that I don't have a mimimal system by any means, but AFAICS
> > libwmf has nothing to do with perl-Tk.
> I would kindly ask that you setup a minimal install and try it, perhaps
> someone else on this list can try it and also verify.
> [snip]
> I've verified this on a couple of different systems.  Anyone else?

I can reproduce this on WinXP Pro SP1 (cygcheck output attached).  Adding
Perl/Tk to my installation and running the program in Brett's message
(<>) causes a SIGSEGV.
I don't have a debugging version of Perl, Perl/Tk, or fontconfig, but,
FWIW, here's the backtrace I get from gdb (some inconsequental output

$ gdb --args perl
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
This GDB was configured as "i686-pc-cygwin"...Minimal symbols from perl.exe...(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/perl.exe /home/igor/perl/tktest/
Program received signal SIGSEGV, Segmentation fault.
0x014e5acf in cygfontconfig-1!FcCharSetDestroy () from /usr/bin/cygfontconfig-1.dll
(gdb) where
#0  0x014e5acf in cygfontconfig-1!FcCharSetDestroy () from /usr/bin/cygfontconfig-1.dll
#1  0x0137a1ea in boot_Tk () from /usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll
#2  0x0137a2eb in boot_Tk () from /usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll
#3  0x01327401 in boot_Tk () from /usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll
#4  0x01389042 in boot_Tk () from /usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll
#5  0x013895be in boot_Tk () from /usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll
#6  0x01360466 in boot_Tk () from /usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll
#7  0x0131736f in boot_Tk () from /usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll
#8  0x0131bb02 in boot_Tk () from /usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll
#9  0x0131bdfa in boot_Tk () from /usr/lib/perl5/vendor_perl/5.8/cygwin/auto/Tk/Tk.dll
#10 0x6e8b94a3 in cygperl5_8!Perl_pp_entersub () from /usr/bin/cygperl5_8.dll
#11 0x6e8b1cd9 in cygperl5_8!Perl_runops_standard () from /usr/bin/cygperl5_8.dll
#12 0x6e8478f5 in perl_run () from /usr/bin/cygperl5_8.dll
#13 0x00401170 in fhandler_pipe::get_guard ()
#14 0x100129d8 in ?? ()
#15 0x00401190 in fhandler_pipe::get_guard ()
#16 0x00000002 in ?? ()
#17 0x10012918 in ?? ()
#18 0x00000000 in ?? () from

Looking at the source of FcCharSetDestroy on-line[1], it seems that either
something goes wrong with free/FcMemFree (not very likely) or a NULL
pointer is passed in from boot_Tk (more likely, IMO).

Yaakov, if you would be willing to post the debugging symbols for Tk.dll,
I could try ferreting out some more info.  Unfortunately, I'm not up to
building a debug version of Perl/Tk at the moment.  I don't recall
off-hand who maintains libfontconfig (Harold?), but it's unlikely to be a
fontconfig problem anyway.
[1] <>
      |\      _,,,---,,_ |
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

Attachment: cygcheck-20060109.out
Description: Text document

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]