Re: massrotate fontconfig, Gtk2




On Thursday, May 20, 2004, at 12:13 PM, Alexy Khrabrov wrote:

When I call massrotate, it says,

WARNING **: Cannot open font file for font Bitstream Charter 16 at
+/usr/local/bin/massrotate line 99.
Segmentation fault

i don't see this --- stock updated Fedora Core 1, with Gtk2 1.042.

a backtrace would be helpful. this will enable us to determine whether the crash is the fault of the bindings or of gtk+ or whatever. (i suspect it's not the bindings, as the script appears to do nothing with fonts directly.)

you can get a backtrace from a core dump:

   $ ulimit -c unlimited  # to enable core dumps
   $ massrotate
   Segmentation fault (core dumped)
   $ gdb perl core  # or whatever the actual core.<pid> is
   ...
   gdb>  bt
   [lots of lines showing the stack at the time of the core dump]

or by running perl directly in gdb:

   gdb perl
   ...
   gdb> run /usr/local/bin/massrotate -f
   Segmentation fault
   gdb> bt
   [lots of lines showing the stack at the time of the core dump]


--
I don't have a drinking problem,
'cept when i can't get drink.
  -- Tom Waits




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