how to solve this segment fault bug?

明覺 shi.minjue at gmail.com
Sun May 10 09:29:49 UTC 2009


On Sun, May 10, 2009 at 1:53 PM, Esben Mose Hansen <kde at mosehansen.dk> wrote:
> On Saturday 09 May 2009 14:56:20 明覺 wrote:
>> I'm studying a software named k3dsurf, which is a kdevelop project,
>> here is the source code
>> http://kde-apps.org/content/show.php?content=25049.
>> I have built it by kdevelop 3.5.4 successfully, but when i start it,
>> it says segment fault, here is the gdb info:
>
> Most likely either psc or psc->driScreen is null. Start the program with gdb
> (you can find lots of tutorials on the net about gdb) to find out which one.
some more useful info from gdb:
-----------------------------------------------------------------------------------------------
(gdb) print psc->driScreen->waitX
$3 = (void (*)(__GLXDRIdrawable *)) 0x47206769666e6f63
(gdb) print *psc->driScreen->waitX
Cannot access memory at address 0x47206769666e6f63
-----------------------------------------------------------------------------------------------
what might cause the memory not accessable? thanks

>
> --
> Kind regards, Esben
>
> _______________________________________________
> kdevelop mailing list
> kdevelop at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
>



-- 
我的操作系統是Gnu/Linux Debian-sid-amd64/gNewSense Gnome Mozilla
Gmail/Evolution Gtkmm/Clutter/Anjuta Scim Totem Pidgin.




More information about the KDevelop mailing list