[BUG] ASP 1.0.1.10 or 1.0.0.39 Crashes When Browsing Catalog

Bugs & Suggestions
Post Reply
garibaldi
Posts: 27
Joined: Fri Mar 02, 2012 12:47 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: Lenovo 2516CTO
processor: i5 M 520
ram: 8GB
Video Card: i5 Intel Integrated Graphics
sound_card: 5 Series 3400 Series Chipset High Definition Audio
Hard_Drive_Capacity: 500GB
Monitor/Display Make & Model: LG M2762D-PM
Contact:

[BUG] ASP 1.0.1.10 or 1.0.0.39 Crashes When Browsing Catalog

Post by garibaldi »

Hello,

I am running ASP 1.0.1.10 on Ubuntu 12.04 amd64. While using ASP 1.0.0.39, I imported all of my photos into several catalogs. My photos are from a Canon 50D (RAW + JPG) and a Panasonic Lumix (JPG). After importing them, I have been going through each folder and adding keywords to the images. Recently ASP crashes almost every time I click on a folder in a catalog. The behavior to reproduce this is as follows:
- select a folder in the catalog; the photos in the folder are displayed on the main pane. It doesn't matter if the folder contains photos from the Canon 50D or the Panasonic Lumix
- ASP starts an "Import" process on the bottom left, even though this folder is already in the catalog
- ASP freezes or becomes non-responsive and eventually crashes

After restarting ASP, if I choose Resume it will often crash again without any further interaction. Here is the debug output from right before the crash:

Code: Select all

43268.805: Starting import with settings :  "<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:bibp="http://www.bibblelabs.com/BibblePrivate/5.0/"
   bibp:MoveCopy="2"
   bibp:LibraryLoc=""
   bibp:LibraryID="1"
   bibp:LibraryUuid="{075045e0-9321-504c-b9dc-6815611c97af}"
   bibp:Organize="0"
   bibp:FolderTemplate=""
   bibp:Recurse="false"
   bibp:RenameOn="false"
   bibp:FileTemplate=""
   bibp:ImportPath="/home/garibaldi/Pictures/2011/06/24"
   bibp:KeywordList=""
   bibp:FolderFilter="P1150706.JPG,P1150705.JPG,P1150704.JPG,P1150703.JPG,P1150702.JPG,P1150701.JPG,P1150700.JPG,P1150699.JPG,P1150698.JPG,P1150697.JPG,P1150696.JPG,P1150695.JPG,P1150694.JPG,P1150693.JPG,P1150692.JPG,P1150691.JPG,P1150690.JPG,P1150689.JPG,P1150688.JPG,P1150687.JPG,P1150686.JPG,P1150685.JPG,P1150684.JPG,P1150683.JPG,P1150682.JPG,P1150681.JPG,P1150680.JPG,P1150679.JPG,P1150678.JPG,P1150677.JPG,P1150676.JPG,P1150675.JPG,P1150674.JPG,P1150673.JPG"
   bibp:QueueName=""
   bibp:QueueType="0"
   bibp:QueueOnlyNewFiles="false"
   bibp:JobName=""
   bibp:PresetList=""/>
 </rdf:RDF>
