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

Re: Problem



On Fri, 2007-11-30 at 01:15 +0100, perriman wrote:
> Hi Murray,
> 
> 	I have compiled and launched the trunk version. The error is here but
> now glom shows a message with "Internal error". I paste the bt and some
> messages in the console:
> 
> DbTreeModel::refresh_from_database(): error executing SQL: SELECT
> "artists"."artist_id", "artists"."name", "artists"."description",
> "artists"."comments", "artists"."artist_id" FROM "artists" ORDER BY
> "artists"."artist_id" ASC
> debug: after Internal Error dialog run().

Did you see any other error message, such as in a dialog window?

Thanks for the backtrace though. That's helpful.

Could I have your .glom file?

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1239800128 (LWP 6039)]
> Glom::Box_Data_List_Related::create_layout_get_layout (this=0x884b570)
> at ../../glom/libglom/sharedptr.h:217
> 217       T_obj *const obj_temp = m_pobj;
> (gdb) bt
> 
> 
> #0  Glom::Box_Data_List_Related::create_layout_get_layout
> (this=0x884b570) at ../../glom/libglom/sharedptr.h:217
> #1  0x08107e88 in Glom::Box_Data_List::create_layout (this=0x884b570) at
> box_data_list.cc:761
> #2  0x080f62f4 in Glom::Box_Data::init_db_details (this=0x884b570,
> found_set= 0xbfad7d80) at box_data.cc:69
> #3  0x081ff738 in Glom::Box_Data_List_Related::init_db_details
> (this=0x884b570, portal= 0xbfad7e24, show_title=true)
>     at box_data_list_related.cc:132
> #4  0x081ab05b in Glom::FlowTableWithFields::create_related
> (this=0x8842588, portal= 0xbfad7f10, show_title=true) at
> flowtablewithfields.cc:250
> #5  0x081ab40c in
> Glom::FlowTableWithFields::add_layout_related_at_position
> (this=0x8842588, portal= 0xbfad7f10, add_before= 0xbfad7f84)
>     at flowtablewithfields.cc:271
> #6  0x081ae7c9 in Glom::FlowTableWithFields::add_layout_item_at_position
> (this=0x8842588, item= 0xbfad7fd0, add_before= 0xbfad7f84)
>     at flowtablewithfields.cc:119
> #7  0x081af298 in Glom::FlowTableWithFields::add_layout_item
> (this=0x8842588, item= 0xbfad7fd0) at flowtablewithfields.cc:93
> #8  0x081aca77 in
> Glom::FlowTableWithFields::add_layout_group_at_position (this=0x8833be8,
> group= 0xbfad80d8, add_before= 0xbfad8164)
>     at flowtablewithfields.cc:216
> #9  0x081ae849 in Glom::FlowTableWithFields::add_layout_item_at_position
> (this=0x8833be8, item= 0xbfad81b0, add_before= 0xbfad8164)
>     at flowtablewithfields.cc:132
> #10 0x081af298 in Glom::FlowTableWithFields::add_layout_item
> (this=0x8833be8, item= 0xbfad81b0) at flowtablewithfields.cc:93
> #11 0x081aca77 in
> Glom::FlowTableWithFields::add_layout_group_at_position (this=0x84220d4,
> group= 0x87d32e8, add_before= 0xbfad8284)
>     at flowtablewithfields.cc:216
> #12 0x081ad6f8 in Glom::FlowTableWithFields::add_layout_group
> (this=0x84220d4, group= 0x87d32e8) at flowtablewithfields.cc:165
> #13 0x080fe1e3 in Glom::Box_Data_Details::create_layout (this=0x8421e8c)
> at box_data_details.cc:202
> #14 0x080f62f4 in Glom::Box_Data::init_db_details (this=0x8421e8c,
> found_set= 0xbfad8450) at box_data.cc:69
> #15 0x080fd0ac in Glom::Box_Data_Details::init_db_details
> (this=0x8421e8c, found_set= 0xbfad8450, primary_key_value= 0xbfad83a0)
>     at box_data_details.cc:162
> #16 0x080e7da4 in Glom::Notebook_Data::init_db_details (this=0x8421b14,
> found_set= 0xbfad8450, primary_key_value_for_details= 0xbfad84e4)
>     at notebook_data.cc:139
> #17 0x080bfb0d in Glom::Frame_Glom::show_table (this=0x8421a90,
> table_name= 0xbfad8510, primary_key_value_for_details= 0xbfad84e4)
>     at frame_glom.cc:390
> #18 0x080c0df1 in Glom::Frame_Glom::do_menu_Navigate_Table
> (this=0x8421a90, open_default=true) at frame_glom.cc:880
> #19 0x08091136 in Glom::App_Glom::on_document_load (this=0x841d4c8) at
> application.cc:1063
> #20 0xb7eaea24 in Bakery::App_WithDoc::open_document (this=0x841d4c8,
> file_uri= 0xbfad8704) at App_WithDoc.cc:168
> #21 0x0808c393 in Glom::App_Glom::offer_new_or_existing (this=0x841d4c8)
> at application.cc:1202
> #22 0x0808c7e4 in Glom::App_Glom::init (this=0x841d4c8,
> document_uri= 0xbfad8858) at application.cc:208
> #23 0x08088474 in main (argc=2, argv=0x884b330) at main.cc:235
> 
> 
> The error occurs with all databases in the same location
> (sharedptr.h:217). I cannot find the real error. I don't understand why
> its happend. I don't know how to debug it, I'm sorry. If you want, you
> can tell me how debug it and I will send you all information you need.
> 
> Regards,
> 	perriman
> 
> El mar, 27-11-2007 a las 20:04 +0100, Murray Cumming escribió:
> > On Tue, 2007-11-27 at 09:50 +0100, Murray Cumming wrote:
> > > > I will search the calculation bug first in 1.6 branch and, when I
> > > will
> > > > find it, I will download the trunk source to see if it works fine in
> > > my
> > > > environment.
> > 
> > Perriman build and ran Glom from source and found the source of the
> > problem and gave me enough clues for me to fix it. I guess it wasn't
> > totally easy, but he managed it.
> > 
> 
-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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