Memoryleak? when creating text object
Hi all,
I may have found a memoryleak (don't know what they look like). When i run Inkscape from gdb (svn-head, winxp) the debugger will catch a SIGTRAP after dragging and releasing the text tool:
warning: HEAP[inkscape.exe]: warning: Heap block at 053640B8 modified at 053640C4 past requested size of 4
Program received signal SIGTRAP, Trace/breakpoint trap. 0x7c901231 in ntdll!DbgUiConnectToDbg () from ntdll.dll
The backtrace ends with: #56 0x00000000 in ?? () from #57 0x04a295c0 in ?? () #58 0x02b60000 in ?? () #59 0x00ab63fc in std::vector<Inkscape::Text::Layout::Chunk, std::allocatorInkscape::Text::Layout::Chunk >::_M_insert_aux () at c:/dev/gcc/gcc-4.1.1/objdir/i686-pc-mingw32/libstdc++-v3/include/bits/ios_base.h:169 Previous frame inner to this frame (corrupt stack?)
This bug might be related to bug 1645874.
When running Inkscape normally, nothing happens, other than that memory seems leaking (the allocated memory keeps increasing when more text objects are drawn with the texttool)
Cheers, Johan
I may have found a memoryleak (don't know what they look like). When i run Inkscape from gdb (svn-head, winxp) the debugger will catch a SIGTRAP after dragging and releasing the text tool:
Works for me on Win2k. Can you open a bug and assign it to me, and we'll try to track it down there.
Richard.
From MAILER-DAEMON Wed Mar 28 11:23:05 2007
Date: Wed, 28 Mar 2007 20:22:37 +0200 From: Thorsten Wilms <t_w_@...123...> To: inkscape-devel@lists.sourceforge.net Message-ID: <20070328182237.GC4676@...1413...> References: <460AABE4.1030309@...173...> MIME-Version: 1.0 In-Reply-To: <460AABE4.1030309@...173...> Priority: normal X-Mailer: Mutt User-Agent: Mutt/1.5.13 (2006-08-11) X-Warning: 80.138.102.104 is listed at list.dsbl.org X-Spam-Score: 0.0 (/) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 Subject: Re: [Inkscape-devel] SoC 3D box tool - website updated X-BeenThere: inkscape-devel@lists.sourceforge.net X-Mailman-Version: 2.1.8 Precedence: list Reply-To: t_w_@...123... List-Id: <inkscape-devel.lists.sourceforge.net> List-Unsubscribe: https://lists.sourceforge.net/lists/listinfo/inkscape-devel, mailto:inkscape-devel-request@lists.sourceforge.net?subject=unsubscribe List-Archive: http://sourceforge.net/mailarchive/forum.php?forum=inkscape-devel List-Post: mailto:inkscape-devel@lists.sourceforge.net List-Help: mailto:inkscape-devel-request@lists.sourceforge.net?subject=help List-Subscribe: https://lists.sourceforge.net/lists/listinfo/inkscape-devel, mailto:inkscape-devel-request@lists.sourceforge.net?subject=subscribe X-List-Received-Date: Wed, 28 Mar 2007 18:23:07 -0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-Disposition: inline
On Wed, Mar 28, 2007 at 07:54:44PM +0200, Maximilian Albert wrote:
Reads good. Especially the 2nd and 3rd image on the core page are a nice addition.
Just some idea of a slightly different organisation: - Don't have the user add VPs or a box, but a perspective object - The perspective object could come with 2 VPs on a horizon and one box per default. - The number of VPs would be a parameter of the perspective object like corners are for stars/polygons.
Hmm, for setups with several boxes in different perspectives, VPs have to be organised in groups.
Richard Hughes wrote:
I may have found a memoryleak (don't know what they look like). When i run Inkscape from gdb (svn-head, winxp) the debugger
will catch
a SIGTRAP after dragging and releasing the text tool:
Works for me on Win2k. Can you open a bug and assign it to me, and we'll try to track it down there.
I had already opened a bug in the tracker, see: http://sourceforge.net/tracker/index.php?func=detail&aid=1689125&gro...
participants (2)
-
unknown@example.com
-
Richard Hughes