On Thu, Aug 24, 2006 at 03:03:50AM +0200, Javier Serrano Polo wrote: > Could you provide a full gdb backtrace?
Here's a "bt full" with debugging symbols (-g -O0 plus whatever odd -f options lmms is adding by itself) on amd64: (gdb) r Starting program: /usr/home/root/nmu/lmms-0.2.1/lmms [Thread debugging using libthread_db enabled] [New Thread 47147389584512 (LWP 29716)] Qt: gdb: -nograb added to command-line options. Use the -dograb option to enforce grabbing. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47147389584512 (LWP 29716)] 0x000000000057d08c in QPixmap::width (this=0x729e20) at /usr/include/qt3/qpixmap.h:84 84 int width() const { return data->w; } (gdb) print data $1 = (QPixmap::QPixmapData *) 0x421 (gdb) up #1 0x00002ae156c1759c in QListViewItem::width (this=0x9d0190, [EMAIL PROTECTED], lv=0x83c440, c=0) at widgets/qlistview.cpp:2218 2218 widgets/qlistview.cpp: No such file or directory. in widgets/qlistview.cpp (gdb) bt full #0 0x000000000057d08c in QPixmap::width (this=0x729e20) at /usr/include/qt3/qpixmap.h:84 No locals. #1 0x00002ae156c1759c in QListViewItem::width (this=0x9d0190, [EMAIL PROTECTED], lv=0x83c440, c=0) at widgets/qlistview.cpp:2218 w = 71 pm = (const class QPixmap *) 0x729e20 #2 0x00002ae156c0e348 in QListView::widthChanged (this=0x83c440, item=0x9d0190, c=-1) at widgets/qlistview.cpp:5858 w = 0 fm = {d = 0x840b40, painter = 0x0, fscript = 56} col = 0 #3 0x00002ae156c0e4ff in QListViewItem::widthChanged (this=0x9d0190, c=-1) at widgets/qlistview.cpp:4064 lv = (class QListView *) 0x83c440 #4 0x00002ae156c1b56e in QListViewItem::setup (this=0x9d0190) at widgets/qlistview.cpp:1597 lv = (class QListView *) 0x7fff544ab8e0 ph = 1457507492 h = 10977 #5 0x00002ae156c05cb5 in QListViewItem::totalHeight (this=0x9d0190) at widgets/qlistview.cpp:1814 that = (QListViewItem *) 0x9d0190 child = (QListViewItem *) 0x9a34d0 #6 0x00002ae156c05d1c in QListViewItem::totalHeight (this=0x840780) at widgets/qlistview.cpp:1823 that = (QListViewItem *) 0x840780 child = (QListViewItem *) 0x9d0190 #7 0x00002ae156c0b59f in QListView::buildDrawableList (this=0x83c440) at widgets/qlistview.cpp:3113 ih = 0 ith = 0 stack = {<QGList> = {<QPtrCollection> = {_vptr.QPtrCollection = 0x2ae1571986d0, del_item = false}, firstNode = 0x0, lastNode = 0x0, curNode = 0x0, curIndex = -1, numNodes = 0, iterators = 0x0}, <No data fields>} cy = 0 ch = 7 cur = (QListViewPrivate::Pending *) 0x833d90 dl = (QPtrList<QListViewPrivate::DrawableItem> *) 0x9a34d0 #8 0x00002ae156c0c5e0 in QListView::sizeHint (this=0x83c440) at widgets/qlistview.cpp:6831 s = {wd = 1414183520, ht = 32767} l = (QListViewItem *) 0x2ae156aaf4d0 #9 0x00002ae156ab18cf in QWidgetItem::sizeHint (this=0x840bd0) at kernel/qabstractlayout.cpp:532 s = {wd = -1, ht = -1} #10 0x00002ae156afe6ce in QBoxLayout::setupGeom (this=0x83c020) at kernel/qlayout.cpp:2325 box = (QBoxLayoutItem *) 0x840bf0 exp = QSizePolicy::NoDirection empty = false ignore = 42 max = {wd = 32767, ht = 32767} min = {wd = 76, ht = 52} hint = {wd = 1414183904, ht = 32767} space = 1489748397 i = 0 maxw = 524287 maxh = 0 minw = 0 minh = 0 hintw = 0 hinth = 0 horexp = false verexp = false n = 2 ---Type <return> to continue, or q <return> to quit--- a = (QMemArray<QLayoutStruct> &) @0x83c240: {<QGArray> = {_vptr.QGArray = 0x2ae157193c90, shd = 0x834f40}, <No data fields>} first = true #11 0x00002ae156b00655 in QBoxLayout::setGeometry (this=0x83c020, [EMAIL PROTECTED]) at kernel/qlayout.cpp:1899 s = {x1 = 9644272, y1 = 0, x2 = 8636736, y2 = 0} a = {<QGArray> = {_vptr.QGArray = 0x7fff544abd20, shd = 0x5a2e31}, <No data fields>} visualDir = 1414184336 cr = {x1 = 1414184224, y1 = 32767, x2 = 1454388143, y2 = 10977} pos = 32767 space = 5751785 n = 0 #12 0x00002ae156ab0b58 in QLayout::activate (this=0x83c020) at kernel/qabstractlayout.cpp:1202 mw = (class QWidget *) 0x83cd30 s = {wd = 100, ht = 30} ms = {wd = -1, ht = -1} mbh = 0 b = 0 #13 0x00002ae156ab119b in QLayout::eventFilter (this=0x83c020, o=0x83cd30, e=0x83c200) at kernel/qabstractlayout.cpp:903 No locals. #14 0x00002ae156b19e49 in QObject::activate_filters (this=0x83cd30, e=0x83c200) at kernel/qobject.cpp:903 it = {<QPtrListIterator<QObject>> = {<QGListIterator> = {list = 0x83c1a0, curNode = 0x0}, <No data fields>}, <No data fields>} obj = (class QObject *) 0x83c020 #15 0x00002ae156b19ec2 in QObject::event (this=0x83cd30, e=0x83c200) at kernel/qobject.cpp:735 No locals. #16 0x00002ae156b4eceb in QWidget::event (this=0x83cd30, e=0x83c200) at kernel/qwidget.cpp:4678 No locals. #17 0x00002ae156ab5f52 in QApplication::internalNotify (this=0x7fff544ad570, receiver=0x83cd30, e=0x83c200) at kernel/qapplication.cpp:2635 consumed = false handled = false #18 0x00002ae156ab880b in QApplication::notify (this=0x7fff544ad570, receiver=0x83cd30, e=0x83c200) at kernel/qapplication.cpp:2523 res = false #19 0x000000000057cfaf in QApplication::sendEvent (receiver=0x83cd30, event=0x83c200) at /usr/include/qt3/qapplication.h:520 No locals. #20 0x00002ae156ab6f65 in QApplication::sendPostedEvents (receiver=0x0, event_type=72) at kernel/qapplication.cpp:3299 e = (class QEvent *) 0x83c200 r = (class QObject *) 0x83cd30 l = (QPostEventList *) 0x7a6ea0 it = {<QPtrListIterator<QPostEvent>> = {<QGListIterator> = {list = 0x7a6ea0, curNode = 0x83c710}, <No data fields>}, <No data fields>} pe = (QPostEvent *) 0x83c220 locker = {mtx = 0x7a9c70} sent = true #21 0x00002ae156b50423 in QWidget::adjustSize (this=0x920d40) at kernel/qwidget.cpp:4495 s = {wd = 1450452600, ht = 10977} r = {x1 = 1414186096, y1 = 32767, x2 = 10397920, y2 = 0} #22 0x00002ae156ce2a54 in QMessageBox::adjustSize (this=0x9e7f20) at dialogs/qmessagebox.cpp:911 labelSize = {wd = 0, ht = 0} n = 0 bw = 1414186384 ---Type <return> to continue, or q <return> to quit--- bh = 32767 border = 1454707359 btn_spacing = 10977 buttons = 0 h = 0 lmargin = 10387232 w = 0 screen = {x1 = 1414186416, y1 = 32767, x2 = 1450248680, y2 = 10977} #23 0x00002ae156cbf662 in QDialog::show (this=0x9e7f20) at dialogs/qdialog.cpp:693 state = 0 fw = (class QWidget *) 0x47f728 fd = (QFocusData *) 0x2ae15783e0b2 #24 0x00002ae156cc0474 in QDialog::exec (this=0x9e7f20) at dialogs/qdialog.cpp:429 destructiveClose = true wasShowModal = true res = 10977 #25 0x00002ae156ce39a1 in textBox (parent=0x0, severity=QMessageBox::Critical, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], defaultButtonNumber=0, escapeButtonNumber=-1) at dialogs/qmessagebox.cpp:1361 b = {257, 0, 0} i = 3 mb = (class QMessageBox *) 0x9e7f20 #26 0x00002ae156ce3a11 in QMessageBox::critical (parent=0x0, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], defaultButtonNumber=0, escapeButtonNumber=-1) at dialogs/qmessagebox.cpp:1531 No locals. #27 0x00000000004f90cd in multimediaProject (this=0x7fff544ac980, [EMAIL PROTECTED], _is_filename=true) at ./src/lib/mmp.cpp:140 No locals. #28 0x00000000004f9b2f in multimediaProject::typeOfFile ([EMAIL PROTECTED]) at ./src/lib/mmp.cpp:286 m = {<QDomDocument> = {<QDomNode> = {_vptr.QDomNode = 0x5d7610, impl = 0x9d0640}, <No data fields>}, static s_types = {{m_type = multimediaProject::UNKNOWN, m_name = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x72bbd0, static shared_null = 0x729e20}}, { m_type = multimediaProject::SONG_PROJECT, m_name = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x72bc20, static shared_null = 0x729e20}}, { m_type = multimediaProject::SONG_PROJECT_TEMPLATE, m_name = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x72bcc0, static shared_null = 0x729e20}}, { m_type = multimediaProject::INSTRUMENT_TRACK_SETTINGS, m_name = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x72be70, static shared_null = 0x729e20}}, { m_type = multimediaProject::DRAG_N_DROP_DATA, m_name = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x72bec0, static shared_null = 0x729e20}}, { m_type = multimediaProject::JOURNAL_DATA, m_name = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x72bf10, static shared_null = 0x729e20}}, { m_type = multimediaProject::EFFECT_SETTINGS, m_name = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x72bf70, static shared_null = 0x729e20}}, { m_type = multimediaProject::VIDEO_PROJECT, m_name = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x72bfc0, static shared_null = 0x729e20}}, { m_type = multimediaProject::BURN_PROJECT, m_name = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x72c010, static shared_null = 0x729e20}}, { m_type = multimediaProject::PLAYLIST, m_name = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x72c060, static shared_null = 0x729e20}}}, m_content = {<QDomNode> = {_vptr.QDomNode = 0x2ae1571a96d0, impl = 0x0}, <No data fields>}, m_head = {<QDomNode> = {_vptr.QDomNode = 0x2ae1571a96d0, impl = 0x0}, <No data fields>}, m_type = 10038992} #29 0x00000000004f9c97 in fileItem::determineFileType (this=0x9d0190) at ./src/core/file_browser.cpp:919 t = 10977 ext = {static null = {static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x992f00, static shared_null = 0x729e20} #30 0x0000000000514651 in fileItem (this=0x9d0190, _parent=0x83c440, [EMAIL PROTECTED], [EMAIL PROTECTED]) at ./src/core/file_browser.cpp:829 No locals. #31 0x0000000000515371 in fileBrowser::addItems (this=0x83ca80, [EMAIL PROTECTED]) at ./src/core/file_browser.cpp:184 cur_file = {static null = {static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x9623b0, static shared_null = 0x729e20} i = 613 cdir = {_vptr.QDir = 0x2ae1571ad2b0, dPath = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x841aa0, static shared_null = 0x729e20}, fList = 0x8411c0, fiList = 0x840ff0, nameFilt = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x8419f0, static shared_null = 0x729e20}, filtS = QDir::All, sortS = QDir::IgnoreCase, dirty = 1, allDirs = 0} files = {<QValueList<QString>> = {sh = 0x840fd0}, <No data fields>} #32 0x00000000005158bc in fileBrowser::reloadTree (this=0x83ca80) at ./src/core/file_browser.cpp:123 it = {node = 0x8411a0} paths = {<QValueList<QString>> = {sh = 0x841930}, <No data fields>} item = (class QListViewItem *) 0x83ca80 resort = false #33 0x000000000051774e in fileBrowser (this=0x83ca80, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], _parent=0x807990, _engine=0x7fbc80) at ./src/core/file_browser.cpp:99 No locals. #34 0x000000000052f394 in mainWindow (this=0x7fd270, _engine=0x7fbc80) at ./src/core/main_window.cpp:160 No locals. #35 0x00000000005754b1 in engine (this=0x7fbc80, _has_gui=true) at ./src/core/engine.cpp:51 No locals. #36 0x0000000000576579 in main (argc=1, argv=0x7fff544ad918) at ./src/core/main.cpp:233 sparam = {__sched_priority = 50} app = {<QObject> = {<Qt> = {static color0 = @0x2ae1571fad40, static color1 = @0x2ae1571fad48, static black = @0x2ae1571fad50, static white = @0x2ae1571fad58, static darkGray = @0x2ae1571fad60, static gray = @0x2ae1571fad68, static lightGray = @0x2ae1571fad70, static red = @0x2ae1571fad78, static green = @0x2ae1571fad80, static blue = @0x2ae1571fad88, static cyan = @0x2ae1571fad90, static magenta = @0x2ae1571fad98, static yellow = @0x2ae1571fada0, static darkRed = @0x2ae1571fada8, static darkGreen = @0x2ae1571fadb0, static darkBlue = @0x2ae1571fadb8, static darkCyan = @0x2ae1571fadc0, static darkMagenta = @0x2ae1571fadc8, static darkYellow = @0x2ae1571fadd0, static arrowCursor = @0x2ae1571f8a60, static upArrowCursor = @0x2ae1571f8a68, static crossCursor = @0x2ae1571f8a70, static waitCursor = @0x2ae1571f8a78, static ibeamCursor = @0x2ae1571f8a80, static sizeVerCursor = @0x2ae1571f8a88, static sizeHorCursor = @0x2ae1571f8a90, static sizeBDiagCursor = @0x2ae1571f8a98, static sizeFDiagCursor = @0x2ae1571f8aa0, static sizeAllCursor = @0x2ae1571f8aa8, static blankCursor = @0x2ae1571f8ab0, static splitVCursor = @0x2ae1571f8ab8, static splitHCursor = @0x2ae1571f8ac0, static pointingHandCursor = @0x2ae1571f8ac8, static forbiddenCursor = @0x2ae1571f8ad0, static whatsThisCursor = @0x2ae1571f8ad8, static busyCursor = @0x2ae1571f8ae0}, _vptr.QObject = 0x2ae1571b0930, static metaObj = 0x72b1c0, isSignal = 0, isWidget = 0, pendTimer = 0, blockSig = 0, wasDeleted = 0, isTree = 1, objname = 0x7a7300 "lmms", parentObj = 0x0, childObjects = 0x7a6e20, connections = 0x0, senderObjects = 0x801e20, eventFilters = 0x801a50, postedEvents = 0x0, d = 0x0}, static metaObj = 0x801ad0, static qt_mutex = 0x7a9c50, app_argc = 1, app_argv = 0x7fff544ad918, quit_now = false, quit_code = 0, static app_style = 0x7bbe70, static app_cspec = 0, static app_pal = 0x7aba10, static app_font = 0x7a9760, static app_cursor = 0x0, static eventloop = 0x730a90, static app_tracking = 1, static is_app_running = true, static is_app_closing = false, static app_exit_loop = <optimized out>, static loop_level = 0, static main_widget = 0x0, static focus_widget = 0x0, static active_window = 0x0, static obey_desktop_settings = true, static cursor_flash_time = 1000, static mouse_double_click_time = 400, static wheel_scroll_lines = 3, static composedUnicode = 0, static animate_ui = true, static animate_menu = true, static animate_tooltip = true, static animate_combo = true, static fade_menu = true, static fade_tooltip = true, static animate_toolbox = false, static widgetCount = false, static metaComposeUnicode = false, translators = 0x7b2dc0, session_manager = 0x7acef0, session_id = {static null = { static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x7b0430, static shared_null = 0x729e20}, static session_key = 0x7a9c90, is_session_restored = false, static defaultIM = {static null = {static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x72b950, static shared_null = 0x729e20}, static app_strut = {wd = 0, ht = 0}, static app_libpaths = 0x7bb710, static app_palettes = 0x7abd60, static app_fonts = 0x0, static popupWidgets = 0x0} extension = {static null = {static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x7acfc0, static shared_null = 0x729e20} file_to_load = {static null = {static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x729e20, static shared_null = 0x729e20} pos = {static null = {static null = <same as static member of an already seen type>, d = 0x729e20, static shared_null = 0x729e20}, d = 0x7a9dc0, static shared_null = 0x729e20} pal = {data = 0x7e99b0} splash = {<QPaintDevice> = {_vptr.QPaintDevice = 0x2ae157194f30, hd = 44040233, rendhd = 8163072, devFlags = 2, painters = 0, static x_appdisplay = 0x732d90, static x_appscreen = 0, static x_appdepth = 24, static x_appcells = 256, static x_approotwindow = 61, static x_appcolormap = 32, static x_appdefcolormap = true, static x_appvisual = 0x737c00, static x_appdefvisual = true, static x_appdepth_arr = 0x730bb0, static x_appcells_arr = 0x7309b0, static x_approotwindow_arr = 0x730c70, static x_appcolormap_arr = 0x733970, static x_appdefcolormap_arr = 0x733990, static x_appvisual_arr = 0x733a70, static x_appdefvisual_arr = 0x733a90, x11Data = 0x0}, <Qt> = {static color0 = @0x2ae1571fad40, static color1 = @0x2ae1571fad48, static black = @0x2ae1571fad50, static white = @0x2ae1571fad58, static darkGray = @0x2ae1571fad60, static gray = @0x2ae1571fad68, static lightGray = @0x2ae1571fad70, static red = @0x2ae1571fad78, static green = @0x2ae1571fad80, static blue = @0x2ae1571fad88, static cyan = @0x2ae1571fad90, static magenta = @0x2ae1571fad98, static yellow = @0x2ae1571fada0, static darkRed = @0x2ae1571fada8, static darkGreen = @0x2ae1571fadb0, static darkBlue = @0x2ae1571fadb8, static darkCyan = @0x2ae1571fadc0, static darkMagenta = @0x2ae1571fadc8, static darkYellow = @0x2ae1571fadd0, static arrowCursor = @0x2ae1571f8a60, static upArrowCursor = @0x2ae1571f8a68, static crossCursor = @0x2ae1571f8a70, static waitCursor = @0x2ae1571f8a78, static ibeamCursor = @0x2ae1571f8a80, static sizeVerCursor = @0x2ae1571f8a88, static sizeHorCursor = @0x2ae1571f8a90, static sizeBDiagCursor = @0x2ae1571f8a98, static sizeFDiagCursor = @0x2ae1571f8aa0, static sizeAllCursor = @0x2ae1571f8aa8, static blankCursor = @0x2ae1571f8ab0, static splitVCursor = @0x2ae1571f8ab8, static splitHCursor = @0x2ae1571f8ac0, static pointingHandCursor = @0x2ae1571f8ac8, static forbiddenCursor = @0x2ae1571f8ad0, static whatsThisCursor = @0x2ae1571f8ad8, static busyCursor = @0x2ae1571f8ae0}, data = 0x7e9200, static defOptim = QPixmap::NormalOptim} main_engine = (engine *) 0x47e083 (gdb) /* Steinar */ -- Homepage: http://www.sesse.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]