This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Tellico crash SOLVED (sort of)

Tags: None
(comma "," separated)
Herbivore
Registered Member
Posts
6
Karma
0

Tellico crash SOLVED (sort of)

Mon Jan 25, 2010 9:00 am
Been using Tellico for years under various Linux Mint distos. Never a problem until now. Just did a fresh install of Linux Mint 8 (Helena) 64-bit. First 64-bit OS. New motherboard with Intel Core2 Duo E7400. Installed Tellico as usual with Synaptic. In a terminal I ran kcmshell4 to be sure Tellico was there and it is. The problem is that Tellico crashes within 2 seconds of opening my primary 3.2MB Tellico file. Same with back up copies of this file. Another and similar Tellico file opens and is editable without problem.

Below the Tellico .xml file details is system info via inxi -F.

Here are the initial lines of the .xml file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tellico PUBLIC "-//Robby Stephenson/DTD Tellico V9.0//EN" "http://periapsis.org/tellico/dtd/v9/tellico.dtd">
<tellico xmlns="http://periapsis.org/tellico/" syntaxVersion="9" >
<collection title="Photo_Archive" type="1" >
<fields>
<field flags="6" title="Archive_No" category="General" format="1" type="1" name="title" description="Format YYYYMMDD-#" >
<prop name="default" >CAT</prop>
</field>
<field flags="3" title="Container" category="General" allowed="DVD;CD;Envelope w/ print(s);Envelope w/ negs;Box w/print(s);Box w/ negs;Print;Negative" format="4" type="3" name="media" description="Media or container holding the media" />
<field flags="6" title="DescriptionShort" category="General" format="4" type="1" name="descriptionshort" description="Short description" />
<field flags="0" title="DescriptionLong" category="DescriptionLong" format="4" type="2" name="descriptionlong" description="Long description" />
<field flags="2" title="Out?" category="Personal" format="4" type="4" name="loaned" description="Loaned" />
<field flags="1" title="Loan_History" category="Loan_History" format="4" type="8" name="loan_history" description="Loan History Date Remvd, Rmvd By, Date Retrnd, Date Retrnd By" >
<prop name="column1" >Date Removed</prop>
<prop name="column2" >Removed By</prop>
<prop name="column3" >Date Returned</prop>
<prop name="column4" >Returned By</prop>
<prop name="columns" >4</prop>
</field>
<field flags="0" title="Notes" category="Notes" format="4" type="2" name="notes" />
<field flags="2" title="Date_Rcvd_by_Archive" category="General" format="3" type="12" name="date_rcvd_by_archive" description="Date Recvd by Archive" />
<field flags="4" title="Recvd_into_Archive_frm" category="General" format="2" type="1" name="recvd_frm" description="Archive received this from" />
<field flags="6" title="Year_of_Event" category="General" format="4" type="1" name="year_of_event" description="Year of event" />
<field flags="0" title="Archive_No_on_media?" category="General" allowed="YES;NO;Needs to be re-done" format="4" type="3" name="if_meida_itself_is_marked_with_archive_no" description="Archive number written on media?" />
<field flags="0" title="Volume_or_Album_No." category="General" format="4" type="1" name="volume" description="Volume or Album Number" />
<field flags="0" title="File_list" category="File_list" format="4" type="10" name="file_list" />
<field flags="0" title="Destroyed" category="General" format="4" type="4" name="destroyed" />
<field flags="0" title="Destroyed by" category="General" format="4" type="1" name="destroyed-by" />
<field flags="0" title="Date destroyed" category="General" format="3" type="12" name="date-destroyed" />
</fields>

Next comes the field data which is not shown here. Then, at the end, is the list of image files:

<images>
<image width="4250" format="JPEG" height="3000" id="d8efc951f3c41f50c2dfa97c849f0962.jpeg" />
<image width="507" format="PNG" height="214" id="93edcbbbd934f7953518d78d1a083836.png" />
<image width="506" format="PNG" height="210" id="8cf9e6cfbf859ba3929c86238dce7dad.png" />
<image width="545" format="JPEG" height="186" id="c62662687e74980ac64a9ffc247ddae2.jpeg" />
<image width="3600" format="JPEG" height="2400" id="193ef7ec17368ba39884c1a3d50b08ea.jpeg" />
<image width="1500" format="JPEG" height="2100" id="2682b2dd9617ae0ad2b2370d9cd806c4.jpeg" />
<image width="897" format="JPEG" height="627" id="c5cadfc8d7f73216e7f3e9da462683bc.jpeg" />
<image width="918" format="JPEG" height="624" id="cd13aff9b4b20eeb113f6232c85681bc.jpeg" />
<image width="908" format="JPEG" height="623" id="f66178b351d506b5561d31e523a14aef.jpeg" />
<image width="698" format="PNG" height="481" id="9cccd16cbbce0b6e627d633c72811695.png" />
<image width="1468" format="JPEG" height="1320" id="bcb191493654fe8fdcfd681e37a0235a.jpeg" />
<image width="1280" format="JPEG" height="946" id="46aca8d36427879328ce9a7bd91be4ab.jpeg" />
<image width="1280" format="JPEG" height="946" id="93aaedaa83a46849928764f49d0bdb5c.jpeg" />
<image width="512" format="PNG" height="348" id="1298fa98912c4aa9f676c7dba99d492b.png" />
<image width="652" format="JPEG" height="582" id="bf7f022060c860295e4b5b98089a82f0.jpeg" />
<image width="1036" format="JPEG" height="557" id="6f532443236d60d624ffa52be649b585.jpeg" />
<image width="900" format="JPEG" height="635" id="a6fe1eeb9f3feb40951cbcc59325bdd9.jpeg" />
<image width="715" format="PNG" height="391" id="ba6679af9e9e77fde65925ff565b6ae2.png" />
<image width="1280" format="JPEG" height="946" id="96568b8caf076efd417e81a37934d627.jpeg" />
</images>
</collection>
</tellico>

The other file, the file which works, also has images. Can post that .xml also if it would be useful.

Would be most grateful for any suggestions. Really dependent on Tellico!

Output of inxi -F

tmr@tmr-mint864 ~ $ inxi -F
System: Host tmr-mint864 Kernel 2.6.31-14-generic x86_64 (64 bit) Distro Linux Mint 8 Helena - x64 Edition
CPU: Dual core Intel Core2 Duo E7400 (SMP) cache 3072 KB flags (sse3 nx lm vmx) bmips 11200.4
Clock Speeds: (1) 1600.00 MHz (2) 1600.00 MHz
Graphics: Card nVidia NV43 [GeForce 6600] X.Org 1.6.4 Res: 1680x1050@50.0hz
GLX Renderer GeForce 6600/PCI/SSE2 GLX Version 2.1.2 NVIDIA 185.18.36 Direct Rendering Yes
Audio: Card Intel 82801JI (ICH10 Family) HD Audio Controller driver HDA Intel
Sound: Advanced Linux Sound Architecture Version 1.0.20
Network: Card-1 Realtek RTL-8139/8139C/8139C+ driver 8139too at port ce00
Card-2 Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver r8169 v: 2.3LK-NAPI at port ee00
Disks: HDD Total Size: 604.1GB (54.5% used) 1: /dev/sda WDC WD800BD-00MR 80.0GB
2: /dev/sdb WDC WD1600AAJS-6 160.0GB 3: /dev/sdc ST3200822A 200.0GB
4: USB /dev/sdd Transcend 160.0GB 5: USB /dev/sde Sansa Fuze 4GB 3.9GB
Partition: ID:/ size: 14G used: 4.5G (35%) fs: ext4 ID:/home size: 14G used: 309M (3%) fs: ext4
ID:swap-1 size: 1.02GB used: 0.04GB (4%) fs: swap
Info: Processes 171 Uptime 1 day Memory 893.5/2008.6MB Client Shell inxi 1.2.6

Last edited by Herbivore on Fri Feb 05, 2010 3:55 pm, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Tellico crash

Mon Jan 25, 2010 11:46 pm
Can you please install the needed debugging packages, generate a backtrace of the crash and post it here?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Herbivore
Registered Member
Posts
6
Karma
0

Re: Tellico crash

Tue Jan 26, 2010 4:54 pm
Not knowing about the debug packages I looked in Mint's repository, not found. Searched and found tellico-1.3-5.fc7.src.rpm at http://rpmfind.net/linux/RPM/fedora/upd ... 7.ppc.html. However, the "save link as" download failed with message, "could not be saved because the source file could not be read." Search at tellico-project.org on "debug" brought up one hit that did not pertain.

From the repository installed kdebase-dbg, kdebase-runtime-dbg, kdelibs5-dbg, kdepimlibs-dbg. In other words, anything that had "kde" and "debug" in the description.

If these are the tools, I do not know how to use them, so sorry, but need a little help to run the debug.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Tellico crash

Tue Jan 26, 2010 8:23 pm
Those debugging packages should be sufficient.. also install Qt4 debugging packages also.

To generate a backtrace simply run Tellico. When it crashes, Dr Konqi should start up, at which point click on "Developer Information" and it will generate the backtrace.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Herbivore
Registered Member
Posts
6
Karma
0

Re: Tellico crash

Wed Jan 27, 2010 7:46 am
Thanks for sticking with me.

Installed the following packages and rebooted:
lsb-qt4
python-qt4
python-qt4-dbg
python-qt4-dbus
python-qt4-dev
python-qt4-gl
python-qt4-gl-dgb
qt4-designer
qt4-dev-tools
qt4-doc
qt4-qmake
qt4-qtconfig

Same problem as before, and there is no Dr Konqi coming after the crash. I've looked at all the logs I could find but there does not appear to be one mention of the problem. No "tellico" in the logs.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Tellico crash

Thu Jan 28, 2010 12:29 am
Open Konsole, and type in "gdb tellico" when the prompt opens, type in "run". When it crashes, it should return to the same prompt, then type in "bt", and finally "quit".


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: Tellico crash

Thu Jan 28, 2010 4:25 am
What version of Tellico? There were a few crashing bugs fixed in Tellico 2.1.1, released in November 2009.

If you're using version 2.1.1, do you mind either sending me the data file privately or to the tellico-users mailing list? Just going from the XML snippets you posted, I can't reproduce the crash.

bcooksley wrote:Open Konsole, and type in "gdb tellico" when the prompt opens, type in "run". When it crashes, it should return to the same prompt, then type in "bt", and finally "quit".


You might need to type
Code: Select all
gdb `which tellico`


But in any case, I'm surprised that the Dr. Konqui crash dialog doesn't show up.
Herbivore
Registered Member
Posts
6
Karma
0

Re: Tellico crash

Thu Jan 28, 2010 10:51 am
To bcooksley, thanks for instructions. Here is the post of the crash:

Code: Select all
tmr@tmr-mint864 ~ $ sudo gdb tellico
[sudo] password for tmr:
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/tellico...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/tellico
[Thread debugging using libthread_db enabled]
Error: "/tmp/kde-tmr" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-tmr" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-tmr" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-tmr" is owned by uid 1000 instead of uid 0.
kbuildsycoca running...
Error: "/var/tmp/kdecache-tmr" is owned by uid 1000 instead of uid 0.
Reusing existing ksycoca
Error: "/tmp/kde-tmr" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-tmr" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-tmr" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-tmr" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-tmr" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-tmr" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-tmr" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-tmr" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-tmr" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-tmr" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-tmr" is owned by uid 1000 instead of uid 0.

