[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: core-dump setting text position with units=normalized
From: |
Ben Abbott |
Subject: |
Re: core-dump setting text position with units=normalized |
Date: |
Sat, 20 Nov 2010 20:28:48 -0500 |
On Nov 20, 2010, at 6:18 PM, Michael D Godfrey wrote:
> On 11/20/2010 08:02 AM, Ben Abbott wrote:
>> On MacOS 10.6.5 (or Ubuntu 10.04 via VirtualBox).
>>
>> octave:1> ht = text (0, 0, "Hello", "units", "normalized");
>> octave:2> set (ht, "position", [0.5 0.5])
>> Assertion failed: (count () == 0), function freerep, file
>> ../liboctave/dim-vector.h, line 123.
>> panic: Abort trap -- stopping myself...
>> attempting to save variables to `octave-core'...
>> save to `octave-core' complete
>>
>> In some cases, I don't immediately see a crash. But if I try a second time,
>> I get a seg-fault for the text command. Both back-traces are attached.
>>
>> I made to (trivial?) changes to text objects in the last two days.
>>
>> http://hg.savannah.gnu.org/hgweb/octave/rev/3f952c6973f7
>>
>> http://hg.savannah.gnu.org/hgweb/octave/rev/521f2bb7c443
>>
>> I don't see how these could be responsible, but I hadn't seen this before,
>> so they may be related.
>>
>> Any ideas / insight?
>>
>> Ben
>>
> I tried this with current tip, repeating several times on Fedora x86_64
> system, and found no problems.
> [qss:octave] hg tip
> changeset: 11281:3f952c6973f7
> tag: tip
> user: Ben Abbott <address@hidden>
> date: Sat Nov 20 09:39:46 2010 -0500
> files: src/ChangeLog src/graphics.h.in
> description:
> graphics.h.in: Change intended for 11272.
>
I've done fresh builds for Ubuntu 10.04 and MacOS 10.6.5. I see still see a
core-dump for each.
For MacOS I'm using gcc 4.2.1
For Ubuntu, I'm using gcc 4.4.3
Ben