Am Thu, 22 Jul 2004 01:33:33 +0200 (Romance Daylight Time) schrieb (Vadim Zeitlin <[EMAIL PROTECTED]>):
> On Wed, 21 Jul 2004 21:22:56 +0200 (CEST) Martin Jost <[EMAIL PROTECTED]> wrote: > > MJ> > Hmm, I wonder why is it called "Tips". It should be "Tips.txt"... > ... > MJ> Sorry, didn't help. Still a problem, but as it seems a new one. > MJ> (Tips.txt is now present) I will have a closer look. > > Should be fixed now. Yes it is. Thanks. > MJ> > MJ> 4. When I started the newly build M it couldn't find the help files. > MJ> > MJ> The directory entry for this was one off. > MJ> > > MJ> > Sorry, what do you mean? > MJ> > MJ> It looks in .../share/mahogany > MJ> Instead of .../share/mahogany/doc/ > > This too (this was the same problem, in fact). Yes too. > MJ> > wxWindows only looks in the standard locations and M doesn't add its > MJ> > PREFIX to the list of paths to search. I'll correct this. > MJ> > MJ> Until just now it still doesn't work. (Just did a cvs update) > > I hadn't had time to do it, just did it now. Yes, translation now comes up. (Modulo the "old" places, where the translation is present, but english is shown ;-( > MJ> > MJ> 7. Trying to create a new message ends M prematurately with > MJ> > MJ> "Fatal Error: can't load any font, aborting" in the window where it was > started. > MJ> > > MJ> > This might be fixed by my todays changes. Please let me know if the > MJ> > problem still persists. > MJ> > MJ> This problem is gone. I don't know if it is due to the 'cvs update' or the > MJ> wxwidgets update or configuring wxwidgets --without-gtk2. > > Both :-) I did fix the problem for GTK2 and, of course, it didn't exist > with GTK1. I think it's better to continue testing with GTK2, I'll > concentrate more on GTK2 version from now on as it has become default for > wxGTK. Now also works with gtk2. > MJ> BUT when I start it as "jost"... > MJ> ... if my "old" config is still present I get: > MJ> >/pd/mahogany0.66cvs/bin/M > MJ> Gtk-CRITICAL **: file gtkwidget.c: line 3358 (gtk_widget_set_parent): assertion > `!GTK_WIDGET_TOPLEVEL (widget)' failed. > > Can you run it under gdb, do "b g_log" and "bt" when it is hit? > This one is still present. Here are the results: gdb) b g_log Function "g_log" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (g_log) pending. (gdb) r Starting program: /pd/mahogany0.66cvs/bin/M [Thread debugging using libthread_db enabled] [New Thread 1085672608 (LWP 505)] Breakpoint 2 at 0x4097d213 Pending breakpoint "g_log" resolved [Switching to Thread 1085672608 (LWP 505)] Breakpoint 2, 0x4097d213 in g_log () from /opt/gnome/lib/libglib-1.2.so.0 (gdb) bt #0 0x4097d213 in g_log () from /opt/gnome/lib/libglib-1.2.so.0 #1 0x408f49ef in gtk_widget_set_parent () from /opt/gnome/lib/libgtk-1.2.so.0 #2 0x40252527 in gtk_pizza_put () from /pd/wxGTK_cvs/lib/libwx_gtk_core-2.5.so.2 #3 0x4025b32b in wxInsertChildInWindow () from /pd/wxGTK_cvs/lib/libwx_gtk_core-2.5.so.2 #4 0x4025771b in wxWindow::Reparent () from /pd/wxGTK_cvs/lib/libwx_gtk_core-2.5.so.2 #5 0x40253ff7 in wxWindow::DoAddChild () from /pd/wxGTK_cvs/lib/libwx_gtk_core-2.5.so.2 #6 0x4025b2b4 in wxWindow::Create () from /pd/wxGTK_cvs/lib/libwx_gtk_core-2.5.so.2 #7 0x4025b46a in wxWindow::wxWindow () from /pd/wxGTK_cvs/lib/libwx_gtk_core-2.5.so.2 #8 0x081c2085 in wxAboutWindow::wxAboutWindow () #9 0x081c2efc in wxAboutFrame::wxAboutFrame () #10 0x081c2f9a in MDialog_AboutDialog () #11 0x08120a0e in MAppBase::OnStartup () #12 0x081b29d0 in wxMApp::OnInit () #13 0x081b3b0f in wxAppConsole::CallOnInit () #14 0x404da9ad in wxEntry () from /pd/wxGTK_cvs/lib/libwx_base-2.5.so.2 #15 0x081b3ab7 in main () I tried a second thing. (In fact I tried it first, because I only remembered "gdb" and "stacktrace". gdb /pd/mahogany0.66cvs/bin/M GNU gdb 6.1 Copyright 2004 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 "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) r Starting program: /pd/mahogany0.66cvs/bin/M [Thread debugging using libthread_db enabled] [New Thread 1085672608 (LWP 482)] Gtk-CRITICAL **: file gtkwidget.c: line 3358 (gtk_widget_set_parent): assertion `!GTK_WIDGET_TOPLEVEL (widget)' failed. Program received signal SIGINT, Interrupt. [Switching to Thread 1085672608 (LWP 482)] 0x408008fa in __i686.get_pc_thunk.bx () from /opt/gnome/lib/libgtk-1.2.so.0 (gdb) bt #0 0x408008fa in __i686.get_pc_thunk.bx () from /opt/gnome/lib/libgtk-1.2.so.0 #1 0x4082f63c in gtk_container_get_type () from /opt/gnome/lib/libgtk-1.2.so.0 #2 0x408f4855 in gtk_widget_set_style_recurse () from /opt/gnome/lib/libgtk-1.2.so.0 #3 0x40805807 in gtk_bin_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #4 0x408aedb5 in gtk_scrolled_window_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #5 0x4083019b in gtk_container_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #6 0x408f4881 in gtk_widget_set_style_recurse () from /opt/gnome/lib/libgtk-1.2.so.0 #7 0x40252950 in gtk_pizza_forall () from /pd/wxGTK_cvs/lib/libwx_gtk_core-2.5.so.2 #8 0x4083019b in gtk_container_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #9 0x408f4881 in gtk_widget_set_style_recurse () from /opt/gnome/lib/libgtk-1.2.so.0 #10 0x40252950 in gtk_pizza_forall () from /pd/wxGTK_cvs/lib/libwx_gtk_core-2.5.so.2 #11 0x4083019b in gtk_container_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #12 0x408f4881 in gtk_widget_set_style_recurse () from /opt/gnome/lib/libgtk-1.2.so.0 #13 0x40805807 in gtk_bin_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #14 0x4083019b in gtk_container_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #15 0x408f4881 in gtk_widget_set_style_recurse () from /opt/gnome/lib/libgtk-1.2.so.0 #16 0x40252950 in gtk_pizza_forall () from /pd/wxGTK_cvs/lib/libwx_gtk_core-2.5.so.2 #17 0x4083019b in gtk_container_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #18 0x408f4881 in gtk_widget_set_style_recurse () from /opt/gnome/lib/libgtk-1.2.so.0 #19 0x40805807 in gtk_bin_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #20 0x408aedb5 in gtk_scrolled_window_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #21 0x4083019b in gtk_container_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #22 0x408f4881 in gtk_widget_set_style_recurse () from /opt/gnome/lib/libgtk-1.2.so.0 #23 0x40252950 in gtk_pizza_forall () from /pd/wxGTK_cvs/lib/libwx_gtk_core-2.5.so.2 #24 0x4083019b in gtk_container_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #25 0x408f4881 in gtk_widget_set_style_recurse () from /opt/gnome/lib/libgtk-1.2.so.0 #26 0x40252950 in gtk_pizza_forall () from /pd/wxGTK_cvs/lib/libwx_gtk_core-2.5.so.2 #27 0x4083019b in gtk_container_forall () from /opt/gnome/lib/libgtk-1.2.so.0 #28 0x408f4881 in gtk_widget_set_style_recurse () from /opt/gnome/lib/libgtk-1.2.so.0 #29 0x40805807 in gtk_bin_forall () from /opt/gnome/lib/libgtk-1.2.so.0 [....] I started M under gdb. Then waired until the message came up. At that moment I hit CTRL-C. And then did a backtrace. Seems this is a sort of endless recursion. (But I don't know if I see some artefact of my (mis)usage.) Late enough for today.... Martin ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers