Mail Archives: geda-user/2021/05/29/12:39:02
We can try this:
$ cat text.sym
v 20150930 2
T 200 200 -9 10 1 1 0 6 1
refdes=R?
T 800 200 9 10 1 1 0 0 1
value=1k
$
and run this and enter F Q
$ /usr/local/bin/gschem ~/error.sym
$
So, no problem yet with only text.
Now, enable core files
$ ulimit -c 1000000
$ echo 0x77 > /proc/self/coredump_filter
then this and enter E N, gives me an abort.
$ /usr/local/bin/gschem text.sym
** (process:17896): CRITICAL (recursed) **: o_text_get_font_size_in_points: assertion 'object != NULL' failedAborted
$
bt in gdb give me:
Core was generated by `/usr/local/bin/gschem text.sym'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f83fbe2a36b in raise () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f83fb415900 (LWP 18168))]
(gdb) bt
#0 0x00007f83fbe2a36b in raise () at /lib64/libc.so.6
#1 0x00007f83fbe2b5ce in abort () at /lib64/libc.so.6
#2 0x00007f83fc169102 in () at /usr/lib64/libglib-2.0.so.0
#3 0x00007f83fc16a43b in g_logv () at /usr/lib64/libglib-2.0.so.0
#4 0x00007f83fc16a58f in g_log () at /usr/lib64/libglib-2.0.so.0
#5 0x00007f83fc8e6585 in o_text_get_font_size_in_points (object=<optimized out>) at o_text_basic.c:782
#6 0x00007f83fcd5aa09 in () at /usr/lib64/libgedacairo.so.1
#7 0x00007f83fcd5af0e in () at /usr/lib64/libgedacairo.so.1
#8 0x000000e00bd0de9b in o_text_get_rendered_bounds
(user_data=<optimized out>, o_current=0xe00c78e4e0, min_x=0x7ffc0200e498, min_y=0x7ffc0200e4a0, max_x=0x7ffc0200e49c, max_y=0x7ffc0200e4a4) at o_text.c:77
#9 0x00007f83fc8deccf in world_get_single_object_bounds
(toplevel=toplevel AT entry=0xe00c308f00, o_current=o_current AT entry=0xe00c78e4e0, rleft=rleft AT entry=0x7ffc0200e528, rtop=rtop AT entry=0x7ffc0200e52c, rright=rright AT entry=0x7ffc0200e530, rbottom=rbottom AT entry=0x7ffc0200e534) at o_complex_basic.c:158
#10 0x00007f83fc8eb9b1 in s_page_objects_in_regions
(toplevel=toplevel AT entry=0xe00c308f00, page=page AT entry=0xe00c790c60, rects=rects AT entry=0xe00c3d4da0, n_rects=n_rects AT entry=1) at s_page.c:797
#11 0x000000e00bd02a38 in o_redraw_rect
(w_current=0xe00c384420, drawable=<optimized out>, page=0xe00c790c60, geometry=0xe00c7a4fb0, rectangle=0x7ffc0200eba4) at o_basic.c:95
#12 0x000000e00bd161d9 in x_event_expose
(view=<optimized out>, event=<optimized out>, w_current=<optimized out>) at x_event.c:46
#13 0x00007f83fcfdc61c in () at /usr/lib64/libgtk-x11-2.0.so.0
#14 0x00007f83fc25307d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#15 0x00007f83fc266d5e in () at /usr/lib64/libgobject-2.0.so.0
#16 0x00007f83fc270cac in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
#17 0x00007f83fc27198f in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#18 0x00007f83fd0f486c in () at /usr/lib64/libgtk-x11-2.0.so.0
#19 0x00007f83fcfdb402 in gtk_main_do_event () at /usr/lib64/libgtk-x11-2.0.so.0
#20 0x00007f83fcadd14f in () at /usr/lib64/libgdk-x11-2.0.so.0
#21 0x00007f83fcadd0f5 in () at /usr/lib64/libgdk-x11-2.0.so.0
#22 0x00007f83fcad9c21 in () at /usr/lib64/libgdk-x11-2.0.so.0
#23 0x00007f83fcada6cd in gdk_window_process_updates () at /usr/lib64/libgdk-x11-2.0.so.0
#24 0x00007f83fd09445b in () at /usr/lib64/libgtk-x11-2.0.so.0
#25 0x00007f83fc25307d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#26 0x00007f83fc266d5e in () at /usr/lib64/libgobject-2.0.so.0
#27 0x00007f83fc270f28 in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
#28 0x00007f83fc27198f in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#29 0x00007f83fcf241aa in gtk_adjustment_value_changed () at /usr/lib64/libgtk-x11-2.0.so.0
#30 0x00007f83fd090549 in () at /usr/lib64/libgtk-x11-2.0.so.0
#31 0x00007f83fd096b2a in gtk_text_view_scroll_to_iter () at /usr/lib64/libgtk-x11-2.0.so.0
#32 0x000000e00bce6067 in apply_tag_cb
(buffer=<optimized out>, tag=<optimized out>, start=<optimized out>, end=0xe00c744f20, dockable=0xe00c6f
#33 0x00007f83fc25307d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#34 0x00007f83fc266d5e in () at /usr/lib64/libgobject-2.0.so.0
#35 0x00007f83fc270f28 in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
#36 0x00007f83fc27198f in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#37 0x00007f83fd06ff8b in () at /usr/lib64/libgtk-x11-2.0.so.0
#38 0x00007f83fd07352a in gtk_text_buffer_insert_with_tags_by_name () at /usr/lib64/libgtk-x11-2.0.so.0
#39 0x000000e00bce61e1 in log_message (klass=0xe00c737560, message=0xe00c3a5800 "Hidden text is now visible\n", style=0xe00bd2ab28 "message")
at gschem_log_dockable.c:157
#40 0x00007f83fc16a41d in g_logv () at /usr/lib64/libglib-2.0.so.0
#41 0x00007f83fc16a58f in g_log () at /usr/lib64/libglib-2.0.so.0
#42 0x000000e00bd06d5c in o_edit_show_hidden (w_current=0xe00c384420, o_list=0xe00c7c2ae0 = {...}) at o_misc.c:278
#43 0x000000e00bcd54c0 in gschem_action_activate (action=0xe00c3244e0, w_current=0xe00c384420) at gschem_action.c:147
#44 0x000000e00bcd553f in apply_action (smob=0x7f83f878c8c0) at gschem_action.c:361
#45 0x00007f83fc816705 in () at /usr/lib64/libguile-2.0.so.22
#46 0x00007f83fc785fc3 in scm_primitive_eval () at /usr/lib64/libguile-2.0.so.22
#47 0x00007f83fc786023 in scm_eval () at /usr/lib64/libguile-2.0.so.22
#48 0x00007f83fc8166f4 in () at /usr/lib64/libguile-2.0.so.22
#49 0x00007f83fc785a13 in scm_call_4 () at /usr/lib64/libguile-2.0.so.22
#50 0x00007f83fc8d6bcf in g_scm_eval_protected (exp=exp AT entry=0x7f83f840a800, module_or_state=<optimized out>) at g_basic.c:104
#51 0x000000e00bcca122 in g_keys_execute (w_current=w_current AT entry=0xe00c384420, event=event AT entry=0xe00c7cb400) at g_keys.c:397
#52 0x000000e00bd1762b in x_event_key (page_view=<optimized out>, event=0xe00c7cb400, w_current=0xe00c384420) at x_event.c:688
#53 0x00007f83fcfdc61c in () at /usr/lib64/libgtk-x11-2.0.so.0
#54 0x00007f83fc25307d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#55 0x00007f83fc266d5e in () at /usr/lib64/libgobject-2.0.so.0
#56 0x00007f83fc270cac in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
#57 0x00007f83fc27198f in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#58 0x00007f83fd0f486c in () at /usr/lib64/libgtk-x11-2.0.so.0
#59 0x00007f83fd10829f in gtk_window_propagate_key_event () at /usr/lib64/libgtk-x11-2.0.so.0
#60 0x00007f83fd10ad6b in () at /usr/lib64/libgtk-x11-2.0.so.0
#61 0x00007f83fcfdc61c in () at /usr/lib64/libgtk-x11-2.0.so.0
#62 0x00007f83fc25307d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#63 0x00007f83fc2667b8 in () at /usr/lib64/libgobject-2.0.so.0
#64 0x00007f83fc270cac in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
#65 0x00007f83fc27198f in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#66 0x00007f83fd0f486c in () at /usr/lib64/libgtk-x11-2.0.so.0
#67 0x00007f83fcfdaebf in gtk_propagate_event () at /usr/lib64/libgtk-x11-2.0.so.0
#68 0x00007f83fcfdb19b in gtk_main_do_event () at /usr/lib64/libgtk-x11-2.0.so.0
#69 0x00007f83fcaf631c in () at /usr/lib64/libgdk-x11-2.0.so.0
#70 0x00007f83fc16323a in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#71 0x00007f83fc163470 in () at /usr/lib64/libglib-2.0.so.0
#72 0x00007f83fc163732 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#73 0x00007f83fcfda217 in gtk_main () at /usr/lib64/libgtk-x11-2.0.so.0
#74 0x000000e00bccc4ef in main_prog (closure=<optimized out>, argc=<optimized out>, argv=<optimized out>) at gschem.c:449
#75 0x00007f83fc7a36bd in () at /usr/lib64/libguile-2.0.so.22
#76 0x00007f83fc77bcda in () at /usr/lib64/libguile-2.0.so.22
#77 0x00007f83fc8166f4 in () at /usr/lib64/libguile-2.0.so.22
#78 0x00007f83fc785a13 in scm_call_4 () at /usr/lib64/libguile-2.0.so.22
#79 0x00007f83fc77c461 in () at /usr/lib64/libguile-2.0.so.22
#80 0x00007f83fc77c545 in scm_c_with_continuation_barrier () at /usr/lib64/libguile-2.0.so.22
#81 0x00007f83fc7fd60c in () at /usr/lib64/libguile-2.0.so.22
#82 0x00007f83fc4c3e35 in GC_call_with_stack_base () at /usr/lib64/libgc.so.1
#83 0x00007f83fc7fd9a8 in scm_with_guile () at /usr/lib64/libguile-2.0.so.22
#84 0x00007f83fc7a38b2 in scm_boot_guile () at /usr/lib64/libguile-2.0.so.22
#85 0x000000e00bcc83b2 in main (argc=2, argv=0x7ffc02011318) at gschem.c:471
core file at http://aspodata.se/tmp/gschem_EN_core
Regards,
/Karl Hammar
- Raw text -