[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2013-05-25 Thread dino99
http://www.freedesktop.org/wiki/Software/hal/

** Changed in: hal (Ubuntu)
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/530569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2013-05-05 Thread Oliver Joos
There is a workaround to prevent the crash (side effects not clear to me):
https://bugs.launchpad.net/ubuntu/+source/laptop-mode-tools/+bug/779435/comments/4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/530569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2012-04-26 Thread pixeldoc
Also affecting 12.04  precise.

$ hal-disable-polling --device /dev/scd0
*** buffer overflow detected ***: hal-disable-polling terminated
...

$ dpkg -s hal
Package: hal
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1476
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: amd64
Version: 0.5.14-8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/530569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2011-09-03 Thread ameos
Confirm, Oneiric beta2 has this bug too

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/530569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2011-07-15 Thread userdce
happening in Oneiric also

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/530569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2011-06-16 Thread Herczeg Zsolt
I have the same problem. If you need debug information let me know.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hal/+bug/530569/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2011-04-29 Thread wateenellende
Just installed natty:

Setting up laptop-mode-tools (1.57-1ubuntu1) ...
 * Enabling laptop mode...  

 *** buffer overflow detected ***: hal-disable-polling terminated
=== Backtrace: =
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7fdcdfb8f1d7]
/lib/x86_64-linux-gnu/libc.so.6(+0xfd0f0)[0x7fdcdfb8e0f0]
/lib/x86_64-linux-gnu/libc.so.6(+0xfd70b)[0x7fdcdfb8e70b]
hal-disable-polling[0x401579]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7fdcdfaafeff]
hal-disable-polling[0x400f29]
=== Memory map: 
0040-00403000 r-xp  08:71 557420 
/usr/bin/hal-disable-polling
00602000-00603000 r--p 2000 08:71 557420 
/usr/bin/hal-disable-polling
00603000-00604000 rw-p 3000 08:71 557420 
/usr/bin/hal-disable-polling
02397000-023b8000 rw-p  00:00 0  [heap]

$ dpkg -s hal
Package: hal
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1764
Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
Architecture: amd64
Version: 0.5.14-5+svn1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2011-04-17 Thread Maruthi Chand Bhogireddi
Also affecting 11.04 beta , upgraded from 10.10.
Can they release fixes for this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2011-04-13 Thread kreyzoll
11.04 beta still

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2011-04-07 Thread Lucian Adrian Grijincu
** Changed in: hal (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2011-03-29 Thread Ulrich Schwab
same here on natty alpha 3 with all updates as of 2011-03-29

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2011-03-20 Thread Jörn-Ingo Weigert
this also happend on natty narwhal alpha3 ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/530569

Title:
  hal-disable-polling crash: buffer overflow detected

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2010-05-14 Thread aanno
This also happens on lucid/10.04 64-bit (amd64).

-- 
hal-disable-polling crash: buffer overflow detected
https://bugs.launchpad.net/bugs/530569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2010-05-01 Thread jesus
also afects my notebook msi GX630
hal eats more battery when the cdrom polling is enabled(for my notebook it is 
-20 minutes), i didnt find a way to stop it, when i try

sudo hal-disable-polling --device /dev/cdrom
*** buffer overflow detected ***: hal-disable-polling terminated
=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0xb767d350]
/lib/tls/i686/cmov/libc.so.6(+0xe128a)[0xb767c28a]
/lib/tls/i686/cmov/libc.so.6(+0xe19a8)[0xb767c9a8]
hal-disable-polling[0x80492bf]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb75b1bd6]
hal-disable-polling[0x8048c01]
=== Memory map: 
08048000-0804a000 r-xp  08:03 785731 /usr/bin/hal-disable-polling
0804a000-0804b000 r--p 1000 08:03 785731 /usr/bin/hal-disable-polling
0804b000-0804c000 rw-p 2000 08:03 785731 /usr/bin/hal-disable-polling
08c31000-08c52000 rw-p  00:00 0  [heap]
b754-b755d000 r-xp  08:03 130900 /lib/libgcc_s.so.1
b755d000-b755e000 r--p 0001c000 08:03 130900 /lib/libgcc_s.so.1
b755e000-b755f000 rw-p 0001d000 08:03 130900 /lib/libgcc_s.so.1
b755f000-b7561000 rw-p  00:00 0 
b7561000-b7568000 r-xp  08:03 135268 
/lib/tls/i686/cmov/librt-2.11.1.so
b7568000-b7569000 r--p 6000 08:03 135268 
/lib/tls/i686/cmov/librt-2.11.1.so
b7569000-b756a000 rw-p 7000 08:03 135268 
/lib/tls/i686/cmov/librt-2.11.1.so
b756a000-b7599000 r-xp  08:03 130958 /lib/libpcre.so.3.12.1
b7599000-b759a000 r--p 0002e000 08:03 130958 /lib/libpcre.so.3.12.1
b759a000-b759b000 rw-p 0002f000 08:03 130958 /lib/libpcre.so.3.12.1
b759b000-b76ee000 r-xp  08:03 135238 
/lib/tls/i686/cmov/libc-2.11.1.so
b76ee000-b76ef000 ---p 00153000 08:03 135238 
/lib/tls/i686/cmov/libc-2.11.1.so
b76ef000-b76f1000 r--p 00153000 08:03 135238 
/lib/tls/i686/cmov/libc-2.11.1.so
b76f1000-b76f2000 rw-p 00155000 08:03 135238 
/lib/tls/i686/cmov/libc-2.11.1.so
b76f2000-b76f5000 rw-p  00:00 0 
b76f5000-b770a000 r-xp  08:03 135264 
/lib/tls/i686/cmov/libpthread-2.11.1.so
b770a000-b770b000 r--p 00014000 08:03 135264 
/lib/tls/i686/cmov/libpthread-2.11.1.so
b770b000-b770c000 rw-p 00015000 08:03 135264 
/lib/tls/i686/cmov/libpthread-2.11.1.so
b770c000-b770e000 rw-p  00:00 0 
b770e000-b771e000 r-xp  08:03 788570 /usr/lib/libhal.so.1.0.0
b771e000-b771f000 r--p f000 08:03 788570 /usr/lib/libhal.so.1.0.0
b771f000-b772 rw-p 0001 08:03 788570 /usr/lib/libhal.so.1.0.0
b772-b7721000 rw-p  00:00 0 
b7721000-b7758000 r-xp  08:03 130878 /lib/libdbus-1.so.3.4.0
b7758000-b7759000 r--p 00036000 08:03 130878 /lib/libdbus-1.so.3.4.0
b7759000-b775a000 rw-p 00037000 08:03 130878 /lib/libdbus-1.so.3.4.0
b775a000-b7822000 r-xp  08:03 130904 /lib/libglib-2.0.so.0.2400.0
b7822000-b7823000 r--p 000c7000 08:03 130904 /lib/libglib-2.0.so.0.2400.0
b7823000-b7824000 rw-p 000c8000 08:03 130904 /lib/libglib-2.0.so.0.2400.0
b7834000-b7836000 rw-p  00:00 0 
b7836000-b7837000 r-xp  00:00 0  [vdso]
b7837000-b7852000 r-xp  08:03 130842 /lib/ld-2.11.1.so
b7852000-b7853000 r--p 0001a000 08:03 130842 /lib/ld-2.11.1.so
b7853000-b7854000 rw-p 0001b000 08:03 130842 /lib/ld-2.11.1.so
bfef1000-bff06000 rw-p  00:00 0  [stack]


I dont know what to do

-- 
hal-disable-polling crash: buffer overflow detected
https://bugs.launchpad.net/bugs/530569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2010-04-20 Thread Pedro Francisco
** Tags added: i386

-- 
hal-disable-polling crash: buffer overflow detected
https://bugs.launchpad.net/bugs/530569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2010-04-13 Thread Daniel J Blueman
I've attached a patch to workaround the issue by allowing realpath() to
internally allocate the memory from the heap, which we free later.

** Patch added: Workaround
   http://launchpadlibrarian.net/44027760/hal-disable-polling.diff

