Hi Matthew,

Thanks for the report, and sorry to hear you have trouble with your
valuable project.

I have no objection with rebuilding everything with FORTIFY_SOURCE=0,
but it seems it would be the bug you triggered is fairly rare, and it would be nice to:

- have a minimal patch or set of patches to reproduce, preferably one not using externals
 - make sure you can not reproduce it when rebuilding without fortify

Thanks, Paul

On 13/10/2012 16:58, Matthew Grant wrote:
Package: puredata Version: 0.43.2-4 Severity: grave

I have a large puerdata patch using GEM that was working early on
last year.

At the moment it is crashing on start with calls to __fortify_fail()
in libc.

There are two pds running, one handling sound and wiimote input, and
a slave doing GEM display work.  They communicate over a TCP socket.

Pure data with the _FORTIFY_SOURCE=2 is not usable for any serious
work, destroying the purpose of the porting and packaing to Debian
The same problems also show up in puredata plugins/libraries with
this turned on as well.  The one that blew up in the same way was
gem-plugin-magick

I know that this is security hardening, and that buffer overflows
are bad in any application, as they tend to go and corrupt the
running application.

But puredata is an interpreted langauge progam used by artists
typically on closed off networks behind a firewall/router. It is
hard enough to get going properly with out this unneeded security
stuff being turned on. Please compile pruedata with _FORTIFY_SOURCE=0
for the whole puredata module stack and dependencies until the causes
of this are fixed upstream.

I am going to try the puredata package compiled with
_FORTIFY_SOURCE=0, and see if I can get my valuable project going
again.

BTW, I am a Debian Developer.

Cheers,

Matthew Grant

PS: Stack dump of setup in line below.

$ cat antigua.sh #!/bin/bash

pd -noaudio -nomidi -lib Gem -nogui boatshed.pd & pd antigua.pd #
Kill 1st pd on exit kill %1

$ ./antigua.sh sys_nmidiin 0, nmidiindev 1

@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ the zexy external  2.2.5 @ @ (l)
forum::für::umläute @ @       iem   @  kug       @ @  compiled:  Nov
22 2011  @ @ send me a 'help' message @ @@@@@@@@@@@@priority 6
scheduling enabled. priority 8 scheduling enabled. @@@@@@@@@@@@@@@@

warning: class 'abs~' overwritten; old one renamed 'abs~_aliased'
matchbox: OSC-pattern matching code (c) Matt Wright, CNMAT warning:
class 'wrap' overwritten; old one renamed 'wrap_aliased' GEM:
Graphics Environment for Multimedia GEM: ver: 0.93.3 GEM: compiled:
Jun 11 2012 GEM: maintained by IOhannes m zmoelnig GEM: Authors :
Mark Danks (original version) GEM:              Chris Clepper GEM:              
Cyrille Henry
GEM:            IOhannes m zmoelnig GEM: with help by Guenter Geiger, Daniel
Heckenberg, James Tittle, Hans-Christoph Steiner, et al. GEM: found a
bug? miss a feature? please report it: GEM:     homepage
http://gem.iem.at/ GEM:         bug-tracker
http://sourceforge.net/projects/pd-gem/ GEM:    mailing-list
http://lists.puredata.info/listinfo/gem-dev/ open: /etc/pd/gem.conf:
No such file or directory open: /home/grantma/.pd/gem.conf: No such
file or directory open: ./gem.conf: No such file or directory GEM:
compiled for SIMD architecture: SSE2 MMX GEM: using SSE2 optimization
load plugins 'image' in '/usr/lib/pd/extra/Gem/' pattern :
/usr/lib/pd/extra/Gem/gem_image*.so GEM: Only using 8 color bits GEM:
Direct Rendering enabled! GEM: GLEW version 1.7.0 GEM: Start
rendering error: [pix_image]: failed to load image
'/home/grantma/Desktop/Situational_Choreo_Project/pd/boat-shed-end.jpg'





verbose(4): ... you might be able to track this down from the Find menu.
priority 6 scheduling enabled. priority 8 scheduling enabled. ***
buffer overflow detected ***: pd terminated ======= Backtrace:
=========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f75d3577f37]
 /lib/x86_64-linux-gnu/libc.so.6(+0xebdf0)[0x7f75d3576df0]
pd[0x49b5c0] pd(pd_typedmess+0x45b)[0x456fab]
pd(outlet_anything+0x4a)[0x458eca] pd(pd_typedmess+0x1db)[0x456d2b]
pd(binbuf_eval+0x90b)[0x4600fb] pd(outlet_list+0x4a)[0x458e3a]
pd[0x455b5c] pd(outlet_float+0x3f)[0x458d0f]
pd(outlet_bang+0x29)[0x458be9] pd(sched_tick+0x77)[0x463047]
pd(m_mainloop+0x1e9)[0x463319]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f75d34a9ead]





pd[0x415161]
======= Memory map: ======== 00400000-004e7000 r-xp 00000000 fe:00
661348                             /usr/bin/puredata
006e6000-006e7000 r--p 000e6000 fe:00 661348 /usr/bin/puredata
006e7000-006e9000 rw-p 000e7000 fe:00 661348 /usr/bin/puredata
006e9000-006f8000 rw-p 00000000 00:00 0 017e5000-018cc000 rw-p
00000000 00:00 0 [heap] 7f75c8fa7000-7f75c8fa8000 r-xp 00000000 fe:00
924698 /usr/lib/pd-extended/extra/creb/ead~.pd_linux
7f75c8fa8000-7f75c91a8000 ---p 00001000 fe:00 924698
/usr/lib/pd-extended/extra/creb/ead~.pd_linux
7f75c91a8000-7f75c91a9000 r--p 00001000 fe:00 924698
/usr/lib/pd-extended/extra/creb/ead~.pd_linux
7f75c91a9000-7f75c91aa000 rw-p 00002000 fe:00 924698
/usr/lib/pd-extended/extra/creb/ead~.pd_linux
7f75c91aa000-7f75c91ab000 r-xp 00000000 fe:00 927354
/usr/lib/pd/extra/ggee/bandpass.pd_linux 7f75c91ab000-7f75c93ab000
---p 00001000 fe:00 927354 /usr/lib/pd/extra/ggee/bandpass.pd_linux
7f75c93ab000-7f75c93ac000 rw-p 00001000 fe:00 927354
/usr/lib/pd/extra/ggee/bandpass.pd_linux 7f75c93ac000-7f75c93b1000
r-xp 00000000 fe:00 927735
/usr/lib/pd/extra/freeverb~/freeverb~.pd_linux
7f75c93b1000-7f75c95b0000 ---p 00005000 fe:00 927735
/usr/lib/pd/extra/freeverb~/freeverb~.pd_linux
7f75c95b0000-7f75c95b1000 rw-p 00004000 fe:00 927735
/usr/lib/pd/extra/freeverb~/freeverb~.pd_linux
7f75c95b1000-7f75c95b7000 r-xp 00000000 fe:00 929301
/usr/lib/pd/extra/cyclone/counter.pd_linux 7f75c95b7000-7f75c97b6000
---p 00006000 fe:00 929301 /usr/lib/pd/extra/cyclone/counter.pd_linux
7f75c97b6000-7f75c97b7000 rw-p 00005000 fe:00 929301
/usr/lib/pd/extra/cyclone/counter.pd_linux 7f75c97b7000-7f75c97e7000
r-xp 00000000 fe:00 926423
/usr/lib/puredata/extra/expr~/expr~.pd_linux
7f75c97e7000-7f75c99e7000 ---p 00030000 fe:00 926423
/usr/lib/puredata/extra/expr~/expr~.pd_linux
7f75c99e7000-7f75c99e8000 r--p 00030000 fe:00 926423
/usr/lib/puredata/extra/expr~/expr~.pd_linux
7f75c99e8000-7f75c99e9000 rw-p 00031000 fe:00 926423
/usr/lib/puredata/extra/expr~/expr~.pd_linux
7f75c99e9000-7f75c9a03000 r-xp 00000000 fe:00 655665
/usr/lib/x86_64-linux-gnu/libbluetooth.so.3.12.0
7f75c9a03000-7f75c9c02000 ---p 0001a000 fe:00 655665
/usr/lib/x86_64-linux-gnu/libbluetooth.so.3.12.0
7f75c9c02000-7f75c9c03000 r--p 00019000 fe:00 655665
/usr/lib/x86_64-linux-gnu/libbluetooth.so.3.12.0
7f75c9c03000-7f75c9c06000 rw-p 0001a000 fe:00 655665
/usr/lib/x86_64-linux-gnu/libbluetooth.so.3.12.0
7f75c9c06000-7f75c9c0f000 r-xp 00000000 fe:00 693562
/usr/lib/libcwiid.so.1.0 7f75c9c0f000-7f75c9e0e000 ---p 00009000
fe:00 693562                     /usr/lib/libcwiid.so.1.0
7f75c9e0e000-7f75c9e0f000 rw-p 00008000 fe:00 693562
/usr/lib/libcwiid.so.1.0 7f75c9e0f000-7f75c9e14000 r-xp 00000000
fe:00 930165 /usr/lib/pd/extra/wiimote/wiimote.pd_linux
7f75c9e14000-7f75ca013000 ---p 00005000 fe:00 930165
/usr/lib/pd/extra/wiimote/wiimote.pd_linux 7f75ca013000-7f75ca014000
rw-p 00004000 fe:00 930165 /usr/lib/pd/extra/wiimote/wiimote.pd_linux
7f75ca014000-7f75ca040000 r-xp 00000000 fe:00 927950
/usr/lib/pd/extra/zexy/zexy.pd_linux 7f75ca040000-7f75ca240000 ---p
0002c000 fe:00 927950 /usr/lib/pd/extra/zexy/zexy.pd_linux
7f75ca240000-7f75ca241000 rw-p 0002c000 fe:00 927950
/usr/lib/pd/extra/zexy/zexy.pd_linux 7f75ca241000-7f75cf0b8000 rw-s
00000000 00:11 37441 /run/shm/jack-1000-0 7f75cf0b8000-7f75cf0cb000
r-xp 00000000 fe:00 395012 /lib/x86_64-linux-gnu/libresolv-2.13.so
7f75cf0cb000-7f75cf2ca000 ---p 00013000 fe:00 395012
/lib/x86_64-linux-gnu/libresolv-2.13.so 7f75cf2ca000-7f75cf2cb000
r--p 00012000 fe:00 395012 /lib/x86_64-linux-gnu/libresolv-2.13.so
7f75cf2cb000-7f75cf2cc000 rw-p 00013000 fe:00 395012
/lib/x86_64-linux-gnu/libresolv-2.13.so 7f75cf2cc000-7f75cf2ce000
rw-p 00000000 00:00 0 7f75cf2ce000-7f75cf2d4000 r-xp 00000000 fe:00
660761 /usr/lib/x86_64-linux-gnu/libogg.so.0.8.0
7f75cf2d4000-7f75cf4d3000 ---p 00006000 fe:00 660761
/usr/lib/x86_64-linux-gnu/libogg.so.0.8.0 7f75cf4d3000-7f75cf4d4000
rw-p 00005000 fe:00 660761 /usr/lib/x86_64-linux-gnu/libogg.so.0.8.0
7f75cf4d4000-7f75cf500000 r-xp 00000000 fe:00 659894
/usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5
7f75cf500000-7f75cf6ff000 ---p 0002c000 fe:00 659894
/usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5
7f75cf6ff000-7f75cf700000 r--p 0002b000 fe:00 659894
/usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5
7f75cf700000-7f75cf701000 rw-p 0002c000 fe:00 659894
/usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5
7f75cf701000-7f75cf9b4000 r-xp 00000000 fe:00 659889
/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7f75cf9b4000-7f75cfbb3000 ---p 002b3000 fe:00 659889
/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7f75cfbb3000-7f75cfbcf000 r--p 002b2000 fe:00 659889
/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7f75cfbcf000-7f75cfbd0000 rw-p 002ce000 fe:00 659889
/usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7f75cfbd0000-7f75cfc1b000 r-xp 00000000 fe:00 668181
/usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0 7f75cfc1b000-7f75cfe1a000
---p 0004b000 fe:00 668181 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0
7f75cfe1a000-7f75cfe1b000 r--p 0004a000 fe:00 668181
/usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0 7f75cfe1b000-7f75cfe1c000
rw-p 0004b000 fe:00 668181 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0
7f75cfe1c000-7f75cfe31000 r-xp 00000000 fe:00 396177
/lib/x86_64-linux-gnu/libnsl-2.13.so 7f75cfe31000-7f75d0030000 ---p
00015000 fe:00 396177 /lib/x86_64-linux-gnu/libnsl-2.13.soPd: signal
6


-- System Information: Debian Release: wheezy/sid APT prefers
unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64)

Kernel: Linux 3.2.23 (SMP w/2 CPU cores; PREEMPT) Locale:
LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8) Shell:
/bin/sh linked to /bin/dash

Versions of packages puredata depends on: ii  puredata-core 0.43.2-4
 ii  puredata-dev    0.43.2-4 ii  puredata-doc    0.43.2-4 ii
puredata-extra  0.43.2-4 ii  puredata-gui    0.43.2-4 ii
puredata-utils  0.43.2-4

Versions of packages puredata recommends: ii  gem  1:0.93.3-5

Versions of packages puredata suggests: ii  pd-aubio   0.3.2-4.2+b1
ii  pd-csound  1:5.17.11~dfsg-2 ii  pd-pdp     1:0.12.5-2 ii pd-zexy
2.2.5-1

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to