Csound Csound-dev Csound-tekno Search About

[Csnd] Segmentation fault

Date2017-11-14 13:55
Fromluis jure
Subject[Csnd] Segmentation fault
after pulling the git repository today and compiling as usual, the
csound command returns:

*** stack smashing detected ***: csound terminated

csound command: Aborted

csound command: Segmentation fault



$ uname -a
Linux HP-Envy 4.10.0-38-generic #42-Ubuntu SMP Tue Oct 10 13:24:27 UTC
2017 x86_64 x86_64 x86_64 GNU/Linux


-- 
luis jure
eMe - estudio de música electroacústica
http://www.eumus.edu.uy/eme/
http://www.eumus.edu.uy/docentes/jure/
http://csound.github.io/icsc2017/

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 14:20
FromJohn ff
SubjectRe: [Csnd] Segmentation fault
Not much to go on.  Is this without arguments or with a cad file?  Does -v add anything?



Sent from TypeApp



On Nov 14, 2017, 13:56, at 13:56, luis jure  wrote:
>after pulling the git repository today and compiling as usual, the
>csound command returns:
>
>*** stack smashing detected ***: csound terminated
>
>csound command: Aborted
>
>csound command: Segmentation fault
>
>
>
>$ uname -a
>Linux HP-Envy 4.10.0-38-generic #42-Ubuntu SMP Tue Oct 10 13:24:27 UTC
>2017 x86_64 x86_64 x86_64 GNU/Linux
>
>
>-- 
>luis jure
>eMe - estudio de música electroacústica
>http://www.eumus.edu.uy/eme/
>http://www.eumus.edu.uy/docentes/jure/
>http://csound.github.io/icsc2017/
>
>Csound mailing list
>Csound@listserv.heanet.ie
>https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>Send bugs reports to
>        https://github.com/csound/csound/issues
>Discussions of bugs and features can be posted here
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 14:27
Fromluis jure
SubjectRe: [Csnd] Segmentation fault
el 2017-11-14 a las 14:20 John ff escribió:

> Not much to go on.

i know, but i have no idea how to produce more useful messages.

> Is this without arguments or with a cad file?

with or without arguments the same result.

> Does -v add anything?

nothing whatsoever.




--

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 14:39
Fromjpff
SubjectRe: [Csnd] Segmentation fault
I ave o such problem and have never sen the stack-smashing message.

I gess I would doo a clean and rebuild

That or power-cycle te computer :)


On Tue, 14 Nov 2017, luis jure wrote:

> el 2017-11-14 a las 14:20 John ff escribió:
>
>> Not much to go on.
>
> i know, but i have no idea how to produce more useful messages.
>
>> Is this without arguments or with a cad file?
>
> with or without arguments the same result.
>
>> Does -v add anything?
>
> nothing whatsoever.
>
>
>
>
> --
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 14:40
Fromjpff
SubjectRe: [Csnd] Segmentation fault
Another idea -- run under gdb
    gdb csound
    run



On Tue, 14 Nov 2017, luis jure wrote:

> el 2017-11-14 a las 14:20 John ff escribió:
>
>> Not much to go on.
>
> i know, but i have no idea how to produce more useful messages.
>
>> Is this without arguments or with a cad file?
>
> with or without arguments the same result.
>
>> Does -v add anything?
>
> nothing whatsoever.
>
>
>
>
> --
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 14:51
FromVictor Lazzarini
SubjectRe: [Csnd] Segmentation fault
This might give a clue

https://stackoverflow.com/questions/1345670/stack-smashing-detected

I’d never seen this before.
========================
Prof. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 14 Nov 2017, at 14:39, jpff  wrote:
> 
> I ave o such problem and have never sen the stack-smashing message.
> 
> I gess I would doo a clean and rebuild
> 
> That or power-cycle te computer :)
> 
> 
> On Tue, 14 Nov 2017, luis jure wrote:
> 
>> el 2017-11-14 a las 14:20 John ff escribió:
>> 
>>> Not much to go on.
>> 
>> i know, but i have no idea how to produce more useful messages.
>> 
>>> Is this without arguments or with a cad file?
>> 
>> with or without arguments the same result.
>> 
>>> Does -v add anything?
>> 
>> nothing whatsoever.
>> 
>> 
>> 
>> 
>> --
>> 
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> 
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 15:46
Fromluis jure
SubjectRe: [Csnd] Segmentation fault
el Tue, 14 Nov 2017 14:40:42 +0000
jpff  escribió:

> Another idea -- run under gdb
>     gdb csound
>     run

Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1". *** stack smashing detected
***: /usr/bin/csound terminated

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
58	../sysdeps/unix/sysv/linux/raise.c: No existe el archivo o el
directorio.

(that means the file (raise.c) does not exist)


this only happens on my ubuntu laptop. on my "real" computer (gentoo
linux) csound from latest git seems to run OK.



-- 
luis jure
eMe - estudio de música electroacústica
http://www.eumus.edu.uy/eme/
http://www.eumus.edu.uy/docentes/jure/
http://csound.github.io/icsc2017/

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 20:35
FromGuillermo Senna
SubjectRe: [Csnd] Segmentation fault
Hola Luis,

develop works for me on Ubuntu Studio 17.10. Have you tried 'make clean'
or even cloning the repo into a new folder and building from there?

Cheers.


On 14/11/17 12:46, luis jure wrote:
> el Tue, 14 Nov 2017 14:40:42 +0000
> jpff  escribió:
>
>> Another idea -- run under gdb
>>     gdb csound
>>     run
> Using host libthread_db library
> "/lib/x86_64-linux-gnu/libthread_db.so.1". *** stack smashing detected
> ***: /usr/bin/csound terminated
>
> Program received signal SIGABRT, Aborted.
> __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
> 58	../sysdeps/unix/sysv/linux/raise.c: No existe el archivo o el
> directorio.
>
> (that means the file (raise.c) does not exist)
>
>
> this only happens on my ubuntu laptop. on my "real" computer (gentoo
> linux) csound from latest git seems to run OK.
>
>
>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 20:37
FromSteven Yi
SubjectRe: [Csnd] Segmentation fault
Just another data point, built and ran latest from develop on Xubuntu
16.04 and did not have problems.

On Tue, Nov 14, 2017 at 3:35 PM, Guillermo Senna  wrote:
> Hola Luis,
>
> develop works for me on Ubuntu Studio 17.10. Have you tried 'make clean'
> or even cloning the repo into a new folder and building from there?
>
> Cheers.
>
>
> On 14/11/17 12:46, luis jure wrote:
>> el Tue, 14 Nov 2017 14:40:42 +0000
>> jpff  escribió:
>>
>>> Another idea -- run under gdb
>>>     gdb csound
>>>     run
>> Using host libthread_db library
>> "/lib/x86_64-linux-gnu/libthread_db.so.1". *** stack smashing detected
>> ***: /usr/bin/csound terminated
>>
>> Program received signal SIGABRT, Aborted.
>> __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
>> 58    ../sysdeps/unix/sysv/linux/raise.c: No existe el archivo o el
>> directorio.
>>
>> (that means the file (raise.c) does not exist)
>>
>>
>> this only happens on my ubuntu laptop. on my "real" computer (gentoo
>> linux) csound from latest git seems to run OK.
>>
>>
>>
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 21:14
Fromluis jure
SubjectRe: [Csnd] Segmentation fault
el 2017-11-14 a las 17:35 Guillermo Senna escribió:

> develop works for me on Ubuntu Studio 17.10. Have you tried 'make clean'
> or even cloning the repo into a new folder and building from there?

i always clone into a new directory.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 21:17
Fromluis jure
SubjectRe: [Csnd] Segmentation fault
what i meant is that i *build* in a new clean directory...

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 22:01
Fromluis jure
SubjectRe: [Csnd] Segmentation fault
el 2017-11-14 a las 15:37 Steven Yi escribió:

> Just another data point, built and ran latest from develop on Xubuntu
> 16.04 and did not have problems.

the same here. (i said ubuntu, but it's actually xubuntu, and it's 16.04).

did you update your system recently? i just did the whole update upgrade
dist-upgrade autoremove thing, built afresh, and i get the same result as
before.






--

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-14 22:21
FromSteven Yi
SubjectRe: [Csnd] Segmentation fault
I did update recently from Xubuntu 14.04 to 16.04 just last week, but
the system is maybe a bit unique in that it is installed in parallel
on my Chromebook using crouton.  (Runs in a chroot.)   I'll double
check I'm up to date on packages and try a clean build.  If anyone
else has 16.04 it'd be good to get others' feedback who might have a
more conventional Linux installation.

On Tue, Nov 14, 2017 at 5:01 PM, luis jure  wrote:
> el 2017-11-14 a las 15:37 Steven Yi escribió:
>
>> Just another data point, built and ran latest from develop on Xubuntu
>> 16.04 and did not have problems.
>
> the same here. (i said ubuntu, but it's actually xubuntu, and it's 16.04).
>
> did you update your system recently? i just did the whole update upgrade
> dist-upgrade autoremove thing, built afresh, and i get the same result as
> before.
>
>
>
>
>
>
> --
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-15 04:19
FromSteven Yi
SubjectRe: [Csnd] Segmentation fault
I checked and updated with apt here as well as did a clean build in a
fresh directory.  Latest develop build of Csound compiled and worked
correctly.

One thing you might want to do is clear out your plugins directory
(/usr/local/lib/csound/plugins64-6.0), then reinstall (make install)
csound.  I'm thinking that maybe there is an old Opcode library that
might be hanging around that is causing a problem.

Other than that, I checked the kernel with uname and saw that it is a
different kernel since with crouton and the chroot jail, it is going
to be using the chrome OS's kernel. So this is also not a 1:1
comparison with a normal Xubuntu 16.04 system.


On Tue, Nov 14, 2017 at 5:21 PM, Steven Yi  wrote:
> I did update recently from Xubuntu 14.04 to 16.04 just last week, but
> the system is maybe a bit unique in that it is installed in parallel
> on my Chromebook using crouton.  (Runs in a chroot.)   I'll double
> check I'm up to date on packages and try a clean build.  If anyone
> else has 16.04 it'd be good to get others' feedback who might have a
> more conventional Linux installation.
>
> On Tue, Nov 14, 2017 at 5:01 PM, luis jure  wrote:
>> el 2017-11-14 a las 15:37 Steven Yi escribió:
>>
>>> Just another data point, built and ran latest from develop on Xubuntu
>>> 16.04 and did not have problems.
>>
>> the same here. (i said ubuntu, but it's actually xubuntu, and it's 16.04).
>>
>> did you update your system recently? i just did the whole update upgrade
>> dist-upgrade autoremove thing, built afresh, and i get the same result as
>> before.
>>
>>
>>
>>
>>
>>
>> --
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-15 12:05
Fromluis jure
SubjectRe: [Csnd] Segmentation fault
el 2017-11-14 a las 23:19 Steven Yi escribió:

> I'm thinking that maybe there is an old Opcode library that might be
> hanging around that is causing a problem.

and that was indeed the problem... thank you steven for helping an older
person with these new computer technologies. everything is working now.



--

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-15 21:46
FromSteven Yi
SubjectRe: [Csnd] Segmentation fault
Glad the problem is fixed!  And no worries, computers do not
discriminate against whose lives they will make difficult. I still
remember being younger and spending *two* days to get my soundcard to
work, which ultimately was due to a setting the jumper wrong and
causing an IRQ conflict with another device...

COMPUTERS! (Shakes fist!)  :)


On Wed, Nov 15, 2017 at 7:05 AM, luis jure  wrote:
> el 2017-11-14 a las 23:19 Steven Yi escribió:
>
>> I'm thinking that maybe there is an old Opcode library that might be
>> hanging around that is causing a problem.
>
> and that was indeed the problem... thank you steven for helping an older
> person with these new computer technologies. everything is working now.
>
>
>
> --
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-16 02:44
Fromluis jure
SubjectRe: [Csnd] Segmentation fault
el 2017-11-15 a las 16:46 Steven Yi escribió:

> which ultimately was due to a setting the jumper wrong and
> causing an IRQ conflict with another device...

steven, i'm beginning to believe you're actually older than me. sound
cards with jumpers? when was that? early nineties? i had completely
forgotten about that...

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2017-11-16 03:03
FromSteven Yi
SubjectRe: [Csnd] Segmentation fault
I won't say how old I am, but it was indeed the early nineties! (And
it was a memory from very young days for me. ;) )

On Wed, Nov 15, 2017 at 9:44 PM, luis jure  wrote:
> el 2017-11-15 a las 16:46 Steven Yi escribió:
>
>> which ultimately was due to a setting the jumper wrong and
>> causing an IRQ conflict with another device...
>
> steven, i'm beginning to believe you're actually older than me. sound
> cards with jumpers? when was that? early nineties? i had completely
> forgotten about that...
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here