Bug#600295: Disassembly
James Collier
james.collier412 at gmail.com
Fri Oct 29 09:41:21 UTC 2010
Disassembly reveals that GST_MINI_OBJECT_GET_CLASS(mini_object) is
returning NULL for mo_class. (See GDB output below).
gstminiobject.c
220 GstMiniObject
221 gst_mini_object_copy (const GstMiniObject *mini_object)
222 {
223 GstMiniObjectClass *mo_class;
224
225 g_return_val_if_fail (mini_object != NULL, NULL);
226
227 mo_class = GST_MINI_OBJECT_GET_CLASS (mini_object);
228
229 return mo_class->copy (mini_object);
230 }
DISASSEMBLY:
0x7ffff74d67d0 <gst_mini_object_copy> sub $0x8,%rsp
0x7ffff74d67d4 <gst_mini_object_copy+4> test %rdi,%rdi
0x7ffff74d67d7 <gst_mini_object_copy+7> je 0x7ffff74d67f0
<gst_mini_object_copy+32>
0x7ffff74d67d9 <gst_mini_object_copy+9> mov (%rdi),%rax
0x7ffff74d67dc <gst_mini_object_copy+12> mov 0x8(%rax),%rax
0x7ffff74d67e0 <gst_mini_object_copy+16> add $0x8,%rsp
0x7ffff74d67e4 <gst_mini_object_copy+20> jmpq *%rax
0x7ffff74d67e6 <gst_mini_object_copy+22> nopw %cs:0x0(%rax,%
rax,1)
0x7ffff74d67f0 <gst_mini_object_copy+32> mov 0x283019(%rip),%
rdi # 0x7ffff7759810
0x7ffff74d67f7 <gst_mini_object_copy+39> lea 0x5786a(%rip),%
rdx # 0x7ffff752e068
0x7ffff74d67fe <gst_mini_object_copy+46> lea 0x57b6b(%rip),%
rsi # 0x7ffff752e370 <__PRETTY
0x7ffff74d6805 <gst_mini_object_copy+53> callq 0x7ffff74a72a0
<g_return_if_fail_warning at plt>
0x7ffff74d680a <gst_mini_object_copy+58> xor %eax,%eax
0x7ffff74d680c <gst_mini_object_copy+60> add $0x8,%rsp
0x7ffff74d6810 <gst_mini_object_copy+64> retq
0x7ffff74d6811 data32 data32 data32 data32 data32 nopw %cs:0x0(%rax,%rax,1
GDB OUTPUT:
p $rax
$1 = 0
More information about the Pkg-webkit-maintainers
mailing list