← Back to team overview

desktop-packages team mailing list archive

[Bug 818857] Re: _pygi_argument_from_g_value: code should not be reached

 

Why is this invalid, Andrea? Different plugins can crash Gedit, that
should not be possible.

You conclusion seems premature.

Here's a traceback just using the new LaTeX plugin:


$ gdb gedit 
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/gedit...(no debugging symbols found)...done.
(gdb) thread apply all bt
(gdb) run latex.tex
Starting program: /usr/bin/gedit latex.tex
[Thread debugging using libthread_db enabled]
[New Thread 0xb7d48b70 (LWP 4867)]
[New Thread 0xb7547b70 (LWP 4868)]
[New Thread 0xb6bffb70 (LWP 4869)]
2011-08-22 12:58:36,886 ERROR    Environment - /etc/texmf/texmf.cnf not found, using default search paths ['/usr/share/texmf-texlive', '/kyb/agbu/towolf/texmf']
2011-08-22 12:58:36,891 DEBUG    latex.preferences - Prefs singleton constructed
2011-08-22 12:58:36,891 DEBUG    latex.preferences - Prefs get: latex-extensions
2011-08-22 12:58:36,892 DEBUG    latex.preferences - Prefs get: latex-extensions
2011-08-22 12:58:36,893 DEBUG    latex.preferences - Prefs get: latex-extensions
2011-08-22 12:58:36,906 DEBUG    latex.preferences - Prefs get: latex-extensions
2011-08-22 12:58:37,058 DEBUG    JobManager - Created JobManager instance 140746444
2011-08-22 12:58:37,059 DEBUG    latex.preferences - Prefs get: light-foreground-color
2011-08-22 12:58:37,471 DEBUG    ToolPreferences - Constructed
2011-08-22 12:58:37,472 DEBUG    WindowContext - init
2011-08-22 12:58:37,571 DEBUG    latex.preferences - Prefs get: toolbar-mode
2011-08-22 12:58:37,716 DEBUG    LaTeXWindowActivatable - _init_tab_decorators: initialized 0 decorators
2011-08-22 12:58:37,896 DEBUG    LaTeXWindowActivatable - tab_added
2011-08-22 12:58:37,913 DEBUG    GeditTabDecorator - Created <latex.base.decorators.GeditTabDecorator object at 0x883ed6c>
2011-08-22 12:58:37,962 DEBUG    LaTeXWindowActivatable - active_tab_changed
2011-08-22 12:58:37,962 DEBUG    LaTeXWindowActivatable - ---------- ADJUST: None
2011-08-22 12:58:37,963 DEBUG    latex.preferences - Prefs get: latex-extensions

** (gedit:4863): CRITICAL **: Converting of type 'error' is not implemented
**
ERROR:/build/buildd/pygobject-2.28.6/gi/pygi-argument.c:1881:_pygi_argument_from_g_value: code should not be reached

Program received signal SIGABRT, Aborted.
0x00130416 in __kernel_vsyscall ()
(gdb) bt
#0  0x00130416 in __kernel_vsyscall ()
#1  0x00d06c8f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x00d0a2b5 in __GI_abort () at abort.c:92
#3  0x00c02f0e in g_assertion_message (domain=0x0, file=
    0x19682dc "/build/buildd/pygobject-2.28.6/gi/pygi-argument.c", line=1881, func=
    0x19688ef "_pygi_argument_from_g_value", message=<optimized out>)
    at /build/buildd/glib2.0-2.29.16/./glib/gtestutils.c:1425
#4  0x01961fda in _pygi_argument_from_g_value (value=0x8a29414, type_info=0xbfffe6fc)
    at /build/buildd/pygobject-2.28.6/gi/pygi-argument.c:1881
#5  0x01965b71 in pygi_signal_closure_marshal (closure=0x894ddb0, return_value=0x0, n_param_values=2, param_values=
    0x8a29400, invocation_hint=0xbfffe840, marshal_data=0x0)
    at /build/buildd/pygobject-2.28.6/gi/pygi-signal-closure.c:153
#6  0x00b4ea5c in g_closure_invoke (closure=0x894ddb0, return_value=0x0, n_param_values=2, param_values=0x8a29400, 
    invocation_hint=0xbfffe840) at /build/buildd/glib2.0-2.29.16/./gobject/gclosure.c:773