[At this point, Tellico was stable. Then opened the file which causes crash. No lines of the report have been left out or changed. The name of the file does not appear in the report.]
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
0x00000000004e7e29 in ?? ()
(gdb) bt
#0  0x00000000004e7e29 in ?? ()
#1  0x00000000004e8218 in ?? ()
#2  0x00007ffff4639fb4 in QObject::activate_signal(QConnectionList*, QUObject*)
    () from /usr/lib/libqt-mt.so.3
#3  0x00007ffff49491fd in QSignal::signal(QVariant const&) ()
   from /usr/lib/libqt-mt.so.3
#4  0x00007ffff4653585 in QSignal::activate() () from /usr/lib/libqt-mt.so.3
#5  0x00007ffff4659bb8 in QSingleShotTimer::event(QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#6  0x00007ffff45db785 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#7  0x00007ffff45dc52e in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#8  0x00007ffff538c864 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#9  0x00007ffff45d2094 in QEventLoop::activateTimers() ()
   from /usr/lib/libqt-mt.so.3
#10 0x00007ffff458d009 in QEventLoop::processEvents(unsigned int) ()
   from /usr/lib/libqt-mt.so.3
#11 0x00007ffff45f25c1 in QEventLoop::enterLoop() ()
   from /usr/lib/libqt-mt.so.3
#12 0x00007ffff45f2472 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#13 0x00000000004e5ce1 in ?? ()
---Type <return> to continue, or q <return> to quit---q


Ran the crash again and this time the report was slightly different:

Code: Select all
tmr@tmr-mint864 ~ $ sudo gdb tellico
[sudo] password for tmr:
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/tellico...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/tellico
[Thread debugging using libthread_db enabled]
Error: "/var/tmp/kdecache-tmr" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-tmr" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-tmr" is owned by uid 1000 instead of uid 0.

[At this point, Tellico was stable. Then opened the file which causes crash.]
Code: Select all
Program received signal SIGSEGV, Segmentation fault.
0x00000000004e7e29 in ?? ()
(gdb) bt
#0  0x00000000004e7e29 in ?? ()
#1  0x00000000004e8218 in ?? ()
#2  0x00007ffff4639fb4 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3
#3  0x00007ffff49491fd in QSignal::signal(QVariant const&) () from /usr/lib/libqt-mt.so.3
#4  0x00007ffff4653585 in QSignal::activate() () from /usr/lib/libqt-mt.so.3
#5  0x00007ffff4659bb8 in QSingleShotTimer::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#6  0x00007ffff45db785 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
#7  0x00007ffff45dc52e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
#8  0x00007ffff538c864 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdecore.so.4
#9  0x00007ffff45d2094 in QEventLoop::activateTimers() () from /usr/lib/libqt-mt.so.3
#10 0x00007ffff458d009 in QEventLoop::processEvents(unsigned int) () from /usr/lib/libqt-mt.so.3
#11 0x00007ffff45f25c1 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#12 0x00007ffff45f2472 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#13 0x00000000004e5ce1 in ?? ()
#14 0x00007ffff32caabd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>,
    ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>,
    rtld_fini=<value optimized out>, stack_end=0x7fffffffec48) at libc-start.c:220
#15 0x000000000044e429 in ?? ()
#16 0x00007fffffffec48 in ?? ()
#17 0x000000000000001c in ?? ()
#18 0x0000000000000001 in ?? ()
#19 0x00007fffffffee62 in ?? ()
#20 0x0000000000000000 in ?? ()
(gdb) bt
#0  0x00000000004e7e29 in ?? ()
#1  0x00000000004e8218 in ?? ()
#2  0x00007ffff4639fb4 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/libqt-mt.so.3
#3  0x00007ffff49491fd in QSignal::signal(QVariant const&) () from /usr/lib/libqt-mt.so.3
#4  0x00007ffff4653585 in QSignal::activate() () from /usr/lib/libqt-mt.so.3
#5  0x00007ffff4659bb8 in QSingleShotTimer::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#6  0x00007ffff45db785 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
#7  0x00007ffff45dc52e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libqt-mt.so.3
#8  0x00007ffff538c864 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdecore.so.4
#9  0x00007ffff45d2094 in QEventLoop::activateTimers() () from /usr/lib/libqt-mt.so.3
#10 0x00007ffff458d009 in QEventLoop::processEvents(unsigned int) () from /usr/lib/libqt-mt.so.3
#11 0x00007ffff45f25c1 in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#12 0x00007ffff45f2472 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#13 0x00000000004e5ce1 in ?? ()
#14 0x00007ffff32caabd in __libc_start_main (main=<value optimized out>, argc=<value optimized out>,
    ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>,
    rtld_fini=<value optimized out>, stack_end=0x7fffffffec48) at libc-start.c:220
