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

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to