Re: [guppi-list] Problems with guppi 0.40.0 and gnumeric (I think gnucash too)



>>>>> On Wed, 7 Nov 2001 22:28:42 -0500, Jody Goldberg <jgoldberg home com> said:

 Jody> On Tue, Nov 06, 2001 at 01:24:40AM -0500, James LewisMoss
 Jody> wrote:
 >> I'm getting a crash in the guppi libs or guppi-gnumeric.  I
 >> haven't figured out a good way to get a gdb backtrace of this yet.
 >> Any suggestions welcome.  Anyway.
 >>
 >> I run guppi-gnumeric in an xterm.  It just pauses.  Then I run
 >> gnumeric from the menu.  I press the little barchart icon on the
 >> toolbar and a dialog appears.  I can choose any type of chart in
 >> the top box without trouble.  But pressing Next gets me a gnome
 >> crash notice box for guppi-gnumeric and the following messages.
 Jody> This is exactly the right way to debug things.  Ensure that
 Jody> there are no copies of guppi-gnumeric running.  Then load the
 Jody> version of guppi-gnumeric from your path that would be run by
 Jody> oaf.  eg
 Jody>     <prefix>/bin/guppi-gnumeric

 Jody> if you run it in gdb then run gnumeric you should get useful
 Jody> backtraces.

Ah excellent.  I tried this before and gdb just hung loading
libraries, but it just worked.

Here's the bt:
[Switching to Thread 1024 (LWP 24766)]
0x404467f5 in gnome_font_get_glyph_kerning () from /usr/lib/libgnomeprint.so.15
(gdb) bt
#0  0x404467f5 in gnome_font_get_glyph_kerning () from /usr/lib/libgnomeprint.so.15
#1  0x400daaab in guppi_text_block_set_max_width () from /usr/lib/libguppi.so.13#2  0x400dada6 in guppi_text_block_set_max_width () from /usr/lib/libguppi.so.13#3  0x400db144 in guppi_text_block_foreach_word () from /usr/lib/libguppi.so.13
#4  0x400db7c8 in guppi_text_block_foreach_char () from /usr/lib/libguppi.so.13
#5  0x400da0e8 in guppi_text_block_bbox () from /usr/lib/libguppi.so.13
#6  0x400da1a8 in guppi_text_block_width () from /usr/lib/libguppi.so.13
#7  0x40c605f2 in guppi_text_state_get_block () from /usr/lib/guppi/plug-ins/0.40.0/plot/text/guppi_text.so
#8  0x40c60240 in guppi_plug_in () from /usr/lib/guppi/plug-ins/0.40.0/plot/text/guppi_text.so
#9  0x4071884f in gtk_marshal_NONE__POINTER () from /usr/lib/libgtk-1.2.so.0
#10 0x407481ac in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
#11 0x40747615 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#12 0x407456f3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#13 0x4005dea8 in guppi_attribute_bag_vset1 () from /usr/lib/libguppi.so.13
#14 0x4005df5e in guppi_attribute_bag_vset () from /usr/lib/libguppi.so.13
#15 0x400bc0e5 in guppi_element_state_new () from /usr/lib/libguppi.so.13
#16 0x08055874 in gup_gnm_graph_arrange_data ()
#17 0x080560e7 in gup_gnm_graph_regenerate_plots ()
#18 0x0805681d in gup_gnm_graph_markup_spec ()
#19 0x08056a0c in gup_gnm_graph_set_spec ()
#20 0x080587c0 in gup_gnm_config_guru_get_graph ()
#21 0x08050fd8 in _ORBIT_skel_GNOME_Gnumeric_Graph_v1_ConfigGuru_applyChanges ()#22 0x4037da35 in ORBit_POA_handle_request () from /usr/lib/libORBit.so.0
#23 0x4037fe02 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#24 0x40380051 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#25 0x403954a4 in giop_main_handle_connection () from /usr/lib/libIIOP.so.0
#26 0x40345a10 in OAF_ActivationContext_ParseFailed__alloc () from /usr/lib/liboaf.so.0
#27 0x407f4c40 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0
#28 0x407f6308 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#29 0x407f6913 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#30 0x407f6aac in g_main_run () from /usr/lib/libglib-1.2.so.0
#31 0x40716ff7 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#32 0x4031634d in bonobo_main () from /usr/lib/libbonobo.so.2
#33 0x0805b026 in main ()
#34 0x40a3465f in __libc_start_main () from /lib/libc.so.6

Something in gnomeprint? so 15 ok for guppi?  I saw 0.28 or better and
this is 0.31