</x:xmpmeta>
"
43268.807: Adding master versions
43268.807: Scanning file  "/home/garibaldi/Pictures/2011/06/24/P1150703.JPG"
43268.810: ContainerAsset could not get path by ID
43268.925: **** Found an old file in the import "/home/garibaldi/Pictures/2011/06/24/P1150703.JPG"
43269.438: Removed child refs
43271.357: Importing: "/home/garibaldi/Pictures/2011/06/24/P1150703.JPG"
43271.500: defaults:  "DefaultRendered.xmp"
43272.211: Scanning file  "/home/garibaldi/Pictures/2011/06/24/P1150704.JPG"
43272.220: **** Found an old file in the import "/home/garibaldi/Pictures/2011/06/24/P1150704.JPG"
43272.642: Removed child refs
43274.266: Importing: "/home/garibaldi/Pictures/2011/06/24/P1150704.JPG"
43275.147: Scanning file  "/home/garibaldi/Pictures/2011/06/24/P1150705.JPG"
43275.156: **** Found an old file in the import "/home/garibaldi/Pictures/2011/06/24/P1150705.JPG"
43275.627: Removed child refs
43276.892: Importing: "/home/garibaldi/Pictures/2011/06/24/P1150705.JPG"
43277.855: Scanning file  "/home/garibaldi/Pictures/2011/06/24/P1150706.JPG"
43277.951: **** Found an old file in the import "/home/garibaldi/Pictures/2011/06/24/P1150706.JPG"
43278.367: Removed child refs
43279.750: Importing: "/home/garibaldi/Pictures/2011/06/24/P1150706.JPG"
43280.218: CameraReaderAsset::run() - runInline returned an error
43280.245: CameraReaderAsset::run() - runInline returned an error
Segmentation fault (core dumped)
Here is a sample photo from the folder:
http://avidandrew.com/downloads/P1150734.JPG

I attempted to downgrade to 1.0.0.39, but it also has the same behavior. Any ideas on what I can try to correct this problem? I have already submitted a bug report.

Thanks!!
greerd
Posts: 50
Joined: Fri Jan 13, 2012 4:19 pm
operating_system: Linux
System_Drive: Z
32bit or 64bit: 64 Bit
processor: Intel i7 920
ram: 12 GiB
Video Card: nVidia GeForce 260
sound_card: Onboard
Hard_Drive_Capacity: 5 TB
Monitor/Display Make & Model: Dell UltraSharp U2410
Location: Nova Scotia, Canada

Re: [BUG] ASP 1.0.1.10 or 1.0.0.39 Crashes When Browsing Cat

Post by greerd »

Never happened to me, but when ever I read something like this the common answer/solution is to delete the cache. It's ~/.AfterShotPro/cache .
garibaldi
Posts: 27
Joined: Fri Mar 02, 2012 12:47 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: Lenovo 2516CTO
processor: i5 M 520
ram: 8GB
Video Card: i5 Intel Integrated Graphics
sound_card: 5 Series 3400 Series Chipset High Definition Audio
Hard_Drive_Capacity: 500GB
Monitor/Display Make & Model: LG M2762D-PM
Contact:

Re: [BUG] ASP 1.0.1.10 or 1.0.0.39 Crashes When Browsing Cat

Post by garibaldi »

Thanks, that is a good suggestion. I removed ~/.AfterShotPro/cache, however even after removing it the problem still occurs:

Code: Select all

46118.735: Starting import with settings :  "<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 4.4.0">
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <rdf:Description rdf:about=""
    xmlns:bibp="http://www.bibblelabs.com/BibblePrivate/5.0/"
   bibp:MoveCopy="2"
   bibp:LibraryLoc=""
   bibp:LibraryID="1"
   bibp:LibraryUuid="{075045e0-9321-504c-b9dc-6815611c97af}"
   bibp:Organize="0"
   bibp:FolderTemplate=""
   bibp:Recurse="false"
   bibp:RenameOn="false"
   bibp:FileTemplate=""
   bibp:ImportPath="/home/garibaldi/Pictures/2011/07/02"
   bibp:KeywordList=""
   bibp:FolderFilter="P1150791.JPG,P1150790.JPG,P1150789.JPG,P1150788.JPG,P1150787.JPG,P1150786.JPG,P1150785.JPG,P1150784.JPG,P1150783.JPG,P1150782.JPG"
   bibp:QueueName=""
   bibp:QueueType="0"
   bibp:QueueOnlyNewFiles="false"
   bibp:JobName=""
   bibp:PresetList=""/>
 </rdf:RDF>
