[Pkg-electronics-devel] Bug#864041: geda-gschem: Crash randomly when using gEDA.

Kyuma Ohta whatisthis.sowhat at gmail.com
Sat Jun 3 14:15:56 UTC 2017


Package: geda-gschem
Version: 1:1.8.2-6
Severity: important

Dear Maintainer,
Using gEDA, with any mouse-actions ,gEDA crash suddenly: i.e. Selecting parts, movibng part , etc...
I got coredump when crashed and check this.
I found NULL IP reference at garbage-collector inside of lingc (called by libguile)
Please fix.
Best regards,
Ohta.

--- Below is log of debugging with GDB ---
(gdb) info threads
  Id   Target Id         Frame 
* 1    Thread 0x7f39b98003c0 (LWP 14817) 0x0000000000000000 in ?? ()
  2    Thread 0x7f39ad814700 (LWP 14826) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  3    Thread 0x7f39b081a700 (LWP 14820) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  4    Thread 0x7f39a98d2700 (LWP 14827) 0x00007f39b6dd26ad in poll () at ../sysdeps/unix/syscall-template.S:84
  5    Thread 0x7f39a90d1700 (LWP 14828) 0x00007f39b6dd26ad in poll () at ../sysdeps/unix/syscall-template.S:84
  6    Thread 0x7f39b0019700 (LWP 14821) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  7    Thread 0x7f39af818700 (LWP 14822) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  8    Thread 0x7f39ae015700 (LWP 14825) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  9    Thread 0x7f39ae816700 (LWP 14824) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  10   Thread 0x7f39af017700 (LWP 14823) pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
(gdb) where
#0  0x0000000000000000 in  ()
#1  0x00007f39b2e269f9 in GC_finalize () at /usr/lib/x86_64-linux-gnu/libgc.so.1
#2  0x00007f39b2e2282b in GC_finish_collection () at /usr/lib/x86_64-linux-gnu/libgc.so.1
#3  0x00007f39b2e22f5d in GC_try_to_collect_inner () at /usr/lib/x86_64-linux-gnu/libgc.so.1
#4  0x00007f39b2e237c4 in GC_collect_or_expand () at /usr/lib/x86_64-linux-gnu/libgc.so.1
#5  0x00007f39b2e2896b in GC_alloc_large () at /usr/lib/x86_64-linux-gnu/libgc.so.1
#6  0x00007f39b2e28d13 in GC_generic_malloc () at /usr/lib/x86_64-linux-gnu/libgc.so.1
#7  0x00007f39b2e28fed in GC_core_malloc () at /usr/lib/x86_64-linux-gnu/libgc.so.1
#8  0x00007f39b7adfa6f in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#9  0x00007f39b7adfcde in scm_gc_malloc () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#10 0x00007f39b7ac1333 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#11 0x00007f39b7b7de8b in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#12 0x00007f39b7b9cf08 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#13 0x00007f39b7accfad in scm_primitive_eval () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#14 0x00007f39b7acd067 in scm_eval () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#15 0x00007f39b7b71e36 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#16 0x00007f39b7b43ca0 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#17 0x00007f39b7b7c4f3 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#18 0x00007f39b7b9cf08 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#19 0x00007f39b7acc5ab in scm_call_4 () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#20 0x00007f39b7b71c8c in scm_catch_with_pre_unwind_handler () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#21 0x00007f39b7b71f0e in scm_c_catch () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#22 0x00007f39b77f82cf in g_scm_eval_protected () at /usr/lib/x86_64-linux-gnu/libgeda.so.42
#23 0x00005611f1fccae2 in g_keys_execute (w_current=w_current at entry=0x5611f26ac760, event=event at entry=0x5611f3b09e00) at g_keys.c:596
#24 0x00005611f1ff980e in x_event_key (widget=widget at entry=0x5611f2d0a710 [GtkDrawingArea], event=0x5611f3b09e00, w_current=0x5611f26ac760) at x_event.c:1257
#25 0x00007f39b913c7bc in _gtk_marshal_BOOLEAN__BOXED (closure=0x5611f2cb20a0, return_value=0x7ffcf3ee4a90, n_param_values=<optimized out>, param_values=0x7ffcf3ee4af0, invocation_hint=<optimized out>, marshal_data=<optimized out>) at ./gtk/gtkmarshalers.c:86
#26 0x00007f39b816af75 in g_closure_invoke (closure=0x5611f2cb20a0, return_value=return_value at entry=0x7ffcf3ee4a90, n_param_values=2, param_values=param_values at entry=0x7ffcf3ee4af0, invocation_hint=invocation_hint at entry=0x7ffcf3ee4a70) at ././gobject/gclosure.c:804
#27 0x00007f39b817cf82 in signal_emit_unlocked_R (node=node at entry=0x5611f261a270, detail=detail at entry=0, instance=instance at entry=0x5611f2d0a710, emission_return=emission_return at entry=0x7ffcf3ee4c00, instance_and_params=instance_and_params at entry=0x7ffcf3ee4af0)
    at ././gobject/gsignal.c:3635
