serfault under arch (again) + profiling
Hi I hit the wall (cpu/chuck performance wise) again, and thought I'd profile chuck with gdb, in the unlikely event something lands in my lap :-) However, I then realized that the chuck I build under arch is segfaulting (have been mentioned here before). So I have two questions: 1) Could anyone help me (and arch users) with getting chuck to run under arch? Some info would be: gcc version 4.4.1, jackdmp version 1.9.2, chuck version 1.2.1.2. I don't know what else to provide, I'll gladly supply all the information needed :-) 2) Has anyone done any profiling or attempts to get chuck to run more efficiently? Are there any work being done in this area? What about the new release (Ge spoke about it a few days ago)? Is there any improvements in there? -- Atte http://atte.dk http://modlys.dk http://virb.com/atte
Atte Andre Jensen wrote:
1) Could anyone help me (and arch users) with getting chuck to run under arch?
Here's a dead-simple chuck-file, that I'm using as a test: 0 => int i; I added 1.000.000 printf statements and it seems that chuck crashes in this line in function Chuck_Instr_Assign_Primitive::execute in file chuck_instr.cpp: *((t_CKUINT *)(*(reg_sp+1))) = *reg_sp; There are other places chuck likes to crash with other input. Some other files crash similar places. Many crashes seem to vanish (or appear later) as I put printf statements in the chuck source. I'm don't know much about anything, but it all seems to me like a memory thing, accessing un-allocated memory or something like that or pointers pointing to some memory they're not supposed to... Could anyone please, have a say? I'd like to investigate further, but I need a few pointers (no pun intended) at this stage. -- Atte http://atte.dk http://modlys.dk http://virb.com/atte
Atte Andre Jensen wrote:
Hi
I hit the wall (cpu/chuck performance wise) again,
Ok, the new release (thanks to all the devs) compiles under arch just fine. It also seem to be more stable under high cpu loads. -- Atte http://atte.dk http://modlys.dk http://virb.com/atte
participants (1)
-
Atte Andre Jensen