Summary: | Crash when quitting with a connection attempt stuck on an invalid pre-shell command [Server::_send_internal, QIODevice::write] | ||
---|---|---|---|
Product: | [Applications] konversation | Reporter: | João Eiras <joao.eiras> |
Component: | general | Assignee: | Konversation Developers <konversation-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | hein |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
João Eiras
2009-11-13 04:38:22 UTC
To reproduce this, I had the following setup: - one account on some irc server - one identity bound to the irc server account * on the identity dialog I experimented placing a "/nickserv ghost nickname pw" command on the "pre-shell command" field in the advanced tab (don't ask me if that's right :p) - I tried to connect to the server but it failed, the connection just stalled, so I closed konversation then and it crashed > on the identity dialog I experimented placing a "/nickserv ghost nickname pw" command on the "pre-shell command" field in the advanced tab The "Pre-shell command" field is for a system command, e.g. to establish an SSH tunnel before connecting. It's not an IRC command. To run IRC commands at connection time, see the "Commands" field in a network's settings. Specifically for nick ghosting, see also this Wiki page: http://konversation.kde.org/wiki/Ghosttrick Crash reproduced (thanks for the extra info!); expanding the bug title a bit. SVN commit 1052196 by hein: * Avoid possibly stalling the connection attempt when there's a problem executing the pre-shell command. * Add a sanity check to Server::quitServer() so it won't crash when it's called without the socket having been initialized. BUG:214346 M +5 -0 ChangeLog M +13 -1 src/irc/server.cpp M +1 -0 src/irc/server.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1052196 |