Re: Two problems

  • From: Geoff <capsthorne@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Sat, 11 Feb 2012 00:07:26 +0000

> On Sat, 11 Feb 2012 08:55:04 +1100
> <tpgww@xxxxxxxxxxx> wrote:
<snip>
> Geoff, if you build your emelFM2 with DEBUG=1, it will enable display of
> line-numbers in backtraces, which would help.

The two examples below have been produced by a fresh compile WITH_GTK3=1 and
DEBUG=1.

> Always going to be hard to find what might be happening in your type 1. If
> you can provide the exact assertion message, I may be able to find it within
> gtk source-files.

I am pasting all that I see after the crash.  Is there any way I can do more to
find the exact assertion message?

I am seeing more of the Type 2's than Type1's at the moment, but the whole
thing does give the appearance of randomness. Files that opened without
problems one moment provoke one or other type of crash the next - then open
without problems again later.

Type 1 :

Gtk:ERROR:gtktextview.c:3723:gtk_text_view_validate_onscreen: assertion failed:
(priv->onscreen_validated) Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) backtrace
#0  0xb7fdd424 in __kernel_vsyscall ()
#1  0xb767607f in raise () from /lib/libc.so.6
#2  0xb7677a05 in abort () from /lib/libc.so.6
#3  0xb789d48e in g_assertion_message () from /usr/lib/libglib-2.0.so.0
#4  0xb789da1f in g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0
#5  0xb7d712eb in ?? () from /usr/lib/libgtk-3.so.0
#6  0xb7d740c0 in ?? () from /usr/lib/libgtk-3.so.0
#7  0xb7d7410c in ?? () from /usr/lib/libgtk-3.so.0
#8  0xb7ad77fe in ?? () from /usr/lib/libgdk-3.so.0
#9  0xb7873ed0 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0xb787801f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0xb7878750 in ?? () from /usr/lib/libglib-2.0.so.0
#12 0xb7878d5b in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0xb7c95a65 in gtk_main () from /usr/lib/libgtk-3.so.0
#14 0x08082db9 in main (argc=1, argv=0xbffffac4) at src/e2_main.c:913

Type 2 :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb28bab40 (LWP 8289)]
0xb796f1b8 in g_type_check_instance_cast () from /usr/lib/libgobject-2.0.so.0
(gdb) backtrace
#0  0xb796f1b8 in g_type_check_instance_cast ()
   from /usr/lib/libgobject-2.0.so.0
#1  0x080e5cb2 in e2_combobox_get (activate_cb=0, activate_data=0x0, 
    history=0x8110c8c, flags=5) at src/utils/e2_combobox.c:652
#2  0x080e5f88 in e2_combobox_add (box=0x841deb8, expand=1, padding=0, 
    activate_cb=0, activate_data=0x0, history=0x8110c8c, flags=5)
    at src/utils/e2_combobox.c:756
#3  0x080d1601 in e2_view_dialog_create_searchbar (rt=0xb1d5d200)
    at src/dialogs/e2_view_dialog.c:1066
#4  0x080d2a03 in _e2_view_dialog_create (
    localpath=0xb1d2e8a0 "/home/me/curiosities/limericks.txt", srt=0x0)
    at src/dialogs/e2_view_dialog.c:1748
#5  0x080d332d in e2_view_dialog_create (
    localpath=0xb1d2e8a0 "/home/me/curiosities/limericks.txt")
    at src/dialogs/e2_view_dialog.c:2039
#6  0x0807a2e4 in e2_task_backend_view (
    localpath=0xb1d2e8a0 "/home/me/curiosities/limericks.txt")
    at src/e2_task_backend.c:2123
#7  0x0807f1ca in _e2_task_viewQ (qed=0x8506460) at src/e2_task.c:3835
#8  0x0807b57a in _e2_task_processnow (rt=0x8506450) at src/e2_task.c:883
#9  0xb77efcac in start_thread () from /lib/libpthread.so.0
#10 0xb773076e in clone () from /lib/libc.so.6

Geoff


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: