Unhandled memory fault soon after (hi:hemlock) with Qt backend

Bug #554580 reported by Paweł Lasek on 2010-04-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hemlock
Undecided
Unassigned

Bug Description

Output:

Loading shared libraries [qtcore, qtgui, qtnetwork, qtsvg, qtwebkit].
Connecting to window system...done.
Finalizer called for #<QObject 0x006E9650> (QObject), possible memory leak.

Unhandled memory fault at #x20.
   [Condition of type SB-SYS:MEMORY-FAULT-ERROR]

Backtrace:
  0: (SB-SYS:MEMORY-FAULT-ERROR)
      [No Locals]
  1: ("foreign function: #x4178D0")
      [No Locals]
  2: ("foreign function: #x4179B0")
      [No Locals]
  3: ("foreign function: #x80321F3FD8")
      [No Locals]
  4: (QT::CALL-WITH-MARSHALLING #<CLOSURE (LAMBDA #) {10074D8679}> NIL NIL)
      Locals:
        QT::ARGS = NIL
        SB-ALIEN::BITS = :<NOT-AVAILABLE>
        QT::FUN = #<CLOSURE (LAMBDA (QT::STACK &AUX QT::FUN)) {10074D8679}>
        SB-C::SAP = :<NOT-AVAILABLE>
        QT::TYPES = NIL
  5: (QT::%CALL T #<QMainWindow 0x007A8120> "show" NIL)
      Locals:
        QT::ALLOW-OVERRIDE-P = T
        QT::ARGS = NIL
        QT::INSTANCE = #<QMainWindow 0x007A8120>
        METHOD = "show"
        METHOD#1 = :<NOT-AVAILABLE>
        QT::RTYPE = :<NOT-AVAILABLE>
  6: (QT:CALL #<QMainWindow 0x007A8120> "show")[:EXTERNAL]
      Locals:
        QT::ARGS = :<NOT-AVAILABLE>
        #:G1032 = 2
        #:G1033 = #<QMainWindow 0x007A8120>
        #:G1034 = "show"
  7: ((SB-PCL::FAST-METHOD HEMLOCK-INTERNALS::%INIT-SCREEN-MANAGER ((EQL :QT) T)) #<unavailable argument> #<unavailable argument> #<unavailable argument> #<unavailable argument>)
      Locals:
        SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-2 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-3 = :<NOT-AVAILABLE>
  8: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. SB-PCL::.ARG1.)) #<unavailable argument> #<unavailable argument> :QT #<HEMLOCK.QT::QT-EDITOR-INPUT {1003A88271}>)
      Locals:
        SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-2 = :QT
        SB-DEBUG::ARG-3 = #<HEMLOCK.QT::QT-EDITOR-INPUT {1003A88271}>
  9: (HEMLOCK-INTERNALS::%INIT-REDISPLAY :QT #<HEMLOCK.QT::QT-EDITOR-INPUT {1003A88271}>)
      Locals:
        SB-DEBUG::ARG-0 = :QT
        SB-DEBUG::ARG-1 = #<HEMLOCK.QT::QT-EDITOR-INPUT {1003A88271}>
 10: ((LAMBDA ()))
      [No Locals]
      Catch-tags:
        HEMLOCK-INTERNALS::EDITOR-TOP-LEVEL-CATCHER
 11: ((SB-PCL::FAST-METHOD HEMLOCK-INTERNALS::INVOKE-WITH-EVENT-LOOP ((EQL :QT) T)) #<unavailable argument> #<unavailable argument> #<unavailable argument> #<CLOSURE (LAMBDA #) {10035CCBD9}>)
      Locals:
        SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-2 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-3 = #<CLOSURE (LAMBDA ()) {10035CCBD9}>
 12: (HEMLOCK-INTERNALS:HEMLOCK NIL :LOAD-USER-INIT T :BACKEND-TYPE NIL :DISPLAY NIL)
      Locals:
        #:BACKEND-TYPE-DEFAULTING-TEMP = NIL
        #:DISPLAY-DEFAULTING-TEMP = NIL
        #:LOAD-USER-INIT-DEFAULTING-TEMP = T
        #:N-SUPPLIED-377 = NIL
        HEMLOCK-INTERNALS::X = NIL
 13: (SB-INT:SIMPLE-EVAL-IN-LEXENV (HEMLOCK-INTERNALS:HEMLOCK) #<NULL-LEXENV>)
      Locals:
        SB-DEBUG::ARG-0 = (HEMLOCK-INTERNALS:HEMLOCK)
        SB-DEBUG::ARG-1 = #<NULL-LEXENV>
 14: (SWANK::%EVAL-REGION "(hi:hemlock)\n")
      Locals:
        SB-DEBUG::ARG-0 = "(hi:hemlock)\n"

Paweł Lasek (pawel-lasek) wrote :

This bug was recorded with Qt4.6.2, smoke 4.4.1, GCC 4.4, SBCL 1.0.35, all of those packages from distro.
CommonQT commit d6de22eaf5632810f134ceaf887caaa839c6e709 from default repository in clbuild.
Hemlock commit 2cc561d82e718c59b12a71c9cd95ae905715f20f

tags: added: 64 linux sbcl
Paweł Lasek (pawel-lasek) wrote :
Download full text (3.5 KiB)

(all the time running from SLIME)
With CommonQT 8483bf5e86af58b5a84ead79b096ade216bd2e5e

CL-USER> (hi:hemlock)
Loading shared libraries [qtcore, qtgui, qtnetwork, qtsvg, qtwebkit].
Connecting to window system...done.
Finalizer called for #<QObject 0x006E9690> (QObject), possible memory leak.
Finalizer called for #<QRectF 0x0074BAF0> (), possible memory leak.
Finalizer called for #<QRectF 0x0073B750> (), possible memory leak.
; Evaluation aborted.

Backtrace:
  0: (SB-SYS:MEMORY-FAULT-ERROR)
      [No Locals]
  1: ("foreign function: #x4178D0")
      [No Locals]
  2: ("foreign function: #x4179B0")
      [No Locals]
  3: ("foreign function: #x801BB73FD8")
      [No Locals]
  4: (QT::CALL-WITH-MARSHALLING #<CLOSURE (LAMBDA #) {1002C80679}> NIL NIL)
      Locals:
        QT::ARGS = NIL
        SB-ALIEN::BITS = :<NOT-AVAILABLE>
        QT::FUN = #<CLOSURE (LAMBDA (QT::STACK &AUX QT::FUN)) {1002C80679}>
        SB-C::SAP = :<NOT-AVAILABLE>
        QT::TYPES = NIL
  5: (QT::%CALL T #<QMainWindow 0x007A7FB0> "show" NIL)
      Locals:
        QT::ALLOW-OVERRIDE-P = T
        QT::ARGS = NIL
        QT::INSTANCE = #<QMainWindow 0x007A7FB0>
        METHOD = "show"
        METHOD#1 = :<NOT-AVAILABLE>
        QT::RTYPE = :<NOT-AVAILABLE>
  6: (QT:CALL #<QMainWindow 0x007A7FB0> "show")[:EXTERNAL]
      Locals:
        QT::ARGS = :<NOT-AVAILABLE>
        #:G1016 = 2
        #:G1017 = #<QMainWindow 0x007A7FB0>
        #:G1018 = "show"
  7: ((SB-PCL::FAST-METHOD HEMLOCK-INTERNALS::%INIT-SCREEN-MANAGER ((EQL :QT) T)) #<unavailable argument> #<unavailable argument> #<unavailable argument> #<unavailable argument>)
      Locals:
        SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-2 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-3 = :<NOT-AVAILABLE>
  8: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. SB-PCL::.ARG1.)) #<unavailable argument> #<unavailable argument> :QT #<HEMLOCK.QT::QT-EDITOR-INPUT {100600DCE1}>)
      Locals:
        SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-2 = :QT
        SB-DEBUG::ARG-3 = #<HEMLOCK.QT::QT-EDITOR-INPUT {100600DCE1}>
  9: (HEMLOCK-INTERNALS::%INIT-REDISPLAY :QT #<HEMLOCK.QT::QT-EDITOR-INPUT {100600DCE1}>)
      Locals:
        SB-DEBUG::ARG-0 = :QT
        SB-DEBUG::ARG-1 = #<HEMLOCK.QT::QT-EDITOR-INPUT {100600DCE1}>
 10: ((LAMBDA ()))
      [No Locals]
      Catch-tags:
        HEMLOCK-INTERNALS::EDITOR-TOP-LEVEL-CATCHER
 11: ((SB-PCL::FAST-METHOD HEMLOCK-INTERNALS::INVOKE-WITH-EVENT-LOOP ((EQL :QT) T)) #<unavailable argument> #<unavailable argument> #<unavailable argument> #<CLOSURE (LAMBDA #) {1005AA6E09}>)
      Locals:
        SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-2 = :<NOT-AVAILABLE>
        SB-DEBUG::ARG-3 = #<CLOSURE (LAMBDA ()) {1005AA6E09}>
 12: (HEMLOCK-INTERNALS:HEMLOCK NIL :LOAD-USER-INIT T :BACKEND-TYPE NIL :DISPLAY NIL)
      Locals:
        #:BACKEND-TYPE-DEFAULTING-TEMP = NIL
        #:DISPLAY-DEFAULTING-TEMP = NIL
        #:LOAD-USER-INIT-DEFAULTING-TEMP = T
        #:N-SUPPLIED-377 = NIL
        HEMLOCK-INTERNALS::X = NIL
 13:...

Read more...

Can you compare the smoke.h from your kdebindings withh the one CommonQt HEAD is written for?

I'm on rev 1064293, which I thought was almost identical to KDE 4.4.x, but it might be better to check.

svn cat svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebindings/smoke/smoke.h@1064293

I've also pushed more casting fixes, plus a missing slot in a struct definition. (Since you appear to be on a 64 bit system, the struct issue should have been hidden by 64 bit alignment though.)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers