Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb function signature differs from declaration
@ 2014-03-14 12:11 Joël Krähemann
  2014-03-14 18:08 ` Tom Tromey
  0 siblings, 1 reply; 2+ messages in thread
From: Joël Krähemann @ 2014-03-14 12:11 UTC (permalink / raw)
  To: gdb

The last stack entry #0 is missing a parameter what could cause this?


AgsRecallID*
ags_channel_recursive_play_init(AgsChannel *channel, gint stage,
  gboolean arrange_recall_id,
  gboolean duplicate_templates, gboolean playback, gboolean sequencer,
gboolean notation,
  gboolean resolve_dependencies,
  AgsRecallID *recall_id)

#0  0x0000000000481b1a in ags_channel_recursive_play_init
(channel=channel@entry=0x7fffdc0c8e20,
arrange_recall_id=arrange_recall_id@entry=0,
duplicate_templates=duplicate_templates@entry=0,
playback=playback@entry=0, sequencer=sequencer@entry=1,
notation=notation@entry=0,
resolve_dependencies=resolve_dependencies@entry=0,
recall_id=0x7fffd60baea0) at ./src/ags/audio/ags_channel.c:3389
#1  0x0000000000466cf7 in ags_audio_recursive_play_init
(audio=0x7fffdc051ba0, playback=playback@entry=0,
sequencer=sequencer@entry=1, notation=notation@entry=0)
at ./src/ags/audio/ags_audio.c:2175
#2  0x00000000004568ea in ags_init_audio_launch (task=<optimized out>)
at ./src/ags/audio/task/ags_init_audio.c:152
#3  0x00007ffff4bca367 in ?? ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007ffff4be2df8 in g_signal_emit_valist ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ffff4be3a52 in g_signal_emit ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x000000000044c906 in ags_task_launch (task=0x7fffd60b12c0)
at ./src/ags/audio/ags_task.c:164
#7  0x00000000004b1a9d in ags_task_thread_run (thread=0x9340b0)
at ./src/ags/thread/ags_task_thread.c:229
#8  0x00007ffff4bca2df in ?? ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007ffff4be2df8 in g_signal_emit_valist ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff4be3a52 in g_signal_emit ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00000000004af406 in ags_thread_run (thread=0x9340b0)
at ./src/ags/thread/ags_thread.c:1716
#12 0x00000000004af797 in ags_thread_loop (ptr=<optimized out>)
at ./src/ags/thread/ags_thread.c:1639
#13 0x00007ffff377a062 in start_thread (arg=0x7fffe708f700) at
pthread_create.c:312
#14 0x00007ffff34aea3d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gdb function signature differs from declaration
  2014-03-14 12:11 gdb function signature differs from declaration Joël Krähemann
@ 2014-03-14 18:08 ` Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2014-03-14 18:08 UTC (permalink / raw)
  To: Joël Krähemann; +Cc: gdb

>>>>> "Joël" == Joël Krähemann <weedlight@gmail.com> writes:

Joël> The last stack entry #0 is missing a parameter what could cause this?

My first suspects would be either that the program is out of date with
respect to the source, or that the debuginfo generated by the compiler
is incorrect.

You can check the latter, perhaps with some difficulty (sorry), using
readelf -wi and searching for the function in question.

Tom


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-14 18:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-14 12:11 gdb function signature differs from declaration Joël Krähemann
2014-03-14 18:08 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox