[GEM-dev] Problem with GEM/PMPD

Jack jack at rybn.org
Sun Mar 6 19:28:02 CET 2011


OK, i installed Valgrind, here the output :


$ valgrind pd
==14029== Memcheck, a memory error detector
==14029== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et
al.
==14029== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for
copyright info
==14029== Command: pd
==14029== 
usage: pd [-flags] [file]...

audio configuration flags:
-r <n>           -- specify sample rate
-audioindev ...  -- audio in devices; e.g., "1,3" for first and third
-audiooutdev ... -- audio out devices (same)
-audiodev ...    -- specify input and output together
-inchannels ...  -- audio input channels (by device, like "2" or "16,8")
-outchannels ... -- number of audio out channels (same)
-channels ...    -- specify both input and output channels
-audiobuf <n>    -- specify size of audio buffer in msec
-blocksize <n>   -- specify audio I/O block size in sample frames
-sleepgrain <n>  -- specify number of milliseconds to sleep when idle
-nodac           -- suppress audio output
-noadc           -- suppress audio input
-noaudio         -- suppress audio input and output (-nosound is
synonym) 
-listdev         -- list audio and MIDI devices
-oss             -- use OSS audio API
-alsa            -- use ALSA audio API
-alsaadd <name>  -- add an ALSA device name to list
-jack            -- use JACK audio API
      (default audio API for this platform:  OSS)


MIDI configuration flags:
-midiindev ...   -- midi in device list; e.g., "1,3" for first and third
-midioutdev ...  -- midi out device list, same format
-mididev ...     -- specify -midioutdev and -midiindev together
-nomidiin        -- suppress MIDI input
-nomidiout       -- suppress MIDI output
-nomidi          -- suppress MIDI input and output
-alsamidi        -- use ALSA midi API

