Version: (using KDE 4.0.98) Installed from: Ubuntu Packages KPA SVN rev 834494 on Kubuntu Hardy 64-bit w. KDE4.1rc1 from Ubuntu packages. I added the list view and icon view buttons in the toolbar. Pressed the icon view button and KPA crashed: ASSERT: "category.data()" in file /home/rhk/Ohjelmat/KPA-kde4/extragear-graphics/kphotoalbum/Browser/BrowserWidget.cpp, line 265 Same happens every time with list & icon view buttons with the same message
Please post a backtrace following the instructions on: http://techbase.kde.org/Contribute/Bugsquad/How_to_create_useful_crash_reports
Tried to: compiled with -DCMAKE_BUILD_TYPE=debugfull this is what I get: http://pastebin.com/f36dc039c and I don't get the KDE crash handler at all, KPA just dies when I press the button. Also tried gdb: This GDB was configured as "x86_64-linux-gnu"... (gdb) run Starting program: /usr/bin/kphotoalbum-svn [Thread debugging using libthread_db enabled] [New Thread 0x7feca2a51780 (LWP 14559)] ASSERT: "category.data()" in file /home/rhk/Ohjelmat/KPA-kde4/extragear-graphics/kphotoalbum/Browser/BrowserWidget.cpp, line 265 Program exited with code 01. (gdb) backtrace No stack. (gdb) quit rhk@rubert:~$ Will attach valgrind report
Created attachment 26286 [details] valgrind report of the crash rhk@rubert:~/Temp$ valgrind --log-file=kpa_svn_crash.txt kphotoalbum-svn ASSERT: "category.data()" in file /home/rhk/Ohjelmat/KPA-kde4/extragear-graphics/kphotoalbum/Browser/BrowserWidget.cpp, line 265 rhk@rubert:~/Temp$
SVN commit 898768 by jkt: Fix an assert() when trying to change a type of category view (icons, list,...) when no category is currently "active" BUG: 167042 M +2 -0 Browser/BrowserWidget.cpp M +3 -0 Browser/BrowserWidget.h M +2 -0 MainWindow/Window.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=898768