After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763962 - GES_INIT failed and crashes on windows 10 laptop
GES_INIT failed and crashes on windows 10 laptop
Status: RESOLVED DUPLICATE of bug 758738
Product: GStreamer
Classification: Platform
Component: gst-editing-services
1.7.91
Other Windows
: High critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-03-21 00:10 UTC by parker
Modified: 2016-04-13 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
DXDiag Laptop (80.96 KB, text/plain)
2016-03-21 00:10 UTC, parker
Details
Crash dump (29.80 KB, image/png)
2016-03-30 18:57 UTC, parker
Details

Description parker 2016-03-21 00:10:05 UTC
Created attachment 324398 [details]
DXDiag Laptop

When we init our engine we also load the dll's for gstreamer, which all load just find... afterwards we call get_init(NULL, NULL) which succeeds. Immediately after we call get_init(). For all our development machines it works just fine but for a specific laptop that we use the ges_init crashes the application we have. the point we are crashing on is ges_init() -> somewhere in gobject-2.0.0 i did downgrade to 1.6.3 and the issue is still on that device. Attached is the dxdiag for the specs of the machine ges crashes on.
Comment 1 Sebastian Dröge (slomo) 2016-03-21 07:02:38 UTC
Thanks for taking the time to report this.
This bug report isn't very useful because it doesn't describe the bug well. If you have time and can still reproduce the bug, please read https://bugzilla.gnome.org/page.cgi?id=bug-writing.html and add a description of how to reproduce this bug.

You'll also need to add a stack trace; please see https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces for more information about how to do so. When providing a better description and pasting a stack trace, please reset the status of this bug report from NEEDINFO to its previous status. Thanks in advance!
Comment 2 parker 2016-03-21 17:57:27 UTC
Thank you Sebastian, I will try to get the stack trace for today.

But the steps to reproduce are simple, 

1) load gstreamer dlls 
Libgobject-2.0-0.dll
Libglib-2.0-0.dll
Libgstapp-1.0-0.dll
Libgstreamer-1.0-0.dll
Libffi-6.dll
Libgcc_s_sjlj-1.dll
Libintl-8.dll

2 ) call gst_init(null, null)

3 ) call ges_init() immediately afterward

Application will crash within step 3 ... 

I realize this might be an edge case for the laptop we are using so I will try to get the stack trace as soon as possible
Comment 3 parker 2016-03-25 18:11:54 UTC
Hi Sebastion, So I built the GStreamer-Editing-Services with debug enabled and I do not seem to get the crash, it seems to only be in release of 1.7.90
Comment 4 parker 2016-03-30 18:57:53 UTC
Created attachment 325040 [details]
Crash dump
Comment 5 parker 2016-03-30 19:00:09 UTC
After running ges on the laptop again we still get the same initialization crash, unfortunately because we build with vs, we don't get any debug symbols.
the attached image is our call stack.

I apologize for the lack of debug info on our end.
Comment 6 Olivier Crête 2016-04-04 09:23:59 UTC
Trying running it in gdb instead of the VS debugger, that should get you a stack trace of the gcc built parts.
Comment 7 parker 2016-04-04 23:13:50 UTC
Hi Olivier, 
 Before I tried running i checked the lib files that i created with cerbero, using nm -a and all my libs just return .0 files and no actual symbol data, when building with cerbero i just build the recipe, is there a different way i should be building these packages, or is there way i can get debug versions of the gst-editing-services build. 

Parker
Comment 8 Sebastian Dröge (slomo) 2016-04-05 11:11:22 UTC
Just run the application in gdb, you will get proper backtraces for all the GStreamer related code.
Comment 9 Sebastian Dröge (slomo) 2016-04-13 15:57:34 UTC
Backtrace from IRC (symbol names are confused by files and line numbers make sense):

(gdb) backtrace
  • #0 type_node_check_conformities_UorL
    at gtype.c line 3460
  • #1 type_node_conforms_to_U
    at gtype.c line 3505
  • #2 g_type_is_a
    at gtype.c line 3532
  • #3 param_gtype_validate
    at gparamspecs.c line 1081
  • #4 g_param_value_validate
    at gparam.c line 668
  • #5 object_set_property
    at gobject.c line 1407
  • #6 g_object_new_internal
    at gobject.c line 1813
  • #7 g_object_new_valist
    at gobject.c line 2038
  • #8 g_initable_new_valist
    at ginitable.c line 224
  • #9 g_initable_new
    at ginitable.c line 146
  • #10 __fu478__gst_debug_min
    at ges-asset.c line 967
  • #11 __fu425__gst_debug_min
    at ges-formatter.c line 484
  • #12 _init_formatter_assets
    at ges-formatter.c line 496
  • #13 ges_asset_cache_init
    at ges-asset.c line 610
  • #14 __fu0__gst_debug_min
    at ges.c line 88
  • #15 ??
  • #16 ??

Comment 10 Tim-Philipp Müller 2016-04-13 16:06:20 UTC
This looks similar to bug #758738 which is related to passing a GType through a vararg function, as done in ges_asset_request():

      asset = g_initable_new (asset_type,
          NULL, NULL, "id", real_id, "extractable-type",
          extractable_type, NULL);
Comment 11 Sebastian Dröge (slomo) 2016-04-13 16:18:07 UTC
Thanks for taking the time to report this.
This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 758738 ***