other flags:
-path <path>     -- add to file search path
-nostdpath       -- don't search standard ("extra") directory
-stdpath         -- search standard directory (true by default)
-helppath <path> -- add to help file search path
-open <file>     -- open file(s) on startup
-lib <file>      -- load object library(s)
-font-size <n>     -- specify default font size in points
-font-face <name>  -- specify default font
-font-weight <name>-- specify default font weight (normal or bold)
-verbose         -- extra printout on startup and when searching for
files
-version         -- don't run Pd; just print out which version it is 
-d <n>           -- specify debug level
-noloadbang      -- suppress all loadbangs
-stderr          -- send printout to standard error instead of GUI
-nogui           -- suppress starting the GUI
-guiport <n>     -- connect to pre-existing GUI over port <n>
-guicmd "cmd..." -- start alternatve GUI program (e.g., remote via ssh)
-send "msg..."   -- send a message at startup, after patches are loaded
-noprefs         -- suppress loading preferences on startup
-rt or -realtime -- use real-time priority
-nrt             -- don't use real-time priority
-nosleep         -- spin, don't sleep (may lower latency on multi-CPUs)
-schedlib <file> -- plug in external scheduler
-extraflags <s>  -- string argument to send schedlib
-batch           -- run off-line as a batch process
-noautopatch     -- defeat auto-patching new from selected objects
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
open: /etc/pd/gem.conf: No such file or directory
open: /home/jack/.pd/gem.conf: No such file or directory
open: ./gem.conf: No such file or directory
==14029== Invalid read of size 1
==14029==    at 0x80AC8A2: gensym (in /usr/bin/pd)
==14029==  Address 0xbe9cad10 is just below the stack ptr.  To suppress,
use: --workaround-gcc296-bugs=yes
==14029== 
==14029== Invalid read of size 1
==14029==    at 0x80AC8B8: gensym (in /usr/bin/pd)
==14029==  Address 0xbe9cad11 is just below the stack ptr.  To suppress,
use: --workaround-gcc296-bugs=yes
==14029== 
==14029== Invalid read of size 1
==14029==    at 0x40271F3: strcmp (mc_replace_strmem.c:426)
==14029==    by 0x80AC8EF: gensym (in /usr/bin/pd)
==14029==  Address 0xbe9cad10 is just below the stack ptr.  To suppress,
use: --workaround-gcc296-bugs=yes
==14029== 
==14029== Invalid read of size 1
==14029==    at 0x4027211: strcmp (mc_replace_strmem.c:426)
==14029==    by 0x80AC8EF: gensym (in /usr/bin/pd)
==14029==  Address 0xbe9cad11 is just below the stack ptr.  To suppress,
use: --workaround-gcc296-bugs=yes
==14029== 
==14029== Conditional jump or move depends on uninitialised value(s)
==14029==    at 0x4030ED0: pmpd_get (pmpd.c:759)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x446BC5F: ???
==14029== 
==14029== Conditional jump or move depends on uninitialised value(s)
==14029==    at 0x4030F84: pmpd_get (pmpd.c:770)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x446BC5F: ???
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2253: gem::GLStack::push(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B462F5: separator::render(GemState*)
(separator.cpp:100)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2256: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:138)
==14029==    by 0x4B462F5: separator::render(GemState*)
(separator.cpp:100)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c8 is 8 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2259: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:138)
==14029==    by 0x4B462F5: separator::render(GemState*)
(separator.cpp:100)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44d8 is 24 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E227D: gem::GLStack::push(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B462F5: separator::render(GemState*)
(separator.cpp:100)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2280: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:141)
==14029==    by 0x4B462F5: separator::render(GemState*)
(separator.cpp:100)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c8 is 8 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2253: gem::GLStack::push(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B46324: separator::render(GemState*)
(separator.cpp:101)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2256: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:138)
==14029==    by 0x4B46324: separator::render(GemState*)
(separator.cpp:101)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c4 is 4 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2259: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:138)
==14029==    by 0x4B46324: separator::render(GemState*)
(separator.cpp:101)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44d4 is 20 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E227D: gem::GLStack::push(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B46324: separator::render(GemState*)
(separator.cpp:101)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2280: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:141)
==14029==    by 0x4B46324: separator::render(GemState*)
(separator.cpp:101)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c4 is 4 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2253: gem::GLStack::push(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B46352: separator::render(GemState*)
(separator.cpp:102)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2256: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:138)
==14029==    by 0x4B46352: separator::render(GemState*)
(separator.cpp:102)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44cc is 12 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2259: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:138)
==14029==    by 0x4B46352: separator::render(GemState*)
(separator.cpp:102)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44dc is 28 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E227D: gem::GLStack::push(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B46352: separator::render(GemState*)
(separator.cpp:102)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2280: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:141)
==14029==    by 0x4B46352: separator::render(GemState*)
(separator.cpp:102)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44cc is 12 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2253: gem::GLStack::push(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B46245: separator::render(GemState*)
(separator.cpp:103)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2256: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:138)
==14029==    by 0x4B46245: separator::render(GemState*)
(separator.cpp:103)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c0 is 0 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2259: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:138)
==14029==    by 0x4B46245: separator::render(GemState*)
(separator.cpp:103)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44d0 is 16 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E227D: gem::GLStack::push(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B46245: separator::render(GemState*)
(separator.cpp:103)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2280: gem::GLStack::push(gem::GLStack::GemStackId)
(GLStack.cpp:141)
==14029==    by 0x4B46245: separator::render(GemState*)
(separator.cpp:103)
==14029==    by 0x49E3015: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:153)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c0 is 0 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E215D: gem::GLStack::pop(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B44D8A: separator::postrender(GemState*)
(separator.cpp:160)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2160: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:165)
==14029==    by 0x4B44D8A: separator::postrender(GemState*)
(separator.cpp:160)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c8 is 8 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2166: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:166)
==14029==    by 0x4B44D8A: separator::postrender(GemState*)
(separator.cpp:160)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44d8 is 24 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid write of size 4
==14029==    at 0x49E216A: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:165)
==14029==    by 0x4B44D8A: separator::postrender(GemState*)
(separator.cpp:160)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c8 is 8 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E215D: gem::GLStack::pop(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B44D72: separator::postrender(GemState*)
(separator.cpp:161)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2160: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:165)
==14029==    by 0x4B44D72: separator::postrender(GemState*)
(separator.cpp:161)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c4 is 4 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2166: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:166)
==14029==    by 0x4B44D72: separator::postrender(GemState*)
(separator.cpp:161)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44d4 is 20 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid write of size 4
==14029==    at 0x49E216A: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:165)
==14029==    by 0x4B44D72: separator::postrender(GemState*)
(separator.cpp:161)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c4 is 4 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E215D: gem::GLStack::pop(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B44D5A: separator::postrender(GemState*)
(separator.cpp:162)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2160: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:165)
==14029==    by 0x4B44D5A: separator::postrender(GemState*)
(separator.cpp:162)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44cc is 12 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2166: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:166)
==14029==    by 0x4B44D5A: separator::postrender(GemState*)
(separator.cpp:162)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44dc is 28 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid write of size 4
==14029==    at 0x49E216A: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:165)
==14029==    by 0x4B44D5A: separator::postrender(GemState*)
(separator.cpp:162)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44cc is 12 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E215D: gem::GLStack::pop(gem::GLStack::GemStackId)
(auto_ptr.h:195)
==14029==    by 0x4B44D42: separator::postrender(GemState*)
(separator.cpp:163)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec448c is 4 bytes inside a block of size 8 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E2337: gem::GLStack::~GLStack() (GLStack.cpp:120)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2160: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:165)
==14029==    by 0x4B44D42: separator::postrender(GemState*)
(separator.cpp:163)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c0 is 0 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid read of size 4
==14029==    at 0x49E2166: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:166)
==14029==    by 0x4B44D42: separator::postrender(GemState*)
(separator.cpp:163)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44d0 is 16 bytes inside a block of size 48
free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== Invalid write of size 4
==14029==    at 0x49E216A: gem::GLStack::pop(gem::GLStack::GemStackId)
(GLStack.cpp:165)
==14029==    by 0x4B44D42: separator::postrender(GemState*)
(separator.cpp:163)
==14029==    by 0x49E3033: GemBase::gem_renderMess(GemCache*, GemState*)
(GemBase.cpp:155)
==14029==    by 0x49E3296: GemBase::gem_MessCallback(void*, _symbol*,
int, _atom*) (GemBase.cpp:227)
==14029==    by 0x80ABC00: pd_typedmess (in /usr/bin/pd)
==14029==    by 0x9B9C5A7: ???
==14029==  Address 0x6ec44c0 is 0 bytes inside a block of size 48 free'd
==14029==    at 0x4025504: operator delete(void*)
(vg_replace_malloc.c:387)
==14029==    by 0x49E232F: gem::GLStack::~GLStack() (auto_ptr.h:168)
==14029==    by 0x4A1AA00: GemState::~GemState() (auto_ptr.h:168)
==14029==    by 0x4A054FC: GemMan::render(void*) (GemMan.cpp:820)
==14029==    by 0x80BA5EF: m_mainloop (in /usr/bin/pd)
==14029== 
==14029== 
==14029== More than 10000000 total errors detected.  I'm not reporting
any more.
==14029== Final error counts will be inaccurate.  Go fix your program!
==14029== Rerun with --error-limit=no to disable this cutoff.  Note
==14029== that errors may occur in your program without prior warning
from
==14029== Valgrind, because errors are no longer being displayed.
==14029== 

++

Jack



Le dimanche 06 mars 2011 à 13:14 -0500, Mathieu Bouchard a écrit :
> On Sun, 6 Mar 2011, Jack wrote:
> 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x002f182b in ?? () from /lib/libc.so.6
> > (gdb) bt
> > #0  0x002f182b in ?? () from /lib/libc.so.6
> > #1  0x002f2ced in ?? () from /lib/libc.so.6
> > #2  0x002f698a in ?? () from /lib/libc.so.6
> > #3  0x002f6f53 in realloc () from /lib/libc.so.6
> > #4  0x080af7d6 in resizebytes ()
> > #5  0x085b0b50 in ?? ()
> > Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> > (gdb)
> 
> Try it with valgrind instead of gdb.
> 
> Both are very useful debuggers, but they don't help in the same 
> circumstances as each other.
> 
> In case of corrupt stack, corrupt heap (malloc assertion failed) and 
> unexplainable crashes in non-buggy code, valgrind finds the cause, not the 
> consequence.
> 
>   _______________________________________________________________________
> | Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20110306/d6a2efe4/attachment-0001.pgp>


More information about the GEM-dev mailing list