Along with this are the messages: from guppi-gnumeric:
guppi:gnumeric-CRITICAL **: file guppi-gnumeric-graph.c: line 860 (gup_gnm_graph_generate_series): assertion `manager->arrangement_len >= 1' failed.
<?xml version="1.0"?>
<graph:Graph xmlns:graph="http://www.gnumeric.org/graph_v1";>
  <graph:Legend>
    <graph:Position>east</graph:Position>
  </graph:Legend>
  <graph:Plots>
    <graph:Plot>
      <Type xmlns:graph="http://www.gnumeric.org/graph_v1.dtd"; name="Bar">
        <horizontal>true</horizontal>
      </Type>
    </graph:Plot>
  </graph:Plots>
</graph:Graph>
[[ The above message appears when the dialog first comes up the below
message after it crashes ]]
guppi:gnumeric-CRITICAL **: file guppi-gnumeric-plot-bar.c: line 71 (bar_plot): assertion `series != NULL' failed.

nothing from gnumeric.

Trying it again after putting 1,2,3,4,5,1,2,3,4,1,2,3,1,2,1 in the A
column.  The bug buddy dialog gets the backtrace:
#0  0x40abb8f9 in wait4 () from /lib/libc.so.6
#1  0x40b341f0 in __check_rhosts_file () from /lib/libc.so.6
#2  0x401920d3 in waitpid () from /lib/libpthread.so.0
#3  0x404d72e6 in gnome_init () from /usr/lib/libgnomeui.so.32
#4  0x4018fd04 in pthread_sighandler () from /lib/libpthread.so.0
#5  0x40a44848 in sigaction () from /lib/libc.so.6
#6  0x400daaab in guppi_text_block_set_max_width () from /usr/lib/libguppi.so.13
#7  0x400dada6 in guppi_text_block_set_max_width () from /usr/lib/libguppi.so.13
#8  0x400db144 in guppi_text_block_foreach_word () from /usr/lib/libguppi.so.13
#9  0x400db7c8 in guppi_text_block_foreach_char () from /usr/lib/libguppi.so.13
#10 0x400da0e8 in guppi_text_block_bbox () from /usr/lib/libguppi.so.13
#11 0x400da1a8 in guppi_text_block_width () from /usr/lib/libguppi.so.13
#12 0x40c605f2 in guppi_text_state_get_block () from /usr/lib/guppi/plug-ins/0.40.0/plot/text/guppi_text.so
#13 0x40c60240 in guppi_plug_in () from /usr/lib/guppi/plug-ins/0.40.0/plot/text/guppi_text.so
#14 0x4071884f in gtk_marshal_NONE__POINTER () from /usr/lib/libgtk-1.2.so.0
#15 0x407481ac in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
#16 0x40747615 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#17 0x407456f3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#18 0x4005dea8 in guppi_attribute_bag_vset1 () from /usr/lib/libguppi.so.13
#19 0x4005df5e in guppi_attribute_bag_vset () from /usr/lib/libguppi.so.13
#20 0x400bc0e5 in guppi_element_state_new () from /usr/lib/libguppi.so.13
#21 0x08055874 in gup_gnm_graph_arrange_data ()
#22 0x080560e7 in gup_gnm_graph_regenerate_plots ()
#23 0x0805681d in gup_gnm_graph_markup_spec ()
#24 0x08056a0c in gup_gnm_graph_set_spec ()
#25 0x080587c0 in gup_gnm_config_guru_get_graph ()
#26 0x08050fd8 in _ORBIT_skel_GNOME_Gnumeric_Graph_v1_ConfigGuru_applyChanges ()
#27 0x4037da35 in ORBit_POA_handle_request () from /usr/lib/libORBit.so.0
#28 0x4037fe02 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#29 0x40380051 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#30 0x403954a4 in giop_main_handle_connection () from /usr/lib/libIIOP.so.0
#31 0x40345a10 in OAF_ActivationContext_ParseFailed__alloc () from /usr/lib/liboaf.so.0
#32 0x407f4c40 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0
#33 0x407f6308 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#34 0x407f6913 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#35 0x407f6aac in g_main_run () from /usr/lib/libglib-1.2.so.0
#36 0x40716ff7 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#37 0x4031634d in bonobo_main () from /usr/lib/libbonobo.so.2
#38 0x0805b026 in main ()
#39 0x40a3465f in __libc_start_main () from /lib/libc.so.6

