Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
app-office/glabels substitute
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10308
Location: Córdoba (Spain)

PostPosted: Sat Mar 21, 2020 7:14 pm    Post subject: app-office/glabels substitute Reply with quote

Hi.

Today glabels-3 started segfaulting on my face each time I try to open a print dialog. I suspect it has something to do with a recent glibc update, but I am already fed up with it anyway, so, before gdbing it deeply and try to patch it, I will ask what alternatives do you use, people, use to mass-print labels from a CSV file. I know that there's a qt version around but I find it complicated to use and a bit clunky. Is there anything else around?

I don't need anything too fancy besides code128 support for barcodes.

Thanks!

Code:

$ gdb glabels-3
GNU gdb (Gentoo 9.1 vanilla) 9.1
Copyright (C) 2020 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 "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from glabels-3...
Reading symbols from /usr/lib/debug//usr/bin/glabels-3.debug...
(No debugging symbols found in /usr/lib/debug//usr/bin/glabels-3.debug)
(gdb) run
Starting program: /usr/bin/glabels-3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff34cb700 (LWP 22135)]
[New Thread 0x7ffff2cca700 (LWP 22136)]
[New Thread 0x7ffff2345700 (LWP 22137)]
[New Thread 0x7ffff17a1700 (LWP 22152)]
[New Thread 0x7ffff0fa0700 (LWP 22153)]
[New Thread 0x7fffdbfff700 (LWP 22154)]
[New Thread 0x7fffdb7fe700 (LWP 22155)]
[New Thread 0x7fffdaffd700 (LWP 22156)]
[New Thread 0x7fffda7fc700 (LWP 22157)]
[Thread 0x7fffda7fc700 (LWP 22157) exited]
[Thread 0x7ffff0fa0700 (LWP 22153) exited]
[Thread 0x7fffdb7fe700 (LWP 22155) exited]
[Thread 0x7fffdaffd700 (LWP 22156) exited]
[Thread 0x7ffff17a1700 (LWP 22152) exited]

Thread 1 "glabels-3" received signal SIGSEGV, Segmentation fault.
0x00007ffff6eaef56 in __strlen_sse2 () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6eaef56 in __strlen_sse2 () at /lib64/libc.so.6
#1  0x00007ffff72f058d in g_strjoinv () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff044229a in avahi_service_resolver_cb ()
    at /usr/lib64/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so
#3  0x00007ffff74c8ad3 in g_task_return_now () at /usr/lib64/libgio-2.0.so.0
#4  0x00007ffff74c947d in g_task_return.part () at /usr/lib64/libgio-2.0.so.0
#5  0x00007ffff751dbff in g_dbus_connection_call_done ()
    at /usr/lib64/libgio-2.0.so.0
#6  0x00007ffff74c8ad3 in g_task_return_now () at /usr/lib64/libgio-2.0.so.0
#7  0x00007ffff74c8b09 in complete_in_idle_cb () at /usr/lib64/libgio-2.0.so.0
#8  0x00007ffff72cf401 in g_main_context_dispatch ()
    at /usr/lib64/libglib-2.0.so.0
#9  0x00007ffff72cf7c8 in g_main_context_iterate.isra ()
    at /usr/lib64/libglib-2.0.so.0
#10 0x00007ffff72cfaf3 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#11 0x00007ffff7a3a4d3 in gtk_dialog_run () at /usr/lib64/libgtk-3.so.0
#12 0x00007ffff7c4947e in _gtk_print_operation_platform_backend_run_dialog ()
    at /usr/lib64/libgtk-3.so.0
#13 0x00007ffff7b1eece in gtk_print_operation_run ()
    at /usr/lib64/libgtk-3.so.0
#14 0x000055555557c383 in gl_ui_cmd_file_print ()
#15 0x00007ffff73b4d8d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#16 0x00007ffff73c7a43 in signal_emit_unlocked_R ()
--Type <RET> for more, q to quit, c to continue without paging--
    at /usr/lib64/libgobject-2.0.so.0
#17 0x00007ffff73d07c6 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#18 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#19 0x00007ffff7946b41 in _gtk_action_emit_activate ()
    at /usr/lib64/libgtk-3.so.0
