Bug 175791 - The application crashes on startup with a segfault.
Summary: The application crashes on startup with a segfault.
Status: RESOLVED DUPLICATE of bug 172830
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Torsten Rahn
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-21 19:52 UTC by Martin V
Modified: 2009-02-04 03:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin V 2008-11-21 19:52:40 UTC
Version:           0.10 beta (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

On startup, while seemingly scanning the photo database, the application segfaults and exits. This happens on every startup.

The following messages appear on the console:

digikam(9345): Root Album Path:  "/home/tincho/Photos"
digikam(9345): Database Path:  "/home/tincho/Photos"
digikam(9345): SchemaUpdater update
digikam(9345): Have a database structure version  "5"
digikam(9345): makeUpdates  5  to  5
digikam(9345): listFromType
digikam(9345): got listFromType
digikam(9345): Creating new Location  "/tincho/Photos"  uuid  "volumeid:?uuid=449896be-7ab0-4f04-a9dd-9741fd278579"
digikam(9345): location for  "/home/tincho/Photos"  is available  true
digikam(9345) Phonon::KdePlatformPlugin::createBackend: using backend:  "Xine"
Starting to load Plugins. 
Files:  "initrd.img" 
Files:  "initrd.img.old" 
Files:  "vmlinuz" 
Files:  "vmlinuz.old" 
=== MarbleDirs: === 
Local Path: "/home/tincho/.marble/data" 
Plugin Local Path: "/home/tincho/.marble/plugins" 
 
Marble Data Path (Run Time) : "" 
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data" 
 
Marble Plugin Path (Run Time) : "" 
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble" 
 
System Path: "" 
Plugin System Path: "" 
=================== 
"initrd.img"  -  "/boot/initrd.img-2.6.27-8-generic" 
Plugin Failure:  "initrd.img"  is not a valid Marble Plugin: 
"The file '/boot/initrd.img-2.6.27-8-generic' is not a valid Qt plugin." 
"initrd.img.old"  -  "/boot/initrd.img-2.6.27-7-generic" 
Plugin Failure:  "initrd.img.old"  is not a valid Marble Plugin: 
"The file '/boot/initrd.img-2.6.27-7-generic' is not a valid Qt plugin." 
"vmlinuz"  -  "/boot/vmlinuz-2.6.27-8-generic" 
Plugin Failure:  "vmlinuz"  is not a valid Marble Plugin: 
"The file '/boot/vmlinuz-2.6.27-8-generic' is not a valid Qt plugin." 
"vmlinuz.old"  -  "/boot/vmlinuz-2.6.27-7-generic" 
Plugin Failure:  "vmlinuz.old"  is not a valid Marble Plugin: 
"The file '/boot/vmlinuz-2.6.27-7-generic' is not a valid Qt plugin." 
cannot open ""  for reading 
fstat error 
mmap error for input 
cannot open ""  for reading 
fstat error 
mmap error for input 
cannot open ""  for reading 
fstat error 
mmap error for input 
cannot open ""  for reading 
fstat error 
mmap error for input 
cannot open ""  for reading 
fstat error 
mmap error for input 
cannot open ""  for reading 
fstat error 
mmap error for input 
cannot open ""  for reading 
fstat error 
mmap error for input 
cannot open ""  for reading 
fstat error 
mmap error for input 
cannot open ""  for reading 
fstat error 
mmap error for input 
QFSFileEngine::open: No file name specified
QFSFileEngine::open: No file name specified
Use workaround:  0 
No recent Default Placemark Cache File available!
No Default Placemark Source File! 
No recent Default Placemark Cache File available!
No Default Placemark Source File! 
No recent Default Placemark Cache File available!
No Default Placemark Source File! 
No recent Default Placemark Cache File available!
No Default Placemark Source File! 
No recent Default Placemark Cache File available!
No Default Placemark Source File! 
loadMapTheme "earth/citylights/citylights.dgml" 
File does not exist: "" 
loadMapTheme "earth/bluemarble/bluemarble.dgml" 
File does not exist: "" 
KCrash: Application 'digikam' crashing...
sock_file=/home/tincho/.kde/socket-kimi/kdeinit4__0




The debug information offered by the crash handler is:

Application: digiKam (digikam), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb4cd26c0 (LWP 9345)]
[New Thread 0xad7ebb90 (LWP 9500)]
[New Thread 0xadfecb90 (LWP 9499)]
[New Thread 0xaec1eb90 (LWP 9498)]
[New Thread 0xaf48db90 (LWP 9486)]
[New Thread 0xb294eb90 (LWP 9483)]
[New Thread 0xb214db90 (LWP 9482)]
[New Thread 0xb35c3b90 (LWP 9346)]
[KCrash handler]
#6  0xb563b1a7 in GeoSceneDocument::head () from /usr/lib/libmarblewidget.so.4
#7  0xb56679db in MarbleModel::MarbleModel ()
   from /usr/lib/libmarblewidget.so.4
#8  0xb56705a9 in MarbleMap::MarbleMap () from /usr/lib/libmarblewidget.so.4
#9  0xb5664770 in MarbleWidget::MarbleWidget ()
   from /usr/lib/libmarblewidget.so.4
