Bug 184710 - Solid::Predicate::fromString crashes on syntax error
Summary: Solid::Predicate::fromString crashes on syntax error
Status: RESOLVED DUPLICATE of bug 184751
Alias: None
Product: solid
Classification: Unmaintained
Component: libsolid-frontend (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-17 21:12 UTC by Ambroz Bizjak
Modified: 2010-10-02 13:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
test program (583 bytes, application/octet-stream)
2009-02-17 21:13 UTC, Ambroz Bizjak
Details
backtrace (962 bytes, text/plain)
2009-02-17 21:15 UTC, Ambroz Bizjak
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***