[apport] hald-addon-cpufreq crashed with SIGSEGV in IA__g_strdup_printf()

Bug #85717 reported by Vivian Stewart
24
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: hal

restarting X (logout then log back in on resporn)

ProblemType: Crash
CrashCounter: 1
Date: Sat Feb 17 20:07:35 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/lib/hal/hald-addon-cpufreq
Package: hal 0.5.8.1-4ubuntu7
ProcCmdline: /usr/lib/hal/hald-addon-cpufreq
ProcCwd: /usr/lib/hal
ProcEnviron: PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/hal:/usr/lib/hal/scripts:/usr/bin
Signal: 11
SourcePackage: hal
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 IA__g_strdup_printf (
Uname: Linux lapy2 2.6.20-8-lowlatency #2 SMP PREEMPT Tue Feb 13 05:21:37 UTC 2007 i686 GNU/Linux
UserGroups:

Related branches

Revision history for this message
Vivian Stewart (vivichrist) wrote :
Revision history for this message
Daniel Holbach (dholbach) wrote :
Download full text (4.9 KiB)

--- stack trace ---
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
Core was generated by `/usr/lib/hal/hald-addon-cpufreq'.
Program terminated with signal 11, Segmentation fault.
#0 read_line_int_split (filename=0x8054058 "/sys/devices/system/cpu/cpu1/cpufreq/affected_cpus", delim=0x804e00d " ", list=0xbf9c63f0) at addon-cpufreq.c:189
 in addon-cpufreq.c
#0 read_line_int_split (filename=0x8054058 "/sys/devices/system/cpu/cpu1/cpufreq/affected_cpus", delim=0x804e00d " ", list=0xbf9c63f0) at addon-cpufreq.c:189
 l = (gchar **) 0x0
#1 0x0804addc in dbus_filter_function (connection=0x80507e0, message=0x8050d10, user_data=0x0) at addon-cpufreq.c:244
 int_cpus = (GSList *) 0x8053890
 affected_cpus = (GSList *) 0x0
 it = <value optimized out>
 affected_cpus_file = 0x8054058 "/sys/devices/system/cpu/cpu1/cpufreq/affected_cpus"
 dbus_error = {name = 0x0, message = 0x0, dummy1 = 1, dummy2 = 0, dummy3 = 0, dummy4 = 0, dummy5 = 0, padding1 = 0x0}
 member = <value optimized out>
 path = <value optimized out>
 __FUNCTION__ = "dbus_filter_function"
#2 0xb7f4f1d2 in dbus_connection_dispatch (connection=0x80507e0) at dbus-connection.c:4267
 filter = (DBusMessageFilter *) 0x1e
 next = (DBusList *) 0x0
 message = (DBusMessage *) 0x8050d10
 link = <value optimized out>
 filter_list_copy = (DBusList *) 0x80501c4
 message_link = (DBusList *) 0x8050140
 result = DBUS_HANDLER_RESULT_NOT_YET_HANDLED
 status = <value optimized out>
 __FUNCTION__ = "dbus_connection_dispatch"
#3 0xb7f7c78d in message_queue_dispatch (source=0x8050008, callback=0, user_data=0x0) at dbus-gmain.c:101
 connection = (DBusConnection *) 0x80507e0
#4 0xb7ea0c42 in IA__g_main_context_dispatch (context=0x8050e98) at gmain.c:2045
No locals.
#5 0xb7ea3c1f in g_main_context_iterate (context=0x8050e98, block=1, dispatch=1, self=0x80508e0) at gmain.c:2677
 got_ownership = <value optimized out>
 max_priority = 0
 timeout = 0
 some_ready = 1
 nfds = <value optimized out>
 allocated_nfds = <value optimized out>
 fds = (GPollFD *) 0x80500e8
 __PRETTY_FUNCTION__ = "g_main_context_iterate"
#6 0xb7ea3fc9 in IA__g_main_loop_run (loop=0x80533f0) at gmain.c:2881
 got_ownership = 0
 self = (GThread *) 0x80508e0
 __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#7 0x08049c49 in main () at addon-cpufreq.c:1186
 signal_action = {__sigaction_handler = {sa_handler = 0x80498e0 <exit_handler>, sa_sigaction = 0x80498e0 <exit_handler>}, sa_mask = {__val = {16384,
      0 <repeats 31 times>}}, sa_flags = 1, sa_restorer = 0}
 gmain = (GMainLoop *) 0x0
 __FUNCTION__ = "main"
#8 0xb7d47ebc in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#9 0x08049841 in _start ()
--- thread stack trace ---
.
Thread 1 (process 24213):
#0 read_line_int_split (filename=0x8054058 "/sys/devices/system/cpu/cpu1/cpufreq/affected_cpus", delim=0x804e00d " ", list=0xbf9c63f0) at addon-cpufreq.c:189
 l = (gchar **) 0x0
#1 0x0804addc in dbus_filter_function (connection=0x80507e0, message=0x8050d10, user_data=0x0) at addon-cpufreq.c:244
 int_cpus = (GSList *) 0x8053890
 affected_cpus = (GSList *) 0x0
 it = <value optimized out>
 affected_cpus_file = 0x8054058 "/sys/devices/system/cpu/cpu1/cpufreq/affected_cpus"
...

Read more...

Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in bzr head.

Changed in hal:
assignee: nobody → pitti
importance: Undecided → Medium
status: Unconfirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 hal (0.5.8.1-4ubuntu8) feisty; urgency=low
 .
   * Add debian/patches/61_addon_cpufreq_crash.patch: Fix crash in the cpufreq
     addon. (LP: #85717)
   * debian/hal.init.dbus: Use actual init script path in usage help, not
     hardcoded /etc/init.d/hal (since it is actually in /etc/dbus/event.d).
     (LP: #84642)
   * debian/patches/02_powerscripts.patch: Fix path to s2disk/s2ram.
     (LP: #84652)
   * debian/patches/30-mp3-player-fdi.patch: Add missing audio_folders
     attribute to Sony Ericsson k750i FDI. (LP: #84924)

Changed in hal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.