Howdy all,
We've found a fun crash on 64 bit iOS related to function pointers with variadic arguments, namely @define mess macro in m_pd.h.
See https://github.com/libpd/libpd/issues/56#issuecomment-33320533
I haven't delved into the pd source yet enough to propose a fix, but a quick hack which calls the function pointers directly without using the mess macro seems to work:
https://github.com/libpd/libpd/issues/49#issuecomment-29535755
This is something that only crashes on the actual hardware and not in the simulator, so I hadn't seen it before since I don't have a fancy new iPhone.
Any PD guru thoughts would be welcome as I (we) would like to find a way to test a change and push a patch upstream.
--------
Dan Wilcox
@danomatika
danomatika.comrobotcowboy.com
Hi,
I am using the library template for PuREST JSON.
This library needs libcurl for compilation, and libcurl throws errors
while cross-compiling for architectures with different word sizes, e.g.
compiling 32-Bit on 64-Bit.
(http://ubuntuforums.org/showthread.php?t=1680426)
To counter this, me.grimm has removed 32-Bit support for Mac OS X, and I
have merged that with my branch.
(https://github.com/megrimm/PuRestJson/commit/c9981507dfc9fb1da763c83d15a86c…)
So: Is 32-Bit on Mac OS X still around?
Also: The version of json-c in fink seems to be 0.10 still, while 0.11
is out for a while. Can someone please update the package?
(https://s3.amazonaws.com/json-c_releases/releases/index.html)
Thanks,
Thomas
--
"When one's home has a really excellent computer capable of reaching
other computers anywhere in the Galaxy, one scarcely needs to budge."
(Janov Pelorat in: Isaac Asimov - Foundation's Edge)
http://www.residuum.org/
---
** [bugs:#1137] [mrpeach/tcpserver] crashes when asking for a client state with a wrong id**
**Status:** open
**Created:** Thu Feb 13, 2014 10:47 AM UTC by Antoine Villeret
**Last Updated:** Thu Feb 13, 2014 10:47 AM UTC
**Owner:** nobody
---
Sent from sourceforge.net because pd-dev(a)lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1136] expr crash with > 9 outlets**
**Status:** open
**Created:** Tue Feb 11, 2014 05:32 PM UTC by Anonymous
**Last Updated:** Tue Feb 11, 2014 05:32 PM UTC
**Owner:** nobody
tested in pd Vanilla 0.44
1) Create [expr 1;2;3;4;5;6;7;8;9;10;11]
2) Delete it
Crash.
---
Sent from sourceforge.net because pd-dev(a)lists.iem.at is subscribed to http://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at http://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1135] [mrpeach/tcpserver] crashes**
**Status:** open
**Created:** Tue Feb 04, 2014 12:35 PM UTC by Antoine Villeret
**Last Updated:** Tue Feb 04, 2014 12:35 PM UTC
**Owner:** Martin Peach
here is a backtrace of the crashes triggered by the patch attached
still on Ubuntu 12.04 64bit / pd0.45-4 / [tcpserver] build from SVN 17262.
~~~~
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x7ffff18fd700 (LWP 6363)]
0x00007ffff73b42cc in __libc_send (fd=<optimized out>, buf=<optimized out>,
n=<optimized out>, flags=<optimized out>)
at ../sysdeps/unix/sysv/linux/x86_64/send.c:33
33 ../sysdeps/unix/sysv/linux/x86_64/send.c: Aucun fichier ou dossier de ce type.
(gdb) thread apply all bt
Thread 1827 (Thread 0x7ffff18fd700 (LWP 6363)):
#0 0x00007ffff73b42cc in __libc_send (fd=<optimized out>,
buf=<optimized out>, n=<optimized out>, flags=<optimized out>)
at ../sysdeps/unix/sysv/linux/x86_64/send.c:33
#1 0x00007ffff3621a4d in tcpserver_broadcast_thread (arg=0x88b710)
at tcpserver.c:963
#2 0x00007ffff73ace9a in start_thread (arg=0x7ffff18fd700)
at pthread_create.c:308
#3 0x00007ffff6ed53fd in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fd5740 (LWP 4424)):
#0 0x00007ffff6e64558 in __GI___libc_free (mem=0x761d70) at malloc.c:2970
#1 0x00007ffff36211c1 in tcpserver_socketreceiver_free (x=0x761d70)
at tcpserver.c:318
#2 tcpserver_notify (x=0x7ffff7ec1010) at tcpserver.c:1048
#3 0x00007ffff3621027 in tcpserver_socketreceiver_read (x=0x761d70, fd=14)
at tcpserver.c:281
#4 0x000000000047b17a in sys_domicrosleep.constprop.3 ()
#5 0x000000000047cf5a in sys_pollgui ()
#6 0x000000000047664e in m_mainloop ()
#7 0x00007ffff6e0276d in __libc_start_main (main=0x411800 <main>, argc=4,
ubp_av=0x7fffffffe128, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffe118) at libc-start.c:226
#8 0x0000000000411831 in _start ()
~~~~
---
Sent from sourceforge.net because pd-dev(a)lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1134] [mrpeach/tcpclient] crashes**
**Status:** open
**Created:** Tue Feb 04, 2014 12:04 PM UTC by Antoine Villeret
**Last Updated:** Tue Feb 04, 2014 12:04 PM UTC
**Owner:** Martin Peach
tcpclient build from SVN 17262 and against pd 0.45-4
on ubuntu 12.04 64 bit
~~~~
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffda593700 (LWP 16125)]
0x0000000000474683 in clock_set ()
Thread 78 (Thread 0x7fffda593700 (LWP 16125)):
#0 0x0000000000474683 in clock_set ()
#1 0x00007fffda795359 in tcpclient_child_send (w=<optimized out>) at tcpclient.c:387
#2 0x00007ffff73ace9a in start_thread (arg=0x7fffda593700) at pthread_create.c:308
#3 0x00007ffff6ed53fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fd5740 (LWP 15392)):
#0 0x00007ffff6ece763 in select () at ../sysdeps/unix/syscall-template.S:82
#1 0x000000000047b10f in sys_domicrosleep.constprop.3 ()
#2 0x0000000000476731 in m_mainloop ()
#3 0x00007ffff6e0276d in __libc_start_main (main=0x411800 <main>, argc=5, ubp_av=0x7fffffffe0e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe0d8) at libc-start.c:226
#4 0x0000000000411831 in _start ()
~~~~
I will post a pd patch if I find a way to reproduce this.
---
Sent from sourceforge.net because pd-dev(a)lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1133] "Save" actions behaves like "Save As"**
**Status:** open
**Created:** Wed Jan 29, 2014 07:26 PM UTC by John Smith
**Last Updated:** Wed Jan 29, 2014 07:26 PM UTC
**Owner:** nobody
I saved some *.pd file. And when I try to press Ctrl+S or click on the File → Save, — I have dialog window ‘Save As’ and when I choose same file, — it asking me about overwrite file.
---
Sent from sourceforge.net because pd-dev(a)lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1132] PD does ignoring (or overwrite) my number of midi channels at start**
**Status:** open
**Created:** Tue Jan 28, 2014 11:15 PM UTC by John Smith
**Last Updated:** Tue Jan 28, 2014 11:15 PM UTC
**Owner:** nobody
I started PD with specify number of midi channels:
pd -alsamidi -midiindev 4 -midioutdev 4
And in PD-log I have:
sys_nmidiin 1, nmidiindev 4
Opened Alsa Client 128 in:1 out:1
And I have just 1 input and 1 output channels, can change it after start, but not before start.
---
Sent from sourceforge.net because pd-dev(a)lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
---
** [bugs:#1131] PD doesn't close by "Quit"**
**Status:** open
**Created:** Tue Jan 28, 2014 11:00 PM UTC by Anonymous
**Last Updated:** Tue Jan 28, 2014 11:00 PM UTC
**Owner:** nobody
When I'm trying to Quit from PD I have this messages in stdout:
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
watchdog: signaling pd...
And PD window doesn't closing. It closing only when I send SIGTERM to PD-process.
---
Sent from sourceforge.net because pd-dev(a)lists.iem.at is subscribed to http://sourceforge.net/p/pure-data/bugs/
To unsubscribe from further messages, a project admin can change settings at http://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.