RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1248984 - /usr/bin/rarian-sk-get-cl crashes on login
Summary: /usr/bin/rarian-sk-get-cl crashes on login
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rarian
Version: 7.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Matthew Barnes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1420851
TreeView+ depends on / blocked
 
Reported: 2015-07-31 09:24 UTC by Siteshwar Vashisht
Modified: 2019-07-11 09:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-13 16:29:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
0001-Do-not-call-strcmp-with-NULL-parameter-in-scan_direc.patch (1.09 KB, patch)
2015-07-31 10:00 UTC, Siteshwar Vashisht
no flags Details | Diff

Description Siteshwar Vashisht 2015-07-31 09:24:55 UTC
Description of problem:
/usr/bin/rarian-sk-get-cl crashes on login

Version-Release number of selected component (if applicable):
rarian-compat-0.8.1-11.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Login to the system through gdm

Actual results:
/usr/bin/rarian-sk-get-cl crashes.

Expected results:
/usr/bin/rarian-sk-get-cl should not crash.

Additional info:

(gdb) bt
#0  0x00007f6540b89c41 in scan_directory (dir=dir@entry=0xe66c30 "/usr/share/help/C/gnome-devel-demos/samples/helloWorld") at rarian-main.c:297
#1  0x00007f6540b89ce6 in scan_directory (dir=dir@entry=0xe5e220 "/usr/share/help/C/gnome-devel-demos/samples") at rarian-main.c:306
#2  0x00007f6540b89ce6 in scan_directory (dir=dir@entry=0xe5e0f0 "/usr/share/help/C/gnome-devel-demos") at rarian-main.c:306
#3  0x00007f6540b89ce6 in scan_directory (dir=dir@entry=0xe66310 "/usr/share/help/C") at rarian-main.c:306
#4  0x00007f6540b89ce6 in scan_directory (dir=dir@entry=0xe5e290 "/usr/share/help") at rarian-main.c:306
#5  0x00007f6540b89fb1 in scan_directories () at rarian-main.c:237
#6  0x000000000040533d in main (argc=<optimized out>, argv=0x7ffd615a2298) at rarian-sk-get-cl.cpp:216

(gdb) frame 0
#0  0x00007f6540b89c41 in scan_directory (dir=dir@entry=0xe66c30 "/usr/share/help/C/gnome-devel-demos/samples/helloWorld") at rarian-main.c:297
297               if (!strcmp (suffix, ".document")) {
(gdb) l
292
293             if (S_ISREG(buf.st_mode)) {
294               char *suffix = NULL;
295               
296               suffix = strrchr (full_name, '.');
297               if (!strcmp (suffix, ".document")) {
298                 process_file (full_name);
299               } else if (!strcmp (suffix, ".section")) {
300                 process_section (full_name);
301               }

(gdb) p suffix
$1 = 0x0

Comment 1 Siteshwar Vashisht 2015-07-31 10:00:17 UTC
Created attachment 1058007 [details]
0001-Do-not-call-strcmp-with-NULL-parameter-in-scan_direc.patch


Note You need to log in before you can comment on or make changes to this bug.