On Sunday 20 March 2011 18:29:15 Lamarque Vieira Souza wrote: > Em Sunday 20 March 2011, Joel Bodenmann escreveu: > > Hi guys, > > > > I saw that the tutorial3 in kdeexamples/solid makes a segmentation fault. > > I > > > > found out that the problem is in line 49 in the tutorial3.cpp: > > Solid::Device device = list[0]; > > > > I think that the problem is that we can't give the object a value? > > > > So you see... I know the problem but i can't fix it. > > Can anyone help? > > This is a bug in Solid or somewhere else. Sure list should have at > least one processor.
Running in a VM? We got that feedback that for some VMs those don't report any processor... We can hardly do anything about that apart indeed removing the assumption from the tutorial that we'll always get a processor. Regards. -- Kévin Ottens, http://ervin.ipsquad.net KDAB - proud patron of KDE, http://www.kdab.com
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Kde-hardware-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-hardware-devel
