うぉぉおおお、スゲエ!!涙が出てくる程うれしいぜっ 参考までにdebian sarge kernel 2.4... 展開して中へ...11様を参考に変更。 ./configure make su make install 板違いかもしれないけど...出来た色んなものは全部必要なの? まだ駆け出しでファイル管理しか分からない俺です。
0.5.99.62.1も0.5.99.63.2も ------------------------ GThread-ERROR **: GThread system may only be initialized once. aborting... ------------------------ というエラーが出てまともに起動しない...... (Fedora Core 開発版)
今度はppcで: ------------------------------------------------------------ cell.cc:64: error: requested alignment is not a power of 2 cell.cc:65: error: requested alignment is not a power of 2 cell.cc:66: error: requested alignment is not a power of 2 cell.cc:67: error: requested alignment is not a power of 2 cell.cc:68: error: requested alignment is not a power of 2 cell.cc:69: error: requested alignment is not a power of 2 make[2]: *** [cell.lo] Error 1 make[2]: *** [cell.lo] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/ochusha-0.5.99.63.2-cvs061111/libtscore' ------------------------------------------------------------ orz
-------------------------------------------------------- (gdb) bt #0 g_thread_init (init=0x0) at gthread-impl.c:293 #1 0x03fdadec in link_init (thread_safe=1) at linc.c:200 #2 0x03fbbb85 in giop_init (thread_safe=1, blank_wire_data=0) at giop.c:505 #3 0x03fc083d in CORBA_ORB_init (argc=0xbfcc1e70, argv=0x0, orb_identifier=0x41ea674 "orbit-local-mt-orb", ev=0xbfcc1e08) at corba-orb.c:422 #4 0x041e86de in bonobo_activation_orb_init (argc=0xbfcc1e70, argv=0x0) at bonobo-activation-init.c:595 #5 0x041e8b46 in bonobo_activation_init (argc=0, argv=0x0) at bonobo-activation-init.c:539 #6 0x0420fa8d in bonobo_init_full (argc=0x1155e08, argv=0x0, opt_orb=0x0, opt_poa=0x0, opt_manager=0x0) at bonobo-main.c:171 #7 0x0420fc2c in bonobo_init (argc=0x1155e08, argv=0x0) at bonobo-main.c:256 #8 0x0047ecde in atk_bridge_init (argc=0x1155e08, argv=0x1155e0c) at bridge.c:199 <= /usr/lib/gtk-2.0/modules/libatk-bridge.so #9 0x00f01129 in default_display_notify_cb (display_manager=0x9b06b70) at gtkmodules.c:413 #10 0x00aaf8d9 in IA__g_cclosure_marshal_VOID__PARAM (closure=0x9afedd0, return_value=0x0, n_param_values=2, param_values=0xbfcc217c, invocation_hint=0xbfcc208c, marshal_data=0xf010b0) at gmarshal.c:531 #11 0x00aa2e6b in IA__g_closure_invoke (closure=0x9afedd0, return_value=0x0, n_param_values=2, param_values=0xbfcc217c, invocation_hint=0xbfcc208c) at gclosure.c:490 <........> #21 0x00256301 in IA__g_option_context_parse (context=0x9afa898, argc=0xbfcc5340, argv=0xbfcc25c4, error=0xbfcc26a4) at goption.c:1627 #22 0x0806d35b in main (argc=1, argv=0xbfcc53c4) at main.cc:158
おお、凄い!ほとんど直ってる。thanks. 後は ------------------------------------------------------------- E: ochusha shlib-with-non-pic-code /usr/lib/libochushagtk.so.0.6.0 W: ochusha undefined-non-weak-symbol /usr/lib/libochushagtk.so.0.6.0 strnrstr W: ochusha undefined-non-weak-symbol /usr/lib/libochushagtk.so.0.6.0 strnstr W: ochusha undefined-non-weak-symbol /usr/lib/libochushagtk.so.0.6.0 strncaserstr W: ochusha undefined-non-weak-symbol /usr/lib/libochushagtk.so.0.6.0 strncasestr E: ochusha shlib-with-non-pic-code /usr/lib/libtscore.so.0.6.0 E: ochusha shlib-with-non-pic-code /usr/lib/libochusha.so.0.6.0 ------------------------------------------------------------- が出てる。ちなみに: ------------------------------------------------------------- shlib-with-non-pic-code : The listed shared libraries contain object code that was compiled without -fPIC. All object code in shared libraries should be recompiled separately from the static libraries with the -fPIC option.
Another common mistake that causes this problem is linking with ``gcc -Wl,-shared'' instead of ``gcc -shared''. -------------------------------------------------------------
mod_notebook.c:599: error: `G_PARAM_STATIC_NAME' undeclared (first use in this function) mod_notebook.c:599: error: (Each undeclared identifier is reported only once mod_notebook.c:599: error: for each function it appears in.) mod_notebook.c:599: error: `G_PARAM_STATIC_NICK' undeclared (first use in this function) mod_notebook.c:599: error: `G_PARAM_STATIC_BLURB' undeclared (first use in this function) mod_notebook.c:948: warning: implicit declaration of function `g_intern_static_string' mod_notebook.c:956: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:965: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:974: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:983: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:992: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast (続く)
mod_notebook.c:1002: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:1022: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:1042: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:1062: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:1071: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c: In function `mod_notebook_real_insert_page': mod_notebook.c:4217: warning: implicit declaration of function `g_object_ref_sink' make[3]: *** [mod_notebook.lo] エラー 1 make[3]: Leaving directory `/home/hoge/ochusha/ochusha-cvs/ochusha/ochusha/libochushagtk_lgpl' make[2]: *** [all] エラー 2 make[2]: Leaving directory `/home/hoge/ochusha/ochusha-cvs/ochusha/ochusha/libochushagtk_lgpl' make[1]: *** [all-recursive] エラー 1 make[1]: Leaving directory `/home/hoge/ochusha/ochusha-cvs/ochusha/ochusha' make: *** [all] エラー 2
mod_notebook.c が Rev. 1.6 になったので、再び debian sarge にて make を試しました。
mod_notebook.c: In function `mod_notebook_class_init': mod_notebook.c:605: error: `G_PARAM_STATIC_NAME' undeclared (first use in this function) mod_notebook.c:605: error: (Each undeclared identifier is reported only once mod_notebook.c:605: error: for each function it appears in.) mod_notebook.c:954: warning: implicit declaration of function `g_intern_static_string' mod_notebook.c:962: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:971: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:980: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:989: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:998: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:1008: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:1028: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast (続く)
mod_notebook.c:1048: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:1068: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c:1077: warning: passing arg 1 of `g_signal_new' makes pointer from integer without a cast mod_notebook.c: In function `mod_notebook_real_insert_page': mod_notebook.c:4223: warning: implicit declaration of function `g_object_ref_sink' make[3]: *** [mod_notebook.lo] エラー 1 make[3]: Leaving directory `/home/hoge/ochusha/ochusha-cvs/ochusha/libochushagtk_lgpl' make[2]: *** [all] エラー 2 make[2]: Leaving directory `/home/hoge/ochusha/ochusha-cvs/ochusha/libochushagtk_lgpl' make[1]: *** [all-recursive] エラー 1 make[1]: Leaving directory `/home/hoge/ochusha/ochusha-cvs/ochusha' make: *** [all] エラー
tree_ui.cc: In member function ‘void Ochusha::TreeUI::new_element(Ochusha::Folder*, Ochusha::TreeElement*)’: tree_ui.cc:1802: error: ‘gtk_tree_store_insert_with_values’ was not declared in this scope tree_ui.cc: In member function ‘Ochusha::Folder* Ochusha::TreeUI::new_folder(Ochusha::Folder*, Ochusha::TreeElement*, GtkTreeSelection*)’: tree_ui.cc:1862: error: ‘gtk_tree_store_insert_with_values’ was not declared in this scope tree_ui.cc: In member function ‘void Ochusha::AppendElementFunc::append_leaf(Ochusha::TreeElement*)’: tree_ui.cc:2651: error: ‘gtk_tree_store_insert_with_values’ was not declared in this scope tree_ui.cc: In member function ‘void Ochusha::AppendElementFunc::append_folder(Ochusha::Folder*)’: tree_ui.cc:2670: error: ‘gtk_tree_store_insert_with_values’ was not declared in this scope make[2]: *** [tree_ui.o] エラー 1 make[2]: ディレクトリ `/home/nanashi/ochusha-cvs/ochusha/ochusha' から出ます make[1]: *** [all-recursive] エラー 1 make[1]: ディレクトリ `/home/nanashi/ochusha-cvs/ochusha' から出ます make: *** [all] エラー 2
checking for GTK+ - version >= 2.6.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. configure: error: gtk+-2.6.x or later is required
ちなみに下記の通り、GTK+は入っています。 $dpkg -l | grep gtk ii libgtk2.0-0 2.10.6-4 The GTK+ graphical user interface library ii libgtk2.0-common 2.10.6-4 Common files for the GTK+ graphical user int ii libgtk2.0-dev 2.10.6-4 Development files for the GTK+ library
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208518960 (LWP 9673)] setup_proxy_entries (uri=@0xbfb3bc74, server_entry=0x93da3f0, port_entry=0x93da498, user_entry=0x93da540, passwd_entry=0x93da5e8) at ../libochusha/uri_utils.h:63 63 inline const char *get_server() const { return xml_uri->server; } (gdb) bt #0 setup_proxy_entries (uri=@0xbfb3bc74, server_entry=0x93da3f0, port_entry=0x93da498, user_entry=0x93da540, passwd_entry=0x93da5e8) at ../libochusha/uri_utils.h:63 #1 0x08094378 in Ochusha::PreferencesUI::create_network_settings_frame (this=0xbfb3c864) at preferences_ui.cc:1178 #2 0x080980dc in Ochusha::PreferencesUI::setup_dialog (this=0xbfb3c864) at preferences_ui.cc:2245 #3 0x08098329 in Ochusha::PreferencesUI::show_dialog (this=0xbfb3c864) at preferences_ui.cc:95 #4 0x00da20d9 in IA__g_cclosure_marshal_VOID__VOID (closure=0x8cf6be8, return_value=0x0, n_param_values=1, param_values=0xbfb38d1c, invocation_hint=0xbfb38c2c, marshal_data=0x806d6d0) at gmarshal.c:77 #5 0x00d94d8b in IA__g_closure_invoke (closure=0x8cf6be8, return_value=0x0, n_param_values=1, param_values=0xbfb38d1c, invocation_hint=0xbfb38c2c) at gclosure.c:490 ........... #30 0x00ade582 in IA__g_main_context_dispatch (context=0x8c9a5b0) at gmain.c:2045 #31 0x00ae155f in g_main_context_iterate (context=0x8c9a5b0, block=1, dispatch=1, self=0x8c88510) at gmain.c:2677 #32 0x00ae1909 in IA__g_main_loop_run (loop=0x945eee8) at gmain.c:2881 #33 0x0537cc54 in IA__gtk_main () at gtkmain.c:1001 #34 0x0807f037 in main (argc=149239552, argv=0xbfb3cb34) at main.cc:257
こちらもマネしてgdbの結果を貼ります。 fuyuさんの環境では再現できそうに無い、GTK+ 2.6、Glib 2.6の時の書き込みウインドウがらみだけ。 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1087525344 (LWP 19325)] 0x080b82b1 in Ochusha::ResponseEditor::remember_current_entries () (gdb) bt #0 0x080b82b1 in Ochusha::ResponseEditor::remember_current_entries () #1 0x080baabc in Ochusha::ResponseEditor::set_thread () #2 0x080bac56 in Ochusha::ResponseEditorWindow::set_thread () #3 0x080bb0f7 in Ochusha::ResponseEditorWindow::ResponseEditorWindow () #4 0x0808fd6d in Ochusha::BBSThreadView::show_post_window () #5 0x406242a6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #6 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #7 0x40623dcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #8 0x40622e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #9 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #10 0x40270d53 in _gtk_action_emit_activate () from /usr/lib/libgtk-x11-2.0.so.0 #11 0x40270ddb in gtk_action_activate () from /usr/lib/libgtk-x11-2.0.so.0 #12 0x406242a6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #13 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #14 0x40623dcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #15 0x40622e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #16 0x40623216 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #17 0x403ea299 in gtk_tool_button_get_type () from /usr/lib/libgtk-x11-2.0.so.0 #18 0x406242a6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #19 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0x40623dcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #21 0x40622e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #22 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #23 0x4027c655 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0 #24 0x4027d4da in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0 #25 0x406242a6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #26 0x406129c9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #27 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #28 0x40623651 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #29 0x40622e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #30 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #31 0x4027c5c5 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0 #32 0x4027d383 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0 #33 0x4034299e in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0 #34 0x406129c9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #35 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #36 0x40623855 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #37 0x40622c8c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #38 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #39 0x40431d87 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#40 0x403414b2 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #41 0x40340306 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #42 0x4053e825 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 #43 0x40662582 in g_main_depth () from /usr/lib/libglib-2.0.so.0 #44 0x406635f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #45 0x40663930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #46 0x40663ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #47 0x4033fbb3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #48 0x080b39f4 in main ()
>>327 早速、試してみました。 書き込みウインドウは出るようになったのですが、書き込みを実施(OKを押す)すると、確認ウインドウが出る前にsegvで落ちます。 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1087525344 (LWP 21288)] 0x080b82b1 in Ochusha::ResponseEditor::remember_current_entries () (gdb) bt #0 0x080b82b1 in Ochusha::ResponseEditor::remember_current_entries () #1 0x080b8450 in Ochusha::ResponseEditor::post () #2 0x080b8a59 in Ochusha::ResponseEditorWindow::response_cb () #3 0x40624523 in g_cclosure_marshal_VOID () from /usr/lib/libgobject-2.0.so.0 #4 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #5 0x40623dcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #6 0x40622e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #7 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #8 0x402c878c in gtk_dialog_response () from /usr/lib/libgtk-x11-2.0.so.0 #9 0x402c7fb3 in gtk_dialog_new_with_buttons () from /usr/lib/libgtk-x11-2.0.so.0 #10 0x406242a6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #11 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #12 0x40623dcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #13 0x40622e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #14 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #15 0x4027c655 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0 #16 0x4027d4da in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0 #17 0x406242a6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #18 0x406129c9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #19 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #20 0x40623651 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#21 0x40622e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #22 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #23 0x4027c5c5 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0 #24 0x4027d383 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0 #25 0x4034299e in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0 #26 0x406129c9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #27 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #28 0x40623855 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #29 0x40622c8c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #30 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #31 0x40431d87 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0 #32 0x403414b2 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #33 0x40340306 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #34 0x4053e825 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 #35 0x40662582 in g_main_depth () from /usr/lib/libglib-2.0.so.0 #36 0x406635f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #37 0x40663930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #38 0x40663ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #39 0x4033fbb3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #40 0x080b39f4 in main ()
Program received signal SIGABRT, Aborted. [Switching to Thread 1087525344 (LWP 22719)] 0x407f083b in raise () from /lib/tls/libc.so.6 (gdb)bt #0 0x407f083b in raise () from /lib/tls/libc.so.6 #1 0x407f1fa2 in abort () from /lib/tls/libc.so.6 #2 0x4066aefd in g_logv () from /usr/lib/libglib-2.0.so.0 #3 0x4066af26 in g_log () from /usr/lib/libglib-2.0.so.0 #4 0x4066b011 in g_assert_warning () from /usr/lib/libglib-2.0.so.0 #5 0x080f9b0e in Ochusha::ViewManager::refresh_board_cb () #6 0x080fa7d5 in Ochusha::ViewManager::append_board_view () #7 0x080a2444 in Ochusha::Controller::open () #8 0x0809ad7c in Ochusha::BoardlistUI::open () #9 0x080edce2 in Ochusha::TreeUI::row_button_release_cb () #10 0x40129b85 in libochushagtk_marshal_BOOLEAN__BOXED_OBJECT_BOXED () from /usr/lib/libochushagtk.so.0
#11 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #12 0x40623dcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #13 0x40622c8c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #14 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #15 0x40129148 in ochusha_tree_selector_view_get_type () from /usr/lib/libochushagtk.so.0 #16 0x4034299e in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0 #17 0x406129c9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #18 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #19 0x40623855 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #20 0x40622c8c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #21 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #22 0x40431d87 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0 #23 0x403414b2 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #24 0x40340306 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #25 0x4053e825 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 #26 0x40662582 in g_main_depth () from /usr/lib/libglib-2.0.so.0 #27 0x406635f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #28 0x40663930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #29 0x40663ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #30 0x4033fbb3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #31 0x080b2024 in main ()
>>337 お待たせしました。 書き込みを実施(OKを押す)すると次のようになります。 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1087525344 (LWP 25433)] Ochusha::ResponseEditor::remember_current_entries (this=0x9483030) at post_ui.cc:585 (gdb) bt #0 Ochusha::ResponseEditor::remember_current_entries (this=0x9483030) at post_ui.cc:585 #1 0x080b8460 in Ochusha::ResponseEditor::post (this=0x9483030) at post_ui.cc:780 #2 0x080b8a69 in Ochusha::ResponseEditorWindow::response_cb (dialog=0x94909f8, response_id=144563496, window=0x9483030) at post_ui.cc:1023 #3 0x40624523 in g_cclosure_marshal_VOID () from /usr/lib/libgobject-2.0.so.0 #4 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #5 0x40623dcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #6 0x40622e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #7 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #8 0x402c878c in gtk_dialog_response () from /usr/lib/libgtk-x11-2.0.so.0 #9 0x402c7fb3 in gtk_dialog_new_with_buttons () from /usr/lib/libgtk-x11-2.0.so.0 #10 0x406242a6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #11 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #12 0x40623dcf in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #13 0x40622e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #14 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #15 0x4027c655 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x4027d4da in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0 #17 0x406242a6 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #18 0x406129c9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #19 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #20 0x40623651 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #21 0x40622e9c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #22 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #23 0x4027c5c5 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0 #24 0x4027d383 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0 #25 0x4034299e in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0 #26 0x406129c9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #27 0x40612736 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #28 0x40623855 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #29 0x40622c8c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #30 0x40623126 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #31 0x40431d87 in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0 #32 0x403414b2 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #33 0x40340306 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #34 0x4053e825 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0 #35 0x40662582 in g_main_depth () from /usr/lib/libglib-2.0.so.0 #36 0x406635f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #37 0x40663930 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #38 0x40663ed3 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #39 0x4033fbb3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #40 0x080b3a04 in main (argc=1, argv=0xbffff9b4) at main.cc:257
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208580400 (LWP 29252)] 0x004d33d3 in strlen () from /lib/libc.so.6 Current language: auto; currently c (gdb) bt #0 0x004d33d3 in strlen () from /lib/libc.so.6 #1 0x0068df18 in giop_send_buffer_append_string (buf=0x84cc300, str=0x0) at giop-send-buffer.c:515 #2 0x0069bd3f in ORBit_marshal_value (buf=0x84cc300, val=0xbfd3f958, tc=0x6c7f20) at corba-any.c:208 #3 0x0069b9f2 in ORBit_marshal_value (buf=0x84cc300, val=0xbfd3f958, tc=0x983620) at corba-any.c:166 #4 0x0069bec9 in ORBit_marshal_any (buf=0x84cc300, val=0xbfd3fc2c) at corba-any.c:374 #5 0x0069bb5c in ORBit_marshal_value (buf=0x84cc300, val=0xbfd3fac4, tc=0x6c8160) at corba-any.c:139 #6 0x0069b9f2 in ORBit_marshal_value (buf=0x84cc300, val=0xbfd3fac4, tc=0x983660) at corba-any.c:166 #7 0x006931f0 in orbit_small_marshal (obj=0x84d3e68, cnx=0x84a5280, mqe=0xbfd3fb1c, request_id=3218340688, m_data=0x986740, args=0xbfd3fc00, ctx=0x0) at orbit-small.c:353 #8 0x0069352a in ORBit_small_invoke_stub (obj=0x84d3e68, m_data=0x986740, ret=0x0, args=0xbfd3fc00, ctx=0x0, ev=0x30b3bc) at orbit-small.c:646 #9 0x0069375e in ORBit_small_invoke_stub_n (object=0x84d3e68, methods=0x986884, index=-1076627112, ret=0x0, args=0xbfd3fc00, ctx=0x0, ev=0x0) at orbit-small.c:575 #10 0x006a09c2 in ORBit_c_stub_invoke (obj=0x84d3e68, methods=0x986884, method_index=0, ret=0x0, args=0xbfd3fc00, ctx=0x0, ev=0x30b3bc, class_id=0, method_offset=4, skel_impl=0x968c50 <_ORBIT_skel_small_Accessibility_EventListener_notifyEvent>) at poa.c:2643
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1087525344 (LWP 4226)] 0x40427c2f in _gtk_menu_is_empty () from /usr/lib/libgtk-x11-2.0.so.0 (gdb) bt #0 0x40427c2f in _gtk_menu_is_empty () from /usr/lib/libgtk-x11-2.0.so.0 #1 0x404273ab in _gtk_menu_is_empty () from /usr/lib/libgtk-x11-2.0.so.0 #2 0x404273ab in _gtk_menu_is_empty () from /usr/lib/libgtk-x11-2.0.so.0 #3 0x40428214 in _gtk_menu_is_empty () from /usr/lib/libgtk-x11-2.0.so.0 #4 0x40424b64 in gtk_ui_manager_get_type () from /usr/lib/libgtk-x11-2.0.so.0 #5 0x404252e3 in gtk_ui_manager_get_widget () from /usr/lib/libgtk-x11-2.0.so.0 #6 0x0809da2d in Ochusha::BoardlistUI::get_menu_widget (this=0x0) at controller.h:188 #7 0x080f4279 in Ochusha::TreeUIImpl::setup_menubar (this=0x8225278) at tree_ui_impl.cc:2117 #8 0x080b6f07 in Ochusha::MainWindow::setup_main_ui (this=0xbfffd430) at main_window.cc:866 #9 0x080b7f4d in MainWindow (this=0xbfffd430, controller=@0xbfffca10) at main_window.cc:83 #10 0x080a5693 in Controller (this=0xbfffca10, repository=@0xbfffe8c0, command_pipe=@0xbfffe810, session=@0x0) at controller.cc:146 #11 0x080b6b08 in main (argc=1, argv=0xbffff9b4) at main.cc:245
ochusha cvsが又意味不明な原因で落ちます.... ちょっと長いので3回に分けて。 ---------------------------------------------- [pollux1@localhost ochusha-build]$ gdb ochusha GNU gdb Red Hat Linux (6.6-1.fc7rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/ochusha [Thread debugging using libthread_db enabled] [New Thread -1208690992 (LWP 11940)] GTK Accessibility Module initialized [New Thread -1212159088 (LWP 11965)] [New Thread -1222648944 (LWP 11966)] [New Thread -1233138800 (LWP 11967)] Couldn't unlock a Lock held by another thread!
Program received signal SIGABRT, Aborted. [Switching to Thread -1208690992 (LWP 11940)] 0x0062f402 in __kernel_vsyscall () Current language: auto; currently c (gdb) thread apply all bt
Thread 4 (Thread -1233138800 (LWP 11967)): #0 0x0062f402 in __kernel_vsyscall () #1 0x0052f0c6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x001738e9 in Ochusha::Monitor::wait (this=0x8d1c950) at lock.cc:272 #3 0x001866df in Ochusha::WorkerThread::worker_thread_main (arg=0x8d1ca90) at thread_pool.cc:116 #4 0x0052b2db in start_thread (arg=0xb67fcb90) at pthread_create.c:296 #5 0x0033797e in clone () from /lib/libc.so.6
Thread 3 (Thread -1222648944 (LWP 11966)): #0 0x0062f402 in __kernel_vsyscall () #1 0x0052f0c6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0x001738e9 in Ochusha::Monitor::wait (this=0x8d1c950) at lock.cc:272 #3 0x001866df in Ochusha::WorkerThread::worker_thread_main (arg=0x8d1c9c8) at thread_pool.cc:116 #4 0x0052b2db in start_thread (arg=0xb71fdb90) at pthread_create.c:296 #5 0x0033797e in clone () from /lib/libc.so.6
Thread 2 (Thread -1212159088 (LWP 11965)): #0 0x0062f402 in __kernel_vsyscall () #1 0x0032dd33 in *__GI___poll (fds=0x3b5ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #2 0x001806f7 in Ochusha::PollEventManager::event_loop (this=0xbf921a58) at poll_event_manager.cc:411 #3 0x00180a3d in Ochusha::PollEventManager::event_loop_thread_main (arg=0xbf921a58) at poll_event_manager.cc:517 #4 0x0052b2db in start_thread (arg=0xb7bfeb90) at pthread_create.c:296 #5 0x0033797e in clone () from /lib/libc.so.6
Thread 1 (Thread -1208690992 (LWP 11940)): #0 0x0062f402 in __kernel_vsyscall () #1 0x00292e80 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0x002946d1 in *__GI_abort () at abort.c:88 #3 0x00174362 in Ochusha::Lock::unlock (this=0x1b0e00) at lock.cc:184 #4 0x08084523 in ochusha_gdk_threads_leave () at main.cc:83
#5 0x008da970 in gail_misc_threads_leave (misc=0x8cf4230) at gailutil.c:657 #6 0x00a81167 in atk_misc_threads_leave (misc=0x6) at atkmisc.c:100 #7 0x001f212e in spi_atk_bridge_register_application (registry=<value optimized out>) at bridge.c:308 ---Type <return> to continue, or q <return> to quit--- #8 0x001f22f0 in spi_atk_bridge_get_registry () at bridge.c:420 #9 0x001f3057 in spi_atk_bridge_focus_tracker (object=0x9496ec0) at bridge.c:684 #10 0x00a80b7c in atk_focus_tracker_notify (object=0x9496ec0) at atkutil.c:199 #11 0x008ac5f0 in gail_focus_idle_handler (data=0x8e939c0) at gail.c:578 #12 0x005696e1 in g_idle_dispatch (source=0x9448548, callback=0x6, user_data=0x8e939c0) at gmain.c:3928 #13 0x0056b442 in IA__g_main_context_dispatch (context=0x8cddad8) at gmain.c:2045 #14 0x0056e41f in g_main_context_iterate (context=0x8cddad8, block=1, dispatch=1, self=0x8ccbc70) at gmain.c:2677 #15 0x0056e7c9 in IA__g_main_loop_run (loop=0x94ade70) at gmain.c:2881 #16 0x0572c604 in IA__gtk_main () at gtkmain.c:1148 #17 0x08084477 in main (argc=Cannot access memory at address 0x6 ) at main.cc:257 #18 0x0027fe90 in __libc_start_main (main=0x8083ec0 <main>, argc=1, ubp_av=0xbf9228c4, init=0x80cf7e0 <__libc_csu_init>, fini=0x80cf7d0 <__libc_csu_fini>, rtld_fini=0x259680 <_dl_fini>, stack_end=0xbf9228bc) at libc-start.c:222 #19 0x080589d1 in _start () (gdb) kill Kill the program being debugged? (y or n) y (gdb) qui [pollux1@localhost ochusha]$ rpm -q ochusha atk gail gtk2 glib2 ochusha-0.5.99.66-0.1.cvs070110.fc7 atk-1.13.2-1.fc7 gail-1.10.1-1.fc7 gtk2-2.10.9-1.fc7 glib2-2.12.9-1.fc7
/home/XXXX/.ochusha/config.xml.gz is unacceptable as an ochusha's config.xml.
/home/XXXX/.ochusha/session.xml.gz is unacceptable as an ochusha's session.xm l. /home/XXXX/.ochusha/boardlist.xml.gz is unacceptable as ochusha's boardlist.
download_ui.o: In function `open_download_dialog': /ochusha-0.5.8.2/gtk2/download_ui.c:398: undefined reference to `GTK_FILE_SELECTION' download_ui.o: In function `filesel_dialog_response_cb': /ochusha-0.5.8.2/gtk2/download_ui.c:240: undefined reference to `GTK_FILE_SELECTION'
then mv -f ".deps/paned_notebook.Tpo" ".deps/paned_notebook.Po"; else rm -f ".deps/paned_notebook.Tpo"; exit 1; fi paned_notebook.c: In function 'paned_notebook_init': paned_notebook.c:519: warning: implicit declaration of function 'gtk_tool_item_set_tooltip' paned_notebook.c:520: error: 'GtkToolbar' has no member named 'tooltips' paned_notebook.c:536: error: 'GtkToolbar' has no member named 'tooltips' paned_notebook.c:551: error: 'GtkToolbar' has no member named 'tooltips' paned_notebook.c:601: warning: implicit declaration of function 'gtk_object_sink' make[3]: *** [paned_notebook.o] Error 1 make[3]: Leaving directory `/home/yasu/rpmbuild/BUILD/ochusha-0.5.8.2/gtk2' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/yasu/rpmbuild/BUILD/ochusha-0.5.8.2/gtk2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/yasu/rpmbuild/BUILD/ochusha-0.5.8.2' make: *** [all] Error 2 エラー: /var/tmp/rpm-tmp.96815 の不正な終了ステータス (%build)
初心者ですまない 0.6をダウンロードして./configureしたが 何回やっても *** 'pkg-config --modversion glib-2.0' returned 2.6.4, but GLIB (2.12.3) *** was found! If pkg-config was correct, then it is best *** to remove the old version of GLib. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH *** to point to the correct configuration files no configure: error: glib-2.6.x or later is required と表示されて止まる・・・ どうしたらいいだろう
DELETE FROM ochusha_cookies WHERE GLOB("[a-z]*", name) AND domain != uri.get_server(); こんなSQL文を実行すれば良さそうだが SQLite3Statementクラスが C++初心者には、理解できていない誰か助けて。