Thread 1 (Thread 1024 (LWP 24803)):
#0  0x40abb8f9 in wait4 () from /lib/libc.so.6
#1  0x40b341f0 in __check_rhosts_file () from /lib/libc.so.6
#2  0x401920d3 in waitpid () from /lib/libpthread.so.0
#3  0x404d72e6 in gnome_init () from /usr/lib/libgnomeui.so.32
#4  0x4018fd04 in pthread_sighandler () from /lib/libpthread.so.0
#5  0x40a44848 in sigaction () from /lib/libc.so.6
#6  0x400daaab in guppi_text_block_set_max_width () from /usr/lib/libguppi.so.13
#7  0x400dada6 in guppi_text_block_set_max_width () from /usr/lib/libguppi.so.13
#8  0x400db144 in guppi_text_block_foreach_word () from /usr/lib/libguppi.so.13
#9  0x400db7c8 in guppi_text_block_foreach_char () from /usr/lib/libguppi.so.13
#10 0x400da0e8 in guppi_text_block_bbox () from /usr/lib/libguppi.so.13
#11 0x400da1a8 in guppi_text_block_width () from /usr/lib/libguppi.so.13
#12 0x40c605f2 in guppi_text_state_get_block () from /usr/lib/guppi/plug-ins/0.40.0/plot/text/guppi_text.so
#13 0x40c60240 in guppi_plug_in () from /usr/lib/guppi/plug-ins/0.40.0/plot/text/guppi_text.so
#14 0x4071884f in gtk_marshal_NONE__POINTER () from /usr/lib/libgtk-1.2.so.0
#15 0x407481ac in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0
#16 0x40747615 in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0
#17 0x407456f3 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#18 0x4005dea8 in guppi_attribute_bag_vset1 () from /usr/lib/libguppi.so.13
#19 0x4005df5e in guppi_attribute_bag_vset () from /usr/lib/libguppi.so.13
#20 0x400bc0e5 in guppi_element_state_new () from /usr/lib/libguppi.so.13
#21 0x08055874 in gup_gnm_graph_arrange_data ()
#22 0x080560e7 in gup_gnm_graph_regenerate_plots ()
#23 0x0805681d in gup_gnm_graph_markup_spec ()
#24 0x08056a0c in gup_gnm_graph_set_spec ()
#25 0x080587c0 in gup_gnm_config_guru_get_graph ()
#26 0x08050fd8 in _ORBIT_skel_GNOME_Gnumeric_Graph_v1_ConfigGuru_applyChanges ()
#27 0x4037da35 in ORBit_POA_handle_request () from /usr/lib/libORBit.so.0
#28 0x4037fe02 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#29 0x40380051 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#30 0x403954a4 in giop_main_handle_connection () from /usr/lib/libIIOP.so.0
#31 0x40345a10 in OAF_ActivationContext_ParseFailed__alloc () from /usr/lib/liboaf.so.0
#32 0x407f4c40 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0
#33 0x407f6308 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#34 0x407f6913 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#35 0x407f6aac in g_main_run () from /usr/lib/libglib-1.2.so.0
#36 0x40716ff7 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#37 0x4031634d in bonobo_main () from /usr/lib/libbonobo.so.2
#38 0x0805b026 in main ()
#39 0x40a3465f in __libc_start_main () from /lib/libc.so.6
#0  0x40abb8f9 in wait4 () from /lib/libc.so.6
#0  0x40abb8f9 in wait4 () from /lib/libc.so.6
No symbol table info available.
#1  0x40b341f0 in __check_rhosts_file () from /lib/libc.so.6
No symbol table info available.
#2  0x401920d3 in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#3  0x404d72e6 in gnome_init () from /usr/lib/libgnomeui.so.32
No symbol table info available.
#4  0x4018fd04 in pthread_sighandler () from /lib/libpthread.so.0
No symbol table info available.
#5  0x40a44848 in sigaction () from /lib/libc.so.6
No symbol table info available.
#6  0x400daaab in guppi_text_block_set_max_width () from /usr/lib/libguppi.so.13
No symbol table info available.
#7  0x400dada6 in guppi_text_block_set_max_width () from /usr/lib/libguppi.so.13
No symbol table info available.

But it doesn't make much sense.

Ok after data running guppi-gnumeric under gdb I get the backtrace
(picking a separated piegraph):

