[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: MacOSX 10.4.4 and gschem



OK, I got it working again. Some combination of recompiling gEDA and Pango, mucking with .font.conf, and quitting and restarting XDarwin *finally* coaxed it to life. What a tangled web...

Thanks for your help.

On Jan 19, 2006, at 5:06 PM, Stuart Brorson wrote:

This is a Pango problem.  Personally, I hate Pango since it adds a
whole layer of complexity to GTK, which is already a bloated pig in
the first place.  And with complexity comes bugs.

Check that all your internationalization stuff is correctly
installed.  Also, you could try getting rid of the call to
pango_layout_get_pixel_size() in get_main_menu.  I'm not sure if GTK
will behave correctly without this call, but it might.  Maybe the old
call left over from GTK-1.x is still there and you can try using it?

Maybe one of the I18N experts like Patrick or Carlos know more about
this.

Stuart



I upgraded to MacOSX 10.4.4, and now gschem gets caught in an infinite loop on startup. Any help is appreciated as this is an urgent problem: I'll be on the road next week and I have looming deadlines, so I'll need to use the PowerBook to get some stuff done.

I'm using Charles Lepple's Fink packages.

Here's a gdb run with a backtrace:

[Tanuki:~] jpd% gdb /sw/bin/gschem
GNU gdb 6.1-20040303 (Apple version gdb-384) (Mon Mar 21 00:05:26 GMT
2005)
Copyright 2004 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 "powerpc-apple-darwin"...Reading symbols
for shared libraries .................................. done

(gdb) run
Starting program: /sw/bin/gschem
Reading symbols for shared libraries .++++++
+...............................................++++.+++++++ done
gEDA/gschem version 20050820
gEDA/gschem comes with ABSOLUTELY NO WARRANTY; see COPYING for more
details.
This is free software, and you are welcome to redistribute it under
certain
conditions; please see the COPYING file for more details.

Reading symbols for shared libraries . done
^C
Program received signal SIGINT, Interrupt.
0x99ce9fd0 in tt_cmap12_char_index ()
(gdb) bt
#0  0x99ce9fd0 in tt_cmap12_char_index ()
#1  0x99cc0df0 in FT_Get_Char_Index ()
#2  0x99d35084 in FcFreeTypeCharSet ()
#3  0x99d36e40 in FcFreeTypeQuery ()
#4  0x99d36318 in FcFileScan ()
#5  0x99d36564 in FcDirScan ()
#6  0x99d315e4 in FcConfigBuildFonts ()
#7  0x99d37240 in FcInitLoadConfigAndFonts ()
#8  0x99d372a0 in FcInit ()
#9  0x99d316f0 in FcConfigGetCurrent ()
#10 0x99d32a5c in FcConfigSubstituteWithPat ()
#11 0x001fc188 in pango_xft_font_map_default_substitute ()
#12 0x0156b034 in pango_fc_font_map_get_patterns ()
#13 0x0156b1f4 in pango_fc_font_map_load_fontset ()
#14 0x01015d50 in pango_itemize_with_base_dir ()
#15 0x010209bc in pango_layout_check_lines ()
#16 0x010215bc in pango_layout_get_extents_internal ()
#17 0x01021aec in pango_layout_get_pixel_size ()
#18 0x000485f8 in get_main_menu (w_current=0x175c000,
menubar=0xbffff5c4) at ../noweb/x_menus.nw:197
#19 0x0004d518 in x_window_create_main (w_current=0x175c000) at ../
noweb/x_window.nw:560
#20 0x0004ca5c in x_window_setup (toplevel=0x175c000) at ../noweb/
x_window.nw:209
#21 0x0000c1c0 in main_prog (closure=0x0, argc=1, argv=0xbffff84c)
at ../noweb/gschem.nw:242
#22 0x0054f5f4 in scm_boot_guile (argc=0, argv=0x20962,
main_func=0x98ee <g_keys_buffer_copy1+70>, closure=0x2046fff) at
init.c:636
#23 0x0000c6dc in main (argc=1, argv=0xbffff84c) at ../noweb/
gschem.nw:422
(gdb)

Any suggestions are greatly appreciated!

John Doty              Noqsi Aerospace, Ltd.
jpd@xxxxxxxxxxxxx






John Doty Noqsi Aerospace, Ltd. jpd@xxxxxxxxxxxxx