Skip to content

Instantly share code, notes, and snippets.

@ensonic
Created October 2, 2017 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ensonic/e553934f5669cb9397c654c8da4fdb1f to your computer and use it in GitHub Desktop.
Save ensonic/e553934f5669cb9397c654c8da4fdb1f to your computer and use it in GitHub Desktop.
[Switching to Thread 0x7fffb73f8700 (LWP 9040)]
0x00007ffff7749f9c in gstbt_osc_synth_create_sine (self=0x2c96460, ct=5292, samples=0x0) at src/lib/gst/osc-synth.c:203
203 samples[i] = (gint16) (sin (accumulator) * amp);
(gdb) bt
#0 0x00007ffff7749f9c in gstbt_osc_synth_create_sine (self=0x2c96460, ct=5292, samples=0x0) at src/lib/gst/osc-synth.c:203
#1 0x00007ffff774a8f3 in gstbt_osc_synth_process (self=0x2c96460, size=size@entry=5292, data=data@entry=0x0) at src/lib/gst/osc-synth.c:711
#2 0x00007fffd11715b8 in gstbt_e_beats_process (base=0x2c9f320, data=<optimized out>, info=<optimized out>) at src/gst/audio/ebeats.c:215
#3 0x00007ffff7745676 in gstbt_audio_synth_create (basesrc=<optimized out>, offset=<optimized out>, length=<optimized out>, buffer=0x7fffb73f7a20) at src/lib/gst/audiosynth.c:427
#4 0x00007ffff7085819 in gst_base_src_get_range (src=src@entry=0x2c9f320, offset=offset@entry=18446744073709551615, length=length@entry=10584, buf=buf@entry=0x7fffb73f7b28) at gstbasesrc.c:2504
#5 0x00007ffff7087dbb in gst_base_src_loop (pad=0x2c8bb30) at gstbasesrc.c:2804
#6 0x00007ffff6ac6251 in gst_task_func (task=0x2e913b0) at gsttask.c:332
#7 0x00007ffff4ca388c in g_thread_pool_thread_proxy (data=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gthreadpool.c:307
#8 0x00007ffff4ca2f05 in g_thread_proxy (data=0x2c9ead0) at /build/buildd/glib2.0-2.40.2/./glib/gthread.c:764
#9 0x00007ffff7529184 in start_thread (arg=0x7fffb73f8700) at pthread_create.c:312
#10 0x00007ffff4969ffd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
#3 0x00007ffff7745676 in gstbt_audio_synth_create (basesrc=<optimized out>, offset=<optimized out>, length=<optimized out>, buffer=0x7fffb73f7a20) at src/lib/gst/audiosynth.c:427
427 if (!klass->process (src, buf, &info)) {
(gdb) print info
$5 = {memory = 0x0, flags = (unknown: 0), data = 0x0, size = 0, maxsize = 0, user_data = {0x0, 0x0, 0x0, 0x0}, _gst_reserved = {0x0, 0x0, 0x0, 0x0}}
(gdb) print buffer
$6 = (GstBuffer **) 0x7fffb73f7a20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment