Bug 184710

Summary: Solid::Predicate::fromString crashes on syntax error
Product: [Unmaintained] solid Reporter: Ambroz Bizjak <ambrop7>
Component: libsolid-frontendAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: test program
backtrace

Description Ambroz Bizjak 2009-02-17 21:12:45 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Running this in any program crashes it unconditionally:
Solid::Predicate::fromString("[StorageVolume.ignored == false AND OpticalDisc.isBlank == true")

As a result, Plasma is now crashing if K3B from trunk is installed, see:
http://websvn.kde.org/trunk/extragear/multimedia/k3b/src/konqi/k3b_create_audio_cd_from_blank_medium.desktop

Tested with KDE 4.2 from svn. Backtrace and test program attached.
Comment 1 Ambroz Bizjak 2009-02-17 21:13:11 UTC
Created attachment 31417 [details]
test program
Comment 2 Ambroz Bizjak 2009-02-17 21:15:52 UTC
Created attachment 31418 [details]
backtrace
Comment 3 Dario Andres 2009-02-24 23:43:14 UTC
Could this be related to bug 184751 ?
Comment 4 Kevin Ottens 2009-02-28 11:30:46 UTC
Indeed it's 184751 that I closed yesterday.

*** This bug has been marked as a duplicate of bug 184751 ***