ports/70922: x11/x3270 breaks palm/pose

Eric P. Scott eps+pbug0408 at ana.com
Wed Aug 25 00:01:01 UTC 2004


>Number:         70922
>Category:       ports
>Synopsis:       x11/x3270 breaks palm/pose
>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 25 00:00:44 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Eric P. Scott
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
ana-systems, Inc.
>Environment:
System: FreeBSD tools 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004     root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
	It looks like something about the fonts x11/x3270 installs in ${X11BASE}/lib/X11/fonts/local causes palm/pose to crash.  This could be a bug in one of the libraries pose links against, rather than in pose itself.
	(Is this related to PR 69171?)
>How-To-Repeat:
--note that I am using 4.10-RELEASE packages--
1. Ensure that x11/x3270 is *not* installed.
2. Install palm/pose if not present.
3. You will need to obtain a suitable ROM image (I used palmos35-en-ezdbg.rom from PalmSource).
4. Run pose once; shut it down normally (Alt-Q).  It is not necessary to save changes.
5. Install x11/x3270.
6. Run pose; wait for it to initialize.  Click Button 3.

% gdb /usr/local/bin/pose
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
(no debugging symbols found)...
(gdb) run
Starting program: /usr/local/bin/pose 
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
(gdb) bt
#0  0x0 in ?? ()
#1  0x832ec23 in inflate ()
#2  0x832cfc2 in inflate_codes ()
#3  0x832d0e6 in inflate ()
#4  0x287fc014 in ft_gzip_file_fill_output ()
   from /usr/local/lib/libfreetype.so.9
#5  0x287fc16c in ft_gzip_file_io () from /usr/local/lib/libfreetype.so.9
#6  0x287fc1f3 in ft_gzip_stream_io () from /usr/local/lib/libfreetype.so.9
#7  0x287e2a1f in FT_Stream_EnterFrame () from /usr/local/lib/libfreetype.so.9
#8  0x287e301c in FT_Stream_ReadFields () from /usr/local/lib/libfreetype.so.9
#9  0x287fc4f3 in pcf_read_TOC () from /usr/local/lib/libfreetype.so.9
#10 0x287fd37e in pcf_load_font () from /usr/local/lib/libfreetype.so.9
#11 0x287fdb09 in PCF_Face_Init () from /usr/local/lib/libfreetype.so.9
#12 0x287e5adf in open_face () from /usr/local/lib/libfreetype.so.9
#13 0x287e67d1 in FT_Open_Face () from /usr/local/lib/libfreetype.so.9
#14 0x287e5b86 in FT_New_Face () from /usr/local/lib/libfreetype.so.9
#15 0x287bd819 in FcFreeTypeQuery () from /usr/X11R6/lib/libfontconfig.so.1
#16 0x287bd27e in FcFileScan () from /usr/X11R6/lib/libfontconfig.so.1
#17 0x287bd4ff in FcDirScan () from /usr/X11R6/lib/libfontconfig.so.1
#18 0x287b8877 in FcConfigBuildFonts () from /usr/X11R6/lib/libfontconfig.so.1
#19 0x287bee1c in FcInitLoadConfigAndFonts ()
   from /usr/X11R6/lib/libfontconfig.so.1
#20 0x287bee5f in FcInit () from /usr/X11R6/lib/libfontconfig.so.1
#21 0x2870e169 in XftInit () from /usr/X11R6/lib/libXft.so.2
#22 0x2870ae83 in XftFontMatch () from /usr/X11R6/lib/libXft.so.2
#23 0x2870afe1 in XftFontOpen () from /usr/X11R6/lib/libXft.so.2
#24 0x2843e862 in fontopen () from /usr/X11R6/lib/libfltk.so.1
#25 0x2843e8b2 in Fl_FontSize::Fl_FontSize () from /usr/X11R6/lib/libfltk.so.1
#26 0x2843e76c in fl_font () from /usr/X11R6/lib/libfltk.so.1
#27 0x2843ec79 in fl_normal_measure () from /usr/X11R6/lib/libfltk.so.1
#28 0x2843ed7d in Fl_Label::measure () from /usr/X11R6/lib/libfltk.so.1
#29 0x28417854 in Fl_Menu_Item::measure () from /usr/X11R6/lib/libfltk.so.1
#30 0x28417fa6 in menuwindow::menuwindow () from /usr/X11R6/lib/libfltk.so.1
#31 0x28418f03 in Fl_Menu_Item::pulldown () from /usr/X11R6/lib/libfltk.so.1
#32 0x28419637 in Fl_Menu_Item::popup () from /usr/X11R6/lib/libfltk.so.1
#33 0x806a610 in basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::operator= ()
#34 0x806a149 in basic_string<char, string_char_traits<char>, __default_alloc_template<false, 0> >::operator= ()
#35 0x283f7fd6 in send () from /usr/X11R6/lib/libfltk.so.1
#36 0x283f8137 in Fl::handle () from /usr/X11R6/lib/libfltk.so.1
#37 0x28437132 in fl_handle () from /usr/X11R6/lib/libfltk.so.1
#38 0x2843585e in do_queued_events () from /usr/X11R6/lib/libfltk.so.1
#39 0x28435bd8 in fd_callback () from /usr/X11R6/lib/libfltk.so.1
#40 0x28435add in fl_wait () from /usr/X11R6/lib/libfltk.so.1
#41 0x283f77c8 in Fl::wait () from /usr/X11R6/lib/libfltk.so.1
#42 0x80523d8 in Fl_Browser::value ()
#43 0x8051f6c in Fl_Browser::value ()
#44 0x8051dee in Fl_Browser::value ()
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) quit
>Fix:
None yet.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list