gbx3 crashed with SIGSEGV in __find_specmb()

Bug #1030552 reported by Francesco Muriana
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gambas3 (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

gambas3 IDE crashes after every startup

ProblemType: Crash
DistroRelease: Ubuntu 12.10
Package: gambas3-runtime 3.1.1-2ubuntu3
ProcVersionSignature: Ubuntu 3.5.0-6.6-generic 3.5.0
Uname: Linux 3.5.0-6-generic x86_64
ApportVersion: 2.4-0ubuntu6
Architecture: amd64
Date: Sun Jul 29 18:24:59 2012
ExecutablePath: /usr/bin/gbx3
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.2)
ProcCmdline: gbr3 /usr/bin/gambas3
ProcEnviron:
 PATH=(custom, no user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f598682b71b <vfprintf+155>: callq 0x7f5986876790 <strchrnul>
 PC (0x7f598682b71b) ok
 source "0x7f5986876790" (0x7f5986876790) ok
 destination "(%rsp)" (0x7fff2dc5afd0) not located in a known VMA region (needed writable region)!
 Stack memory exhausted (SP below stack segment)
SegvReason: writing unknown VMA
Signal: 11
SourcePackage: gambas3
StacktraceTop:
 gtk_widget_style_get () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
 QGtkStyle::pixelMetric(QStyle::PixelMetric, QStyleOption const*, QWidget const*) const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
 QScrollBar::sizeHint() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
 QAbstractScrollArea::maximumViewportSize() const () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
 ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Title: gbx3 crashed with SIGSEGV in gtk_widget_style_get()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Francesco Muriana (f-muriana) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __find_specmb (format=0x7f59826949ff <Address 0x7f59826949ff out of bounds>) at printf-parse.h:99
 _IO_vfprintf_internal (s=0x7fff2dc5b640, format=0x7f59826949ff <Address 0x7f59826949ff out of bounds>, ap=0x7fff2dc5b7b8) at vfprintf.c:1329
 __GI___vasprintf_chk (result_ptr=0x7fff2dc5b788, flags=1, format=0x7f59826949ff <Address 0x7f59826949ff out of bounds>, args=0x7fff2dc5b7b8) at vasprintf_chk.c:68
 ?? ()
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gambas3 (Ubuntu):
importance: Undecided → Medium
summary: - gbx3 crashed with SIGSEGV in gtk_widget_style_get()
+ gbx3 crashed with SIGSEGV in __find_specmb()
tags: removed: need-amd64-retrace
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

I have tried to reproduce on a fresh Quantal vm.

Unfortunally I can not.

I have tested beside a simple startup creating two projects. On simple graphical and one QT project, because your stacktrace shows that Qt in involved beside gtk in any way.

The same result. No crash.

Can you run from terminal:

sudo apt-get update

sudo apt-get dist-upgrade

to get you system to the latest upgrades(also kernel with this).

Then please give it a retest after a newstart of the system.

When you have done any other actions I missed, please give me a good detailed algotithmic description to hit the crasher.

After this set the status of the report back to new or Fixed Released(when it should be gone).

Thank you

melchiaros

Changed in gambas3 (Ubuntu):
status: New → Incomplete
Revision history for this message
Sasa Paporovic (melchiaros) wrote :

[Offtopic]

Ah, you are Francesco with the Ubuntu builder. Now I realise. BTW: Good work! I have installed it on one of my systems. Looks and feel good!

[Offtopic]

Revision history for this message
Francesco Muriana (f-muriana) wrote :

Hello and thanks. I did `update` and `dist-upgrade` and now the system is correctly updated (however, no packages related to gambas were installed or upgraded).

1st try: started creating a graphical project but the IDE freezes after the `tips` popup window. After a few seconds, it crashes.

2nd try: started G3 IDE from terminal, it freezes again but the terminal says:
"(gbr3:22272): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed"
many times. The only way to stop the freeze is to press CTRL + C

Changed in gambas3 (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gambas3 (Ubuntu):
status: New → Confirmed
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.