#28 0x00007f39b818567f in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args at entry=0x7ffcf3ee4cb0) at ././gobject/gsignal.c:3401
#29 0x00007f39b8185fbf in <emit signal ??? on instance 0x5611f2d0a710 [GtkDrawingArea]> (instance=instance at entry=0x5611f2d0a710, signal_id=<optimized out>, detail=detail at entry=0) at ././gobject/gsignal.c:3447
#30 0x00007f39b92548ac in gtk_widget_event_internal (widget=widget at entry=0x5611f2d0a710 [GtkDrawingArea], event=event at entry=0x5611f3b09e00) at ./gtk/gtkwidget.c:5010
#31 0x00007f39b9254b77 in IA__gtk_widget_event (widget=widget at entry=0x5611f2d0a710 [GtkDrawingArea], event=event at entry=0x5611f3b09e00)
    at ./gtk/gtkwidget.c:4807
#32 0x00007f39b92682df in IA__gtk_window_propagate_key_event (window=window at entry=0x5611f279c0f0 [GtkWindow], event=event at entry=0x5611f3b09e00) at ./gtk/gtkwindow.c:5199
#33 0x00007f39b926adab in gtk_window_key_press_event (widget=0x5611f279c0f0 [GtkWindow], event=0x5611f3b09e00) at ./gtk/gtkwindow.c:5229
#34 0x00007f39b913c7bc in _gtk_marshal_BOOLEAN__BOXED (closure=0x5611f261a520, return_value=0x7ffcf3ee4fa0, n_param_values=<optimized out>, param_values=0x7ffcf3ee5000, invocation_hint=<optimized out>, marshal_data=<optimized out>) at ./gtk/gtkmarshalers.c:86
#35 0x00007f39b816af75 in g_closure_invoke (closure=closure at entry=0x5611f261a520, return_value=return_value at entry=0x7ffcf3ee4fa0, n_param_values=2, param_values=param_values at entry=0x7ffcf3ee5000, invocation_hint=invocation_hint at entry=0x7ffcf3ee4f80)
    at ././gobject/gclosure.c:804
#36 0x00007f39b817d37d in signal_emit_unlocked_R (node=node at entry=0x5611f261a270, detail=detail at entry=0, instance=instance at entry=0x5611f279c0f0, emission_return=emission_return at entry=0x7ffcf3ee5110, instance_and_params=instance_and_params at entry=0x7ffcf3ee5000)
    at ././gobject/gsignal.c:3673
