i applied the above mentioned patch, but it still crashes.
i let it run in gdb, here's a backtrace:

(gdb) run
Starting program: /home/rj/sw/swscanner/swscanner-0.2.2/src/swscanner 
[Thread debugging using libthread_db enabled]
kbuildsycoca running...
[New Thread 0xb69b3a10 (LWP 17553)]
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: -74  noise: -80 (181)
Creating scanning thread...

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

if(wlan0)->212.42.229.253/255.255.255.240/212.42.229.255####    level: -60  
noise: -256 (70)
[New Thread 0xb6421b90 (LWP 17570)]
Starting a new scan thread!!
wlan0     Scan completed :
New AP found(01): 00:13:49:xx:xx:xx

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6421b90 (LWP 17570)]
0xb6a7bae5 in memcpy () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb6a7bae5 in memcpy () from /lib/i686/cmov/libc.so.6
#1  0x0805d45b in print_scanning_info (skfd=16, ifname=0xb6421318 "wlan0", 
    listAPs=0x9898ff8) at scanning.cpp:265
#2  0x0805d6c9 in start_scan (iface=0xb6421318 "wlan0", list=0x9898ff8)
    at scanning.cpp:28
#3  0x08073009 in ScanThread::run (this=0x9948300) at scanthread.cpp:46
#4  0xb718c2f5 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#5  0xb6d954c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#6  0xb6ae455e in clone () from /lib/i686/cmov/libc.so.6
(gdb) 

i added a line before the memcpy: it gets called with these arguments:
0xb63af247 0x13000001 51785

do you get an idea what's happening?

best,
robert



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to