#10 0xb7ee3ff2 in WorldMapWidget (this=0x96caca0, w=256, h=256, 
    parent=0x96ca368)
    at /build/buildd/digikam-0.10.0~beta2/libs/imageproperties/worldmapwidget.cpp:79
#11 0xb7ee07df in ImagePropertiesGPSTab (this=0x96ca368, parent=0x8e91920)
    at /build/buildd/digikam-0.10.0~beta2/libs/imageproperties/imagepropertiesgpstab.cpp:102
#12 0xb7ec4e92 in ImagePropertiesSideBar (this=0x96003c0, parent=0x8e91920, 
    splitter=0x8f13258, side=KMultiTabBar::Right, 
    mimimizedDefault=<value optimized out>)
    at /build/buildd/digikam-0.10.0~beta2/libs/imageproperties/imagepropertiessidebar.cpp:76
#13 0x080bae01 in ImagePropertiesSideBarDB (this=0x96003c0, parent=0x8e91920, 
    splitter=0x8f13258, side=KMultiTabBar::Right, 
    mimimizedDefault=<value optimized out>)
    at /build/buildd/digikam-0.10.0~beta2/libs/imageproperties/imagepropertiessidebardb.cpp:87
#14 0x08267869 in DigikamView (this=0x8e91920, parent=0x8c86670)
    at /build/buildd/digikam-0.10.0~beta2/digikam/digikamview.cpp:200
#15 0x08252339 in Digikam::DigikamApp::setupView (this=0x8c86670)
    at /build/buildd/digikam-0.10.0~beta2/digikam/digikamapp.cpp:376
#16 0x0825d853 in DigikamApp (this=0x8c86670)
    at /build/buildd/digikam-0.10.0~beta2/digikam/digikamapp.cpp:183
#17 0x0828e77c in main (argc=1, argv=0xbfdd94f4)
    at /build/buildd/digikam-0.10.0~beta2/digikam/main.cpp:158
#0  0xb80d7430 in __kernel_vsyscall ()
Comment 1 caulier.gilles 2008-11-21 20:15:13 UTC
This is Marble widget, not digiKam

Gilles Caulier
Comment 2 Joe Biden 2008-11-25 06:34:58 UTC
Same thing happens to me on Kubuntu.
I am using SVN.
Comment 3 Dario Andres 2008-12-05 01:52:55 UTC
Is "marble-data" installed in your system? If not, this may be a duplicate of bug 172830
Comment 4 Joe Biden 2008-12-05 04:36:55 UTC
I can say that I removed all marble things...and updated and rebuilt qt-copy.
Problem went away. One of those two things was it.

Comment 5 Dario Andres 2008-12-05 12:56:19 UTC
@Brendan: Thanks :) , I'm marking this as duplicate of bug 172830 . If anyone thinks this is a different issue, please tell me.

*** This bug has been marked as a duplicate of bug 172830 ***
Comment 6 Christian Jägle 2009-02-03 20:16:28 UTC
I have the same problem, but marble data is installed.

Distribution: Kubuntu 8.10
Version: 0.10 svn (Revision 920769)
Installed after following guide: http://wiki.kde.org/tiki-index.php?page=Digikam+Compilation+on+Kubuntu+Intrepid

console output when digikam ist started:
--------------------------------------------
digikam(31919) Phonon::KdePlatformPlugin::createBackend: using backend:  "Xine"
Starting to load Plugins.
Files:  "vmlinuz"
Files:  "vmlinuz.old"
=== MarbleDirs: ===
Local Path: "/home/sisko78/.marble/data"
Plugin Local Path: "/home/sisko78/.marble/plugins"

Marble Data Path (Run Time) : ""
Marble Data Path (Compile Time): "/usr/share/kde4/apps/marble/data"

Marble Plugin Path (Run Time) : ""
Marble Plugin Path (Compile Time): "/usr/lib/kde4/plugins/marble"

System Path: "/usr/share/kde4/apps/marble/data"
Plugin System Path: ""
===================
"vmlinuz"  -  "/boot/vmlinuz-2.6.28"
KCrash: Application 'digikam' crashing...
sock_file=/home/sisko78/.kde/socket-hiwinmc2/kdeinit4__0
-------------------------------------------------------------------
(nothing more)


marble related packages:

dpkg -l|grep marble
ii  libmarble-dev                          4:4.2.0-0ubuntu1~intrepid1~ppa2                      development files for the Marble globe widget library
ii  libmarble4                             4:4.2.0-0ubuntu1~intrepid1~ppa2                      Marble globe widget library
ii  marble-data                            4:4.2.0-0ubuntu1~intrepid1~ppa2                      data files for Marble


Possible that I installed digikam while I had KDE 4.1 oder 4.2Beta installed. Perhaps new marble Packages from Ubuntu PPA have something to do with it?

The missing Plugin System Path is irritating me.

Comment 7 Dario Andres 2009-02-03 20:23:46 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and check if your backtrace is the same as the original one in this report? 
Thanks :)
Comment 8 Torsten Rahn 2009-02-03 20:41:19 UTC
Christian: Dario was wrong. The package needed is called "marble" (the one you are evidently missing).
Comment 9 Christian Jägle 2009-02-04 03:06:44 UTC
I am sorry, you are right, the package marble was missing.
Was so sure that I had all packages installed, because it did work some days ago and I can't remember uninstalling marble...