</x:xmpmeta>
" 
46119.133: Adding master versions 
46119.134: Scanning file  "/home/garibaldi/Pictures/2011/07/02/P1150782.JPG" 
46119.218: **** Found an old file in the import "/home/garibaldi/Pictures/2011/07/02/P1150782.JPG" 
46119.663: Removed child refs 
46120.720: Importing: "/home/garibaldi/Pictures/2011/07/02/P1150782.JPG" 
46120.756: Found XMP for /home/garibaldi/Pictures/2011/07/02/P1150782.JPG with 1 versions
46121.227: Scanning file  "/home/garibaldi/Pictures/2011/07/02/P1150783.JPG" 
46121.233: **** Found an old file in the import "/home/garibaldi/Pictures/2011/07/02/P1150783.JPG" 
46121.653: Removed child refs 
46123.81: Importing: "/home/garibaldi/Pictures/2011/07/02/P1150783.JPG" 
46123.133: Found XMP for /home/garibaldi/Pictures/2011/07/02/P1150783.JPG with 1 versions
46123.570: Scanning file  "/home/garibaldi/Pictures/2011/07/02/P1150784.JPG" 
46123.579: **** Found an old file in the import "/home/garibaldi/Pictures/2011/07/02/P1150784.JPG" 
46123.979: Removed child refs 
46125.158: Importing: "/home/garibaldi/Pictures/2011/07/02/P1150784.JPG" 
46125.201: Found XMP for /home/garibaldi/Pictures/2011/07/02/P1150784.JPG with 1 versions
46125.675: Scanning file  "/home/garibaldi/Pictures/2011/07/02/P1150785.JPG" 
46125.687: **** Found an old file in the import "/home/garibaldi/Pictures/2011/07/02/P1150785.JPG" 
46126.81: Removed child refs 
46127.15: Importing: "/home/garibaldi/Pictures/2011/07/02/P1150785.JPG" 
46127.164: Found XMP for /home/garibaldi/Pictures/2011/07/02/P1150785.JPG with 1 versions
46127.705: Scanning file  "/home/garibaldi/Pictures/2011/07/02/P1150786.JPG" 
46127.720: **** Found an old file in the import "/home/garibaldi/Pictures/2011/07/02/P1150786.JPG" 
46128.65: Removed child refs 
46128.972: Importing: "/home/garibaldi/Pictures/2011/07/02/P1150786.JPG" 
46128.995: Found XMP for /home/garibaldi/Pictures/2011/07/02/P1150786.JPG with 1 versions
46129.438: Scanning file  "/home/garibaldi/Pictures/2011/07/02/P1150787.JPG" 
46129.447: **** Found an old file in the import "/home/garibaldi/Pictures/2011/07/02/P1150787.JPG" 
46129.812: Removed child refs 
46130.780: Importing: "/home/garibaldi/Pictures/2011/07/02/P1150787.JPG" 
46130.829: Found XMP for /home/garibaldi/Pictures/2011/07/02/P1150787.JPG with 1 versions
46131.379: Scanning file  "/home/garibaldi/Pictures/2011/07/02/P1150788.JPG" 
46131.393: **** Found an old file in the import "/home/garibaldi/Pictures/2011/07/02/P1150788.JPG" 
46131.726: Removed child refs 
46132.673: Importing: "/home/garibaldi/Pictures/2011/07/02/P1150788.JPG" 
46132.814: Found XMP for /home/garibaldi/Pictures/2011/07/02/P1150788.JPG with 1 versions
46133.277: Scanning file  "/home/garibaldi/Pictures/2011/07/02/P1150789.JPG" 
46133.286: **** Found an old file in the import "/home/garibaldi/Pictures/2011/07/02/P1150789.JPG" 
46133.605: Removed child refs 
46134.590: Importing: "/home/garibaldi/Pictures/2011/07/02/P1150789.JPG" 
46134.674: Found XMP for /home/garibaldi/Pictures/2011/07/02/P1150789.JPG with 1 versions
46135.142: Scanning file  "/home/garibaldi/Pictures/2011/07/02/P1150790.JPG" 
46135.156: **** Found an old file in the import "/home/garibaldi/Pictures/2011/07/02/P1150790.JPG" 
46135.494: Removed child refs 
46136.430: Importing: "/home/garibaldi/Pictures/2011/07/02/P1150790.JPG" 
46136.527: Found XMP for /home/garibaldi/Pictures/2011/07/02/P1150790.JPG with 1 versions
46136.973: Scanning file  "/home/garibaldi/Pictures/2011/07/02/P1150791.JPG" 
46136.986: **** Found an old file in the import "/home/garibaldi/Pictures/2011/07/02/P1150791.JPG" 
46137.294: Removed child refs 
46138.347: Importing: "/home/garibaldi/Pictures/2011/07/02/P1150791.JPG" 
46138.465: Found XMP for /home/garibaldi/Pictures/2011/07/02/P1150791.JPG with 1 versions
46139.45: CameraReaderAsset::run() - runInline returned an error 
46139.50: CameraReaderAsset::run() - runInline returned an error 
Segmentation fault (core dumped)
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: [BUG] ASP 1.0.1.10 or 1.0.0.39 Crashes When Browsing Cat

