Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-5443 TMathText issues
  3. ROOT-5429

root -b tutorials/graphics/tmathtext.C division by zero in mathrenderstyle.cxx:460

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Fixed
    • 5.34/00
    • None
    • Graphics
    • None
    • Linux Fedora 19, x86-64, gnu gcc 4.8.1

    Description

      Running version 5.99/02 of root -b tutorials/graphics/tmathtext.C
      I get a floating point exception due to a division by zero
      at mathrenderstyle.cxx:460
      because bounding_box_repeatable.height() is zero.
      I am attaching the stack trace and the output listing with the relevant assert
      before the division by zero.
      Please do not forget the -b option, it is essential to reproduce the bug.

      Attachments

        1. bug10
          12 kB
        2. bug11
          1 kB

        Activity

          People

            couet Olivier Couet
            2c94ac9c25528c716ca5 Vittorio Zecca (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: