> I recently switches from win2k to win XP. The problem is that xchat
> worked fine under win2k but on XP it crashes immediately after opening
> the main window (the serverlist is visible for a second or so).
>
> I tried running it from a console window to see if there were any
> error messages but there weren't any. I also tried gdb under cygwin
> but that results in a gdb segfault.
Visual Studio.NET 2003 is required to debug it. Also, one would need to
recompile xchat, plugins, GTK+RE and maybe openssl with debugging
symbols (that means using compiler debug options and linking with msvcrt
debug version).
> So does anybody know why xchat crashes or at least how I can find out
> and fix it?
>
> Oh yes some more info: I tried this with xchat 2.0.5b, 2.0.6 and the
> unofficial builds at http://silverex.xchat.org/news/ but they all
> crash.
Maybe some lib or xchat plugin is causing this. What does Windows error
report say? To be more precise, what module caused crash?
Have you installed any scripting plugins and their corresponding Active*
packages?
--
Su pagarba,
Vaidrius Petrauskas
--
XChat-discuss: mailing list for XChat users
Archive: http://mail.nl.linux.org/xchat-discuss/
This isn't exactly true.
You don't need to rebuild the GTK environment to debug. You won't be
able to debug *into* GTK calls but you can step through XChat and get a
backtract with no problem. Same goes for OpenSSL.
You also don't need the debugging version of MSVCRT. That includes all
the C runtime symbols. Without them, again, you can't debug into the C
runtimes.
If you do try to build X-Chat under VS.NET, you will need to get this
library:
http://www.xchat.org/win32/testing/msvcrtlib_for_vc7.zip
and replace your existing msvcrt.lib with it. And you'll need to
disable the "Basic Runtime Checks" option in the project's properties.
(The default for a command-line compile is no runtime checks, but the
default for an IDE build is both stack frames & uninitialized variables.
These require extra functions that aren't in the old msvcrt.)
--K
Friday, December 12, 2003, 10:12:11 PM, you wrote:
> this happens when i have the tcl plugin loaded (i dont have
> activetcl) the quick fix is to remove the tcl dll from the xchat
> plugins dir...
Hmm it seems this was my problem as well. When I ran xchat in windows
2000 compatibility mode I got an error message about not finding TCL.
Without setting the compatibility mode xchat just crashes.
Also I'm pretty sure I deselected the TCL plugin during install so
normally this shouldn't have happened ...
[snip old messages]
Greetings,
Bas