[jp] Expenses plug-in SIGSEGV, gtk problem?

Judd Montgomery judd at jpilot.org
Mon Mar 24 22:31:41 EST 2003


Hmm, it looks like gtk crashing to me.  Thats not to say jpilot isn't 
sending gtk bad pointers or something.  Did you build this from source?

Judd

Raimondo Giammanco wrote:
> Hello, 
> 	I am experiencing problems with the expenses
> 	plug-in. I am sending this report to the
> 	principal mailing-list, hoping not to 
> 	bother anyone.
> 
> 	Jpilot is at 0.99.5, Expenses is at 0.99 (from
> 	help jpilot).
> 
> 	It is compiled with sources on a redhat 7.0,
> 	2.4.20 with gcc 3.2 and with the following 
> 	output for rpm -qa | grep -i gtk
> ####################################################
> gtk-engines-thinice-1.0.4-ximian.1
> gtk-themes-1.0.1-1.ximian.1
> pygtk-libglade-0.6.9-3.ximian.5
> libgtkhtml13-0.10.1-ximian.1
> pygtk-0.6.9-3.ximian.5
> gtk-gnutella-0.91.1-0
> libgtkhtml16-0.13.0-ximian.1
> libgtkhtml15-0.12.0-ximian.6
> gtkhtml-1.0.4.99-snap.ximian.200208120601
> rep-gtk-libglade-0.15-ximian.7
> rep-gtk-0.15-ximian.7
> gtk+-1.2.10-ximian.25
> libgtkhtml17-0.14.0-ximian.2
> libgtkhtml20-1.0.4.99-snap.ximian.200208120601
> Gtk-Perl-0.7008-ximian.3
> gtkhtml-devel-1.0.4.99-snap.ximian.200208120601
> gtk+-devel-1.2.10-ximian.25
> rep-gtk-gnome-0.15-ximian.7
> gtk-engines-0.12-ximian.1
> libgtkhtml19-0.16.1-ximian.1
> #######################################################
> Now, jpilot seems working fine, backup, sync etc.
> with a palm m500 os 4.0; for the expenses application,
> if there are no elements in the db, the expenses
> plug-in works. As long as I enter an expense in the
> palm and after I sync, the plug-in gives sigsegv.
> 
> gdb OUTPUT BEGIN
> #######################################################
> Program received signal SIGSEGV, Segmentation fault.
> gtk_type_check_object_cast (type_object=0x6175675f, cast_type=43797)
>     at gtktypeutils.c:624
> 624	gtktypeutils.c: No such file or directory.
> 	in gtktypeutils.c
> #######################################################
> gdb OUTPUT END
> 
> gdb BACK TRACE BEGIN
> #######################################################
> 
> #0  gtk_type_check_object_cast (type_object=0x6175675f, cast_type=43797)
>     at gtktypeutils.c:624
> #1  0x40017828 in cb_clist_selection (clist=0x81383e0, row=0, column=0, 
>     event=0x1, data=0x0) at expense.c:938
> #2  0x40147b97 in gtk_marshal_NONE__INT_INT_POINTER (object=0x812c2a8, 
>     func=0x40017610 <cb_clist_selection>, func_data=0x0,
> args=0xbfffda30)
>     at gtkmarshal.c:300
> #3  0x4017726a in gtk_handlers_run (handlers=0x8124c98,
> signal=0xbfffd9d0, 
>     object=0x812c2a8, params=0xbfffda30, after=0) at gtksignal.c:1917
> #4  0x401766cb in gtk_signal_real_emit (object=0x812c2a8, signal_id=99, 
>     params=0xbfffda30) at gtksignal.c:1477
> #5  0x40174740 in gtk_signal_emit (object=0x812c2a8, signal_id=99)
>     at gtksignal.c:552
> #6  0x400f430c in gtk_clist_select_row (clist=0x812c2a8, row=0,
> column=0)
>     at gtkclist.c:3475
> #7  0x400171a0 in display_records () at expense.c:800
> #8  0x40019db4 in plugin_gui (vbox=0xab15, hbox=0x8115300, unique_id=0)
>     at expense.c:1530
> #9  0x08076c8e in call_plugin_gui (number=200, unique_id=43797) at
> jpilot.c:332
> #10 0x40137f8b in gtk_item_factory_callback_marshal (widget=0x80f3e08, 
>     func_data=0x80f2468) at gtkitemfactory.c:263
> #11 0x40147bab in gtk_marshal_NONE__NONE (object=0x80f3e08,
>     func=0x40137f5c <gtk_item_factory_callback_marshal>,
> func_data=0x80f2468, 
>     args=0xbfffdf00) at gtkmarshal.c:312
> #12 0x4017726a in gtk_handlers_run (handlers=0x80eb9b8,
> signal=0xbfffdea0, 
>     object=0x80f3e08, params=0xbfffdf00, after=0) at gtksignal.c:1917
> #13 0x401766cb in gtk_signal_real_emit (object=0x80f3e08, signal_id=69, 
>     params=0xbfffdf00) at gtksignal.c:1477
> #14 0x40174740 in gtk_signal_emit (object=0x80f3e08, signal_id=69)
>     at gtksignal.c:552
> #15 0x401abbe4 in gtk_widget_activate (widget=0x80f3e08) at
> gtkwidget.c:2890
> #16 0x4014fef5 in gtk_menu_shell_activate_item (menu_shell=0x80f4a80, 
>     menu_item=0x80f3e08, force_deactivate=1) at gtkmenushell.c:859
> #17 0x4014f185 in gtk_menu_shell_button_release (widget=0x80f4a80, 
>     event=0x81277f8) at gtkmenushell.c:486
> #18 0x40147981 in gtk_marshal_BOOL__POINTER (object=0x80f4a80, 
>     func=0x4014eff8 <gtk_menu_shell_button_release>, func_data=0x0, 
>     args=0xbfffe2d0) at gtkmarshal.c:28
> #19 0x4017670b in gtk_signal_real_emit (object=0x80f4a80, signal_id=21, 
>     params=0xbfffe2d0) at gtksignal.c:1492
> #20 0x40174740 in gtk_signal_emit (object=0x80f4a80, signal_id=21)
>     at gtksignal.c:552
> #21 0x401abab0 in gtk_widget_event (widget=0x80f4a80, event=0x81277f8)
>     at gtkwidget.c:2864
>     event=0x81277f8) at gtkmenushell.c:486
> #18 0x40147981 in gtk_marshal_BOOL__POINTER (object=0x80f4a80, 
>     func=0x4014eff8 <gtk_menu_shell_button_release>, func_data=0x0, 
>     args=0xbfffe2d0) at gtkmarshal.c:28
> #19 0x4017670b in gtk_signal_real_emit (object=0x80f4a80, signal_id=21, 
>     params=0xbfffe2d0) at gtksignal.c:1492
> #20 0x40174740 in gtk_signal_emit (object=0x80f4a80, signal_id=21)
>     at gtksignal.c:552
> #21 0x401abab0 in gtk_widget_event (widget=0x80f4a80, event=0x81277f8)
>     at gtkwidget.c:2864
> ---Type <return> to continue, or q <return> to quit---
> #22 0x401478f8 in gtk_propagate_event (widget=0x80f3e08,
> event=0x81277f8)
>     at gtkmain.c:1378
> #23 0x40146ab5 in gtk_main_do_event (event=0x81277f8) at gtkmain.c:818
> #24 0x40200137 in gdk_event_dispatch (source_data=0x0, 
>     current_time=0xbfffe6a0, user_data=0x0) at gdkevents.c:2139
> #25 0x40231055 in g_main_dispatch (dispatch_time=0xbfffe6a0) at
> gmain.c:656
> #26 0x40231659 in g_main_iterate (block=1, dispatch=1) at gmain.c:877
> #27 0x402317e8 in g_main_run (loop=0x8121ec0) at gmain.c:935
> #28 0x401463bb in gtk_main () at gtkmain.c:524
> #29 0x0807b169 in main (argc=1, argv=0xbfffef24) at jpilot.c:2165
> #30 0x403481c4 in __libc_start_main () from /lib/libc.so.6
> #######################################################
> gdb BACK TRACE END
> 
> Notice that exactly the same problem exists in a 
> vanilla red-hat 8.0 out of the box, so I do not
> think is a problem of my particular configuration..
> 
> pilot-link is 0.11.7 and read-expenses works
> great.
> 
> I apologize if this problem has been already addressed
> and I did not found it in the archives or if the
> problem has a very simple solution..
> 
> 	Raimondo Giammanco
> 
> 
> 
> _______________________________________________
> jpilot mailing list
> jpilot at jpilot.org
> http://www.jpilot.org/mailman/listinfo/jpilot




More information about the Jpilot mailing list