Bugs item #1817858, was opened at 2007-10-22 12:42 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=1817858...
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: Closed
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: SourceForge Robot (sf-robot)
Date: 2009-04-29 02:20
Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2009-04-14 04:11
Message: is this still a problem? I haven't seen this is a long while.
----------------------------------------------------------------------
Comment By: stffn (stffn) Date: 2007-10-22 19:58
Message: Logged In: YES user_id=1658640 Originator: NO
I had the same error some time back in Pd-extended 0.39.2 on Mac, cf. [1]. It happened all the time if i touched the track pad with two fingers while the "two finger scroll" feature was enabled. It has disappeared in later versions.
[1] http://lists.puredata.info/pipermail/pd-list/2006-06/039351.html
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2007-10-22 13: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...