[PD-dev] [ pure-data-Bugs-1817858 ] divide by zero when scrolling patch window
SourceForge.net
noreply at sourceforge.net
Mon Oct 22 15:23:57 CEST 2007
Bugs item #1817858, was opened at 2007-10-22 14:42
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1817858&group_id=55736
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: puredata
Group: v0.40.2
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Matteo Sisti Sette (sistisette)
Assigned to: Nobody/Anonymous (nobody)
Summary: divide by zero when scrolling patch window
Initial Comment:
Hi,
Sometimes, when scrolling a big patch window full of a lot of gop-enabled abstraction instances, BY MEANS OF THE SCROLLING WHEEL OF THE MOUSE, an error message dialog pops up, titled "Application error" which says "Error: divide by zero". If I click on "details", it reads the following:
""""
divide by zero
divide by zero
while executing
"expr -abs(0)/0"
invoked from within
"pdtk_canvas_scroll .x9a4e60.c y [expr -abs(0)/0]"
(command bound to event)
""""
Pd does not crash nor hang, it keeps working even while the dialog is open, and it keeps working when I close the dialog by hitting "OK".
It happens apparently at random times, but if I do a lot of scrolling up and down and up and down i'm almost sure to reproduce it within less than a minute.
It seems it does not happen when scrolling by dragging the scroll bar, only when using the mouse' scroll wheel.
And I guess it only happens with huge patches full of gui, as it had never happened to me before.
----------------------------------------------------------------------
>Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2007-10-22 15:23
Message:
Logged In: YES
user_id=564396
Originator: NO
what is your OS?
does it go away if you apply the attached patch to the pd.tk?
(note the patch is really against u_main.tk; however, at runtime pd.tk is
used, which is a mere copy of u_main.tk)
File Added: scroll_devide0.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1817858&group_id=55736
More information about the Pd-dev
mailing list