Bug 89235 - KMix crashes at start
Summary: KMix crashes at start
Status: RESOLVED FIXED
Alias: None
Product: kmix
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
: 92641 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-10 14:00 UTC by Sohel Fares
Modified: 2004-11-06 11:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sohel Fares 2004-09-10 14:00:17 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Mandrake RPMs
OS:                OpenBSD

I must start alsa manually despite the fact that it is set to start at startup and that the startup screen indicates that Alsa is already running.

In order to activate KMIX I have to start it manually via Configuration Services.

Infortunately it does not retain setting and I have restart ALSA each time I log in

Is this service in english only? I bought Linux in French.
Comment 1 Nicolas Goutte 2004-09-10 14:58:41 UTC
Yes, KDE Bugs is in English only. KDE is developed by many volunteers (and a few professional developers too) around the world and therefore only English can be used as common language.

Have a nice day!
Comment 2 Sohel Fares 2004-09-11 04:39:22 UTC
Nicolas

Est-ce que l'on vous defend de communiquer en anglais? Nous autres au Québec
on respecte la langue du client. S'il est vrai que je parle très bien
anglais, je prefere parler français et pour cela j'ai choisi Mandrake. Si je
ne voulais pas acheter americain et que j'acceptai de parler anglais j'aurai
acheté allemand (Knoppix ou Debian). Une vraie déception. Si vous etes
contraint de parler anglais veuillez passer ce message a votre patron et
sachez que je ne recommandrai pas le logiciel à mes amis. Voila que la
France se prostitue.!

Sohel
----- Original Message ----- 
From: "Nicolas Goutte" <nicolasg@snafu.de>
To: <Sohel@videotron.ca>
Sent: Friday, September 10, 2004 8:58 AM
Subject: [Bug 89235] KMix crashes at start


> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=89235
> nicolasg snafu de changed:
>
>            What    |Removed                     |Added
> --------------------------------------------------------------------------
--
>                  CC|                            |nicolasg snafu de
>          OS/Version|OpenBSD                     |Linux
>             Summary|Kmix refuse de partir .     |KMix crashes at start
>                    |apparition du gestionnaires |
>                    |des pannes                  |
>
>
>
> ------- Additional Comments From nicolasg snafu de  2004-09-10
14:58 -------
> Yes, KDE Bugs is in English only. KDE is developed by many volunteers (and
a few professional developers too) around the world and therefore only
English can be used as common language.
>
> Have a nice day!

Comment 3 Nicolas Goutte 2004-09-11 14:41:09 UTC
Je ne sais vraiment pas où vous voulez en venir. Vous être peut-être client 
direct de Mandrake, mais ici ce n'est pas Mandrake mais KDE.

(Quant à Debian, c'est tout aussi un projet de volontaires que KDE, d'origine 
Américaine et donc pas allemand.)

On Saturday 11 September 2004 04:39, Sohel Fares wrote:
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
> http://bugs.kde.org/show_bug.cgi?id=89235
>
>
>
>
> ------- Additional Comments From Sohel videotron ca  2004-09-11 04:39
> ------- Nicolas
>
> Est-ce que l'on vous defend de communiquer en anglais? Nous autres au
> Québec on respecte la langue du client. S'il est vrai que je parle très
> bien anglais, je prefere parler français et pour cela j'ai choisi Mandrake.
> Si je ne voulais pas acheter americain et que j'acceptai de parler anglais
> j'aurai acheté allemand (Knoppix ou Debian). Une vraie déception. Si vous
> etes contraint de parler anglais veuillez passer ce message a votre patron
> et sachez que je ne recommandrai pas le logiciel à mes amis. Voila que la
> France se prostitue.!
>
> Sohel
> ----- Original Message -----
> From: "Nicolas Goutte" <nicolasg snafu de>
> To: <Sohel videotron ca>
> Sent: Friday, September 10, 2004 8:58 AM
> Subject: [Bug 89235] KMix crashes at start
>
> > ------- You are receiving this mail because: -------
> > You reported the bug, or are watching the reporter.
> >
> > http://bugs.kde.org/show_bug.cgi?id=89235
> > nicolasg snafu de changed:
> >
> >            What    |Removed                     |Added
> > -------------------------------------------------------------------------
> >-
>
> --
>
> >                  CC|                            |nicolasg snafu de
> >          OS/Version|OpenBSD                     |Linux
> >             Summary|Kmix refuse de partir .     |KMix crashes at start
> >
> >                    |apparition du gestionnaires |
> >                    |des pannes                  |
> >
> > ------- Additional Comments From nicolasg snafu de  2004-09-10
>
> 14:58 -------
>
> > Yes, KDE Bugs is in English only. KDE is developed by many volunteers
> > (and
>
> a few professional developers too) around the world and therefore only
> English can be used as common language.
>
> > Have a nice day!

Comment 4 Christian Esken 2004-09-18 12:09:32 UTC
Please report the KMix version you are using.
Comment 5 Christian Esken 2004-11-03 22:04:00 UTC
*** Bug 92641 has been marked as a duplicate of this bug. ***
Comment 6 Christian Esken 2004-11-03 22:08:27 UTC
CVS commit by esken: 

Double-deletion of KMix MainWindow lead to crash on exit.
No-deletion of KMix MainWindow lead to crash on next start (or login), as KMix was still half-alive.
BUG: 89235
BUG: 87348
BUG: 84898


  M +13 -6     KMixApp.cpp   1.8
  M +4 -1      KMixApp.h   1.3
  M +4 -2      main.cpp   1.28


--- kdemultimedia/kmix/KMixApp.cpp  #1.7:1.8
@@ -27,7 +27,9 @@
 #include <kdebug.h>
 
+
 KMixApp::KMixApp()
-    : KUniqueApplication(), m_kmix( 0 )
+    : KUniqueApplication(), m_kmix( 0 ), _lastWindowClosed( false )
 {
+   connect( this, SIGNAL(lastWindowClosed()), this, SLOT(rememberLastWindowClosed()) );
 }
 
@@ -35,5 +37,8 @@ KMixApp::KMixApp()
 KMixApp::~KMixApp()
 {
+   if ( !_lastWindowClosed) {
+       _lastWindowClosed = true;
     delete m_kmix;
+   }
 }
 
@@ -54,6 +59,4 @@ KMixApp::newInstance()
                         m_kmix->restore(0, FALSE);
                 }
-                this->ref(); // referencing myself, so that quitExtended() can run
-               _refActive = true; 
         }
 
@@ -69,7 +72,11 @@ KMixApp::quitExtended()
     // isVisible() would return on quit always false (which would be bad).
     emit stopUpdatesOnVisibility();
-    if ( _refActive) { _refActive= false; this->deref(); }
     quit();
 }
 
+void KMixApp::rememberLastWindowClosed() {
+   // remember that, so that we don't delete the MainWindow again in the destructor
+   _lastWindowClosed = true;
+}
+
 #include "KMixApp.moc"

--- kdemultimedia/kmix/KMixApp.h  #1.2:1.3
@@ -20,7 +20,10 @@ Q_OBJECT
     void stopUpdatesOnVisibility();
     
+ private slots:
+    void rememberLastWindowClosed();
+    
  private:
     KMixWindow *m_kmix;
-    bool       _refActive;
+    bool       _lastWindowClosed;
 };
 

--- kdemultimedia/kmix/main.cpp  #1.27:1.28
@@ -63,5 +63,7 @@ extern "C" int kdemain(int argc, char *a
        return 0;
 
-   KMixApp app;
-   return app.exec();
+   KMixApp *app = new KMixApp();
+   int ret = app->exec();
+   delete app;
+   return ret;
 }


Comment 7 Eric Gildersleeve 2004-11-04 04:58:33 UTC
Christian,

I am aware that this is a duplicate, but I did this because I did not see a 
fix for the other genetlmans system, or it was written in French.

How does one fix this problem properly?

Eric


