mscore 0.9.4 and newer crashed with segfault on Fedora 7

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

mscore 0.9.4 and newer crashed with segfault on Fedora 7

olavgun
Hello,

Since the release of 0.9.4, mscore has crashed with the segfault message in my Fedora 7. I have uninstalled and reinstalled qt4, both from fedora 7 updates and from source to see if that could help. I have no clue to what is wrong.
The qt4-thing was troublesome with earlier versions too, in that they could not find the .so-files produced by mscore and installed with the other qt4 libs. But this looks more grave.

Likewise I have deleted my mscore-sources, and reinstalled. Compilation runs unproblematic.

So, please help me!

Olav
Reply | Threaded
Open this post in threaded view
|

Re: mscore 0.9.4 and newer crashed with segfault on Fedora 7

lasconic
Administrator
Nothing more than segfault ? even using -d ?

2009/2/11 olavgun <[hidden email]>

Hello,

Since the release of 0.9.4, mscore has crashed with the segfault message in
my Fedora 7. I have uninstalled and reinstalled qt4, both from fedora 7
updates and from source to see if that could help. I have no clue to what is
wrong.
The qt4-thing was troublesome with earlier versions too, in that they could
not find the .so-files produced by mscore and installed with the other qt4
libs. But this looks more grave.

Likewise I have deleted my mscore-sources, and reinstalled. Compilation runs
unproblematic.

So, please help me!

Olav
--
View this message in context: http://n2.nabble.com/mscore-0.9.4-and-newer-crashed-with-segfault-on-Fedora-7-tp2308168p2308168.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: mscore 0.9.4 and newer crashed with segfault on Fedora 7

olavgun

<quote author="lasconic">
Nothing more than segfault ? even using -d ?

Thank you for your answer.

I forgot to say that it displays the splashscreen for quite a few seconds. "Minnesegmentfeil" in the listing below is norw. for segfault.
using -d gives this. It has not been a problem running it without the existence of locale mscore_nb_no earlier. Could this be the problem?

2009/2/11 olavgun <olagunde@start.no>

[olavg@localhost ~]# mscore -d
global share: </usr/local/share/mscore-0.9/>
configured localeName <system>
real localeName <nb_NO>
load translator </usr/local/share/mscore-0.9/locale/mscore_nb_NO>
load translator </usr/local/share/mscore-0.9/locale/mscore_nb_NO> failed
load translator <qt_nb_NO> from </usr/lib/qt4/translations>
load translator <qt_nb_NO> failed
connect to midi input <Midi Through Port-0>
DPI 1200.000000(1200) PDPI 96.000000(96) DPMM 47.244094
LibraryPath: </usr/lib/qt4/plugins>
LibraryPath: </usr/local/bin>
Minnesegmentsfeil
[olavg@localhost ~]#
Reply | Threaded
Open this post in threaded view
|

Re: mscore 0.9.4 and newer crashed with segfault on Fedora 7

wschweer
Administrator
You can try two things:
        - enter "ldd mscore" to get the list of shared libs mscore tries to load.
      Check if the right qt libs are loaded (the libs you used to compile
      mscore). "qmake-qt4 -v" gives the path to qt which is used
      when compiling mscore.
        - start mscore with option "-F" to avoid loading of preference settings

The absence of the translator file is no problem.

Werner
 
On Wednesday 11 February 2009 14:10:43 olavgun wrote:

> Nothing more than segfault ? even using -d ?
>
> Thank you for your answer.
>
> I forgot to say that it displays the splashscreen for quite a few seconds.
> "Minnesegmentfeil" in the listing below is norw. for segfault.
> using -d gives this. It has not been a problem running it without the
> existence of locale mscore_nb_no earlier. Could this be the problem?
>
> 2009/2/11 olavgun <[hidden email]>
>
> [olavg@localhost ~]# mscore -d
> global share: </usr/local/share/mscore-0.9/>
> configured localeName <system>
> real localeName <nb_NO>
> load translator </usr/local/share/mscore-0.9/locale/mscore_nb_NO>
> load translator </usr/local/share/mscore-0.9/locale/mscore_nb_NO> failed
> load translator <qt_nb_NO> from </usr/lib/qt4/translations>
> load translator <qt_nb_NO> failed
> connect to midi input <Midi Through Port-0>
> DPI 1200.000000(1200) PDPI 96.000000(96) DPMM 47.244094
> LibraryPath: </usr/lib/qt4/plugins>
> LibraryPath: </usr/local/bin>
> Minnesegmentsfeil
> [olavg@localhost ~]#


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: mscore 0.9.4 and newer crashed with segfault on Fedora 7

olavgun

wschweer wrote
You can try two things:
        - enter "ldd mscore" to get the list of shared libs mscore tries to load.
      Check if the right qt libs are loaded (the libs you used to compile
      mscore). "qmake-qt4 -v" gives the path to qt which is used
      when compiling mscore.
        - start mscore with option "-F" to avoid loading of preference settings

The absence of the translator file is no problem.

Werner
 
Thank you! "mscore -F" did the trick. It now works fine.

Olav.
Reply | Threaded
Open this post in threaded view
|

Re: mscore 0.9.4 and newer crashed with segfault on Fedora 7

David Bolton-2
olavgun wrote:
> Thank you! "mscore -F" did the trick. It now works fine.
>  


Olavgun,

Maybe this is related to the startup crashes reported here and on the
forum. Are you using the "continue previous session" setting in the
general preferences?

If you discover steps to reproduce the crash please let us know.

--
David Bolton
http://davidbolton.info



------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: mscore 0.9.4 and newer crashed with segfault on Fedora 7

olavgun



David Bolton-2 wrote:

>
> Olavgun,
>
> Maybe this is related to the startup crashes reported here and on the
> forum. Are you using the "continue previous session" setting in the
> general preferences?
>
> If you discover steps to reproduce the crash please let us know.
> --
> David Bolton
> http://davidbolton.info
>


Hi,

The segfault crash only happens when "continue previous setting" is set.

Olav Gundersen
--
View this message in context: http://www.nabble.com/mscore-0.9.4-and-newer-crashed-with-segfault-on-Fedora-7-tp21953917p21975693.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: mscore 0.9.4 and newer crashed with segfault on Fedora 7

olavgun
olavgun wrote
Hi,

The segfault crash only happens when "continue previous setting" is set.

Olav Gundersen
The file "mscore.cpp".
The segfault crash does not happen when I stop the "foreach" iteration at a definite number: "if (idx>9) break;"
I guess there must be something wrong with the "projectList"???

Olav


  //-------------------------------
      //  load scores
      //-------------------------------

      int currentScore = 0;
      int idx = 0;
      bool scoreCreated = false;
      if (argc < 2) {
            switch (preferences.sessionStart)
              {
              case LAST_SESSION:
                foreach(const ProjectItem* item, projectList)
                  {
                    if (item->loaded)
                      {
                        Score* score = new Score();
                        score->addViewer(new Canvas);
                        scoreCreated = true;
                        score->read(item->name);
                        mscore->appendScore(score);
                        if (item->current)
                          currentScore = idx;
                        ++idx;
                        printf("idx: %d\n", idx);
                      }
                    if (idx>9) break;
                  }
Reply | Threaded
Open this post in threaded view
|

Re: mscore 0.9.4 and newer crashed with segfault on Fedora 7

wschweer
Administrator
The code was too complicated, mixing the recentScores list with session
management. I simplified things and the bug should now be fixed.

/Werner

On Sunday 15 February 2009 10:05:45 olavgun wrote:

> olavgun wrote:
> > Hi,
> >
> > The segfault crash only happens when "continue previous setting" is set.
> >
> > Olav Gundersen
>
> The file "mscore.cpp".
> The segfault crash does not happen when I stop the "foreach" iteration at a
> definite number: "if (idx>9) break;"
> I guess there must be something wrong with the "projectList"???
>
> Olav
>
>
>   //-------------------------------
>       //  load scores
>       //-------------------------------
>
>       int currentScore = 0;
>       int idx = 0;
>       bool scoreCreated = false;
>       if (argc < 2) {
>             switch (preferences.sessionStart)
>      {
>      case LAST_SESSION:
> foreach(const ProjectItem* item, projectList)
>  {
>    if (item->loaded)
>      {
> Score* score = new Score();
> score->addViewer(new Canvas);
> scoreCreated = true;
> score->read(item->name);
> mscore->appendScore(score);
> if (item->current)
>  currentScore = idx;
> ++idx;
> printf("idx: %d\n", idx);
>      }
>    if (idx>9) break;
>  }


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: mscore 0.9.4 and newer crashed with segfault on Fedora 7

Leon Vinken
Don't know if it is related to these changes, but tonights version disables all editing and file save commands when started with a filename as parameter. Furthermore, it uses 100% cpu for as long as I had the patience to wait for improvement.

Regards, Leon.


wschweer wrote
The code was too complicated, mixing the recentScores list with session
management. I simplified things and the bug should now be fixed.

/Werner
Reply | Threaded
Open this post in threaded view
|

Re: mscore 0.9.4 and newer crashed with segfault on Fedora 7

wschweer
Administrator
sorry, it was indeed a regression of the last changes to "recent files" list
and session status. Should be fixed already.

/Werner
On Sunday 15 February 2009 21:26:41 Leon Vinken wrote:

> Don't know if it is related to these changes, but tonights version disables
> all editing and file save commands when started with a filename as
> parameter. Furthermore, it uses 100% cpu for as long as I had the patience
> to wait for improvement.
>
> Regards, Leon.
>
> wschweer wrote:
> > The code was too complicated, mixing the recentScores list with session
> > management. I simplified things and the bug should now be fixed.
> >
> > /Werner


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer