Grace is a 2D drawing software. For example, if I deal with data every day, this software is a powerful scientific research tool. After switching to Fedora in the notebook last year, some problems were found when installing the software. After the installation, enter xmgrace in the command line and the following error occurs: xmgrace: malloc. c: 2453: sYSMALLOc: Assertion '(old_top = (mbinptr) (char *) & amp; (av)-& gt;
Grace is a 2D drawing software. For example, if I deal with data every day, this software is a powerful scientific research tool. After switching to Fedora in the notebook last year, some problems were found when installing the software.
After the installation, enter xmgrace in the command line and the following error occurs:
Xmgrace: malloc. c: 2453: sYSMALLOc: Assertion '(old_top = (mbinptr) (char *) & (av)-> bins [(1)-1) * 2])-_ builtin_offsetof (struct malloc_chunk, fd) & old_size = 0) | (unsigned long) (old_size)> = (unsigned long) (_ builtin_offsetof (struct malloc_chunk, fd_nextsize) + (2 * (sizeof (size_t)-1 ))&~ (2 * (sizeof (size_t)-1) & (old_top)-> size & 0x1) & (unsigned long) old_end & pagemask) = 0) 'failed.
However, the software runs normally on Ubuntu.
Google's result is that the font file of fedora is different from the font file of grace.
In the/usr/share/grace/fonts/path, ls can be seen
Drwxr-xr-x. 2 root 4.0 K May 16 enc
Lrwxrwxrwx. 1 root 25 May 16 type1->.../fonts/default/Type1
Lrwxrwxrwx. 1 root 35 May 16 FontDataBase->.../etc/grace/FontDataBase
The connected fonts are all built-in fonts of the fedora system, so the problem should be found here. Download grace source code, ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace-latest.tar.gz
After decompression, copy the fonts folder to a specific path.
For example ~ /Grace-fonts/
Connect type1 in/usr/share/grace/fonts/to/home/foo/grace-fonts/type1/
Ln-s/home/foo/grace-fonts/type1 // usr/share/grace/fonts/type1 (root permission required)
Connect the/usr/share/grace/fonts/FontDataBase to/home/foo/grace-fonts/FontDataBase
Ln-s/home/foo/grace-fonts/FontDataBase/usr/share/grace/fonts/FontDataBase
Then OK
For more information about Fedora, see Fedora topics page http://www.linuxidc.com/topicnews.aspx? Tid = 5