Hello all,
I'm using pix_write and all of a sudden I'm having problems. It was working fine when I was doing 480x480 renders, then I was playing with the cropping in pix_write and ended up saving 38000 frames of 150x150 buffers cropped to 128x128! arg. anyhow now I'm just trying to save my 150x150 buffer and PD crashes when it tried to write the file. Here is the gdb stack:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 2033)] 0x400cfd7e in chunk_free () from /lib/libc.so.6 (gdb) where #0 0x400cfd7e in chunk_free () from /lib/libc.so.6 #1 0x400cfa3a in chunk_alloc () from /lib/libc.so.6 #2 0x400cf224 in malloc () from /lib/libc.so.6 #3 0x4046cae2 in jpeg_get_small () from /usr/lib/libjpeg.so.62 #4 0x4046bc7a in alloc_small () from /usr/lib/libjpeg.so.62 #5 0x4045618f in init_destination () from /usr/lib/libjpeg.so.62 #6 0x40454b49 in jpeg_start_compress () from /usr/lib/libjpeg.so.62 #7 0x4026a9d5 in mem2jpegImage (image=0x8263930, filename=0x8139ac0 "/home/bbogart/oracle/archive/image/oracle00000.jpg", quality=100) at GemPixImageSave.cpp:195 #8 0x4026a636 in mem2image (image=0x8263930, filename=0x8139ac0 "/home/bbogart/oracle/archive/image/oracle00000.jpg", type=100) at GemPixImageSave.cpp:67 #9 0x4028be38 in pix_write::doWrite (this=0x8139a50) at pix_write.cpp:123 #10 0x4028bf1e in pix_write::render (this=0x8139a50, state=0xbffff66c) at pix_write.cpp:151 #11 0x40263f6c in GemBase::renderCallback (data=0x8139a50, state=0xbffff66c) at GemBase.cpp:106 #12 0x4028cb8d in gemhead::renderBase (this=0x8139750, link=0x82114c8, state=0xbffff66c) at gemhead.cpp:93 #13 0x4028cb40 in gemhead::renderGL (this=0x8139750, state=0xbffff66c) at gemhead.cpp:80 #14 0x40267da2 in GemMan::render () at GemMan.cpp:727
Any pointers would be appreciated.
Thanks Ben