Opened 13 years ago

Closed 13 years ago

#196 closed Bug Report (fixed)

SEGV on exit when running from valgrind

Reported by: kfoltman Owned by:
Priority: major Component: Ingen
Keywords: Cc:

Description

==16956== 
==16956== Thread 1:
==16956== Syscall param write(buf) points to uninitialised byte(s)
==16956==    at 0x40007F2: (within /lib/ld-2.7.so)
==16956==    by 0x4046153: jack_client_deliver_request (client.c:249)
==16956==    by 0x40462A5: jack_deactivate (client.c:1879)
==16956==    by 0x561922A: Ingen::JackAudioDriver::deactivate() (JackAudioDriver.cpp:187)
==16956==    by 0x56124DE: Ingen::Engine::deactivate() (Engine.cpp:286)
==16956==    by 0x804AECD: main (main.cpp:245)
==16956==  Address 0xbeedbb64 is on thread 1's stack
==16956== 
==16956== Thread 3:
==16956== Invalid read of size 4
==16956==    at 0x56181EE: Ingen::JackAudioDriver::_process_cb(unsigned) (JackAudioDriver.cpp:326)
==16956==    by 0x5619973: Ingen::JackAudioDriver::process_cb(unsigned, void*) (JackAudioDriver.hpp:153)
==16956==    by 0x40489E1: jack_client_thread (client.c:1601)
==16956==    by 0x45334FA: start_thread (in /lib/tls/i686/cmov/libpthread-2.7.so)
==16956==    by 0x4AA2E5D: clone (in /lib/tls/i686/cmov/libc-2.7.so)
==16956==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==16956== 
==16956== Process terminating with default action of signal 11 (SIGSEGV)
==16956==  Access not within mapped region at address 0x0
==16956==    at 0x56181EE: Ingen::JackAudioDriver::_process_cb(unsigned) (JackAudioDriver.cpp:326)
==16956==    by 0x5619973: Ingen::JackAudioDriver::process_cb(unsigned, void*) (JackAudioDriver.hpp:153)
==16956==    by 0x40489E1: jack_client_thread (client.c:1601)
==16956==    by 0x45334FA: start_thread (in /lib/tls/i686/cmov/libpthread-2.7.so)
==16956==    by 0x4AA2E5D: clone (in /lib/tls/i686/cmov/libc-2.7.so)

Change History (2)

comment:1 Changed 13 years ago by David Robillard

Is this a build with assertions enabled?

comment:2 Changed 13 years ago by David Robillard

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.