#0 g_logv (log_domain=0x7ff65162db6e "GLib", log_level=G_LOG_LEVEL_ERROR, format=, args=args@entry=0x7fffad08a958) at /build/buildd/glib2.0-2.40.0/./glib/gmessages.c:1038 [Error: /build/buildd/glib2.0-2.40.0/./glib/gmessages.c was not found in source tree] #1 0x00007ff6515efd72 in g_log (log_domain=log_domain@entry=0x7ff65162db6e "GLib", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7ff651637400 "%s: failed to allocate %lu bytes") at /build/buildd/glib2.0-2.40.0/./glib/gmessages.c:1071 [Error: /build/buildd/glib2.0-2.40.0/./glib/gmessages.c was not found in source tree] #2 0x00007ff6515ee644 in g_malloc (n_bytes=n_bytes@entry=18446744073671339074) at /build/buildd/glib2.0-2.40.0/./glib/gmem.c:102 [Error: /build/buildd/glib2.0-2.40.0/./glib/gmem.c was not found in source tree] #3 0x00007ff651605b98 in g_strndup (str=str@entry=0x24713c0 "file://", n=18446744073671339073) at /build/buildd/glib2.0-2.40.0/./glib/gstrfuncs.c:418 [Error: /build/buildd/glib2.0-2.40.0/./glib/gstrfuncs.c was not found in source tree] #4 0x000000000045375f in get_toplevel_name_for_uri (curi=0x24713c0 "file://") at file_treemodel.c:164 159: if (!needle) { 160: g_warning("cannot handle uri %s\n", curi); 161: return NULL; 162: } 163: needle = strchr(needle + 3, '/'); 164: return g_strndup(curi, needle - curi + 1); 165: } 166: 167: #ifdef NOTUSED 168: static gchar **split_gfile(GFile * uri) 169: { #5 get_toplevel_name (uri=0x247cc30) at file_treemodel.c:560 555: name = g_mount_get_name(gmnt); 556: g_object_unref(gmnt); 557: } else { 558: gchar *curi = g_file_get_uri(uri); 559: DEBUG_MSG("get_toplevel_name, got error %s (%d), using uri string\n", gerror->message, gerror->code); 560: name = get_toplevel_name_for_uri(curi); 561: g_free(curi); 562: if (gerror) 563: g_error_free(gerror); 564: } 565: return name; #6 filetreemodel_build_dir (ftm=0x1fa39e0, uri=uri@entry=0x247cc30, iter=iter@entry=0x7fffad08aad0) at file_treemodel.c:1084 1079: record = g_hash_table_lookup(ftm->alluri, tmp); 1080: while (record == NULL) { 1081: GFile *tmp2 = g_file_get_parent(tmp); 1082: if (tmp2 == NULL) { 1083: gchar *name; 1084: name = get_toplevel_name(tmp); 1085: /* there was no parent for this filesystem yet */ 1086: DEBUG_MSG("filetreemodel_build_dir, adding parent %s as fake folder\n", name); 1087: record = add_single_uri(ftm, NULL, tmp, name, DIR_MIME_TYPE, "folder", TRUE, PANGO_WEIGHT_NORMAL); 1088: g_free(name); 1089: break; #7 0x00000000004562ec in treepath_for_uri (uri=uri@entry=0x247cc30, fb2=) at filebrowser2.c:180 175: GtkTreeIter iter; 176: if (!uri) 177: return NULL; 178: 179: if (!filetree_get_iter_for_uri(FB2CONFIG(main_v->fb2config)->ftm, uri, &iter)) { 180: if (!filetreemodel_build_dir(FB2CONFIG(main_v->fb2config)->ftm, uri, &iter)) 181: return NULL; 182: } 183: return gtk_tree_model_get_path(GTK_TREE_MODEL(FB2CONFIG(main_v->fb2config)->ftm), &iter); 184: } 185: #8 0x0000000000456bb0 in set_dir_v_root (dir_uri=0x247cc30, fb2=0x24615d0) at filebrowser2.c:1846 1841: DEBUG_MSG("fb2_set_dir_v_root, disconnected current filter/sort models, lfilter=%p\n", 1842: fb2->file_filter); 1843: 1844: if (dir_uri) { 1845: /* treepath_for_uri returns a GtkTreePath for the uri, and builds it (using fb2_build_dir()) if needed */ 1846: basepath = treepath_for_uri(fb2, dir_uri); 1847: DEBUG_MSG("fb2_set_dir_v_root, refilter, basepath=%p\n", basepath); 1848: if (basepath) { 1849: refilter_dirlist(fb2, basepath); 1850: gtk_tree_path_free(basepath); 1851: } #9 set_basedir_backend (fb2=0x24615d0, dir_uri=0x247cc30) at filebrowser2.c:1885 1880: g_object_unref(fb2->basedir); 1881: fb2->basedir = dir_uri; 1882: if (dir_uri) { 1883: g_object_ref(fb2->basedir); 1884: } 1885: set_dir_v_root(fb2, dir_uri); 1886: } 1887: 1888: /** 1889: * fb2_set_basedir 1890: * #10 0x0000000000458d5b in fb2_set_basedir (dir_uri=0x247cc30, fb2=0x24615d0) at filebrowser2.c:1904 1899: */ 1900: static void 1901: fb2_set_basedir(Tfilebrowser2 *fb2, GFile *dir_uri) 1902: { 1903: DEBUG_MSG("fb2_set_basedir, dir_uri=%p\n",dir_uri); 1904: set_basedir_backend(fb2, dir_uri); 1905: if (dir_uri) 1906: add_uri_to_recent_dirs(fb2, dir_uri); 1907: } 1908: 1909: static void #11 fb2_update_settings_from_session (bfwin=bfwin@entry=0x1fcab40, active_doc=active_doc@entry=0x0) at filebrowser2.c:2501 2496: DEBUG_MSG("fb2_update_settings_from_session, set basedir %s\n", tmp); 2497: if (tmp && tmp[0]) { 2498: GtkTreePath *fs_path, *filter_path; 2499: GFile *uri = g_file_new_for_uri(strip_trailing_slash((gchar *) tmp)); 2500: DEBUG_MSG("fb2_update_settings_from_session, set basedir %p\n",uri); 2501: fb2_set_basedir(fb2, uri); 2502: fb2_set_dirmenu(fb2, uri, FALSE); 2503: if (fb2->filebrowser_viewmode == viewmode_dual) { 2504: set_file_v_root(fb2, uri); 2505: } 2506: filetreemodel_refresh_uri_async(FB2CONFIG(main_v->fb2config)->ftm, uri); #12 0x000000000043a474 in side_panel_build (bfwin=bfwin@entry=0x1fcab40) at bfwin.c:230 225: gtk_notebook_set_show_border(GTK_NOTEBOOK(bfwin->leftpanel_notebook), FALSE); 226: gtk_notebook_popup_enable(GTK_NOTEBOOK(bfwin->leftpanel_notebook)); 227: DEBUG_MSG("side_panel_build, building side panel for bfwin %p\n", bfwin); 228: bmarks = bmark_gui(bfwin); 229: fb2g = fb2_init(bfwin); 230: fb2_update_settings_from_session(bfwin, NULL); 231: gtk_notebook_append_page_menu(GTK_NOTEBOOK(bfwin->leftpanel_notebook), fb2g, new_pixmap(105), 232: gtk_label_new(_("Filebrowser"))); 233: gtk_notebook_append_page_menu(GTK_NOTEBOOK(bfwin->leftpanel_notebook), bmarks, new_pixmap(104), 234: gtk_label_new(_("Bookmarks"))); 235: #13 0x000000000043b5c7 in bfwin_side_panel_show_hide_toggle (bfwin=0x1fcab40, first_time=1, show=, sync_menu=) at bfwin.c:324 319: DEBUG_MSG("set paned position to %d (right)\n", w - main_v->globses.left_panel_width); 320: gtk_paned_set_position(GTK_PANED(bfwin->hpane), w - main_v->globses.left_panel_width); 321: } 322: g_signal_connect(G_OBJECT(bfwin->hpane), "notify::position", 323: G_CALLBACK(side_panel_notify_position), bfwin); 324: bfwin->leftpanel_notebook = side_panel_build(bfwin); 325: if (main_v->props.left_panel_left) { 326: gtk_paned_pack1(GTK_PANED(bfwin->hpane), bfwin->leftpanel_notebook, FALSE, TRUE); 327: gtk_paned_pack2(GTK_PANED(bfwin->hpane), bfwin->notebook_box, TRUE, TRUE); 328: } else { 329: gtk_paned_pack1(GTK_PANED(bfwin->hpane), bfwin->notebook_box, TRUE, TRUE); #14 0x000000000043cf82 in bfwin_create_main (bfwin=0x1fcab40) at bfwin.c:1558 1553: 1554: /* output_box * / 1555: init_output_box(bfwin, vbox); */ 1556: bfwin->outputbox = NULL; 1557: 1558: bfwin_side_panel_show_hide_toggle(bfwin, TRUE, (bfwin->session->view_left_panel), FALSE); 1559: 1560: /* finally the statusbar */ 1561: { 1562: GtkWidget *hbox; 1563: gint onecharwidth; #15 0x0000000000424080 in startup_in_idle (data=0x1e32c70) at bluefish.c:229 224: msg_queue_check_server(FALSE); 225: } 226: #endif /* WITH_MSG_QUEUE */ 227: break; 228: case 1: 229: bfwin_create_main(startup->firstbfwin); 230: main_v->bfwinlist = g_list_append(NULL, startup->firstbfwin); /* Moved it here, so it is handled the same way as in bfwin_window_new() */ 231: #ifdef WITH_MSG_QUEUE 232: if (main_v->props.open_in_running_bluefish) { 233: msg_queue_check_server(FALSE); 234: } #16 0x00007ff6515e8ce5 in g_main_dispatch (context=0x1e4a370) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064 [Error: /build/buildd/glib2.0-2.40.0/./glib/gmain.c was not found in source tree] #17 g_main_context_dispatch (context=context@entry=0x1e4a370) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663 [Error: /build/buildd/glib2.0-2.40.0/./glib/gmain.c was not found in source tree] #18 0x00007ff6515e9048 in g_main_context_iterate (context=0x1e4a370, block=block@entry=1, dispatch=dispatch@entry=1, self=) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734 [Error: /build/buildd/glib2.0-2.40.0/./glib/gmain.c was not found in source tree] #19 0x00007ff6515e930a in g_main_loop_run (loop=0x1f1aeb0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3928 [Error: /build/buildd/glib2.0-2.40.0/./glib/gmain.c was not found in source tree] #20 0x00007ff652e3db35 in gtk_main () at /build/buildd/gtk+3.0-3.10.7/./gtk/gtkmain.c:1158 [Error: /build/buildd/gtk+3.0-3.10.7/./gtk/gtkmain.c was not found in source tree] #21 0x00000000004213de in main (argc=1, argv=0x7fffad08b098) at bluefish.c:517 512: gtkosx_application_ready(theApp); 513: #else 514: g_idle_add_full(G_PRIORITY_DEFAULT_IDLE-50, startup_in_idle, startup, NULL); 515: #endif 516: DEBUG_MSG("main, before gtk_main()\n"); 517: gtk_main(); 518: DEBUG_MSG("main, after gtk_main()\n"); 519: 520: autosave_cleanup(); 521: if (main_v->props.save_accelmap) 522: rcfile_save_accelerators();