Bug 379024

Summary: Discover crashes when searching for "inkscape"
Product: [Applications] Discover Reporter: Nate Graham <nate>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: crash CC: nate
Priority: NOR    
Version First Reported In: 5.9.4   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nate Graham 2017-04-21 03:56:43 UTC
Distro: openSUSE Tumbleweed
Plasma version: 5.9.4
Discover version: 5.94


This odd bug is 100% reproducible for me. Steps to reproduce:
1. Open Discover
2. Search for "Inkscape"


Results:
Terminal says:
(process:25381): GLib-ERROR **: Creating pipes for GWakeup: Too many open files

Trace/breakpoint trap (core dumped)


And here's the backtrace:

(gdb) backtrace
#0  0x00007fa5375542f1 in _g_log_abort (breakpoint=1) at gmessages.c:549
#1  0x00007fa537555347 in g_log_default_handler (log_domain=log_domain@entry=0x7fa5375970ee "GLib", log_level=log_level@entry=6, message=message@entry=0x7fa4d00443a0 "Creating pipes for GWakeup: Too many open files\n", unused_data=unused_data@entry=0x0) at gmessages.c:3047
#2  0x00007fa537555654 in g_logv (log_domain=0x7fa5375970ee "GLib", log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, args=args@entry=0x7fa3a9e3aba0) at gmessages.c:1336
#3  0x00007fa53755585f in g_log (log_domain=log_domain@entry=0x7fa5375970ee "GLib", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7fa5375f6660 "Creating pipes for GWakeup: %s\n")
    at gmessages.c:1398
#4  0x00007fa537592fb2 in g_wakeup_new () at gwakeup.c:161
#5  0x00007fa53754c123 in g_main_context_new () at gmain.c:656
#6  0x00007fa53d4ffcc9 in QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) (this=<optimized out>, context=<optimized out>) at kernel/qeventdispatcher_glib.cpp:350
#7  0x00007fa4d0047200 in  ()
#8  0x0000000000000000 in  ()

(sadly no debug symbols were available for 7 and 8)
Comment 1 Nate Graham 2017-04-21 04:03:09 UTC
Core file available at https://www.dropbox.com/s/an6c93n1c2irhln/corefile?dl=0
Comment 2 Nate Graham 2017-04-25 22:43:29 UTC
Resolved in the latest version.