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)
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.org/ licenses/ gpl.html> bugs.launchpad. net/gdb- linaro/>... gedit.. .(no debugging symbols found)...done. texmf.cnf not found, using default search paths ['/usr/ share/texmf- texlive' , '/kyb/agbu/ towolf/ texmf'] d-color vatable - _init_tab_ decorators: initialized 0 decorators vatable - tab_added base.decorators .GeditTabDecora tor object at 0x883ed6c> vatable - active_tab_changed vatable - ---------- ADJUST: None
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://
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://
Reading symbols from /usr/bin/
(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/
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-foregroun
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 LaTeXWindowActi
2011-08-22 12:58:37,896 DEBUG LaTeXWindowActi
2011-08-22 12:58:37,913 DEBUG GeditTabDecorator - Created <latex.
2011-08-22 12:58:37,962 DEBUG LaTeXWindowActi
2011-08-22 12:58:37,962 DEBUG LaTeXWindowActi
2011-08-22 12:58:37,963 DEBUG latex.preferences - Prefs get: latex-extensions
** (gedit:4863): CRITICAL **: Converting of type 'error' is not implemented build/buildd/ pygobject- 2.28.6/ gi/pygi- argument. c:1881: _pygi_argument_ from_g_ value: code should not be reached
**
ERROR:/
Program received signal SIGABRT, Aborted. sysdeps/ unix/sysv/ linux/raise. c:64 buildd/ pygobject- 2.28.6/ gi/pygi- argument. c", line=1881, func= argument_ from_g_ value", message=<optimized out>) buildd/ glib2.0- 2.29.16/ ./glib/ gtestutils. c:1425 from_g_ value (value=0x8a29414, type_info= 0xbfffe6fc) buildd/ pygobject- 2.28.6/ gi/pygi- argument. c:1881 closure_ marshal (closure=0x894ddb0, return_value=0x0, n_param_values=2, param_values= hint=0xbfffe840 , marshal_data=0x0) buildd/ pygobject- 2.28.6/ gi/pygi- signal- closure. c:153 0x8a29400, hint=0xbfffe840 ) at /build/ buildd/ glib2.0- 2.29.16/ ./gobject/ gclosure. c:773 emit_unlocked_ R (node=0x81a46e0, detail=0, instance=0x88eb020, emission_ return= 0x0, and_params= 0x8a29400) at /build/ buildd/ glib2.0- 2.29.16/ ./gobject/ gsignal. c:3271 emit_valist (instance= 0x88eb020, signal_id=297, detail=0, var_args=0xbfffe9f0 "\002\200") buildd/ glib2.0- 2.29.16/ ./gobject/ gsignal. c:3002 0x88eb020, signal_id=297, detail=0) buildd/ glib2.0- 2.29.16/ ./gobject/ gsignal. c:3059 VOID__BOOLEAN_ POINTER () 0x89cac90, hint=0xbfffeba0 ) at /build/ buildd/ glib2.0- 2.29.16/ ./gobject/ gclosure. c:773 emit_unlocked_ R (node=0x890b550, detail=0, instance=0x8944800, emission_ return= 0x0, and_params= 0x89cac90) at /build/ buildd/ glib2.0- 2.29.16/ ./gobject/ gsignal. c:3271 emit_valist (instance= 0x8944800, signal_id=350, detail=0, args=0xbfffed54 " \231\032\b") at /build/ buildd/ glib2.0- 2.29.16/ ./gobject/ gsignal. c:3002 0x8944800, signal_id=350, detail=0) buildd/ glib2.0- 2.29.16/ ./gobject/ gsignal. c:3059 loader_ loading () close_callback_ wrapper (source_ object= 0x81a7c00, res=0x895e538, user_data= 0xb6ce8100) buildd/ glib2.0- 2.29.16/ ./gio/ginputstr eam.c:484 async_result_ complete (simple=0x895e538) buildd/ glib2.0- 2.29.16/ ./gio/gsimpleas yncresult. c:749 in_idle_ cb_for_ thread (_data=0x89bbda8) buildd/ glib2.0- 2.29.16/ ./gio/gsimpleas yncresult. c:816 in_idle_ cb_for_ thread> , data=0x89bbda8) at /build/ buildd/ glib2.0- 2.29.16/ ./glib/ gmain.c: 4780 buildd/ glib2.0- 2.29.16/ ./glib/ gmain.c: 2439 context_ dispatch (context=0x80fcaa0) at /build/ buildd/ glib2.0- 2.29.16/ ./glib/ gmain.c: 3008 context_ iterate (context=0x80fcaa0, block=12503312, dispatch=1, self=<optimized out>) buildd/ glib2.0- 2.29.16/ ./glib/ gmain.c: 3086 buildd/ glib2.0- 2.29.16/ ./glib/ gmain.c: 3294 libgtk- 3.so.0
0x00130416 in __kernel_vsyscall ()
(gdb) bt
#0 0x00130416 in __kernel_vsyscall ()
#1 0x00d06c8f in __GI_raise (sig=6) at ../nptl/
#2 0x00d0a2b5 in __GI_abort () at abort.c:92
#3 0x00c02f0e in g_assertion_message (domain=0x0, file=
0x19682dc "/build/
0x19688ef "_pygi_
at /build/
#4 0x01961fda in _pygi_argument_
at /build/
#5 0x01965b71 in pygi_signal_
0x8a29400, invocation_
at /build/
#6 0x00b4ea5c in g_closure_invoke (closure=0x894ddb0, return_value=0x0, n_param_values=2, param_values=
invocation_
#7 0x00b62ec0 in signal_
instance_
#8 0x00b6bb8f in g_signal_
at /build/
#9 0x00b6bd03 in g_signal_emit (instance=
at /build/
#10 0x080768f1 in ?? ()
#11 0x080a066a in gedit_marshal_
#12 0x00b4ea5c in g_closure_invoke (closure=0x893f7c0, return_value=0x0, n_param_values=3, param_values=
invocation_
#13 0x00b62ec0 in signal_
instance_
#14 0x00b6bb8f in g_signal_
var_
#15 0x00b6bd03 in g_signal_emit (instance=
at /build/
#16 0x08077e12 in gedit_document_
#17 0x08077ec5 in ?? ()
#18 0x08078127 in ?? ()
#19 0x009eeeab in async_ready_
at /build/
#20 0x00a01172 in g_simple_
at /build/
#21 0x00a011f3 in complete_
at /build/
#22 0x00bd96e0 in g_idle_dispatch (source=0xb6ce6028, callback=0xa011c0 <complete_
user_
#23 0x00bdd81f in g_main_dispatch (context=0x80fcaa0) at /build/
#24 g_main_
#25 0x00bddf50 in g_main_
at /build/
#26 0x00bde55b in g_main_loop_run (loop=0x88c5b40) at /build/
#27 0x0033b7a5 in gtk_main () from /usr/lib/
#28 0x08067048 in main ()
(gdb)