tag 351477 + patch tag 351477 + pending thanks On Mon, Feb 06, 2006 at 07:13:09AM +0900, Junichi Uekawa wrote: > Yes. The path seems to be a bit different, but it segfaults quite > reliably. > > $ ls -l /usr/bin/muse > -rwsr-xr-x 1 root root 2703296 2006-01-05 09:55 /usr/bin/muse > $ LC_ALL=C muse > no locale <muse_ja_JP.EUC-JP>/</usr/share/muse/locale> > Trying RTC timer... > got timer = 14 > QObject::connect: No such signal PartCanvas::horizontalScroll(int) > QObject::connect: (sender name: 'unnamed') > QObject::connect: (receiver name: 'unnamed') > Arranger::configChanged - no bitmap! > open projectfile: No such file or directory > starting with default template > Arranger::configChanged - no bitmap! > > segmentation fault happens here.
Thanks. I've pulled a patch from upstream CVS that is supposed to fix the problem. It's attached for reference, so if you want to give it a try before I get around to upload a new version, please go ahead and let me know the outcome. Regards, Daniel.
#! /bin/sh /usr/share/dpatch/dpatch-run ## 10_amd64_rtctimer_segfault_fix_CVS.dpatch by Daniel Kobras <[EMAIL PROTECTED]> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Do not read a 64bit timer tick value into a 32bit variable on 64bit ## DP: architectures. Fixes a segfault on amd64. ## DP: From upstream CVS. @DPATCH@ Index: rtctimer.cpp =================================================================== RCS file: /cvsroot/lmuse/muse/muse/driver/rtctimer.cpp,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -u -w -b -r1.1.2.7 -r1.1.2.8 --- rtctimer.cpp 30 Dec 2005 12:43:43 -0000 1.1.2.7 +++ rtctimer.cpp 13 Jan 2006 18:10:55 -0000 1.1.2.8 @@ -141,7 +141,7 @@ { if(TIMER_DEBUG) printf("getTimerTicks()\n"); - unsigned int nn; + unsigned long int nn; if (timerFd==-1) { fprintf(stderr,"RtcTimer::getTimerTicks(): no RTC open to read!\n"); return 0;