[Bug 793383] Crashing on iOS: [ALAssetRepresentation release]: message sent to deallocated instance, [GstAssetsLibrary .cxx_destruct] XCode 9.2, iOS 11.2 (15C107)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 13 04:54:53 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=793383

Louis Le <lephihungch at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lephihungch at gmail.com

--- Comment #3 from Louis Le <lephihungch at gmail.com> ---
Hi,
I saw these GStreamer last lines of debug log:

gst-player gstplayer.c:942:tick_cb:<player0>[00m Position 0:00:03.063842062
0:00:17.840929000 [336m 5693[00m 0x7f83e40a6180 [37mTRACE  [00m [00m      
   gst-player gstplayer.c:490:gst_player_dispose:<player0>[00m Stopping main
thread
0:00:17.841182000 [336m 5693[00m 0x7f83e3330320 [37mTRACE  [00m [00m      
   gst-player gstplayer.c:2971:gst_player_main:<player0>[00m Stopped main loop
0:00:17.848277000 [336m 5693[00m 0x7f83e3330320 [37mTRACE  [00m [00m      
   gst-player gstplayer.c:2999:gst_player_main:<player0>[00m Stopped main
thread
0:00:17.848504000 [336m 5693[00m 0x7f83e40a6180 [37mTRACE  [00m [00m      
   gst-player gstplayer.c:513:gst_player_finalize:<player0>[00m Finalizing
2018-02-13 11:47:26.134074+0700 GstPlay[5693:103692] ***
-[ALAssetRepresentation release]: message sent to deallocated instance
0x600000a363c0

And the stacktrace I attached in the first comment. It crash in this line after
play an AVI load from iOS asset library (If we are not play the video then
unref, it's ok but not if we press play): 
gst_object_unref(player);

I and there are more information about crash:
GstPlay`-[GstAssetsLibrary .cxx_destruct]:
    0x10e9058ab <+0>:  pushq  %rbp
    0x10e9058ac <+1>:  movq   %rsp, %rbp
    0x10e9058af <+4>:  pushq  %rbx
    0x10e9058b0 <+5>:  pushq  %rax
    0x10e9058b1 <+6>:  movq   %rdi, %rbx
    0x10e9058b4 <+9>:  movq   0x25e3d75(%rip), %rdi     ;
GstAssetsLibrary.result
    0x10e9058bb <+16>: addq   %rbx, %rdi
    0x10e9058be <+19>: xorl   %esi, %esi
    0x10e9058c0 <+21>: callq  0x110636ab8               ; symbol stub for:
objc_storeStrong
//Crashing line
    0x10e9058c5 <+26>: addq   0x25e3d5c(%rip), %rbx     ;
GstAssetsLibrary.asset (avidemux0:sink (14): EXC_BAD_INSTRUCTION
(code=EXC_I386_INVOP, subcode=0x0)
//
    0x10e9058cc <+33>: xorl   %esi, %esi
    0x10e9058ce <+35>: movq   %rbx, %rdi
    0x10e9058d1 <+38>: addq   $0x8, %rsp
    0x10e9058d5 <+42>: popq   %rbx
    0x10e9058d6 <+43>: popq   %rbp
    0x10e9058d7 <+44>: jmp    0x110636ab8               ; symbol stub for:
objc_storeStrong

(In reply to Sebastian Dröge (slomo) from comment #2)
> Please get a stacktrace with line numbers and also a GStreamer debug log, if
> possible.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list