From: SourceForge.net <no...@so...> - 2012-03-29 17:34:04
|
Bugs item #3512887, was opened at 2012-03-29 10:10 Message generated for change (Comment added) made by genete You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=3512887&group_id=144022 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Crasher/nasty bug Group: GIT version >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Genete (genete) Assigned to: Genete (genete) Summary: Drag and drop panels crashes on OSX Lion 64 bits Initial Comment: When dragging and drop a panel (even to its previous dock book) it crashes. Debug info shows a bad memory access: Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: 13 at address: 0x0000000000000000 0x0000000100155886 in studio::DockBook::on_drag_data_received (this=0x1053be8f0, context=@0x7fff5fbfebe0, unnamed_arg=0, unnamed_arg=0, selection_data=@0x7fff5fbfebd8, unnamed_arg=0, time=1597954092) at dockbook.cpp:94 94 if(dockable.parent_) ---------------------------------------------------------------------- >Comment By: Genete (genete) Date: 2012-03-29 10:34 Message: I've checked this patch on Ubuntu 21.04 beta and Mac OSX Lion 10.7.3 64 bits. Closing the bug. ---------------------------------------------------------------------- Comment By: Genete (genete) Date: 2012-03-29 10:12 Message: To fix this bug it is needed to properly pass the pointer data of the dragged panel to the SelectionData class. Currently it assumes that the size of a pointer to DockBook ** is 4 bytes, which seems to be wrong for some architectures. I changed the hardcoded '4' by sizeof(DockBook **) what is the data stored in the SelectionData class. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=757416&aid=3512887&group_id=144022 |