! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Crash on startup
Status:
RESOLVED: FIXED
Product:
Xfce4-taskmanager
Component:
General

Comments

Description Jérôme Guelfucci editbugs 2010-06-12 21:17:22 CEST
Hello,

I'm running latest git master (0666f034c216b71f9ce61af0fc1009f77f6ef23b) on Debian Testing 64 bits and xfce4-taskmanager crashes on startup.

Backtrace:

Program received signal SIGBUS, Bus error.
0x000000000040befe in get_task_cmdline (task_list=<value optimized out>)
    at task-manager-linux.c:141
141		if (task->cmdline[i-1] == ' ')
(gdb) bt
#0  0x000000000040befe in get_task_cmdline (task_list=<value optimized out>)
    at task-manager-linux.c:141
#1  get_task_details (task_list=<value optimized out>) at task-manager-linux.c:291
#2  get_task_list (task_list=<value optimized out>) at task-manager-linux.c:312
#3  0x0000000000409d04 in xtm_task_manager_update_model (manager=0x704d50)
    at task-manager.c:454
#4  0x0000000000405a96 in init_timeout () at main.c:117
#5  0x0000000000405dd4 in main (argc=1, argv=0x7fffffffe238) at main.c:171

This is a regression, it did not crash with 2f995e82260dc4478b7eb53f955fd747e74b373d.

Please tell me if you need any additional information.

Cheers,

Jérôme
Comment 1 Jérôme Guelfucci editbugs 2010-06-13 16:34:50 CEST
Log of the relevant IRC discussion to add informations:


18:21 <+jeromeg> m8t: I bisected the crash, the commit which introduces the bug 
                 is 15063825771cff5dc651ecf14069d2e1364f8f3b
18:21 <+jeromeg> [linux] Fix compiler warnings from Linux implementation
18:22 <+jeromeg> that's what you get for fixing warnings ^^
18:30 <+jeromeg> m8t: switching i from guint to gint fixes the crash but adds a 
                 compiler warning
18:31 <+jeromeg> in src/Makefile.am includes you have -I$(top_srcdir)/include 
                 which does not exist

Bug #6502

Reported by:
Jérôme Guelfucci
Reported on: 2010-06-12
Last modified on: 2010-06-13

People

Assignee:
Mike Massonnet
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information