#0  0x08056d84 in gup_gnm_series_get_dimension ()
#1  0x08056e1c in gup_gnm_series_dim_get_vector ()
#2  0x08056e6b in gup_gnm_series_dim_get_scalar ()
#3  0x0805aab9 in gup_gnm_format_guru_new ()
#4  0x08055819 in gup_gnm_graph_arrange_data ()
#5  0x080560e7 in gup_gnm_graph_regenerate_plots ()
#6  0x0805681d in gup_gnm_graph_markup_spec ()
#7  0x08056a0c in gup_gnm_graph_set_spec ()
#8  0x080587c0 in gup_gnm_config_guru_get_graph ()
#9  0x08050fd8 in _ORBIT_skel_GNOME_Gnumeric_Graph_v1_ConfigGuru_applyChanges ()#10 0x4037da35 in ORBit_POA_handle_request () from /usr/lib/libORBit.so.0
#11 0x4037fe02 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#12 0x40380051 in CORBA_ORB_run () from /usr/lib/libORBit.so.0
#13 0x403954a4 in giop_main_handle_connection () from /usr/lib/libIIOP.so.0
#14 0x40345a10 in OAF_ActivationContext_ParseFailed__alloc () from /usr/lib/liboaf.so.0
#15 0x407f4c40 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0
#16 0x407f6308 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#17 0x407f6913 in g_get_current_time () from /usr/lib/libglib-1.2.so.0
#18 0x407f6aac in g_main_run () from /usr/lib/libglib-1.2.so.0
#19 0x40716ff7 in gtk_main () from /usr/lib/libgtk-1.2.so.0
#20 0x4031634d in bonobo_main () from /usr/lib/libbonobo.so.2
#21 0x0805b026 in main ()
#22 0x40a3465f in __libc_start_main () from /lib/libc.so.6

And the following messages from guppi-gnumeric.  All except the
widgets-CRITICAL appear when choosing another graphing option:
guppi:gnumeric-CRITICAL **: file guppi-gnumeric-graph.c: line 860 (gup_gnm_graph_generate_series): assertion `manager->arrangement_len >= 1' failed.
<?xml version="1.0"?>
<graph:Graph xmlns:graph="http://www.gnumeric.org/graph_v1";>
  <graph:Legend>
    <graph:Position>east</graph:Position>
  </graph:Legend>
  <graph:Plots>
    <graph:Plot>
      <Type xmlns:graph="http://www.gnumeric.org/graph_v1.dtd"; name="Bar">
        <horizontal>true</horizontal>
      </Type>
    </graph:Plot>
  </graph:Plots>
</graph:Graph>

guppi:gnumeric-CRITICAL **: file guppi-gnumeric-graph.c: line 860 (gup_gnm_graph_generate_series): assertion `manager->arrangement_len >= 1' failed.
<?xml version="1.0"?>
<graph:Graph xmlns:graph="http://www.gnumeric.org/graph_v1";>
  <graph:Legend>
    <graph:Position>east</graph:Position>
  </graph:Legend>
  <graph:Plots>
    <graph:Plot>
      <Type xmlns:graph="http://www.gnumeric.org/graph_v1.dtd"; name="Pie">
	</Type>
    </graph:Plot>
  </graph:Plots>
</graph:Graph>

guppi:gnumeric-CRITICAL **: file guppi-gnumeric-graph.c: line 860 (gup_gnm_graph_generate_series): assertion `manager->arrangement_len >= 1' failed.
<?xml version="1.0"?>
<graph:Graph xmlns:graph="http://www.gnumeric.org/graph_v1";>
  <graph:Legend>
    <graph:Position>east</graph:Position>
  </graph:Legend>
  <graph:Plots>
    <graph:Plot>
      <Type xmlns:graph="http://www.gnumeric.org/graph_v1.dtd"; name="Pie">
        <separation_percent_of_radius>20</separation_percent_of_radius>
      </Type>
    </graph:Plot>
  </graph:Plots>
</graph:Graph>

widgets-CRITICAL **: file e-xml-utils.c: line 41 (e_xml_get_child_by_name): assertion `parent != NULL' failed.


>> guppi:gnumeric-CRITICAL **: file guppi-gnumeric-graph.c: line 860
 >> (gup_gnm_graph_generate_series): assertion
 >> `manager->arrangement_len >= 1' failed.
 Jody> Hmm this suggests that there is no data.  Hoewver, I can not
 Jody> replicate that with gnumeric-0.75 and cvs guppi.

There is no data in the spreadsheet.  But I tried putting numbers down
the first column and it seemed the same crash occured.

 >> PS: These will eventually be the debian packages of guppi, but
 >> since I haven't gotten them working yet I haven't uploaded.
 Jody> Please hurry.

Hey.  I have lots to do beyond guppi.  But I am trying. I don't know
why the crash is happening and honestly don't have the time to go
searching through the code.  Any help is much appreciated.  Anyone
want my packaging and/or packages?  And of course I'm available to try
anything.

Jim

-- 
@James LewisMoss <dres debian org>      |  Blessed Be!
@    http://jimdres.home.mindspring.com |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]