#37 0x00007f39b818567f in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args at entry=0x7ffcf3ee51c0) at ././gobject/gsignal.c:3401
#38 0x00007f39b8185fbf in <emit signal ??? on instance 0x5611f279c0f0 [GtkWindow]> (instance=instance at entry=0x5611f279c0f0, signal_id=<optimized out>, detail=detail at entry=0) at ././gobject/gsignal.c:3447
#39 0x00007f39b92548ac in gtk_widget_event_internal (widget=widget at entry=0x5611f279c0f0 [GtkWindow], event=event at entry=0x5611f3b09e00)
    at ./gtk/gtkwidget.c:5010
#40 0x00007f39b9254b77 in IA__gtk_widget_event (widget=widget at entry=0x5611f279c0f0 [GtkWindow], event=event at entry=0x5611f3b09e00)
    at ./gtk/gtkwidget.c:4807
#41 0x00007f39b913b05f in IA__gtk_propagate_event (widget=0x5611f279c0f0 [GtkWindow], event=0x5611f3b09e00) at ./gtk/gtkmain.c:2475
#42 0x00007f39b913b33b in IA__gtk_main_do_event (event=0x5611f3b09e00) at ./gtk/gtkmain.c:1696
#43 0x00007f39b8dadcbc in gdk_event_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>)
    at ./gdk/x11/gdkevents-x11.c:2425
#44 0x00007f39b7e8d7f7 in g_main_dispatch (context=0x5611f26080f0) at ././glib/gmain.c:3203
#45 0x00007f39b7e8d7f7 in g_main_context_dispatch (context=context at entry=0x5611f26080f0) at ././glib/gmain.c:3856
#46 0x00007f39b7e8da60 in g_main_context_iterate (context=0x5611f26080f0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ././glib/gmain.c:3929
#47 0x00007f39b7e8dd82 in g_main_loop_run (loop=0x5611f2f10df0) at ././glib/gmain.c:4125
#48 0x00007f39b913a3b7 in IA__gtk_main () at ./gtk/gtkmain.c:1268
#49 0x00005611f1fcf59b in main_prog (closure=<optimized out>, argc=<optimized out>, argv=<optimized out>) at gschem.c:330
#50 0x00007f39b7af5dd3 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#51 0x00007f39b7ac1adc in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#52 0x00007f39b7b71e36 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#53 0x00007f39b7b43ca0 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#54 0x00007f39b7b7c4f3 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#55 0x00007f39b7b9cf08 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#56 0x00007f39b7acc5ab in scm_call_4 () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#57 0x00007f39b7b71c8c in scm_catch_with_pre_unwind_handler () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#58 0x00007f39b7b71f0e in scm_c_catch () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#59 0x00007f39b7ac192b in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#60 0x00007f39b7ac1bf4 in scm_c_with_continuation_barrier () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#61 0x00007f39b7b6ebea in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#62 0x00007f39b2e2e3c2 in GC_call_with_stack_base () at /usr/lib/x86_64-linux-gnu/libgc.so.1
#63 0x00007f39b7b6ecd3 in  () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#64 0x00007f39b7b6ed13 in scm_with_guile () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#65 0x00007f39b7af5d64 in scm_boot_guile () at /usr/lib/x86_64-linux-gnu/libguile-2.0.so.22
#66 0x00005611f1fc8fb3 in main (argc=1, argv=0x7ffcf3ee6818) at gschem.c:355
(gdb) 




*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages geda-gschem depends on:
ii  geda-symbols         1:1.8.2-6
ii  guile-2.0-libs       2.0.13+1-4
ii  libc6                2.24-11
ii  libcairo2            1.14.8-1
ii  libgdk-pixbuf2.0-0   2.36.5-2
ii  libgeda42            1:1.8.2-6
ii  libglib2.0-0         2.50.3-2
ii  libgtk2.0-0          2.24.31-2
ii  libpango-1.0-0       1.40.5-1
ii  libpangocairo-1.0-0  1.40.5-1
ii  libstroke0           0.5.1-9

Versions of packages geda-gschem recommends:
ii  extra-xdg-menus  1.0-4

geda-gschem suggests no packages.

-- no debconf information



More information about the Pkg-electronics-devel mailing list