bat crashed with SIGSEGV

Bug #211297 reported by meux
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: bacula-console-qt

I use BAT to connect to my bacula director via SSH Port forward.

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Thu Apr 3 15:58:16 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/bat
NonfreeKernelModules: nvidia
Package: bacula-console-qt 2.2.8-5ubuntu6
PackageArchitecture: i386
ProcCmdline: bat -c bat_hts.conf
ProcEnviron:
 SHELL=/bin/zsh
 LANG=de_AT.UTF-8
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/j2sdk1.4-sun/bin:/opt/maven-1.0.2/bin:.
Signal: 11
SourcePackage: bacula
StacktraceTop:
 ?? ()
 ?? ()
 ?? ()
 ?? ()
 ?? ()
Title: bat crashed with SIGSEGV
Uname: Linux 2.6.24-12-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev sambashare scanner vboxusers video
SegvAnalysis:
 Segfault happened at: 0x80f4af2 <_ZN12QProgressBar8setRangeEii@plt+653482>: mov 0x2c(%esi),%ecx
 PC (0x080f4af2) ok
 source "0x2c(%esi)" (0x0000002c) not located in a known VMA region (needed readable region)!
 destination "%ecx" ok
SegvReason: reading NULL VMA

Tags: apport-crash
Revision history for this message
meux (reinhard-moser) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:Console::read (this=0x81dc2d8) at console/console.cpp:610
Console::displayToPrompt (this=0x81dc2d8)
Pages::consoleInput (this=0x81dc2d8, command=@0xbf907a60)
MainWin::input_line (this=0x81b2aa8) at mainwin.cpp:453
MainWin::qt_metacall (this=0x81b2aa8,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in bacula:
importance: Undecided → Medium
Revision history for this message
Chuck Short (zulcss) wrote :

I have reported this crash upstream.

Thanks
chuck

Changed in bacula:
importance: Medium → Low
status: New → Triaged
Revision history for this message
Kern Sibbald (kern) wrote :

The threaded stack trace doesn't make much sense to me because it shows that bat is seg faulting in wait_data_intr() because the class pointer is NULL.

Can you answer the following?

- What version of the compiler are you using?

- Have you or the packaging changed any of Bacula's default compile options?

- Can you reproduce the problem? (off hand it looks like it)

- Can you show me how to reproduce it?

By the way, I use bat all the time via an ssh connection without problems.

Thanks,
Kern (upstream)

Revision history for this message
meux (reinhard-moser) wrote :

Hi Kern,

  thanks for your answer. I am using the default package provided by Ubuntu Hoary. I haven't compiled it nor have ich changed any compile options.

I think this error occurs, when i close bat via File->Quit but i am not sure if it causes same error as above.

I use bat 1.0 in combination with bacula director version 1.36 (Debian Sarge).

Regards,

Reinhard

Revision history for this message
Kern Sibbald (kern) wrote : Re: [Bug 211297] Re: bat crashed with SIGSEGV

Hello Reinhard,

On Monday 14 April 2008 19:47:25 meux wrote:
> Hi Kern,
>
> thanks for your answer. I am using the default package provided by
> Ubuntu Hoary. I haven't compiled it nor have ich changed any compile
> options.

OK.

>
> I think this error occurs, when i close bat via File->Quit but i am not
> sure if it causes same error as above.

Yes, we had several problems (seg faults, loops, ...) terminating everything
in Qt in the right order.

In your traceback, it appeared that you had just entered something into an
edit box when it failed. Perhaps you entered "quit".

>
> I use bat 1.0 in combination with bacula director version 1.36 (Debian
> Sarge).

I'm quite surprised that bat works at all with a Bacula Director version 1.36.

The first Director, with which bat works is 2.2.0 -- this is because we added
a lot of new console GUI support between version 2.0.x and 2.2.0. In fact,
bat can be successfully used only with the Director with which it was shipped
because we are still enhancing the console API.

To have a supported bat, you really need to move up to a 2.2.x version, which
may be a bit of a pain as there were at least 2 Bacula database upgrades in
between ...

Best regards,

Kern

Revision history for this message
Pavel Mlčoch (pavkamlc) wrote :
Download full text (7.1 KiB)

I've this problem too. Is reproducible on hardy when I select localhost-dir -> Media and right click on right panel:

root@petrojky:/etc/bacula# bat
Object::connect: No such slot JobList::graphTable()
Object::connect: (sender name: 'graphButton')
Object::connect: (receiver name: 'JobListForm')
Object::connect: No such slot MainWin::jobPlotButtonClicked()
Object::connect: (sender name: 'actionJobPlot')
Object::connect: (receiver name: 'MainForm')
bat: console/console.cpp:560 send: .api 1
bat: console/console.cpp:585 DisplaytoPrompt
bat: console/console.cpp:646 CMD OK
bat: console/console.cpp:658 MAIN PROMPT
bat: console/console.cpp:591 endDisplaytoPrompt=-1
bat: console/console.cpp:560 send: .
bat: console/console.cpp:652 CMD BEGIN
bat: console/console.cpp:646 CMD OK
bat: console/console.cpp:658 MAIN PROMPT
bat: console/console.cpp:560 send: .jobs
bat: console/console.cpp:652 CMD BEGIN
bat: console/console.cpp:628 got: Client1

bat: console/console.cpp:628 got: BackupCatalog

bat: console/console.cpp:628 got: RestoreFiles

bat: console/console.cpp:646 CMD OK
bat: console/console.cpp:658 MAIN PROMPT
bat: console/console.cpp:597 discardToPrompt
bat: console/console.cpp:603 endDisplayToPrompt=0
bat: console/console.cpp:560 send: .clients
bat: console/console.cpp:652 CMD BEGIN
bat: console/console.cpp:628 got: petrojky-fd

bat: console/console.cpp:646 CMD OK
bat: console/console.cpp:658 MAIN PROMPT
bat: console/console.cpp:597 discardToPrompt
bat: console/console.cpp:603 endDisplayToPrompt=0
bat: console/console.cpp:560 send: .filesets
bat: console/console.cpp:652 CMD BEGIN
bat: console/console.cpp:628 got: Full Set

bat: console/console.cpp:628 got: Catalog

bat: console/console.cpp:646 CMD OK
bat: console/console.cpp:658 MAIN PROMPT
bat: console/console.cpp:597 discardToPrompt
bat: console/console.cpp:603 endDisplayToPrompt=0
bat: console/console.cpp:560 send: .msgs
bat: console/console.cpp:652 CMD BEGIN
bat: console/console.cpp:628 got: Standard

bat: console/console.cpp:628 got: Daemon

bat: console/console.cpp:646 CMD OK
bat: console/console.cpp:658 MAIN PROMPT
bat: console/console.cpp:597 discardToPrompt
bat: console/console.cpp:603 endDisplayToPrompt=0
bat: console/console.cpp:560 send: .pools
bat: console/console.cpp:652 CMD BEGIN
bat: console/console.cpp:628 got: Default

bat: console/console.cpp:628 got: Scratch

bat: console/console.cpp:646 CMD OK
bat: console/console.cpp:658 MAIN PROMPT
bat: console/console.cpp:597 discardToPrompt
bat: console/console.cpp:603 endDisplayToPrompt=0
bat: console/console.cpp:560 send: .storage
bat: console/console.cpp:652 CMD BEGIN
bat: console/console.cpp:628 got: File

bat: console/console.cpp:646 CMD OK
bat: console/console.cpp:658 MAIN PROMPT
bat: console/console.cpp:597 discardToPrompt
bat: console/console.cpp:603 endDisplayToPrompt=0
bat: console/console.cpp:560 send: .types
bat: console/console.cpp:652 CMD BEGIN
bat: console/console.cpp:628 got: Backup

bat: console/console.cpp:628 got: Restore

bat: console/console.cpp:628 got: Admin

bat: console/console.cpp:628 got: Verify

bat: console/console.cpp:628 got: Migrate

bat: console/console.cpp:646 CMD OK
bat: console/console.cpp:658 MAIN PRO...

Read more...

Kees Cook (kees)
description: updated
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.