Debian Bug report logs - #264459
bblaunch segfaults under Fedora Core 2 (patch)

version graph

Package: bblaunch; Maintainer for bblaunch is (unknown);

Reported by: publiustemp-debianbblaunch@yahoo.com

Date: Sun, 8 Aug 2004 23:03:04 UTC

Severity: normal

Found in version 0.0.3-5

Done: Martin Michlmayr <tbm@cyrius.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#264459; Package bblaunch. Full text and rfc822 format available.

Acknowledgement sent to publiustemp-debianbblaunch@yahoo.com:
New Bug report received and forwarded. Copy sent to Debian QA Group <packages@qa.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Ovid <publiustemp-debianbblaunch@yahoo.com>
To: submit@bugs.debian.org
Subject: bblaunch segfaults under Fedora Core 2 (patch)
Date: Sun, 8 Aug 2004 15:57:34 -0700 (PDT)
Package:  bblaunch
Version:  0.0.3-5

Any attempt to run bblaunch on Fedora Core 2 under Fluxbox results in "Segmentation fault" with no
core file.  This behavior is consistent regardless of arguments used.

[root@tomis .backups]# uname -a
Linux tomis 2.6.5-1.358.8kstacks #1 Sat May 22 21:46:42 EDT 2004 i686 athlon i386 GNU/Linux

[root@tomis .backups]# ls -l /lib/libc.so.6 
lrwxrwxrwx  1 root root 13 Jun 12 23:16 /lib/libc.so.6 -> libc-2.3.3.so

It appears that this package is no longer maintained: 
http://packages.qa.debian.org/b/bblaunch.html

I tracked down the problem to a bad cast and, as it turns out, the variable in question wasn't
even being used.  I deleted the line and everything works just fine.  Patch is below my signoff.

Please note that I cannot guarantee that this will fix anything in bblaunch other than allowing it
to run with the "-d 0" option, which I use to create a borderless aterm under fluxbox.

Cheers,
Ovid

--
Only in bblaunch-0.0.3: bblaunch
diff -u bblaunch-0.0.3.orig/bblaunch.c bblaunch-0.0.3/bblaunch.c
--- bblaunch-0.0.3.orig/bblaunch.c      2004-08-08 10:14:14.560014872 -0700
+++ bblaunch-0.0.3/bblaunch.c   2004-08-08 10:15:09.425674024 -0700
@@ -170,8 +170,6 @@
        launchargs.iconic = False;
        launchargs.pause = 1000;
 
-       sprintf(launchargs.call, "%s", (char *)atoi(argv[0]));
-
        i = 1;
        valargs = 1;
        while ((i < argc) && valargs) {
diff -u bblaunch-0.0.3.orig/bblaunch.h bblaunch-0.0.3/bblaunch.h
--- bblaunch-0.0.3.orig/bblaunch.h      2004-08-08 10:14:14.560014872 -0700
+++ bblaunch-0.0.3/bblaunch.h   2004-08-08 10:15:16.908536456 -0700
@@ -1,7 +1,6 @@
 
 typedef struct LArgs
   {
-    char call[1024];
     char command[1024];
     unsigned long flags, attrib, workspace, stack, decoration;
     unsigned long pause;



=====
Silence is Evil            http://users.easystreet.com/ovid/philosophy/indexdecency.htm
Ovid                       http://www.perlmonks.org/index.pl?node_id=17000
Web Programming with Perl  http://users.easystreet.com/ovid/cgi_course/



Reply sent to Martin Michlmayr <tbm@cyrius.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to publiustemp-debianbblaunch@yahoo.com:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 264459-done@bugs.debian.org (full text, mbox):

From: Martin Michlmayr <tbm@cyrius.com>
To: 153485-done@bugs.debian.org, 179122-done@bugs.debian.org, 264459-done@bugs.debian.org
Subject: Removed from Debian
Date: Wed, 9 Mar 2005 11:45:28 +0800
bblaunch has been removed from Debian because it has not been
maintained (neither in Debian nor upstream) and because it has limited
usefulness.
-- 
Martin Michlmayr
http://www.cyrius.com/



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 02:07:55 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.