[jaunty]swscanner crash when try to

Bug #374822 reported by Joesalty
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
swscanner (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: swscanner

New installation of jaunty.(KDE and GNOME installed fully)
I'm trying to scan wifi with ipw2100. But when i click to scan icon, swscanner crashes.
The output is:
------------------------------------------------------probe with user---------------------------------------------------------

****y@Area51:~$ swscanner
kbuildsycoca running...
Running SWScanner version: 0.2.2
Creating aplist...
Creating SWSconfig...
Creating MainWindow...
Creating gpserial...
Creating SWSystemTray...
if(lo)->127.0.0.1/255.0.0.0/0.0.0.0#### level: -73 noise: -235 (106)
Creating scanning thread...

Error in SIOCSIWMODE: Operation not permitted
Warning: Driver for device eth1 has been compiled with version 22
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

if(eth1)->0.0.0.0/23.0.0.0/16.137.151.191#### level: -256 noise: -256 (0)
if(eth1)->0.0.0.0/23.0.0.0/24.215.224.9#### level: -256 noise: -256 (0)
if(eth1)->0.0.0.0/126.0.0.0/40.1.0.0#### level: -256 noise: -256 (0)
Error in SIOCSIFFLAGS: Permission denied
if(eth1)->0.0.0.0/184.161.223.9/24.137.151.191#### level: -256 noise: -256 (0)
Starting a new scan thread!!
eth1 Scan completed :
New AP found(01): 00:11:20:8D:D5:80
*** buffer overflow detected ***: swscanner terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb6afdda8]
/lib/tls/i686/cmov/libc.so.6[0xb6afbeb0]
swscanner(_ZN7QWidget6createEmbb+0x1329)[0x805d5f5]
swscanner[0x805d889]
swscanner[0x8073c6c]
/usr/lib/libqt-mt.so.3(_ZN15QThreadInstance5startEPv+0x7f)[0xb71af3cf]
/lib/tls/i686/cmov/libpthread.so.0[0xb6da14ff]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb6ae449e]
======= Memory map: ========
08048000-080b8000 r-xp 00000000 08:05 190671 /usr/bin/swscanner
080b8000-080b9000 r--p 00070000 08:05 190671 /usr/bin/swscanner
080b9000-080ba000 rw-p 00071000 08:05 190671 /usr/bin/swscanner
080ba000-080bb000 rw-p 080ba000 00:00 0
09c86000-09e5f000 rw-p 09c86000 00:00 0 [heap]
b5d97000-b5d98000 ---p b5d97000 00:00 0
b5d98000-b6598000 rw-p b5d98000 00:00 0
b6598000-b65a2000 r-xp 00000000 08:05 522432 /lib/tls/i686/cmov/libnss_files-2.9.so
b65a2000-b65a3000 r--p 00009000 08:05 522432 /lib/tls/i686/cmov/libnss_files-2.9.so
b65a3000-b65a4000 rw-p 0000a000 08:05 522432 /lib/tls/i686/cmov/libnss_files-2.9.so
b65a4000-b65ad000 r-xp 00000000 08:05 522436 /lib/tls/i686/cmov/libnss_nis-2.9.so
b65ad000-b65ae000 r--p 00008000 08:05 522436 /lib/tls/i686/cmov/libnss_nis-2.9.so
b65ae000-b65af000 rw-p 00009000 08:05 522436 /lib/tls/i686/cmov/libnss_nis-2.9.so
b65af000-b65c4000 r-xp 00000000 08:05 522426 /lib/tls/i686/cmov/libnsl-2.9.so
b65c4000-b65c5000 r--p 00014000 08:05 522426 /lib/tls/i686/cmov/libnsl-2.9.so
b65c5000-b65c6000 rw-p 00015000 08:05 522426 /lib/tls/i686/cmov/libnsl-2.9.so
b65c6000-b65c8000 rw-p b65c6000 00:00 0
b65c8000-b65cf000 r-xp 00000000 08:05 522428 /lib/tls/i686/cmov/libnss_compat-2.9.so
b65cf000-b65d0000 r--p 00006000 08:05 522428 /lib/tls/i686/cmov/libnss_compat-2.9.so
b65d0000-b65d1000 rw-p 00007000 08:05 522428 /lib/tls/i686/cmov/libnss_compat-2.9.so
b65e6000-b660a000 r-xp 00000000 08:05 562600 /usr/lib/qt3/plugins/inputmethods/libqsimple.so
b660a000-b660b000 rw-p 00024000 08:05 562600 /usr/lib/qt3/plugins/inputmethods/libqsimple.so
b660b000-b6614000 r-xp 00000000 08:05 562598 /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
b6614000-b6615000 rw-p 00008000 08:05 562598 /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
b6615000-b66a1000 r--p 00000000 08:05 311127 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
b66a1000-b6739000 r--p 00000000 08:05 311128 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b6739000-b6769000 r-xp 00000000 08:05 189503 /usr/lib/liblcms.so.1.0.18
b6769000-b676a000 r--p 00030000 08:05 189503 /usr/lib/liblcms.so.1.0.18
b676a000-b676b000 rw-p 00031000 08:05 189503 /usr/lib/liblcms.so.1.0.18
b676b000-b676d000 rw-p b676b000 00:00 0
b676d000-b67d8000 r-xp 00000000 08:05 189536 /usr/lib/libmng.so.1.1.0.9
b67d8000-b67db000 rw-p 0006a000 08:05 189536 /usr/lib/libmng.so.1.1.0.9
b67df000-b67ea000 r-xp 00000000 08:05 562601 /usr/lib/qt3/plugins/inputmethods/libqxim.so
b67ea000-b67eb000 rw-p 0000a000 08:05 562601 /usr/lib/qt3/plugins/inputmethods/libqxim.so
b67eb000-b67ef000 r-xp 00000000 08:05 562599 /usr/lib/qt3/plugins/inputmethods/libqimsw-none.so
b67ef000-b67f0000 rw-p 00003000 08:05 562599 /usr/lib/qt3/plugins/inputmethods/libqimsw-none.so
b67f0000-b67f4000 r-xp 00000000 08:05 562596 /usr/lib/qt3/plugins/imageformats/libqmng.so
b67f4000-b67f5000 rw-p 00003000 08:05 562596 /usr/lib/qt3/plugins/imageformats/libqmng.so
b67f5000-b6813000 r-xp 00000000 08:05 562787 /usr/lib/kde3/plugins/styles/plastik.so
b6813000-b6814000 r--p 0001d000 08:05 562787 /usr/lib/kde3/plugins/styles/plastik.so
b6814000-b6815000 rw-p 0001e000 08:05 562787 /usr/lib/kde3/plugins/styles/plastik.so
b6815000-b681b000 r--s 00000000 08:05 263464 /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b681b000-b681e000 r--s 0KCrash: Application 'swscanner' crashing...
Could not find 'drkonqi' executable.
KCrash cannot reach kdeinit, launching directly.
****@Area51:~$ X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 7
  Minor opcode: 0
  Resource id: 0x3200107

