gpa-0.7.3 segfault when openig a file
fredg
fredgk at gmail.com
Sun Jul 16 14:39:08 CEST 2006
Hi,
I am using gtk-2.8.19.
Here is a more complete gdb backtrace:
(gdb) run
Starting program: /usr/bin/gpa
[Thread debugging using libthread_db enabled]
[New Thread -1216726432 (LWP 23841)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1216726432 (LWP 23841)]
0xb7e29b66 in gtk_scrolled_window_add_with_viewport ()
from /usr/lib/libgtk-x11-2.0.so.0
(gdb) bt
#0 0xb7e29b66 in gtk_scrolled_window_add_with_viewport ()
from /usr/lib/libgtk-x11-2.0.so.0
#1 0xb7e29bdb in gtk_scrolled_window_add_with_viewport ()
from /usr/lib/libgtk-x11-2.0.so.0
#2 0xb7deb345 in gtk_list_store_new () from /usr/lib/libgtk-x11-2.0.so.0
#3 0xb7e88afa in gtk_tree_model_iter_next () from /usr/lib/libgtk-x11-2.0.so.0
#4 0x080535eb in add_file (fileman=0x81414a0,
filename=0x8242bf8 "/home/nounou/documents/clefs.txt") at fileman.c:186
#5 0x080537d7 in open_file (param=0x815d0a8) at fileman.c:239
#6 0xb7badfa4 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#7 0xb7b97d2c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#8 0xb7bac9ec in g_signal_has_handler_pending ()
from /usr/lib/libgobject-2.0.so.0
#9 0xb7bad93d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#10 0xb7badbbb in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#11 0xb7d3f4ed in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#12 0xb7d40a6c in gtk_button_get_alignment () from /usr/lib/libgtk-x11-2.0.so.0
#13 0xb7badfa4 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#14 0xb7b98028 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#15 0xb7b97d2c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0xb7bac2ce in g_signal_has_handler_pending ()
---Type <return> to continue, or q <return> to quit---
from /usr/lib/libgobject-2.0.so.0
#17 0xb7bad93d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#18 0xb7badbbb in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#19 0xb7d3f4ad in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb7d40241 in gtk_button_set_relief () from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb7df00f0 in gtk_marshal_VOID__UINT_STRING ()
from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb7b98028 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#23 0xb7b97d2c in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0xb7bac51a in g_signal_has_handler_pending ()
from /usr/lib/libgobject-2.0.so.0
#25 0xb7bad654 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0xb7badbbb in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0xb7eb8e94 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb7dedc58 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb7dee090 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb7cb71b1 in gdk_event_get_graphics_expose ()
from /usr/lib/libgdk-x11-2.0.so.0
#31 0xb7b284e4 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb7b29f16 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#33 0xb7b2a195 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#34 0xb7dee8e3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#35 0x0804ff99 in main (argc=1, argv=0xbff33a24) at gpa.c:578
(gdb)
Cheers.
Fred.
On Thu, 06 Jul 2006 09:10:22 +0200
Marcus Brinkmann <marcus.brinkmann at ruhr-uni-bochum.de> wrote:
> At Mon, 19 Jun 2006 19:38:42 +0200,
> fredg <fredgk at gmail.com> wrote:
> >
> > Hi,
> >
> > Just built it under Zenwalk linux, against gpgme-1.1.2.
> > I got a segfault when trying to open a file.
>
> Sorry, I can not reproduce this.
>
> > Here is a gdb backtrace:
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -1217018176 (LWP 23885)]
> > 0xb7e0fb66 in gtk_scrolled_window_add_with_viewport ()
> > from /usr/lib/libgtk-x11-2.0.so.0
> > (gdb) bt
> > #0 0xb7e0fb66 in gtk_scrolled_window_add_with_viewport ()
> > from /usr/lib/libgtk-x11-2.0.so.0
> > #1 0xb7e0fbdb in gtk_scrolled_window_add_with_viewport ()
> > from /usr/lib/libgtk-x11-2.0.so.0
> > #2 0xb7dd1345 in gtk_list_store_new () from /usr/lib/libgtk-x11-2.0.so.0
> > #3 0xb7e6eafa in gtk_tree_model_iter_next () from /usr/lib/libgtk-x11-2.0.so.0
>
> The crash seems to happen in Gtk+. This does not mean that the bug is
> necessarily in Gtk+. I am using 2.8.18 (on Ubuntu 6.06).
>
> > #4 0x080535eb in ?? ()
> > #5 0x081b6c80 in ?? ()
> > #6 0xbfc91750 in ?? ()
> > #7 0x082145f8 in ?? ()
> > #8 0x08050e70 in ?? ()
> > #9 0x0821c028 in ?? ()
> > #10 0x00000000 in ?? ()
> > (gdb)
>
> This would be the interesting part.
>
> You are missing debug symbols in gpa (try to build with CFLAGS=-g) and
> gtk (try to install the debug packages if they exist).
>
> Thanks,
> Marcus
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20060716/fe0ad58f/attachment-0001.pgp
More information about the Gnupg-devel
mailing list