Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how do I find out why xchat crashes on win XP?

2 views
Skip to first unread message

Vaidrius Petrauskas

unread,
Dec 12, 2003, 3:18:47 PM12/12/03
to
Bas van der Peet wrote:

> 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/

Craig Edwards

unread,
Dec 12, 2003, 4:12:11 PM12/12/03
to
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...

Michael Edenfield

unread,
Dec 12, 2003, 11:29:12 PM12/12/03
to
* Vaidrius Petrauskas <silv...@karklas.mif.vu.lt> [031212 15:22]:

> Bas van der Peet wrote:
>
> >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).

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

Bas van der Peet

unread,
Dec 13, 2003, 9:34:49 AM12/13/03
to
Hello Craig,

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

DaMouse Netowrks

unread,
Dec 13, 2003, 10:45:45 AM12/13/03
to
There was a message on http://silverex.xchat.org about the iconv.dll in TCL
clashing with the iconv.dll in the GTK+ distribution.
0 new messages