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

(mgp-users 00406) Re: bugreport (segmentation fault)



On Sun, Sep 24, 2000 at 10:56:50PM +0900, David Bauer wrote:
> Peter Vandenabeele wrote:
> > When the construct
> > 
> > %cont, vgap 30, font "thick"
> > 
> > is used, it crashes with core dump.
> > 
> > When the line is replaced with
> > 
> > %cont, size 5, vgap 30, font "thick"
> > 
> > it runs fine.
> 
> Both examples run fine on 1.07a under FreeBSD.

David,

Thanks for the reply. Sorry for the confusion. 
I did actually test it now (and yesterday) with mgp 1.07a 
_and_ mgp 1.06a on Linux (Red Hat 6.2) and it still crashes. 
The reason I stayed with 1.06a was that 1.07a has another 
issue with transparancy that we are looking into now.

Removed the images below, but that has the same effect
(seg fault on t21, OK on t22)..

rpm comes from http://puchol.com/cpg/software/mgp/
I used the i686 rpm.

Peter

> 
> --
> David.

______________________________________________________________

[peter@whatever mgp-midgard-2.0]$ mgp -v
mgp version 1.07a (20000309)
[peter@whatever mgp-midgard-2.0]$ mgp t22    // same file as yesterday, runs OK
[peter@whatever mgp-midgard-2.0]$ mgp t21    // same fiel as yesterday, crashes 
Segmentation fault (core dumped)
[peter@whatever mgp-midgard-2.0]$ cat t21
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% THE MIDGARD MAGICPOINT TEMPLATE
%%
%% Copyright(c) 1999 Henri Bergius <Henri.Bergius@iki.fi>
%% 
%% A template for making MagicPoint presentations for
%% Midgard. Originally written for MagicPoint 1.06a
%% and the Midgard Workshop in October 1999.
%%
%% See the Midgard CVS repository for usage examples.
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%deffont "standard" tfont "arial.ttf"       
%deffont "thick" tfont "arialbd.ttf"
%deffont "typewriter" tfont "courbd.ttf"
%%
%% Default settings per each line numbers.
%% ORIGINAL
%% The page settings:
%default 1 leftfill, size 2, fore "white", back "black", font "thick"
%%, bimage "midgard-black-bg.jpg" 1024x768
%%
%% Format the header:
%default 2 size 7, vgap 70, prefix "   "
%%
%% Have a bar:


%default 3 size 2, bar "brown" 5, vgap 50
%%
%% The standard text settings:
%default 4 size 5, fore "white", vgap 50, prefix "   ", font "standard"
%%
%% Default settings that are applied to TAB-indented lines.
%%
%tab 1 size 4, vgap 35, prefix "       ", icon box "brown" 30
%tab 2 size 4, vgap 20, prefix "               ", icon arc "yellow" 30
%tab 3 size 3, vgap 20, prefix "                          ", icon delta3 "white" 40
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%page

%center, size 7
This is the header
%size 7
should be line 3 ???
tata4
tata5
Green Linux TEST 
%%cont, size 3
%%(tm)
%%cont, size 7
 and Ham
%right
%size 4
by Penguin Torvalds    
Finn Labs    

%cont, left
%%image "linux-logo.gif"

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%page

%size 5, font "standard"
   brrr
%cont, vgap 30, font "thick"
Introduction
test
test
Green Linux and Ham:
test
test
test
        Would you like it Here or There?
test
                Would you try it in a Train?
test
                Would you like it in a Car? in a Tree?
test
        In the Dark? In the Rain?

Try it, try it, and you'll like it!

It's so good, so GOOD, you see ...

[peter@whatever mgp-midgard-2.0]$ gdb --core core 'which mgp'
GNU gdb 4.18
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-redhat-linux"...(no debugging symbols found)...(no debugging symbols found)...

warning: core file may not match specified executable file.
Core was generated by `mgp t21'.
Program terminated with signal 11, Segmentation fault.
#0  0x400bf74d in ?? ()
(gdb) bt
#0  0x400bf74d in ?? ()
#1  0x805d377 in XMapRaised ()
#2  0x80506ea in XMapRaised ()
#3  0x804ee36 in XMapRaised ()
#4  0x804ebd6 in XMapRaised ()
#5  0x804e366 in XMapRaised ()
#6  0x8053f5c in XMapRaised ()
#7  0x8054336 in XMapRaised ()
#8  0x804e2bd in XMapRaised ()
#9  0x804e209 in XMapRaised ()
#10 0x804d52e in XMapRaised ()
#11 0x804c6bb in XMapRaised ()
#12 0x4015b9cb in ?? ()