[Bug 885329] Re: eggdrop crash on i386
Martin Pitt
martin.pitt at ubuntu.com
Thu May 24 05:23:42 UTC 2012
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/885329
Title:
eggdrop crash on i386
Status in “eggdrop” package in Ubuntu:
Fix Released
Status in “eggdrop” source package in Oneiric:
Fix Committed
Status in “eggdrop” source package in Precise:
Fix Committed
Status in “eggdrop” package in Debian:
Fix Released
Bug description:
[Impact]
Eggdrop crashes when trying to start on a i386 machine
[Development Fix]
=== modified file 'src/tclhash.c'
--- src/tclhash.c 2008-08-18 00:26:01 +0000
+++ src/tclhash.c 2011-11-06 05:20:30 +0000
@@ -1202,7 +1202,7 @@
for (i = 0; cc[i].name; i++) {
egg_snprintf(p, sizeof p, "*%s:%s", tl->name,
cc[i].funcname ? cc[i].funcname : cc[i].name);
- l = nmalloc(Tcl_ScanElement(p, &k));
+ l = nmalloc(Tcl_ScanElement(p, &k) + 1);
Tcl_ConvertElement(p, l, k | TCL_DONT_USE_BRACES);
table[0].cdata = (void *) cc[i].func;
add_cd_tcl_cmds(table);
@@ -1220,7 +1220,7 @@
for (i = 0; cc[i].name; i++) {
egg_snprintf(p, sizeof p, "*%s:%s", table->name,
cc[i].funcname ? cc[i].funcname : cc[i].name);
- l = nmalloc(Tcl_ScanElement(p, &k));
+ l = nmalloc(Tcl_ScanElement(p, &k) + 1);
Tcl_ConvertElement(p, l, k | TCL_DONT_USE_BRACES);
Tcl_DeleteCommand(interp, p);
unbind_bind_entry(table, cc[i].flags, cc[i].name, l);
[Stable Fix]
Same as the development fix
[Test Case]
Install eggdrop on an i386 machine
Launch eggdrop from the terminal
[Regression Potential]
[Original Report]Eggdrop crashes when trying to start on a i386 machine after update from ubuntu 11.04 to ubuntu 11.10
It works on my other updated amd64 machine, but it also crashes on my updated virtual i386 machine (virtualbox).
Here is output from when trying to start the eggdrop:
http://pastebin.com/0cV4AYm9
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: eggdrop 1.6.19-1.2ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Wed Nov 2 17:45:55 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/eggdrop
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: eggdrop
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eggdrop/+bug/885329/+subscriptions
More information about the Ubuntu-sponsors
mailing list