[email protected]
[Top] [All Lists]

Bug#313027: marked as forwarded (gamix: Prog -> Config cause the program

Subject: Bug#313027: marked as forwarded gamix: Prog -> Config cause the program to quit
From: Debian Bug Tracking System
Date: Mon, 20 Jun 2005 03:48:28 -0700
Your message dated Mon, 20 Jun 2005 19:34:16 +0900
with message-id <[email protected]>
has caused the Debian Bug report #313027,
regarding gamix: Prog -> Config cause the program to quit
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at 313027-forwarded) by bugs.debian.org; 20 Jun 2005 10:33:24 +0000
>From [email protected] Mon Jun 20 03:33:24 2005
Return-path: <[email protected]>
Received: from (viper2.netfort.gr.jp) 
        by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
        id 1DkJam-0000Dz-00; Mon, 20 Jun 2005 03:33:24 -0700
Received: (qmail 24132 invoked from network); 20 Jun 2005 10:33:22 -0000
Received: from unknown (HELO atoron.dancer.pr.jp.netfort.gr.jp) (
  by viper2.netfort.gr.jp with SMTP; 20 Jun 2005 10:33:22 -0000
Date: Mon, 20 Jun 2005 19:34:16 +0900
Message-ID: <[email protected]>
From: Junichi Uekawa <[email protected]>
To: [email protected]
Cc: Emmanuel CHANTREAU <[email protected]>,
        [email protected]
Subject: Re: Bug#313027: gamix: Prog -> Config cause the program to quit
In-Reply-To: <[email protected]>
References: <[email protected]>
User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) 
FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.4 (i386-pc-linux-gnu) MULE/5.0 
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Hi, murata-san.

has the full log: 
user will see gamix quit when opening 'Prog->Conf' menu
due to the fact that a card has no mixer, when a USB MIDI
device is connected.

> As in bug #271653 gamix quit when I select the configure menu.
> If I remove the usb midi keyboard then gamix works fine.

I've tracked it down to the fact g_malloc returns NULL if 
asked to allocate 0 bytes; 

g_malloc (gulong n_bytes)
  if (n_bytes)
      gpointer mem;

      mem = glib_mem_vtable.malloc (n_bytes);
      if (mem)
        return mem;

      g_error ("%s: failed to allocate %lu bytes", G_STRLOC, n_bytes);

  return NULL;

and in conf_w.c, it is asking g_malloc to allocate 0 bytes:
                c->cobjs=(c_cobj_t *)g_malloc(j*sizeof(c_cobj_t));
                c->ord_l=(gint *)g_malloc(j*sizeof(gint));
                if( c->cobjs == NULL || c->ord_l == NULL ) {
                        return -1;

Junichi Uekawa, Debian Developer   http://www.netfort.gr.jp/~dancer/
183A 70FC 4732 1B87 57A5  CE82 D837 7D4E E81E 55C1 

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#313027: marked as forwarded (gamix: Prog -> Config cause the program to quit), Debian Bug Tracking System <=