Grace's problem in Fedora16

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.