#7  0x00b62ec0 in signal_emit_unlocked_R (node=0x81a46e0, detail=0, instance=0x88eb020, emission_return=0x0, 
    instance_and_params=0x8a29400) at /build/buildd/glib2.0-2.29.16/./gobject/gsignal.c:3271
#8  0x00b6bb8f in g_signal_emit_valist (instance=0x88eb020, signal_id=297, detail=0, var_args=0xbfffe9f0 "\002\200")
    at /build/buildd/glib2.0-2.29.16/./gobject/gsignal.c:3002
#9  0x00b6bd03 in g_signal_emit (instance=0x88eb020, signal_id=297, detail=0)
    at /build/buildd/glib2.0-2.29.16/./gobject/gsignal.c:3059
#10 0x080768f1 in ?? ()
#11 0x080a066a in gedit_marshal_VOID__BOOLEAN_POINTER ()
#12 0x00b4ea5c in g_closure_invoke (closure=0x893f7c0, return_value=0x0, n_param_values=3, param_values=0x89cac90, 
    invocation_hint=0xbfffeba0) at /build/buildd/glib2.0-2.29.16/./gobject/gclosure.c:773
#13 0x00b62ec0 in signal_emit_unlocked_R (node=0x890b550, detail=0, instance=0x8944800, emission_return=0x0, 
    instance_and_params=0x89cac90) at /build/buildd/glib2.0-2.29.16/./gobject/gsignal.c:3271
#14 0x00b6bb8f in g_signal_emit_valist (instance=0x8944800, signal_id=350, detail=0, 
    var_args=0xbfffed54 " \231\032\b") at /build/buildd/glib2.0-2.29.16/./gobject/gsignal.c:3002
#15 0x00b6bd03 in g_signal_emit (instance=0x8944800, signal_id=350, detail=0)
    at /build/buildd/glib2.0-2.29.16/./gobject/gsignal.c:3059
#16 0x08077e12 in gedit_document_loader_loading ()
#17 0x08077ec5 in ?? ()
#18 0x08078127 in ?? ()
#19 0x009eeeab in async_ready_close_callback_wrapper (source_object=0x81a7c00, res=0x895e538, user_data=0xb6ce8100)
    at /build/buildd/glib2.0-2.29.16/./gio/ginputstream.c:484
#20 0x00a01172 in g_simple_async_result_complete (simple=0x895e538)
    at /build/buildd/glib2.0-2.29.16/./gio/gsimpleasyncresult.c:749
#21 0x00a011f3 in complete_in_idle_cb_for_thread (_data=0x89bbda8)
    at /build/buildd/glib2.0-2.29.16/./gio/gsimpleasyncresult.c:816
#22 0x00bd96e0 in g_idle_dispatch (source=0xb6ce6028, callback=0xa011c0 <complete_in_idle_cb_for_thread>, 
    user_data=0x89bbda8) at /build/buildd/glib2.0-2.29.16/./glib/gmain.c:4780
#23 0x00bdd81f in g_main_dispatch (context=0x80fcaa0) at /build/buildd/glib2.0-2.29.16/./glib/gmain.c:2439
#24 g_main_context_dispatch (context=0x80fcaa0) at /build/buildd/glib2.0-2.29.16/./glib/gmain.c:3008
#25 0x00bddf50 in g_main_context_iterate (context=0x80fcaa0, block=12503312, dispatch=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.29.16/./glib/gmain.c:3086
#26 0x00bde55b in g_main_loop_run (loop=0x88c5b40) at /build/buildd/glib2.0-2.29.16/./glib/gmain.c:3294
#27 0x0033b7a5 in gtk_main () from /usr/lib/libgtk-3.so.0
#28 0x08067048 in main ()
(gdb)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/818857

Title:
  _pygi_argument_from_g_value: code should not be reached

Status in “gedit” package in Ubuntu:
  Invalid

Bug description:
  Was working on a text file (Haskell actually) when gedit crashed
  repeatedly on a particular line.

  ERROR:/build/buildd/pygobject-2.28.6/gi/pygi-argument.c:1881:_pygi_argument_from_g_value: code should not be reached
  Aborted (core dumped)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/818857/+subscriptions