[KPhotoAlbum] Re: New snapshot (was : date + setup + help missing =?iso-8859-1?q?+=09database?=)

Jesper K. Pedersen blackie at blackie.dk
Tue Apr 18 00:56:05 BST 2006


I dont do any loading/unloading of libraries in KPA (except indirectly for 
plugins). So this would have to be a Qt or KDE problem.

On the other hand, I can't believe either to have such a bug, as it would hit 
us all over the place, so I tend to beleive that it is simply an oddity of 
using valgrind.

Cheers
Jesper.
On Monday 17 April 2006 13:26, Dominik Stadler wrote:
| Hi Jesper,
|
| I tried to play around with the latest and greatest KPhotoAlbum and used
| valgrind to start the demo-database (it seems to be unable to cope with my
| real database, with over 10500 images it consumes more and more memory
| during startup until I kill it).
|
| It seems during startup, KPhotoAlbum periodically loads and unloads a bunch
| of libraries, it seems this is done once for every image. Valgrind prints
| the following frequently until the main UI appears:
|
| --611-- Reading syms from /usr/qt/3/plugins/sqldrivers/libqsqlmysql.so
| (0x6A55000)
| --611--    object doesn't have a symbol table
| --611-- Reading syms from /usr/lib/mysql/libmysqlclient.so.15.0.0
| (0x6A83000)
| --611--    object doesn't have a symbol table
| --611-- Reading syms from /lib/libcrypt-2.4.so (0x6BC6000)
| --611--    object doesn't have a symbol table
| --611-- Reading syms from /usr/lib/libssl.so.0.9.7 (0x6BF3000)
| --611--    object doesn't have a symbol table
| --611-- Reading syms from /usr/lib/libcrypto.so.0.9.7 (0x6C23000)
| --611--    object doesn't have a symbol table
| --611-- Reading syms from /usr/qt/3/plugins/sqldrivers/libqsqlodbc.so
| (0x6A60000)
| --611--    object doesn't have a symbol table
| --611-- Reading syms from /usr/lib/libodbc.so.1.0.0 (0x6D4A000)
| --611--    object doesn't have a symbol table
| --611-- Reading syms from /usr/lib/libXinerama.so.1.0.0 (0x4947000)
| --611--    object doesn't have a symbol table
| --611-- discard syms at 0x6A60000-0x6A7B000 in
| /usr/qt/3/plugins/sqldrivers/libqsqlodbc.so due to munmap()
| --611-- discard syms at 0x6D4A000-0x6DAD000 in /usr/lib/libodbc.so.1.0.0
| due to munmap()
| --611-- discard syms at 0x4947000-0x494A000 in
| /usr/lib/libXinerama.so.1.0.0 due to munmap()
| --611-- discard syms at 0x6A55000-0x6A60000 in
| /usr/qt/3/plugins/sqldrivers/libqsqlmysql.so due to munmap()
| --611-- discard syms at 0x6A83000-0x6BC6000 in
| /usr/lib/mysql/libmysqlclient.so.15.0.0 due to munmap()
| --611-- discard syms at 0x6BC6000-0x6BF3000 in /lib/libcrypt-2.4.so due to
| munmap()
| --611-- discard syms at 0x6BF3000-0x6C23000 in /usr/lib/libssl.so.0.9.7 due
| to munmap()
| --611-- discard syms at 0x6C23000-0x6D27000 in /usr/lib/libcrypto.so.0.9.7
| due to munmap()
| --611-- Reading syms from /usr/qt/3/plugins/sqldrivers/libqsqlmysql.so
| (0x6A55000)
|
|
| Also when selecting all images from a category, this output appears once.
| I'm not sure how big the cost is for loading/unloading a lib, but if done
| very frequently, it might add up.
|
| The same when I import an existing .kim-file.
|
|
| Dominik.

-- 
Jesper K. Pedersen          |  Klarälvdalens Datakonsult
Senior Software Engineer    |  www.klaralvdalens-datakonsult.se
Prinsensgade 4a st.         |
9800 Hjørring               |  Platform-independent
Denmark                     |  software solutions




More information about the Kphotoalbum mailing list