[Bug 201302] New: Crash due to memory access problem on Mac OS X

classic Classic list List threaded Threaded
36 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=201302





--- Comment #20 from Gilles Caulier <caulier gilles gmail com>  2009-07-29 09:53:33 ---
Revert last changes in libpgf dir using "svn revert *", and apply patch as
well...

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Bugzilla from rishi.j.sanyal@gmail.com
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302





--- Comment #21 from  <rishi j sanyal gmail com>  2009-07-29 09:58:08 ---
Which file is the patch applied to?

Also, just so you know, all I did was delete the 'define __bigendianess' line
in PGFplatform.h

That fixed the problem... can you not just take out that line?

Cheers,
Rishi

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Gilles Caulier-4
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302





--- Comment #22 from Gilles Caulier <caulier gilles gmail com>  2009-07-29 10:10:22 ---
Patch is attached to this file :

https://bugs.kde.org/attachment.cgi?id=35711

We need to test endianness to see if mac is intel or powerpc based to still
compatible. Removing only the endianess declaration is not enough

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Bugzilla from rishi.j.sanyal@gmail.com
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302





--- Comment #23 from  <rishi j sanyal gmail com>  2009-07-30 02:31:53 ---
Gilles,

I applied your patch within the libpgf folder; PGFplatform.h was patched. I
then recompiled digiKam... it runs just fine, so I assume your patch worked :)

As for the lenscorrection stuff-- I'm not sure what's going on. Yes I have that
directory you mentioned... within the
/graphics/build/digikam/imageplugins/lenscorrection directory, I have the
following files:

CMakeFiles
CTestTestfile.cmake
Makefile
antivignettingtool.moc
autocorrectiontool.moc
cmake_install.cmake
digikamimageplugin_lenscorrection_automoc.cpp
digikamimageplugin_lenscorrection_automoc.cpp.files
imageplugin_lenscorrection.moc
klensfun.moc
lensdistortiontool.moc

Here's the console output when running digiKam... I can't find any relevant
'lenscorrection' stuff in it:

http://staff.washington.edu/rjsanyal/Photography/digiKam/digiKam_consoleoutput.txt

Please let me know if you have any more ideas.

Cheers,
Rishi

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Bugzilla from rishi.j.sanyal@gmail.com
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302





--- Comment #24 from  <rishi j sanyal gmail com>  2009-07-30 02:33:00 ---
Oh, and just so you know-- I did undo my own changes to PGFplatform.h before
applying your patch...

Rishi

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Gilles Caulier-4
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302





--- Comment #25 from Gilles Caulier <caulier gilles gmail com>  2009-07-30 06:13:52 ---
Lensfun plugin is not loaded in memory :

digikam(2digikam(25174)/digikam (core)
Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader:
createInstance returned 0 for  "ImagePlugin_LensCorrection"  (
"digikamimageplugin_lenscorrection" )  with error:  "QLibrary::load_sys: Cannot
load /opt/local/lib/kde4/digikamimageplugin_lenscorrection.so ()"
5174)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList:
ImagePluginLoader: createInstance returned 0 for  "ImagePlugin_LensCorrection"
( "digikamimageplugin_lenscorrection" )  with error:  "QLibrary::load_sys:
Cannot load /opt/local/lib/kde4/digikamimageplugin_lenscorrection.so ()"

I suspect that lensfun shared library used by lenscorrection plugin is
corrupted on your computer...

Clean up lensfun code, recompile and install it properly, and do the same with
lenscorrection plugin.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Gilles Caulier-4
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302





--- Comment #26 from Gilles Caulier <caulier gilles gmail com>  2009-07-30 06:16:32 ---
SVN commit 1004398 by cgilles:

apply patch to prevent crash under Mac osx for intel
CCBUGS: 201302


 M  +6 -1      PGFplatform.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1004398

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Bugzilla from rishi.j.sanyal@gmail.com
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302





--- Comment #27 from  <rishi j sanyal gmail com>  2009-07-30 09:14:07 ---
Oh, I see it now.

Sorry. I use a piece of $hit text editor called Text Wrangler which,
apparently, can't even search for terms in a .txt file properly!

Will try to clean & reinstall & report back...

Thanks,
Rishi

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Gilles Caulier-4
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302





--- Comment #28 from Gilles Caulier <caulier gilles gmail com>  2009-07-30 13:16:01 ---
Ok, i close this file now, as crash is fixed...

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Gilles Caulier-4
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Marcel Wiesweg
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302





--- Comment #29 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-07-30 15:50:21 ---
Rishi, we have another endianness problem open with PNG writing. Now that you
have SVN trunk installed and running, would you mind helping us with testing
bug #196692? That would be great. I have just committed a fix there but can't
test obviously.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Bugzilla from rishi.j.sanyal@gmail.com
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302


[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |




--- Comment #30 from  <rishi j sanyal gmail com>  2009-07-31 00:52:35 ---
Hi Marcel,

Please clarify: do you want me to check out a particular revision & test
compile it? If so, which revision?

Cheers,
Rishi

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Bugzilla from rishi.j.sanyal@gmail.com
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302





--- Comment #31 from  <rishi j sanyal gmail com>  2009-07-31 03:28:30 ---
Gilles & to whomever else reading this that may be interested...

I found the problem with Lens Corrections plugin... basically, I had libiconv
version 1.12 installed-- it needed to be upgraded to 1.13 so that
libiconv.2.dylib (residing in /opt/local/lib) is version 8.0.0, not 7.0.0.

Now Lens Corrections & LensFun load fine...

Of course, these sort of problems arise b/c I can't update MacPorts to install
the latest versions of everything, since I want to keep all KDE libs back at
4.2.0... *sigh* I don't even know where to begin in terms of what got broken in
KDE libs 4.2.4...

Anyway, all seems to be working perfectly in Mac OS X, for revision 1004825
anyway!

Cheers,
Rishi

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Gilles Caulier-4
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #32 from Gilles Caulier <caulier gilles gmail com>  2009-07-31 11:45:37 ---
Rishi,

As Marcel said, please continue to talk on this file :

https://bugs.kde.org/show_bug.cgi?id=196692

...and lets this one closed now. original problem about libpgf is fixed.

Marcel ask you to test current code from svn trunk under Macos-X, about to load
and save PNG, TIFF, JPEG with editor.

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Marcel Wiesweg
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #33 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-08-04 17:12:51 ---
*** Bug 202430 has been marked as a duplicate of this bug. ***

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 201302] Crash due to memory access problem on Mac OS X

Gilles Caulier-4
In reply to this post by Bugzilla from rishi.j.sanyal@gmail.com
https://bugs.kde.org/show_bug.cgi?id=201302


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.0.0-beta2                 |1.0.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12