-- 
hal-disable-polling crash: buffer overflow detected
https://bugs.launchpad.net/bugs/530569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2010-04-12 Thread Daniel J Blueman
This occurred on a clean install of 10.04 LTS beta 2.

** Visibility changed to: Public

-- 
hal-disable-polling crash: buffer overflow detected
https://bugs.launchpad.net/bugs/530569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 530569] Re: hal-disable-polling crash: buffer overflow detected

2010-04-12 Thread Daniel J Blueman
Debugging this, we see the addresses of the source ad destination path
buffers passed gets trashed, here 0x62cc:

Program received signal SIGABRT, Aborted.
0x77144a75 in *__GI_raise (sig=value optimized out) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) where
#0  0x77144a75 in *__GI_raise (sig=value optimized out) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x771485c0 in *__GI_abort () at abort.c:92
#2  0x7717e4fb in __libc_message (do_abort=value optimized out, 
fmt=value optimized out)
at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#3  0x772101e7 in *__GI___fortify_fail (msg=0x7725880d buffer 
overflow detected) at fortify_fail.c:32
#4  0x7720f0a0 in *__GI___chk_fail () at chk_fail.c:29
#5  0x7720f6fb in __realpath_chk (buf=0x62cc Address 0x62cc out of 
bounds, 
resolved=0x62cc Address 0x62cc out of bounds, resolvedlen=6) at 
realpath_chk.c:30
#6  0x00401687 in realpath (argc=value optimized out, argv=value 
optimized out) at /usr/include/bits/stdlib.h:46
#7  main (argc=value optimized out, argv=value optimized out) at 
hal-disable-polling.c:194

Further more, building with optimisation disabled, the crash is not
experienced:

$ apt-get source hal
$ cd hal-*
$ debuild -rfakeroot -us -uc
$ cd tools

$ gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LIBEXEC_DIR=\/usr/lib/hal\ 
-DPACKAGE_SYSCONF_DIR=\/etc\ -DPACKAGE_DATA_DIR=\/usr/share\ 
-DPACKAGE_BIN_DIR=\/usr/bin\ -DPACKAGE_LOCALSTATEDIR=\/var\ 
-DPACKAGE_SCRIPT_DIR=\/usr/lib/hal/scripts\ 
-DPACKAGE_LOCALE_DIR=\/usr/share/locale\ -I.. -I../libhal 
-I../libhal-storage -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -c hal-disable-polling.c -O0
$ gcc -Wl,--as-needed -Wl,-Bsymbolic-functions -o hal-disable-polling 
hal-disable-polling.o -pthread  -L/lib -ldbus-glib-1 /usr/lib/libgobject-2.0.so 
/usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so -ldbus-1 -lpthread -lrt 
../libhal/.libs/libhal.so -pthread
$ sudo ./hal-disable-polling --device /dev/foo
Cannot find device /dev/foo.

$ gcc -DHAVE_CONFIG_H -I. -I..  -DPACKAGE_LIBEXEC_DIR=\/usr/lib/hal\ 
-DPACKAGE_SYSCONF_DIR=\/etc\ -DPACKAGE_DATA_DIR=\/usr/share\ 
-DPACKAGE_BIN_DIR=\/usr/bin\ -DPACKAGE_LOCALSTATEDIR=\/var\ 
-DPACKAGE_SCRIPT_DIR=\/usr/lib/hal/scripts\ 
-DPACKAGE_LOCALE_DIR=\/usr/share/locale\ -I.. -I../libhal 
-I../libhal-storage -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -c hal-disable-polling.c -O1
$ gcc -Wl,--as-needed -Wl,-Bsymbolic-functions -o hal-disable-polling 
hal-disable-polling.o -pthread  -L/lib -ldbus-glib-1 /usr/lib/libgobject-2.0.so 
/usr/lib/libgthread-2.0.so /usr/lib/libglib-2.0.so -ldbus-1 -lpthread -lrt 
../libhal/.libs/libhal.so -pthread
$ sudo ./hal-disable-polling --device /dev/foo
*** buffer overflow detected ***: ./hal-disable-polling terminated

-- 
hal-disable-polling crash: buffer overflow detected
https://bugs.launchpad.net/bugs/530569
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs