I have been looking at the sources on PMML, and after some work got it to compile. It is in K&R C which is intrinsically unsafe. The segfault happens in strdup called from _get_expression and that is the source of the problems. get_exprssion is #'defined as _get_expression(0) which is the wrong number of arguments. There should be a second argument. I realise that that parameter should be ignored at the start of the function but it ploughs on; that is where the crash comes from #1 0x00007ffff77adc0e in strdup () from /lib64/libc.so.6 #2 0x0000000000405cc3 in _get_expression (asgn_op_type=asgn_op_type@entry=0, lopd=lopd@entry=0x0) at expr.c:201 #3 0x000000000040b05d in scan_args (arg_spec=0x4231ca "iiiiiis:ss", cmd_name=0x631280 "$smfout") at parseut.c:153 #4 0x0000000000411ed1 in do_effclass () at parse.c:2408 #5 0x000000000040fdf4 in parse_cmds (mode=mode@entry=10112) at parse.c:355 #6 0x000000000040fec0 in parse_main () at parse.c:250 #7 0x00000000004028a6 in main (argc=, argv=) at pmml.c:321 Quoting Arthur Pirika : > Hi there. This isn't strictly cSound, but it is to do with musical > programming languages, so thought I'd start here, and ask where I > should go next. My project that I'm working on, and would like help > with is to bring back to life a programming language called PMML, > the practical music macro language written by Satoshi Nishimura. > It's final release was in 1998, however, the code seems to be quite > well documented, and it does compile and run perfectly in windows. > However, I can't get it to run under linux-x64, where it segfaults > every time it tries to parse a file. Also, the manual's in Japanese, > and it would be nice if someone could help translate it to english. > Obviously, I won't say much more here, but if I could be pointed in > the direction I should go to ask for help and bring people on board, > I'd appreciate it a lot. > > thanks! > Arthur > > > Send bugs reports to the Sourceforge bug trackers > csound6: > https://sourceforge.net/p/csound/tickets/ > csound5: > https://sourceforge.net/p/csound/bugs/ > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body > "unsubscribe csound"