#20 0x00007ffff79470c9 in closure_accel_activate () at /usr/lib64/libgtk-3.so.0
#21 0x00007ffff73b4d8d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#22 0x00007ffff73c7a43 in signal_emit_unlocked_R ()
    at /usr/lib64/libgobject-2.0.so.0
#23 0x00007ffff73cfe53 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#24 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#25 0x00007ffff799cc18 in gtk_accel_group_activate ()
    at /usr/lib64/libgtk-3.so.0
#26 0x00007ffff799e52d in gtk_accel_groups_activate ()
    at /usr/lib64/libgtk-3.so.0
#27 0x00007ffff7c33972 in gtk_window_activate_key ()
    at /usr/lib64/libgtk-3.so.0
#28 0x00007ffff7c33c52 in gtk_window_key_press_event ()
    at /usr/lib64/libgtk-3.so.0
#29 0x00007ffff7c6299c in _gtk_marshal_BOOLEAN__BOXEDv ()
    at /usr/lib64/libgtk-3.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00007ffff73b4fb6 in _g_closure_invoke_va ()
    at /usr/lib64/libgobject-2.0.so.0
#31 0x00007ffff73d0295 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#32 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#33 0x00007ffff7c0f112 in gtk_widget_event_internal ()
    at /usr/lib64/libgtk-3.so.0
#34 0x00007ffff7ad0c41 in propagate_event () at /usr/lib64/libgtk-3.so.0
#35 0x00007ffff7ad2c9b in gtk_main_do_event () at /usr/lib64/libgtk-3.so.0
#36 0x00007ffff780a9f5 in _gdk_event_emit () at /usr/lib64/libgdk-3.so.0
#37 0x00007ffff783c7a2 in gdk_event_source_dispatch ()
    at /usr/lib64/libgdk-3.so.0$ gdb glabels-3
GNU gdb (Gentoo 9.1 vanilla) 9.1
Copyright (C) 2020 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 "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from glabels-3...
Reading symbols from /usr/lib/debug//usr/bin/glabels-3.debug...
(No debugging symbols found in /usr/lib/debug//usr/bin/glabels-3.debug)
(gdb) run
Starting program: /usr/bin/glabels-3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff34cb700 (LWP 22135)]
[New Thread 0x7ffff2cca700 (LWP 22136)]
[New Thread 0x7ffff2345700 (LWP 22137)]
[New Thread 0x7ffff17a1700 (LWP 22152)]
[New Thread 0x7ffff0fa0700 (LWP 22153)]
[New Thread 0x7fffdbfff700 (LWP 22154)]
[New Thread 0x7fffdb7fe700 (LWP 22155)]
[New Thread 0x7fffdaffd700 (LWP 22156)]
[New Thread 0x7fffda7fc700 (LWP 22157)]
[Thread 0x7fffda7fc700 (LWP 22157) exited]
[Thread 0x7ffff0fa0700 (LWP 22153) exited]
[Thread 0x7fffdb7fe700 (LWP 22155) exited]
[Thread 0x7fffdaffd700 (LWP 22156) exited]
[Thread 0x7ffff17a1700 (LWP 22152) exited]

Thread 1 "glabels-3" received signal SIGSEGV, Segmentation fault.
0x00007ffff6eaef56 in __strlen_sse2 () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6eaef56 in __strlen_sse2 () at /lib64/libc.so.6
#1  0x00007ffff72f058d in g_strjoinv () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ffff044229a in avahi_service_resolver_cb ()
    at /usr/lib64/gtk-3.0/3.0.0/printbackends/libprintbackend-cups.so
#3  0x00007ffff74c8ad3 in g_task_return_now () at /usr/lib64/libgio-2.0.so.0
#4  0x00007ffff74c947d in g_task_return.part () at /usr/lib64/libgio-2.0.so.0
#5  0x00007ffff751dbff in g_dbus_connection_call_done ()
    at /usr/lib64/libgio-2.0.so.0
#6  0x00007ffff74c8ad3 in g_task_return_now () at /usr/lib64/libgio-2.0.so.0
#7  0x00007ffff74c8b09 in complete_in_idle_cb () at /usr/lib64/libgio-2.0.so.0
#8  0x00007ffff72cf401 in g_main_context_dispatch ()
    at /usr/lib64/libglib-2.0.so.0
