[Users] Segfault in PDF viewer plugin / today's CVS
Philippe Gramoullé
philippe at gramoulle.com
Sun Nov 13 20:40:34 CET 2011
Hello,
I've checked out a fresh CVS repository today and i got a segfault while using the PDF viewer plugin:
Steps to reproduce (it segfaults everytime):
1) Open Claws-mail
2) Open mail with PDF attachment
3) Click on the PDF icon (right part of the screen)
4) In the PDF icon toolbar, click the "Document Info" icon
5) Claws-Mail segfaults
System is Linux 3.0 kernel on Debian SID, amd64.
Console ouput and GDB backtrace below.
Thanks,
Philippe
user at darkstar:~$ file /usr/local/sylpheed-claws-cvs-gtk2/bin/claws-mail
/usr/local/sylpheed-claws-cvs-gtk2/bin/claws-mail: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0xebc3b451ab9b2a967786086ebbad293439963da5, not stripped
user at darkstar:~$ gdb /usr/local/sylpheed-claws-cvs-gtk2/bin/claws-mail
GNU gdb (GDB) 7.3-debian
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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/sylpheed-claws-cvs-gtk2/bin/claws-mail...done.
(gdb) run
Starting program: /usr/local/sylpheed-claws-cvs-gtk2/bin/claws-mail
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe8790700 (LWP 842)]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff769640e in IA__gtk_label_new (str=0x7fff00000001 <Address 0x7fff00000001 out of bounds>) at /scratch/build-area/gtk+2.0-2.24.6/gtk/gtklabel.c:1398
1398 /scratch/build-area/gtk+2.0-2.24.6/gtk/gtklabel.c: No such file or directory.
in /scratch/build-area/gtk+2.0-2.24.6/gtk/gtklabel.c
(gdb) thread apply all bt full
Thread 2 (Thread 0x7fffe8790700 (LWP 842)):
#0 0x00007ffff49522c4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007ffff401b38b in mailsem_internal_wait () from /usr/lib/libetpan.so.15
No symbol table info available.
#2 0x00000000005df849 in thread_run (data=0xcd89c0) at etpan-thread-manager.c:324
do_quit = <optimized out>
op = <optimized out>
thread = 0xcd89c0
r = <optimized out>
#3 0x00007ffff494db40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#4 0x00007ffff305d36d in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#5 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 1 (Thread 0x7ffff7fb89a0 (LWP 839)):
#0 0x00007ffff769640e in IA__gtk_label_new (str=0x7fff00000001 <Address 0x7fff00000001 out of bounds>) at /scratch/build-area/gtk+2.0-2.24.6/gtk/gtklabel.c:1398
label = 0xe35b60
#1 0x00007fffe966f0a9 in pdf_viewer_fill_info_table () from /usr/local/sylpheed-claws-cvs-gtk2/lib/claws-mail/plugins/pdf_viewer.so
No symbol table info available.
#2 0x00007fffe9670db9 in pdf_viewer_button_document_info_cb () from /usr/local/sylpheed-claws-cvs-gtk2/lib/claws-mail/plugins/pdf_viewer.so
No symbol table info available.
#3 0x00007ffff5ae6e7e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#4 0x00007ffff5af88d7 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#5 0x00007ffff5b01d05 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#6 0x00007ffff5b01ed3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7 0x00007ffff75fbb85 in gtk_real_button_released (button=0xdd0ec0) at /scratch/build-area/gtk+2.0-2.24.6/gtk/gtkbutton.c:1725
No locals.
#8 gtk_real_button_released (button=0xdd0ec0) at /scratch/build-area/gtk+2.0-2.24.6/gtk/gtkbutton.c:1715
No locals.
#9 0x00007ffff5ae6e7e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#10 0x00007ffff5af809c in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x00007ffff5b01d05 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0x00007ffff5b01ed3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0x00007ffff75fa9ad in gtk_button_button_release (widget=<optimized out>, event=<optimized out>) at /scratch/build-area/gtk+2.0-2.24.6/gtk/gtkbutton.c:1617
button = <optimized out>
#14 0x00007ffff76a45c8 in _gtk_marshal_BOOLEAN__BOXED (closure=0x9ce0d0, return_value=0x7fffffffd9a0, n_param_values=<optimized out>, param_values=0xd06600, invocation_hint=<optimized out>, marshal_data=<optimized out>)
at /scratch/build-area/gtk+2.0-2.24.6/gtk/gtkmarshalers.c:86
callback = 0x7ffff75fa990 <gtk_button_button_release>
cc = 0x9ce0d0
data1 = 0xdd0ec0
data2 = <optimized out>
v_return = <optimized out>
__PRETTY_FUNCTION__ = "_gtk_marshal_BOOLEAN__BOXED"
#15 0x00007ffff5ae6e7e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0x00007ffff5af86e8 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#17 0x00007ffff5b01aa5 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0x00007ffff5b01ed3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#19 0x00007ffff77bd411 in gtk_widget_event_internal (widget=0xdd0ec0, event=0xc85e60) at /scratch/build-area/gtk+2.0-2.24.6/gtk/gtkwidget.c:4984
signal_num = <optimized out>
return_val = 0
#20 0x00007ffff76a27c3 in IA__gtk_propagate_event (widget=0xdd0ec0, event=0xc85e60) at /scratch/build-area/gtk+2.0-2.24.6/gtk/gtkmain.c:2489
tmp = <optimized out>
handled_event = <optimized out>
__PRETTY_FUNCTION__ = "IA__gtk_propagate_event"
#21 0x00007ffff76a2b23 in IA__gtk_main_do_event (event=0xc85e60) at /scratch/build-area/gtk+2.0-2.24.6/gtk/gtkmain.c:1684
event_widget = <optimized out>
grab_widget = 0xdd0ec0
window_group = <optimized out>
rewritten_event = <optimized out>
tmp_list = <optimized out>
__PRETTY_FUNCTION__ = "IA__gtk_main_do_event"
#22 0x00007ffff730e1dc in gdk_event_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at /scratch/build-area/gtk+2.0-2.24.6/gdk/x11/gdkevents-x11.c:2377
display = <optimized out>
event = 0xc85e60
#23 0x00007ffff521c4a3 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#24 0x00007ffff521cc80 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#25 0x00007ffff521d2f2 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#26 0x00007ffff76a1b77 in IA__gtk_main () at /scratch/build-area/gtk+2.0-2.24.6/gtk/gtkmain.c:1256
tmp_list = <optimized out>
functions = 0x0
init = <optimized out>
loop = 0xdf6930
#27 0x000000000044b380 in main (argc=1, argv=0x7fffffffe2d8) at main.c:1653
userrc = <optimized out>
mainwin = 0xa18190
folderview = 0xb44310
icon = 0xa07ed0
crash_file_present = <optimized out>
num_folder_class = <optimized out>
asked_for_migration = <optimized out>
start_done = <optimized out>
gui_manager = <optimized out>
plug_list = <optimized out>
never_ran = 0
start = {tv_sec = 1321212295, tv_usec = 746488}
end = {tv_sec = 1321212296, tv_usec = 96508}
diff = {tv_sec = 0, tv_usec = 350020}
timing_name = 0x64bc88 "startup"
__FUNCTION__ = "main"
(gdb)
More information about the Users
mailing list