[bt-devel] 1.2.2 execute troubles
Jason Gress
bt-devel@crosswire.org
Wed, 16 Oct 2002 19:29:00 +0000
I have BibleTime working now (with my sword ebuild, his bibletime ebuild, with
the manual sword path commented out). It seems to work well (on my Gentoo
1.4). What would be an easy way to reproduce the problem you are having?
What modules, etc.? Thanks!
Jason
On Wednesday 16 October 2002 04:30 pm, mark lybarger wrote:
> Joachim Ansorg wrote:
> > Are you sure yu configured Sword with "usrinst.sh" ? Otherwise Sword may
> > look for sword.conf in /usr/local/etc.
> >
> > Joachim
>
> Thanks for your continued help and paitence on this Joachim and all.
>
> I think the sword trouble was due to dual installations of sword I have.
> Sword 1.5.4 is installed in /usr/sword/1/ and sword cvs is in
> /home/mark/sw/sword. The cvs sword is what i'm building bibletime cvs
> from. there is a /home/mark/sw/sword/etc/sword.conf that was pointing
> to an invalid file. I guess this is where the sword libs were looking
> for the sword.conf file. I updated this file to be the same as the one
> that I have in /etc. The bottom line is that my sword modules are being
> found all the time now. That issue has been resolved.
>
> The problem still remains that bibletime gives a core when I uncomment
> the call to createReadDisplayWindow, listed below. I was trying to step
> through the code, and it appears as though it might be related to the
> QtPtrList, though I can't say for certain. I'm using QT 3.0.5 and kde
> 3.0.4. When stepping through the code, it never executes the first two
> lines of this function, but seems to crash on entering the function.
> Again, all works well with the code as is below.
>
> Any ideas, suggestions?
>
>
>
> /** Creates a new presenter in the MDI area according to the type of the
> module. */
> CDisplayWindow* BibleTime::createReadDisplayWindow(CSwordModuleInfo*
> module, const QString& key) {
> ListCSwordModuleInfo list;
> list.append(module);
>
> //return createReadDisplayWindow(list, key);
> }
>
> >>Joachim Ansorg wrote:
> >>>Try to remove the last slash in the path which is set in sword.conf!
> >>
> >>I removed the slash, and bibletime still doesn't recognize the path from
> >>the sword.conf.
> >>
> >>>Does the (updated) current CVS work without crashes or not? If if still
> >>>crashes I'll try debugging it although it works for me.
> >>>
> >>>Joachim
> >>>
> >>>>Thanks for the response!
> >>>>
> >>>>Joachim Ansorg wrote:
> >>>>>Execute bibletime --ignore-startprofile to open with no desktop
> >>>>> restored
> >>>>>
> >>>>>from the last (crashed) session.
> >>>>>
> >>>>>I think I'll put in a bug fix for this like CVS has (after two crashes
> >>>>>is automatically does this)
> >>>>
> >>>>I tried this, and still get the same crash.
> >>>>
> >>>>>Send me your /etc/sword.conf file!
> >>>>
> >>>>attached
> >>>>
> >>>>>Joachim
> >>>>>
> >>>>>>Below is a stack trace I'm getting trying to run bibletime 1.2.2?
> >>>>>>(1.2.1 w/ patch for gcc 3.2). I have been unsuccessfull in getting
> >>>>>>this running thus far. any help would be _MOST_ appreciated.
> >>>>>>
> >>>>>>This version also doesn't seem to recognize the installed sword
> >>>>>> modules either. they're installed into /var/db/sword, and that's
> >>>>>> where the /etc/sword.conf file points to, but bibletime only sees
> >>>>>> the modules if i set SWORD_PATH=/var/db/sword.
> >>>>>>
> >>>>>>Thanks,
> >>>>>>
> >>>>>>
> >>>>>>[New Thread 1024 (LWP 19918)]
> >>>>>>0x414340b9 in wait4 () from /lib/libc.so.6
> >>>>>>#0 0x414340b9 in wait4 () from /lib/libc.so.6
> >>>>>>#1 0x414b2cb0 in __DTOR_END__ () from /lib/libc.so.6
> >>>>>>#2 0x411d98e3 in waitpid () from /lib/libpthread.so.0
> >>>>>>#3 0x40a86117 in KCrash::defaultCrashHandler(int) ()
> >>>>>> from /usr/kde/3/lib/libkdecore.so.4
> >>>>>>#4 0x411d73d2 in pthread_sighandler () from /lib/libpthread.so.0
> >>>>>>#5 <signal handler called>
> >>>>>>#6 0x08094a3a in
> >>>>>>CDisplayWindow::createReadInstance(QPtrList<CSwordModuleInfo>,
> >>>>>>CMDIArea*, char const*) ()
> >>>>>>#7 0x0807b703 in
> >>>>>>BibleTime::createDisplayWindow(QPtrList<CSwordModuleInfo>, QString
> >>>>>>const&) ()
> >>>>>>#8 0x0807b7a6 in BibleTime::createDisplayWindow(CSwordModuleInfo*,
> >>>>>>QString const&) ()
> >>>>>>#9 0x0807bc00 in BibleTime::processCommandline() ()
> >>>>>>#10 0x0807c537 in main ()
> >>>>>>#11 0x413b04b2 in __libc_start_main () from /lib/libc.so.6