****@Area51:~$ ICE default IO error handler doing an exit(), pid = 22190, errno = 11

-----------------------------------------------------------user end-------------------------------------------------------------
----------------------------------------------------------probe with sudo-------------------------------------------------------

****@Area51:~$ sudo swscanner
[sudo] password for ****:
Error: "/tmp/kde-****" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-****" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-****" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-****" is owned by uid 1000 instead of uid 0.
kbuildsycoca running...
Error: "/var/tmp/kdecache-****" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-****" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-****" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-****" is owned by uid 1000 instead of uid 0.
Running SWScanner version: 0.2.2
Creating aplist...
Creating SWSconfig...
Creating MainWindow...
Creating gpserial...
Creating SWSystemTray...
if(lo)->127.0.0.1/255.0.0.0/0.0.0.0#### level: -73 noise: -235 (89)
Creating scanning thread...

Creating frmconfig...
Tables found: networks
Tables found: networks
Deleting frmconfig...
Deleting SWSconfig...
Warning: Driver for device eth1 has been compiled with version 22
of Wireless Extension, while this program supports up to version 17.
Some things may be broken...

if(eth1)->0.0.0.0/56.138.166.191/48.168.76.8#### level: -256 noise: -256 (0)
Starting a new scan thread!!
eth1 Scan completed :
New AP found(01): 00:11:20:8D:D5:80
*** buffer overflow detected ***: swscanner terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb69ecda8]
/lib/tls/i686/cmov/libc.so.6[0xb69eaeb0]
swscanner(_ZN7QWidget6createEmbb+0x1329)[0x805d5f5]
swscanner[0x805d889]
swscanner[0x8073c6c]
/usr/lib/libqt-mt.so.3(_ZN15QThreadInstance5startEPv+0x7f)[0xb709e3cf]
/lib/tls/i686/cmov/libpthread.so.0[0xb6c904ff]
/lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb69d349e]
======= Memory map: ========
08048000-080b8000 r-xp 00000000 08:05 190671 /usr/bin/swscanner
080b8000-080b9000 r--p 00070000 08:05 190671 /usr/bin/swscanner
080b9000-080ba000 rw-p 00071000 08:05 190671 /usr/bin/swscanner
080ba000-080bb000 rw-p 080ba000 00:00 0
08344000-08541000 rw-p 08344000 00:00 0 [heap]
b5c6f000-b5c70000 ---p b5c6f000 00:00 0
b5c70000-b6470000 rw-p b5c70000 00:00 0
b6470000-b64d2000 r-xp 00000000 08:05 562997 /usr/lib/qt3/plugins/sqldrivers/libqsqlite.so
b64d2000-b64d5000 rw-p 00062000 08:05 562997 /usr/lib/qt3/plugins/sqldrivers/libqsqlite.so
b64d5000-b64f9000 r-xp 00000000 08:05 562600 /usr/lib/qt3/plugins/inputmethods/libqsimple.so
b64f9000-b64fa000 rw-p 00024000 08:05 562600 /usr/lib/qt3/plugins/inputmethods/libqsimple.so
b64fa000-b6503000 r-xp 00000000 08:05 562598 /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
b6503000-b6504000 rw-p 00008000 08:05 562598 /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
b6504000-b6590000 r--p 00000000 08:05 311127 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
b6590000-b6628000 r--p 00000000 08:05 311128 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b6628000-b6658000 r-xp 00000000 08:05 189503 /usr/lib/liblcms.so.1.0.18
b6658000-b6659000 r--p 00030000 08:05 189503 /usr/lib/liblcms.so.1.0.18
b6659000-b665a000 rw-p 00031000 08:05 189503 /usr/lib/liblcms.so.1.0.18
b665a000-b665c000 rw-p b665a000 00:00 0
b665c000-b66c7000 r-xp 00000000 08:05 189536 /usr/lib/libmng.so.1.1.0.9
b66c7000-b66ca000 rw-p 0006a000 08:05 189536 /usr/lib/libmng.so.1.1.0.9
b66ce000-b66d9000 r-xp 00000000 08:05 562601 /usr/lib/qt3/plugins/inputmethods/libqxim.so
b66d9000-b66da000 rw-p 0000a000 08:05 562601 /usr/lib/qt3/plugins/inputmethods/libqxim.so
b66da000-b66de000 r-xp 00000000 08:05 562599 /usr/lib/qt3/plugins/inputmethods/libqimsw-none.so
b66de000-b66df000 rw-p 00003000 08:05 562599 /usr/lib/qt3/plugins/inputmethods/libqimsw-none.so
b66df000-b66e3000 r-xp 00000000 08:05 562596 /usr/lib/qt3/plugins/imageformats/libqmng.so
b66e3000-b66e4000 rw-p 00003000 08:05 562596 /usr/lib/qt3/plugins/imageformats/libqmng.so
b66e4000-b6702000 r-xp 00000000 08:05 562787 /usr/lib/kde3/plugins/styles/plastik.so
b6702000-b6703000 r--p 0001d000 08:05 562787 /usr/lib/kde3/plugins/styles/plastik.so
b6703000-b6704000 rw-p 0001e000 08:05 562787 /usr/lib/kde3/plugins/styles/plastik.so
b6704000-b670a000 r--s 00000000 08:05 263464 /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b670a000-b670d000 r--s 00000000 08:05 263473 /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
b670d000-b6710000 r--s 00000000 08:05 263803 /var/cache/fontconfig/6eb3985aa4124903f6ff08ba781cd364-x86.cache-2
b6710000-b6711000 r--s 00000000 08:05 263459 /var/cache/fontconfig/4c73fe0c47614734b17d736dbde7580a-x86.cache-2
b6711000-b6714000 r--s 00000000 08:05 263465 /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
b6714000-b671b000 r--s 00000000 08:05 261985 /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b671b000-b671e000 r--s 00000000 08:05 263471 /var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2
b671e000-b6726000 r--s 00000000 08:05 263474 /var/cache/fontconfig/e3de0de479f42330eadf588a55fb5bf4-x86.cache-2
b6726000-b6731000 r--s 00000000 08:05 263454 /var/cache/fontconfig/0f34bcd4b6ee430af32735b75db7f02b-x86.cache-2
b6731000-b67330KCrash: Application 'swscanner' crashing...
Could not find 'drkonqi' executable.
KCrash cannot reach kdeinit, launching directly.

---------------------------------------------------------sudo end----------------------------------------------------------------

Changed in swscanner (Ubuntu):
status: New → Confirmed
Revision history for this message
AnRkey (anrkey) wrote :

any work arounds or quick fixes for this issue?

Revision history for this message
AnRkey (anrkey) wrote :

btw: same issue exists in karmic version of this app.

Revision history for this message
guysoft (guysoft) wrote :

Hi all,
The bug is derived from the Debian package.
The work around is to install the .deb package available on the swscanner website (currently 0.2.2):
http://www.swscanner.org/en/node/37#attachments

This version does not crash on ubuntu or Debian to date

Revision history for this message
Phillip Susi (psusi) wrote :

This package has been removed from Ubuntu. Closing all related bugs.

Changed in swscanner (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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