Alex555 Posted July 27, 2007 Share Posted July 27, 2007 Hi, MadJik. Cool plugin! But I'm encounter with some bug that lead to crash PdN: 1) open "PdN"; 2) "Rectangle select" about 400x400 (at full select works perfectly); 3) "SpiroGraph" > "Filled with gradient" > "Zoom" slider at "1" > crash PdN... Here's the log: This text file was created because Paint.NET crashed. Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem. Application version: Paint.NET v3.08 (Final Release build 3.08.2708.22795) Time of crash: 27.07.2007 23:55:11 Application uptime: 00:04:36.0625000 OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86 .NET Framework version: 2.0.50727.42 x86 Processor: 1x "Intel® Celeron® CPU 2.00GHz" @ ~2655MHz Physical memory: 765 MB Tablet PC: no Locale: pdnr.c: ru-RU, hklm: ru-RU, hkcu: n/a, cc: ru-RU, cuic: ru-RU Exception details: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.OutOfMemoryException: Out of memory. at System.Drawing.Drawing2D.LinearGradientBrush..ctor(Point point1, Point point2, Color color1, Color color2) at PaintDotNet.Effects.SpiroGraph.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction() --- End of inner exception stack trace --- at PaintDotNet.Effects.BackgroundEffectRenderer.Join() at PaintDotNet.Effects.BackgroundEffectRenderer.Start() at PaintDotNet.Menus.EffectMenuBase.EffectConfigTokenChangedHandler(Object sender, EventArgs e) at PaintDotNet.Effects.EffectConfigDialog.OnEffectTokenChanged() at PaintDotNet.Effects.EffectConfigDialog.FinishTokenUpdate() at PaintDotNet.Effects.SpiroGraphConfigDialog.sAmount4_ValueChanged(Object sender, EventArgs e) at System.Windows.Forms.TrackBar.OnScroll(EventArgs e) at System.Windows.Forms.TrackBar.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ------------------------------------------------------------------------------ Sorry for my English... Quote Link to comment Share on other sites More sharing options...
Myrddin Posted July 27, 2007 Share Posted July 27, 2007 Yes, Alex555's repro works for me too. Do you want the crash log or is it not necessary as it's the same actions which cause the crash? Quote How to Save Your Images under Different File Types My dA Gallery Link to comment Share on other sites More sharing options...
MadJik Posted July 27, 2007 Author Share Posted July 27, 2007 Because of the way Paint.NET automatically multi-threads effects, finding the cause using a debugger is going to difficult... I would start with either: [*:21599]rather than compiling against your installed copy of Paint.NET, add your project into Paint.NET's source solution and compile the whole thing together. That way, you'll have access to full debugging info, even if the crash happens within Paint.NET's code.[*:21599]Show us your source so we can help you I've VS CSharp 2005 Express. Despitt, I can't install C++ from Express, download link is corrupted some how @Alex555: Thank you, I thank you to have guided me the right way. I can reproduce it too! @BoltBait: Thanks for the tip! I'm already doing this as some other of my plugins were crashing, now I'm testing a lot of things (like complicated cross-over XOR selections...) before publishing. @all who want to know: I think PDN crashes because the gradient start point and end point are equals or too close (or somehow negative)... I have to stop writing and to test my code... Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
MiguelPereira Posted July 27, 2007 Share Posted July 27, 2007 Vibrato much. Vibrato? I didn't use vibrato! You want a tut on this? cause it's really simple Quote [The stock on my sig is a photo I took not a render from Splatter] [My deviantART][My Gallery][My Space] Link to comment Share on other sites More sharing options...
MadJik Posted July 27, 2007 Author Share Posted July 27, 2007 Bug fixed, download the file again! Plugin SpiroGraph.dll Here is the zip for the DLL If the polygon is too small, gradient is replaced by normal fill! No seeable difference! BTW I wasn't anymore able to reproduce the crash with this version... I still strongly suggest you to save your work before using any plugin... Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Ash Posted July 27, 2007 Share Posted July 27, 2007 Thanks! Quote All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ] Link to comment Share on other sites More sharing options...
MiguelPereira Posted July 27, 2007 Share Posted July 27, 2007 thank you Quote [The stock on my sig is a photo I took not a render from Splatter] [My deviantART][My Gallery][My Space] Link to comment Share on other sites More sharing options...
Alex555 Posted July 28, 2007 Share Posted July 28, 2007 Great thanks, MadJik! Quote Link to comment Share on other sites More sharing options...
blooper101 Posted July 28, 2007 Share Posted July 28, 2007 Good work. Quote Link to comment Share on other sites More sharing options...
LimeLight Posted July 28, 2007 Share Posted July 28, 2007 Vibrato much. Vibrato? I didn't use vibrato! You want a tut on this? cause it's really simple I know you didn't, it's just...woah lol. I was thinking of Moire lol, sorry. Quote Link to comment Share on other sites More sharing options...
pyrochild Posted July 28, 2007 Share Posted July 28, 2007 Love the sig, LimeLight! I made this one for a sig competition on this very forum a while back: Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
spike 121 Posted July 28, 2007 Share Posted July 28, 2007 I cannot imagine Paint.Net without MadJik. Full credits for another wonderful plugin, and many thanks for sharing. madjik, pyro, BB, MKT etc. etc. Quote "No. Dreaming is illegal."~Pyrochild Link to comment Share on other sites More sharing options...
MadJik Posted July 28, 2007 Author Share Posted July 28, 2007 Look at the first post of this topic for the lastest version of this plugin. I wasn't happy with the way I solved the gradient bug... So I look at it again this morning and I find a better way. To not let you re-downloading for a small change, I've added two 'bonus' options: New version with slider for Gradient and checkbox for B&W lines. Let's show your art now! Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Ash Posted July 28, 2007 Share Posted July 28, 2007 Thanks Quote All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ] Link to comment Share on other sites More sharing options...
MadJik Posted July 28, 2007 Author Share Posted July 28, 2007 Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Ash Posted July 28, 2007 Share Posted July 28, 2007 I used this plugin + shape3d for these: Quote All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ] Link to comment Share on other sites More sharing options...
pyrochild Posted July 28, 2007 Share Posted July 28, 2007 Nice update, MadJik! Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
barkbark00 Posted July 29, 2007 Share Posted July 29, 2007 Great plugin! This is my new BG! Quote Take responsibility for your own intelligence. 😉 -Rick Brewster Link to comment Share on other sites More sharing options...
Ash Posted July 29, 2007 Share Posted July 29, 2007 @barkbark00: Oh I like it! Quote All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ] Link to comment Share on other sites More sharing options...
Jorslu Posted July 29, 2007 Share Posted July 29, 2007 I used this plugin + shape3d for these: Off topic....How did you do that cone in the third picture? Quote Link to comment Share on other sites More sharing options...
MadJik Posted December 16, 2007 Author Share Posted December 16, 2007 EDIT3: Bug should be fixed now (should as it is a tricky one) viewtopic.php?f=10&t=21682 Can't edit the first post but download the zip from it! Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
wutangsteeler Posted January 9, 2008 Share Posted January 9, 2008 this one is awesome. so glad my paint.net is working again. Quote Link to comment Share on other sites More sharing options...
Stile Posted January 15, 2008 Share Posted January 15, 2008 Hee hee 9/10 Fun to play with Heres a little Vortex I made :O Quote My First Doings On PDN Link to comment Share on other sites More sharing options...
Stile Posted January 15, 2008 Share Posted January 15, 2008 *crappy little vortex Quote My First Doings On PDN Link to comment Share on other sites More sharing options...
confused Posted February 13, 2008 Share Posted February 13, 2008 I have encountered the following error message when trying to use this plugin. File: C:\Program Files\Paint.NET\Effects\SpiroGraph.dll Effect Name: PaintDotNet.Effects.SpiroGraph Full error message: System.InvalidCastException: Specified cast is not valid. at PaintDotNet.Effects.SpiroGraphConfigDialog.InitTokenFromDialog() at PaintDotNet.Effects.EffectConfigDialog.FinishTokenUpdate() at PaintDotNet.Effects.SpiroGraphConfigDialog.sAmount1_ValueChanged(Object sender, EventArgs e) at System.Windows.Forms.TrackBar.OnValueChanged(EventArgs e) at System.Windows.Forms.TrackBar.set_Value(Int32 value) at PaintDotNet.Effects.SpiroGraphConfigDialog.nAmount1_ValueChanged(Object sender, EventArgs e) at System.Windows.Forms.NumericUpDown.OnValueChanged(EventArgs e) at System.Windows.Forms.NumericUpDown.set_Value(Decimal value) at PaintDotNet.Effects.SpiroGraphConfigDialog.InitDialogFromToken(EffectConfigToken effectToken) at PaintDotNet.Effects.EffectConfigDialog.InitDialogFromToken() at PaintDotNet.Effects.EffectConfigDialog.set_EffectToken(EffectConfigToken value) at PaintDotNet.Menus.EffectMenuBase.RunEffect(Type effectType) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.