Nvclock crash ("*** stack smashing detected ***")
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvclock (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: nvclock
I'm running Jaunty with nvclock at version 0.8b3-1ubuntu1.
Whenever I try to use it with a parameter (e.g.: -i, -T or -s), it crashes with the following error message:
*** stack smashing detected ***: nvclock terminated
======= Backtrace: =========
/lib/tls/
/lib/tls/
nvclock[0x805884c]
nvclock[0x8059c0c]
nvclock[0x805a1dd]
nvclock[0x805a044]
nvclock[0x804e020]
nvclock[0x804db09]
nvclock[0x80574ce]
nvclock[0x804a34b]
/lib/tls/
nvclock[0x80491e1]
======= Memory map: ========
08048000-08062000 r-xp 00000000 08:02 411292 /usr/bin/nvclock
08062000-08063000 rw-p 0001a000 08:02 411292 /usr/bin/nvclock
09220000-09241000 rw-p 09220000 00:00 0 [heap]
b7d18000-b7d25000 r-xp 00000000 08:02 24250 /lib/libgcc_s.so.1
b7d25000-b7d26000 r--p 0000c000 08:02 24250 /lib/libgcc_s.so.1
b7d26000-b7d27000 rw-p 0000d000 08:02 24250 /lib/libgcc_s.so.1
b7d36000-b7d46000 r--s 00000000 08:03 1794367 /home/toe/
b7d46000-b7d56000 rw-s de300000 00:0e 7894 /dev/nvidia0
b7d56000-b7d86000 rw-s de000000 00:0e 7894 /dev/nvidia0
b7d86000-b7d88000 rw-p b7d86000 00:00 0
b7d88000-b7d8c000 r-xp 00000000 08:02 413903 /usr/lib/
b7d8c000-b7d8d000 rw-p 00003000 08:02 413903 /usr/lib/
b7d8d000-b7d8f000 r-xp 00000000 08:02 25196 /lib/tls/
b7d8f000-b7d90000 r--p 00001000 08:02 25196 /lib/tls/
b7d90000-b7d91000 rw-p 00002000 08:02 25196 /lib/tls/
b7d91000-b7da9000 r-xp 00000000 08:02 413453 /usr/lib/
b7da9000-b7daa000 r--p 00017000 08:02 413453 /usr/lib/
b7daa000-b7dab000 rw-p 00018000 08:02 413453 /usr/lib/
b7dab000-b7dad000 r-xp 00000000 08:02 413515 /usr/lib/
b7dad000-b7dae000 r--p 00001000 08:02 413515 /usr/lib/
b7dae000-b7daf000 rw-p 00002000 08:02 413515 /usr/lib/
b7daf000-b7f0b000 r-xp 00000000 08:02 24889 /lib/tls/
b7f0b000-b7f0c000 ---p 0015c000 08:02 24889 /lib/tls/
b7f0c000-b7f0e000 r--p 0015c000 08:02 24889 /lib/tls/
b7f0e000-b7f0f000 rw-p 0015e000 08:02 24889 /lib/tls/
b7f0f000-b7f13000 rw-p b7f0f000 00:00 0
b7f13000-b7ffd000 r-xp 00000000 08:02 411405 /usr/lib/
b7ffd000-b7ffe000 ---p 000ea000 08:02 411405 /usr/lib/
b7ffe000-b7fff000 r--p 000ea000 08:02 411405 /usr/lib/
b7fff000-b8001000 rw-p 000eb000 08:02 411405 /usr/lib/
b8001000-b8002000 rw-p b8001000 00:00 0
b8002000-b800f000 r-xp 00000000 08:02 413570 /usr/lib/
b800f000-b8011000 rw-p 0000c000 08:02 413570 /usr/lib/
b801a000-b801c000 rw-s de680000 00:0e 7894 /dev/nvidia0
b801c000-b801e000 rw-s de601000 00:0e 7894 /dev/nvidia0
b801e000-b801f000 rw-s de100000 00:0e 7894 /dev/nvidia0
b801f000-b8020000 rw-s de101000 00:0e 7894 /dev/nvidia0
b8020000-b8022000 rw-p b8020000 00:00 0
b8022000-b8023000 r-xp b8022000 00:00 0 [vdso]
b8023000-b803f000 r-xp 00000000 08:02 24349 /lib/ld-2.9.so
b803f000-b8040000 r--p 0001b000 08:02 24349 /lib/ld-2.9.so
b8040000-b8041000 rw-p 0001c000 08:02 24349 /lib/ld-2.9.so
bf92c000-bf941000 rw-p bffeb000 00:00 0 [stack]
Aborted
Running nvclock without a parameter works as expected and brings up the list of possible commands.
My graphics card is a Geforce 6600 LE. Its lspci output:
01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600 LE] (rev a2)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 248 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 16
Region 0: Memory at de000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at e0000000 (32-bit, prefetchable) [size=256M]
Region 2: Memory at dd000000 (32-bit, non-prefetchable) [size=16M]
[virtual] Expansion ROM at dffe0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [44] AGP version 3.0
Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW+ Rate=x4
Kernel driver in use: nvidia
Kernel modules: nvidia, nvidiafb
Back in Intrepid everything worked fine.
I just discovered that bug 72117, which was marked as "Fix released" two years ago seems to be a duplicate of this.