#15 0x000000000044e429 in ?? ()
#16 0x00007fffffffec48 in ?? ()
#17 0x000000000000001c in ?? ()
#18 0x0000000000000001 in ?? ()
#19 0x00007fffffffee62 in ?? ()
#20 0x0000000000000000 in ?? ()
(gdb) q
A debugging session is active.

   Inferior 1 [process 13944] will be killed.

Quit anyway? (y or n) n
Not confirmed.
(gdb) q
A debugging session is active.

   Inferior 1 [process 13944] will be killed.

Quit anyway? (y or n) y
tmr@tmr-mint864 ~ $


To robbystephenson, the version of Tellico is the one in the Mint (Ubuntu) repository:

Code: Select all
tmr@tmr-mint864 ~ $ tellico -v
Qt: 3.3.8b
KDE: 3.5.10
Tellico: 1.3.5


There is no possibility that the problem is caused by running Tellico in a 64-bit OS?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Tellico crash

Thu Jan 28, 2010 8:38 pm
Note that sudo is not needed to run gdb.

That backtrace is ok, however to get a better one, you will need to find and install the tellico debuginfo package.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Herbivore
Registered Member
Posts
6
Karma
0

Re: Tellico crash

Fri Jan 29, 2010 10:52 am
Downloaded from rpmfind.net tellico-debuginfo-1.3-5.fc7.x86_64.rpm.

Converted to deb with alien:

Code: Select all
tmr-mint864 Linuxdwnlds # sudo alien --scripts --to-deb tellico-debuginfo-1.3-5.fc7.x86_64.rpm
tellico-debuginfo_1.3-6_amd64.deb generated


Is tellico-debuginfo_1.3-6_amd64.deb the correct deb file for my system (Kernel 2.6.31-14-generic x86_64 (64 bit) Distro Linux Mint 8 Helena - x64 Edition)?

Or should I have downloaded and converted tellico-debuginfo-1.3-5.fc7.i386.rpm?

A little voice is telling me to proceed very carefully as I do not know what I am doing, although, to avoid bombarding you with newbie questions, I am trying to learn as I go.

Tellico is very important to me and worth the effort unless there is an alternative that keeps the Tellico data!

I do appreciate the tutorial.
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: Tellico crash

Fri Jan 29, 2010 7:04 pm
Herbivore wrote:Is tellico-debuginfo_1.3-6_amd64.deb the correct deb file for my system (Kernel 2.6.31-14-generic x86_64 (64 bit) Distro Linux Mint 8 Helena - x64 Edition)?

Or should I have downloaded and converted tellico-debuginfo-1.3-5.fc7.i386.rpm?


I'm not familiar with fedora or dep debug packages, but I think you need one that matches the deb you have installed from Mint. Does Mint provide debug packages?

I can't think of any reason why being 64-bit would cause the crash. I know I run and develop on 64-bit and I didn't see any particular issues.

For the backtraces to provide some useful info, you would need the tellico debug package so Tellico shows up in the backtrace.
Herbivore
Registered Member
Posts
6
Karma
0

Re: Tellico crash

Fri Feb 05, 2010 3:54 pm
Thanks for your suggestions. I followed them to the extent my time and what I know and could learn would allow. In the end, the solution was simply to do a fresh install of Mint 8's Main Edition. Tellico and my other KDE apps now work fine.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]