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 650148 - Segmentation fault on startup
Segmentation fault on startup
Status: RESOLVED INVALID
Product: cheese
Classification: Applications
Component: general
3.0.x
Other Linux
: Normal normal
: 2.32
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-05-13 21:46 UTC by Julian Sikorski
Modified: 2011-09-27 21:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julian Sikorski 2011-05-13 21:46:20 UTC
I am unable to start cheese on Fedora 15 prerelease - the program will always crash on startup:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
  • #0 ??
  • #1 _cogl_get_gl_version
    at driver/gl/cogl-gl.c line 69
  • #2 _cogl_features_init
    at driver/gl/cogl-gl.c line 189
  • #3 cogl_create_context
    at ./cogl-context.c line 124
  • #4 _cogl_context_get_default
    at ./cogl-context.c line 401
  • #5 cogl_features_available
    at ./cogl.c line 392
  • #6 _cogl_texture_2d_can_create
    at ./cogl-texture-2d.c line 171
  • #7 _cogl_texture_2d_new_with_size
    at ./cogl-texture-2d.c line 238
  • #8 cogl_texture_new_with_size
    at ./cogl-texture.c line 389
  • #9 clutter_texture_init
    at ./clutter-texture.c line 1311
  • #10 g_type_create_instance
    at gtype.c line 1889
  • #11 g_object_constructor
    at gobject.c line 1615
  • #12 g_object_newv
    at gobject.c line 1479
  • #13 _clutter_script_construct_object
    at ./clutter-script-parser.c line 1973
  • #14 _clutter_script_construct_object
    at ./clutter-script-parser.c line 1902
  • #15 g_closure_invoke
    at gclosure.c line 767
  • #16 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #17 g_signal_emit_valist
    at gsignal.c line 2983
  • #18 g_signal_emit
    at gsignal.c line 3040
  • #19 json_parse_object
    at ./json-parser.c line 705
  • #20 json_parse_array
    at ./json-parser.c line 462
  • #21 json_parser_load
    at ./json-parser.c line 896
  • #22 json_parser_load_from_file
    at ./json-parser.c line 1005
  • #23 clutter_script_load_from_file
    at ./clutter-script.c line 489
  • #24 cheese_main_window_setup_ui
  • #25 cheese_main_on_app_activate
  • #26 g_closure_invoke
    at gclosure.c line 767
  • #27 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #28 g_signal_emit_valist
    at gsignal.c line 2983
  • #29 g_signal_emit
    at gsignal.c line 3040
  • #30 _start

This is on a Clevo P150HM laptop, which has the following camera:
ID 5986:0343 Acer, Inc
I am using nvidia binary driver. Please let me know if more information is needed.
Comment 1 Julian Sikorski 2011-05-15 11:52:17 UTC
Attempting to run cheese under KDE produces a slightly different trace:

  • #0 ??
  • #1 _cogl_get_gl_version
    at driver/gl/cogl-gl.c line 69
  • #2 _cogl_features_init
    at driver/gl/cogl-gl.c line 189
  • #3 cogl_create_context
    at ./cogl-context.c line 124
  • #4 _cogl_context_get_default
    at ./cogl-context.c line 401
  • #5 cogl_features_available
    at ./cogl.c line 392
  • #6 _cogl_texture_2d_can_create
    at ./cogl-texture-2d.c line 171
  • #7 _cogl_texture_2d_new_with_size
    at ./cogl-texture-2d.c line 238
  • #8 cogl_texture_new_with_size
    at ./cogl-texture.c line 389
  • #9 clutter_texture_init
    at ./clutter-texture.c line 1311
  • #10 g_type_create_instance
    at gtype.c line 1889
  • #11 g_object_constructor
    at gobject.c line 1615
  • #12 g_object_newv
    at gobject.c line 1479
  • #13 _clutter_script_construct_object
    at ./clutter-script-parser.c line 1973
  • #14 _clutter_script_construct_object
    at ./clutter-script-parser.c line 1902
  • #15 g_closure_invoke
    at gclosure.c line 767
  • #16 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #17 g_signal_emit_valist
    at gsignal.c line 2983
  • #18 g_signal_emit
    at gsignal.c line 3040
  • #19 json_parse_object
    at ./json-parser.c line 705
  • #20 json_parse_array
    at ./json-parser.c line 462
  • #21 json_parser_load
    at ./json-parser.c line 896
  • #22 json_parser_load_from_file
    at ./json-parser.c line 1005
  • #23 clutter_script_load_from_file
    at ./clutter-script.c line 489
  • #24 cheese_main_window_setup_ui
    at cheese-window.c line 2344
  • #25 cheese_main_on_app_activate
    at cheese-main.c line 150
  • #26 g_closure_invoke
    at gclosure.c line 767
  • #27 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #28 g_signal_emit_valist
    at gsignal.c line 2983
  • #29 g_signal_emit
    at gsignal.c line 3040
  • #30 cheese_main_real_local_command_line
    at cheese-main.c line 285
  • #31 g_application_run
    at gapplication.c line 1273
  • #32 _vala_main
    at cheese-main.c line 346
  • #33 __libc_start_main
    at libc-start.c line 226
  • #34 _start

Comment 2 David King 2011-09-27 21:10:00 UTC
This looks like it could be the same cause as bug 654913. Can you reproduce the crash with Cheese 3.2.0? The crash should not happen, although it might be the case that cogl fails to initialise and Cheese exits.

It would also be good if you could run Cheese from a terminal and copy any output, such as error messages from cogl, into this bug.
Comment 3 Julian Sikorski 2011-09-27 21:12:59 UTC
This was actually a packaging error caused by rpaths - it is long solved, I just forgot to make a note here. Sorry for the trouble.
https://bugzilla.redhat.com/show_bug.cgi?id=703636