On Wednesday 03 November 2004 15:08, Christian Esken wrote:
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
> http://bugs.kde.org/show_bug.cgi?id=89235
> esken kde org changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |FIXED
>
>
>
> ------- Additional Comments From esken kde org  2004-11-03 22:08 -------
> CVS commit by esken:
>
> Double-deletion of KMix MainWindow lead to crash on exit.
> No-deletion of KMix MainWindow lead to crash on next start (or login), as
> KMix was still half-alive. BUG: 89235
> BUG: 87348
> BUG: 84898
>
>
>   M +13 -6     KMixApp.cpp   1.8
>   M +4 -1      KMixApp.h   1.3
>   M +4 -2      main.cpp   1.28
>
>
> --- kdemultimedia/kmix/KMixApp.cpp  #1.7:1.8
>  @ -27,7 +27,9  @
>  #include <kdebug.h>
>
> +
>  KMixApp::KMixApp()
> -    : KUniqueApplication(), m_kmix( 0 )
> +    : KUniqueApplication(), m_kmix( 0 ), _lastWindowClosed( false )
>  {
> +   connect( this, SIGNAL(lastWindowClosed()), this,
> SLOT(rememberLastWindowClosed()) ); }
>
>  @ -35,5 +37,8  @ KMixApp::KMixApp()
>  KMixApp::~KMixApp()
>  {
> +   if ( !_lastWindowClosed) {
> +       _lastWindowClosed = true;
>      delete m_kmix;
> +   }
>  }
>
>  @ -54,6 +59,4  @ KMixApp::newInstance()
>                          m_kmix->restore(0, FALSE);
>                  }
> -                this->ref(); // referencing myself, so that quitExtended()
> can run -               _refActive = true;
>          }
>
>  @ -69,7 +72,11  @ KMixApp::quitExtended()
>      // isVisible() would return on quit always false (which would be bad).
>      emit stopUpdatesOnVisibility();
> -    if ( _refActive) { _refActive= false; this->deref(); }
>      quit();
>  }
>
> +void KMixApp::rememberLastWindowClosed() {
> +   // remember that, so that we don't delete the MainWindow again in the
> destructor +   _lastWindowClosed = true;
> +}
> +
>  #include "KMixApp.moc"
>
> --- kdemultimedia/kmix/KMixApp.h  #1.2:1.3
>  @ -20,7 +20,10  @ Q_OBJECT
>      void stopUpdatesOnVisibility();
>
> + private slots:
> +    void rememberLastWindowClosed();
> +
>   private:
>      KMixWindow *m_kmix;
> -    bool       _refActive;
> +    bool       _lastWindowClosed;
>  };
>
>
> --- kdemultimedia/kmix/main.cpp  #1.27:1.28
>  @ -63,5 +63,7  @ extern "C" int kdemain(int argc, char *a
>         return 0;
>
> -   KMixApp app;
> -   return app.exec();
> +   KMixApp *app = new KMixApp();
> +   int ret = app->exec();
> +   delete app;
> +   return ret;
>  }

Comment 8 Sohel Fares 2004-11-04 13:16:07 UTC
Thanks for solving the problem but how do I do to implement the fix in my
computer?

Sohel
----- Original Message ----- 
From: "Eric Gildersleeve" <eric@4gildersleeve.us>
To: <Sohel@videotron.ca>
Sent: Wednesday, November 03, 2004 10:58 PM
Subject: [Bug 89235] KMix crashes at start


> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=89235
>
>
>
>
> ------- Additional Comments From eric 4gildersleeve us  2004-11-04
04:58 -------
> Christian,
>
> I am aware that this is a duplicate, but I did this because I did not see
a
> fix for the other genetlmans system, or it was written in French.
>
> How does one fix this problem properly?
>
> Eric
>
>
> On Wednesday 03 November 2004 15:08, Christian Esken wrote:
> > ------- You are receiving this mail because: -------
> > You are on the CC list for the bug, or are watching someone who is.
> >
> > http://bugs.kde.org/show_bug.cgi?id=89235
> > esken kde org changed:
> >
> >            What    |Removed                     |Added
>
> --------------------------------------------------------------------------
-
> >- Status|UNCONFIRMED                 |RESOLVED
> >          Resolution|                            |FIXED
> >
> >
> >
> > ------- Additional Comments From esken kde org  2004-11-03 22:08 -------
> > CVS commit by esken:
> >
> > Double-deletion of KMix MainWindow lead to crash on exit.
> > No-deletion of KMix MainWindow lead to crash on next start (or login),
as
> > KMix was still half-alive. BUG: 89235
> > BUG: 87348
> > BUG: 84898
> >
> >
> >   M +13 -6     KMixApp.cpp   1.8
> >   M +4 -1      KMixApp.h   1.3
> >   M +4 -2      main.cpp   1.28
> >
> >
> > --- kdemultimedia/kmix/KMixApp.cpp  #1.7:1.8
> >  @ -27,7 +27,9  @
> >  #include <kdebug.h>
> >
> > +
> >  KMixApp::KMixApp()
> > -    : KUniqueApplication(), m_kmix( 0 )
> > +    : KUniqueApplication(), m_kmix( 0 ), _lastWindowClosed( false )
> >  {
> > +   connect( this, SIGNAL(lastWindowClosed()), this,
> > SLOT(rememberLastWindowClosed()) ); }
> >
> >  @ -35,5 +37,8  @ KMixApp::KMixApp()
> >  KMixApp::~KMixApp()
> >  {
> > +   if ( !_lastWindowClosed) {
> > +       _lastWindowClosed = true;
> >      delete m_kmix;
> > +   }
> >  }
> >
> >  @ -54,6 +59,4  @ KMixApp::newInstance()
> >                          m_kmix->restore(0, FALSE);
> >                  }
> > -                this->ref(); // referencing myself, so that
quitExtended()
> > can run -               _refActive = true;
> >          }
> >
> >  @ -69,7 +72,11  @ KMixApp::quitExtended()
> >      // isVisible() would return on quit always false (which would be
bad).
> >      emit stopUpdatesOnVisibility();
> > -    if ( _refActive) { _refActive= false; this->deref(); }
> >      quit();
> >  }
> >
> > +void KMixApp::rememberLastWindowClosed() {
> > +   // remember that, so that we don't delete the MainWindow again in
the
> > destructor +   _lastWindowClosed = true;
> > +}
> > +
> >  #include "KMixApp.moc"
> >
> > --- kdemultimedia/kmix/KMixApp.h  #1.2:1.3
> >  @ -20,7 +20,10  @ Q_OBJECT
> >      void stopUpdatesOnVisibility();
> >
> > + private slots:
> > +    void rememberLastWindowClosed();
> > +
> >   private:
> >      KMixWindow *m_kmix;
> > -    bool       _refActive;
> > +    bool       _lastWindowClosed;
> >  };
> >
> >
> > --- kdemultimedia/kmix/main.cpp  #1.27:1.28
> >  @ -63,5 +63,7  @ extern "C" int kdemain(int argc, char *a
> >         return 0;
> >
> > -   KMixApp app;
> > -   return app.exec();
> > +   KMixApp *app = new KMixApp();
> > +   int ret = app->exec();
> > +   delete app;
> > +   return ret;
> >  }

Comment 9 Sohel Fares 2004-11-05 12:49:59 UTC
Eric

This link is useless to tell me what to do now that you have solve the KMIX
problem. Please tell me what do I have to do in my computer to fix the
problem. I hope the you are not going to link me again to an automatic
answering like you did before.

Thanks

Sohel


en francais maintenant:

Vous m'avez renvoyé une fois de plus vers ce lien ou je ne trouve pas
comment regler mon problème de KMIX. Ce lien ne fait état que le probème est
réglé. Svp dites-moi ce que je dois faire pour corriger le problème sur mon
PC.

merci

Sohel





----- Original Message ----- 
From: "Eric Gildersleeve" <eric@4gildersleeve.us>
To: <Sohel@videotron.ca>
Sent: Wednesday, November 03, 2004 10:58 PM
Subject: [Bug 89235] KMix crashes at start


> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=89235
>
>
>
>
> ------- Additional Comments From eric 4gildersleeve us  2004-11-04
04:58 -------
> Christian,
>
> I am aware that this is a duplicate, but I did this because I did not see
a
> fix for the other genetlmans system, or it was written in French.
>
> How does one fix this problem properly?
>
> Eric
>
>
> On Wednesday 03 November 2004 15:08, Christian Esken wrote:
> > ------- You are receiving this mail because: -------
> > You are on the CC list for the bug, or are watching someone who is.
> >
> > http://bugs.kde.org/show_bug.cgi?id=89235
> > esken kde org changed:
> >
> >            What    |Removed                     |Added
>
> --------------------------------------------------------------------------
-
> >- Status|UNCONFIRMED                 |RESOLVED
> >          Resolution|                            |FIXED
> >
> >
> >
> > ------- Additional Comments From esken kde org  2004-11-03 22:08 -------
> > CVS commit by esken:
> >
> > Double-deletion of KMix MainWindow lead to crash on exit.
> > No-deletion of KMix MainWindow lead to crash on next start (or login),
as
> > KMix was still half-alive. BUG: 89235
> > BUG: 87348
> > BUG: 84898
> >
> >
> >   M +13 -6     KMixApp.cpp   1.8
> >   M +4 -1      KMixApp.h   1.3
> >   M +4 -2      main.cpp   1.28
> >
> >
> > --- kdemultimedia/kmix/KMixApp.cpp  #1.7:1.8
> >  @ -27,7 +27,9  @
> >  #include <kdebug.h>
> >
> > +
> >  KMixApp::KMixApp()
> > -    : KUniqueApplication(), m_kmix( 0 )
> > +    : KUniqueApplication(), m_kmix( 0 ), _lastWindowClosed( false )
> >  {
> > +   connect( this, SIGNAL(lastWindowClosed()), this,
> > SLOT(rememberLastWindowClosed()) ); }
> >
> >  @ -35,5 +37,8  @ KMixApp::KMixApp()
> >  KMixApp::~KMixApp()
> >  {
> > +   if ( !_lastWindowClosed) {
> > +       _lastWindowClosed = true;
> >      delete m_kmix;
> > +   }
> >  }
> >
> >  @ -54,6 +59,4  @ KMixApp::newInstance()
> >                          m_kmix->restore(0, FALSE);
> >                  }
> > -                this->ref(); // referencing myself, so that
quitExtended()
> > can run -               _refActive = true;
> >          }
> >
> >  @ -69,7 +72,11  @ KMixApp::quitExtended()
> >      // isVisible() would return on quit always false (which would be
bad).
> >      emit stopUpdatesOnVisibility();
> > -    if ( _refActive) { _refActive= false; this->deref(); }
> >      quit();
> >  }
> >
> > +void KMixApp::rememberLastWindowClosed() {
> > +   // remember that, so that we don't delete the MainWindow again in
the
> > destructor +   _lastWindowClosed = true;
> > +}
> > +
> >  #include "KMixApp.moc"
> >
> > --- kdemultimedia/kmix/KMixApp.h  #1.2:1.3
> >  @ -20,7 +20,10  @ Q_OBJECT
> >      void stopUpdatesOnVisibility();
> >
> > + private slots:
> > +    void rememberLastWindowClosed();
> > +
> >   private:
> >      KMixWindow *m_kmix;
> > -    bool       _refActive;
> > +    bool       _lastWindowClosed;
> >  };
> >
> >
> > --- kdemultimedia/kmix/main.cpp  #1.27:1.28
> >  @ -63,5 +63,7  @ extern "C" int kdemain(int argc, char *a
> >         return 0;
> >
> > -   KMixApp app;
> > -   return app.exec();
> > +   KMixApp *app = new KMixApp();
> > +   int ret = app->exec();
> > +   delete app;
> > +   return ret;
> >  }

Comment 10 Eric Gildersleeve 2004-11-05 15:44:35 UTC
I would sure like to hear a response, but all I am getting is a link to this web page. The fix written in French is of absolutely no use to me (if it is written in French.) I would appreciate the steps to solve the error, and if you honestly don't know how to fix the problem, then could you point me towards someone who could!?

Eric Gildersleeve
Comment 11 Christian Esken 2004-11-06 10:54:30 UTC
Fix is tor upgrade to KDE3.3.2 or KDE3.4 (once released) or to install the newest (unstable) version by compiling KMix yourself - see http://developer.kde.org for deatils on the latter.

Chris
Comment 12 Christian Esken 2004-11-06 11:06:55 UTC
On Thursday 04 November 2004 13:16, Sohel Fares wrote:
> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>         
> http://bugs.kde.org/show_bug.cgi?id=89235        
> 
> 
> 
> 
> ------- Additional Comments From Sohel videotron ca  2004-11-04 13:16 -------
> Thanks for solving the problem but how do I do to implement the fix in my
> computer?

It is described now in the last comment of that bug report.

Chris