segmentation fault on Mac OS X



Hello,

I've successfully compiled dia on my PowerBook. Unfortunately, when I try to execute dia, I received a 'Segmentation fault'. 

So I've tried to debug the application with gdb. Here the log :

(gdb) run
Starting program: /usr/bin/dia 
Reading symbols for shared libraries .++....+...........................................................+++++++++++.++++++++++++++ done
Reading symbols for shared libraries . done

(dia:18412): Gdk-WARNING **: shmget failed: error 12 (Cannot allocate memory)

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x69622f6c
0x90003340 in strcmp ()
(gdb) bt 20
#0  0x90003340 in strcmp ()
#1  0x02552b08 in FcPatternPosition ()
#2  0x02553f50 in FcPatternGet ()
#3  0x02020778 in cairo_ft_font_options_substitute (options=0x5520170, pattern=0x5520180) at cairo-ft-font.c:2198
#4  0x002bb410 in pango_cairo_fc_font_map_context_substitute (fcfontmap=0x69622f68, context=0x27d9c78, pattern=0x5520180) at pangocairo-fcfontmap.c:90
#5  0x021cfdc4 in pango_fc_font_map_load_fontset (fontmap=0x27d3a88, context=0x27d9c78, desc=0x7ff800, language=0x551ff70) at pangofc-fontmap.c:1081

 
It seem the problem came from fontconfig. But some searches on Internet didn't give me full satisfaction. 

Is there anybody who encounter the same problem ? If so, how can I solve it ?
Is there other dia users who use a Mac ? If so, how have you installed it ? 

Thanks in advance

Emmanuel Di Pretoro


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