Bug#390582: bibletime crashes on start

2007-01-17 Thread Daniel Glassey

On 12/01/07, Vladimir Volovich [EMAIL PROTECTED] wrote:

Hi Daniel,

DG == Daniel Glassey writes:

  unfortunately, version 1.6.2 still crashes on boot on the amd64
  platform.

here's a backtrace from the non-stripped binary:


Thanks. Looks as though it in something happening within the sword
library. I haven't got Debian amd64 but I've rebuilt the packages for
Ubuntu edgy amd64 and haven't been able to replicate the crash.

What modules (texts, commentaries etc) do you have installed.

Also, could you send your ~/.kde/share/config/bibletimerc

Regards,
Daniel


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#390582: bibletime crashes on start

2007-01-17 Thread Vladimir Volovich
DG == Daniel Glassey writes:

  here's a backtrace from the non-stripped binary:

 DG Thanks. Looks as though it in something happening within the
 DG sword library. I haven't got Debian amd64 but I've rebuilt the
 DG packages for Ubuntu edgy amd64 and haven't been able to replicate
 DG the crash.

 DG What modules (texts, commentaries etc) do you have installed.

 DG Also, could you send your ~/.kde/share/config/bibletimerc

i did some more debugging: i've built the libsword6 package without
optimization, and re-built bibletime, statically linked to libsword.a

i have the KJV module installed in my ~/.sword directory, as well as
the sword-text-kjv package. if you will do the same, you hopefully
should be able to reproduce the problem. it doesn't appear to be amd64
specific.

the problematic code, where the crash occurs, is in
sword-1.5.9/src/mgr/swmgr.cpp, in function SWMgr::augmentModules:

607:if (multiMod) {
608:// fix config's Section names to rename modules which 
are available more than once
609:// find out which sections are in both config objects
610:// inserting all configs first is not good because that 
overwrites old keys and new modules would share the same config
611:for (SectionMap::iterator it = 
config-Sections.begin(); it != config-Sections.end(); ++it) {
612:if (saveConfig-Sections.find( (*it).first ) != 
saveConfig-Sections.end()) { //if the new section is already present rename it
613:ConfigEntMap entMap((*it).second);
614:
615:SWBuf name;
616:int i = 1;
617:do { //module name already used?
618:name.setFormatted(%s_%d, 
(*it).first.c_str(), i);
619:i++;
620:} while (config-Sections.find(name) != 
config-Sections.end());
621:
622:
config-Sections.insert(SectionMap::value_type(name, entMap) );
623:config-Sections.erase(it);
624:}
625:}
626:}