#9  0x00007ffff72cf7c8 in g_main_context_iterate.isra ()
    at /usr/lib64/libglib-2.0.so.0
#10 0x00007ffff72cfaf3 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#11 0x00007ffff7a3a4d3 in gtk_dialog_run () at /usr/lib64/libgtk-3.so.0
#12 0x00007ffff7c4947e in _gtk_print_operation_platform_backend_run_dialog ()
    at /usr/lib64/libgtk-3.so.0
#13 0x00007ffff7b1eece in gtk_print_operation_run ()
    at /usr/lib64/libgtk-3.so.0
#14 0x000055555557c383 in gl_ui_cmd_file_print ()
#15 0x00007ffff73b4d8d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#16 0x00007ffff73c7a43 in signal_emit_unlocked_R ()
--Type <RET> for more, q to quit, c to continue without paging--
    at /usr/lib64/libgobject-2.0.so.0
#17 0x00007ffff73d07c6 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#18 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#19 0x00007ffff7946b41 in _gtk_action_emit_activate ()
    at /usr/lib64/libgtk-3.so.0
#20 0x00007ffff79470c9 in closure_accel_activate () at /usr/lib64/libgtk-3.so.0
#21 0x00007ffff73b4d8d in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#22 0x00007ffff73c7a43 in signal_emit_unlocked_R ()
    at /usr/lib64/libgobject-2.0.so.0
#23 0x00007ffff73cfe53 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#24 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#25 0x00007ffff799cc18 in gtk_accel_group_activate ()
    at /usr/lib64/libgtk-3.so.0
#26 0x00007ffff799e52d in gtk_accel_groups_activate ()
    at /usr/lib64/libgtk-3.so.0
#27 0x00007ffff7c33972 in gtk_window_activate_key ()
    at /usr/lib64/libgtk-3.so.0
#28 0x00007ffff7c33c52 in gtk_window_key_press_event ()
    at /usr/lib64/libgtk-3.so.0
#29 0x00007ffff7c6299c in _gtk_marshal_BOOLEAN__BOXEDv ()
    at /usr/lib64/libgtk-3.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#30 0x00007ffff73b4fb6 in _g_closure_invoke_va ()
    at /usr/lib64/libgobject-2.0.so.0
#31 0x00007ffff73d0295 in g_signal_emit_valist ()
    at /usr/lib64/libgobject-2.0.so.0
#32 0x00007ffff73d0e37 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#33 0x00007ffff7c0f112 in gtk_widget_event_internal ()
    at /usr/lib64/libgtk-3.so.0
#34 0x00007ffff7ad0c41 in propagate_event () at /usr/lib64/libgtk-3.so.0
#35 0x00007ffff7ad2c9b in gtk_main_do_event () at /usr/lib64/libgtk-3.so.0
#36 0x00007ffff780a9f5 in _gdk_event_emit () at /usr/lib64/libgdk-3.so.0
#37 0x00007ffff783c7a2 in gdk_event_source_dispatch ()
    at /usr/lib64/libgdk-3.so.0
#38 0x00007ffff72cf544 in g_main_context_dispatch ()
    at /usr/lib64/libglib-2.0.so.0
#39 0x00007ffff72cf7c8 in g_main_context_iterate.isra ()
    at /usr/lib64/libglib-2.0.so.0
#40 0x00007ffff72cfaf3 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#41 0x00007ffff7ad1d75 in gtk_main () at /usr/lib64/libgtk-3.so.0
#42 0x00005555555781d0 in main ()
(gdb) q
#38 0x00007ffff72cf544 in g_main_context_dispatch ()
    at /usr/lib64/libglib-2.0.so.0
#39 0x00007ffff72cf7c8 in g_main_context_iterate.isra ()
    at /usr/lib64/libglib-2.0.so.0
#40 0x00007ffff72cfaf3 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#41 0x00007ffff7ad1d75 in gtk_main () at /usr/lib64/libgtk-3.so.0
#42 0x00005555555781d0 in main ()
(gdb) q

_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum