discuss-gnustep
[Top][All Lists]
Advanced

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

Re: art backend : NSView crashes


From: Riccardo Mottola
Subject: Re: art backend : NSView crashes
Date: Sun, 12 Apr 2015 22:35:48 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32.1

Hi,

Riccardo Mottola wrote:
Hi,

if I open a new empty window in PRICE, I get a crash when using the art backend, but not the cairo one.

Program received signal SIGSEGV, Segmentation fault.
0xb75404a3 in objc_msg_lookup ()
   from /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/libobjc.so.4
(gdb) bt
#0  0xb75404a3 in objc_msg_lookup ()
   from /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/libobjc.so.4
#1  0x080556dc in -[PRWindowController windowDidLoad] (
self=0xb7cd79ef <-[NSWindowController _windowDidLoad]+159>, _cmd=0x822dfc8)
    at PRWindowController.m:258
#2  0x08286020 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

I compiled back, gui with debug=yes, I don't get a better stack trace.
If I compile also PRICE with debug=yes, I don't get a crash anymore!

I think the bug has to do with the backend, but gets triggered from PRICE? it doesn't happen on Mac or with the cairo backend.

line 258:
    if (shouldResize)
    {
        [currWin setContentSize:newWinSize];
    }

I can probably work around in PRICE that if there is no image, I don't send a resize, but isn't this a backend problem? I wonder.

Riccardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]