(i've inserted line numbers for convenience).

since i have two KJV modules (one coming from the debian package, and
one installed in my ~/.sword directory), and multiMod passed to
augmentModules is true, this code gets executed.

here's how i see the crash in gdb:

===
(gdb) br swmgr.cpp:623
Breakpoint 1 at 0x54c202: file ../src/mgr/swmgr.cpp, line 623.
(gdb) r
Starting program: 
/home/vvv/src/bibletime/bibletime/bibletime-1.6.2.dfsg/build-tree/bibletime-1.6.2.dfsg/bibletime/bibletime
[Thread debugging using libthread_db enabled]
[New Thread 47596797739536 (LWP 26511)]
kbuildsycoca running...
DCOP Cleaning up dead connections.
[Switching to Thread 47596797739536 (LWP 26511)]

Breakpoint 1, sword::SWMgr::augmentModules (this=0x1210d30,
ipath=0x1018e30 /home/vvv/.sword/, multiMod=true) at 
../src/mgr/swmgr.cpp:623
623 config-Sections.erase(it);
(gdb) n
611 for (SectionMap::iterator it = 
config-Sections.begin(); it != config-Sections.end(); ++it) {
(gdb) n
612 if (saveConfig-Sections.find( 
(*it).first ) != saveConfig-Sections.end()) { //if the new section is already 
present rename it
(gdb) n

Program received signal SIGSEGV, Segmentation fault.
0x2b49fdd8efd2 in strcmp () from /lib/libc.so.6
===

the crash occurs on the line 612, because the statement on the line
623 apparently makes (*it) invalid. i've put more verbose gdb output
below, where i printed the value of *it on each of the steps.

i was apparently able to work-around the bug by entering print it++
in gdb when a breakpoint 623 is reached. continuing after that, i get
bibletime run without a crash. i also have other duplicated modules
installed, such as the StrongsGreek (in both ~/.sword and via the
sword-dict-strongs-greek package), but apparently only the first time
when line 623 gets executed causes garbage in *it - i don't have to
run print it++ to avoid a crash for other duplicated modules.

Best,
v.

===
(gdb) br swmgr.cpp:623
Breakpoint 1 at 0x54c202: file ../src/mgr/swmgr.cpp, line 623.
(gdb) r
Starting program: 
/home/vvv/src/bibletime/bibletime/bibletime-1.6.2.dfsg/build-tree/bibletime-1.6.2.dfsg/bibletime/bibletime
[Thread debugging using libthread_db enabled]
[New Thread 47292642247184 (LWP 26484)]
kbuildsycoca running...
[Switching to Thread 47292642247184 (LWP 26484)]

Breakpoint 1, sword::SWMgr::augmentModules (this=0x1210d30,
ipath=0x1018e30 

Bug#390582: bibletime crashes on start

2007-01-12 Thread Vladimir Volovich
DG == Daniel Glassey writes:

  Subject: bibletime crashes on start Package: bibletime Version:
  1.5.3-1+b1 Severity: critical
  
  bibletime crashes on start on the amd64 platform:
  
  $ bibletime kbuildsycoca running...  DCOP Cleaning up dead
  connections.  *** BibleTime got signal 11 (Crashing). Trying to
  save settings.  KCrash: Application 'bibletime' crashing...

 DG Bibletime 1.6.2 has just been uploaded to unstable so it should
 DG be available tomorrow or Saturday. Please try it check if this
 DG bug still happens on amd64.

unfortunately, version 1.6.2 still crashes on boot on the amd64 platform.

Best,
v.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#390582: bibletime crashes on start

2007-01-12 Thread Daniel Glassey

On 12/01/07, Vladimir Volovich [EMAIL PROTECTED] wrote:

DG == Daniel Glassey writes:

  Subject: bibletime crashes on start Package: bibletime Version:
  1.5.3-1+b1 Severity: critical
 
  bibletime crashes on start on the amd64 platform:
 
  $ bibletime kbuildsycoca running...  DCOP Cleaning up dead
  connections.  *** BibleTime got signal 11 (Crashing). Trying to
  save settings.  KCrash: Application 'bibletime' crashing...

 DG Bibletime 1.6.2 has just been uploaded to unstable so it should
 DG be available tomorrow or Saturday. Please try it check if this
 DG bug still happens on amd64.

unfortunately, version 1.6.2 still crashes on boot on the amd64 platform.


Sigh, ok, can you rebuild bibletime from source package with debugging
info and then try that out under gdb and see if we can find out what
is happening.

See http://wiki.debian.org/HowToGetABacktrace for instructions.

Thanks,
Daniel


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#390582: bibletime crashes on start

2007-01-12 Thread Vladimir Volovich
Hi Daniel,

DG == Daniel Glassey writes:

  unfortunately, version 1.6.2 still crashes on boot on the amd64
  platform.

 DG Sigh, ok, can you rebuild bibletime from source package with
 DG debugging info and then try that out under gdb and see if we can
 DG find out what is happening.

here's a backtrace from the non-stripped binary:

(gdb) run
Starting program: 
/home/vvv/src/bibletime/bibletime-1.6.2.dfsg/build-tree/bibletime-1.6.2.dfsg/bibletime/bibletime
[Thread debugging using libthread_db enabled]
[New Thread 47723746866176 (LWP 754)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47723746866176 (LWP 754)]
0x2b678c9adfd2 in strcmp () from /lib/libc.so.6
(gdb) bt
#0  0x2b678c9adfd2 in strcmp () from /lib/libc.so.6
#1  0x004d678b in std::_Rb_treesword::SWBuf, std::pairsword::SWBuf 
const, sword::multimapwithdefaultsword::SWBuf, sword::SWBuf, 
std::lesssword::SWBuf  , std::_Select1ststd::pairsword::SWBuf const, 
sword::multimapwithdefaultsword::SWBuf, sword::SWBuf, std::lesssword::SWBuf 
  , std::lesssword::SWBuf, std::allocatorstd::pairsword::SWBuf const, 
sword::multimapwithdefaultsword::SWBuf, sword::SWBuf, std::lesssword::SWBuf 
   ::find (this=value optimized out, [EMAIL PROTECTED]) at 
/usr/include/sword/swbuf.h:332
#2  0x2b678af96f10 in sword::SWMgr::augmentModules () from 
/usr/lib/libsword.so.6
#3  0x2b678af9628f in sword::SWMgr::Load () from /usr/lib/libsword.so.6
#4  0x004de3a3 in CSwordBackend::initModules (this=0x1288f90) at 
cswordbackend.cpp:109
#5  0x004415f5 in BibleTime::initBackends (this=0xddade0) at 
bibletime_init.cpp:531
#6  0x0044609d in BibleTime (this=0xddade0) at bibletime.cpp:77
#7  0x00447221 in main (argc=value optimized out, argv=0x0) at 
main.cpp:255

please let me know if i can help further.

Best,
v.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#390582: bibletime crashes on start

2007-01-11 Thread Daniel Glassey

On 01/10/06, Vladimir Volovich [EMAIL PROTECTED] wrote:

Subject: bibletime crashes on start
Package: bibletime
Version: 1.5.3-1+b1
Severity: critical

bibletime crashes on start on the amd64 platform:

$ bibletime
kbuildsycoca running...
DCOP Cleaning up dead connections.
*** BibleTime got signal 11 (Crashing). Trying to save settings.
KCrash: Application 'bibletime' crashing...


Bibletime 1.6.2 has just been uploaded to unstable so it should be
available tomorrow or Saturday. Please try it check if this bug still
happens on amd64.

Regards,
Daniel


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#390582: bibletime crashes on start

2006-10-01 Thread Vladimir Volovich
Subject: bibletime crashes on start
Package: bibletime
Version: 1.5.3-1+b1
Severity: critical

bibletime crashes on start on the amd64 platform:

$ bibletime
kbuildsycoca running...
DCOP Cleaning up dead connections.
*** BibleTime got signal 11 (Crashing). Trying to save settings.
KCrash: Application 'bibletime' crashing...

there are no debugging symbols in the binary, so the following
backtrace might be useless, but anyway here it is:

0x2ac637ad8e22 in nanosleep () from /lib/libc.so.6
#0  0x2ac637ad8e22 in nanosleep () from /lib/libc.so.6
#1  0x2ac637ad8c74 in sleep () from /lib/libc.so.6
#2  0x2ac633c8cc29 in KCrash::startDrKonqi () from /usr/lib/libkdecore.so.4
#3  0x2ac633c9ff50 in KCrash::defaultCrashHandler ()
   from /usr/lib/libkdecore.so.4
#4  0x2ac637a76110 in killpg () from /lib/libc.so.6
#5  0x in ?? ()

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages bibletime depends on:
ii  kdelibs4c2a 4:3.5.4-3core libraries and binaries for al
ii  libacl1 2.2.41-1 Access control list shared library
ii  libart-2.0-22.3.17-1 Library of functions for 2D graphi
ii  libattr12.4.32-1 Extended attribute shared library
ii  libaudio2   1.8-2The Network Audio System (NAS). (s
ii  libc6   2.3.6.ds1-4  GNU C Library: Shared libraries
ii  libcomerr2  1.39-1   common error description library
ii  libcurl3-gnutls 7.15.5-1 Multi-protocol file transfer libra
ii  libfam0 2.7.0-10 Client library to control the FAM 
ii  libfontconfig1  2.4.1-2  generic font configuration library
ii  libfreetype62.2.1-5  FreeType 2 font engine, shared lib
ii  libgcc1 1:4.1.1-14   GCC support library
ii  libgcrypt11 1.2.3-2  LGPL Crypto library - runtime libr
ii  libgnutls13 1.4.4-1  the GNU TLS library - runtime libr
ii  libgpg-error0   1.4-1library for common error values an
ii  libice6 1:1.0.1-2X11 Inter-Client Exchange library
ii  libidn110.6.5-1  GNU libidn library, implementation
ii  libjpeg62   6b-13The Independent JPEG Group's JPEG 
ii  libkrb531.4.4-3  MIT Kerberos runtime libraries
ii  libpcre36.7-1Perl 5 Compatible Regular Expressi
ii  libpng12-0  1.2.8rel-5.2 PNG library - runtime
ii  libqt3-mt   3:3.3.6-4Qt GUI Library (Threaded runtime v
ii  libsm6  1:1.0.1-3X11 Session Management library
ii  libstdc++6  4.1.1-14 The GNU Standard C++ Library v3
ii  libsword5c2a1.5.8-8+b2   API/library for bible software
ii  libtasn1-2  1:0.2.17-2   Manage ASN.1 structures (runtime)
ii  libx11-62:1.0.0-9X11 client-side library
ii  libxcursor1 1.1.7-4  X cursor management library
ii  libxext61:1.0.1-2X11 miscellaneous extension librar
ii  libxft2 2.1.8.2-8FreeType-based font drawing librar
ii  libxi6  1:1.0.1-3X11 Input extension library
ii  libxinerama11:1.0.1-4.1  X11 Xinerama extension library
ii  libxrandr2  2:1.1.0.2-4  X11 RandR extension library
ii  libxrender1 1:0.9.1-3X Rendering Extension client libra
ii  libxt6  1:1.0.2-2X11 toolkit intrinsics library
ii  zlib1g  1:1.2.3-13   compression library - runtime

Versions of packages bibletime recommends:
ii  sword-comm-mhcc [sword-comm]  1.1-4  Matthew Henry Concise Commentary f
ii  sword-comm-pers [sword-comm]  1.0-5  Personal Commentary for SWORD
ii  sword-comm-scofield [sword-co 1.0-2  Scofield Reference Notes, 1917 edi
ii  sword-comm-tdavid [sword-comm 1.1-2  C. H. Spurgeon's Treasury of David
ii  sword-dict-naves [sword-dict] 1.1-3  Naves Topical Bible for SWORD
ii  sword-dict-strongs-greek [swo 1.2-2  Strong's Greek Bible Dictionary fo
ii  sword-dict-strongs-hebrew [sw 1.2-2  Strong's Hebrew Bible Dictionary f
ii  sword-text-kjv [sword-text]   2.2-2  King James Version with Strongs Nu
ii  sword-text-sparv [sword-text] 1.0-1  Spanish Reina-Valera Bible (1909) 
ii  sword-text-web [sword-text]   1.4-3  World English Bible (WEB) for SWOR

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]