Csound Csound-dev Csound-tekno Search About

[Cs-dev] Assistance in debugging

Date2005-12-30 20:07
Fromjpff@codemist.co.uk
Subject[Cs-dev] Assistance in debugging
I have a problem on this machine with csound5, in that it says it
cannot create test.wav (despite it creating it and permissions are
OK).  However when I try to run under gdb it fails to load any opcodes
and so fails earlier.  How do I get it to run under gdb?  I have set
OPCODEDIR explicitly.

==John ffitch


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-30 20:19
FromMatt Ingalls
Subject[Cs-dev] request for csoundLib
as to be predicted my problems with garbage printout were my own --
in passing argv/arc i had not allocated memory to one string in the  
array.

this makes me want to add something i have in my csound4 CsoundLib  
version:

print out the commandline within csoundCompile for a sanity check

sound OK?

Matt;
________________________
           matt  ingalls
http://sonomatics.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-30 20:20
FromIstvan Varga
SubjectRe: [Cs-dev] Assistance in debugging
AttachmentsNone  

Date2005-12-30 20:35
Fromjpff
SubjectRe: [Cs-dev] Assistance in debugging
Yes, but this is not happening!  I am in the directory with all teh 
opcodes.  t does not produce the error when run alone, but does under gdb
I know what is supposed to happen; I wanted to know why it did not.
==J



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-30 20:48
FromIstvan Varga
SubjectRe: [Cs-dev] Assistance in debugging
AttachmentsNone  

Date2005-12-30 20:56
FromIstvan Varga
SubjectRe: [Cs-dev] Assistance in debugging
AttachmentsNone  

Date2005-12-30 21:00
Fromjpff
SubjectRe: [Cs-dev] Assistance in debugging
No dynamic libraries; no release

I repeat, run from the xterm it gives an error opening test.wav
Run from gdb it fails to compile the orc as it is missing most opcodes
(and it des not comment on the opcodes)
==J



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-30 21:24
Fromjpff
SubjectRe: [Cs-dev] Assistance in debugging
gdb ./csound

I have traced it to 

458         for (m = (csoundModule_t*) csound->csmodule_db; m != NULL; m = 
m->nxt) {
(gdb) n
494     }
(gdb) n
csoundCompile (csound=0x80e9008, argc=3, argv=)
    at Top/main.c:257

and csound->csmodule_db is NULL

==J



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-30 21:41
FromIstvan Varga
SubjectRe: [Cs-dev] Assistance in debugging
AttachmentsNone  

Date2005-12-30 21:42
FromIain Duncan
SubjectRe: [Cs-dev] request for csoundLib
Hey Matt, do you mind starting a new thread for topic changes instead of 
using reply with a new subject header? Using reply mucks up threaded 
email readers which are really handy for keeping track of all the 
divergent topics on here. Not trying to be harsh or anything, someone 
said the same thing to me last year, leading me discover the joys of 
threaded list readers! ; )

Thanks
Iain

Matt Ingalls wrote:
> as to be predicted my problems with garbage printout were my own --
> in passing argv/arc i had not allocated memory to one string in the  array.
> 
> this makes me want to add something i have in my csound4 CsoundLib  
> version:
> 
> print out the commandline within csoundCompile for a sanity check
> 
> sound OK?
> 
> Matt;
> ________________________
>           matt  ingalls
> http://sonomatics.com
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net