Post by afx »

greerd wrote:Never happened to me, but when ever I read something like this the common answer/solution is to delete the cache. It's ~/.AfterShotPro/cache .
Then you misread.
The cache only affects the file system view, not the database...

For serious database trouble the solution (which I think is an euphemism in this case) is to make sure you have XMPs for all the files and then recreate the catalog.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
lschneid
Posts: 1
Joined: Tue Dec 03, 2013 10:48 pm
operating_system: Mac
System_Drive: N/A
32bit or 64bit: 64 Bit

Re: [BUG] ASP 1.0.1.10 or 1.0.0.39 Crashes When Browsing Cat

Post by lschneid »

Hi,

I have a similiar problem on the MAC with the latest ASP version. I opened a catalog, saved some new versions of a couple of pics and all of a sudden ASP always crashes more or less immediately whenever I click on this catalog and try to select a pic. In the log I also see this message "... cannot get path by ID". I tried to close this catalog so that I can recreate it, but ASP crashes before closing it. Can I just remove it on the filesystem, restart ASP and then recreate it or will that totally mess up the database. Can anybody direct me to instructions on how to get back to a "clean state" in my situation?

Thanks for any hints,
lschneid
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: [BUG] ASP 1.0.1.10 or 1.0.0.39 Crashes When Browsing Cat

Post by afx »

As long as you have the XMPs, you can always just delete the catalog and recreate it.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
SimonMoss
Posts: 1
Joined: Mon Nov 24, 2014 8:53 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 32 Bit
motherboard: ASRock 990FX Extreme4
processor: AMD FX-8350 Eight-Core Processor
ram: 8GB
Video Card: NVidia GeForce GTX 750 Ti
Hard_Drive_Capacity: 2TB
Monitor/Display Make & Model: HP ZR2440w

Re: [BUG] ASP 1.0.1.10 or 1.0.0.39 Crashes When Browsing Cat

Post by SimonMoss »

I appreciate this is an old thread, but was there a solution to this? I'm currently hitting it in version 1.2.0.7 under similar circumstances (creating additional versions from Master.
Should I infer from the last post that I should create a new Catalog and reimport all my images? If so is there any risk of losing any metadata?

Current error:

Code: Select all

3.240: Container __CATALOG_ROOT__/assets/AfterShotPro/2014/11/08
3.240: ContainerAsset could not get path by ID
Fatal: Could not create the path.
3.245: Could not create the path.
Aborted (core dumped)
afx
Posts: 1675
Joined: Thu Jan 12, 2012 1:38 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Video Card: FirePro 4900
Monitor/Display Make & Model: NEC PA301w, ColorMunki
Location: München
Contact:

Re: [BUG] ASP 1.0.1.10 or 1.0.0.39 Crashes When Browsing Cat

Post by afx »

Looks like a messed up catalog.
Make sure you have XMPs for all files and then import into a new catalog.

cheers
afx
Send bugs to the Monkey // AfterShot Kickstart Guide // sRGB clipping sucks and Adobe RGB is just as bad
Bibble since 2005 // W7 64 on quad Phenom // Ubuntu 14.4 on quad i7 and dualcore AMD // Images
Post Reply