[Marble-devel] Re: Problem with map creation
Mülner, Helmut
helmut.muelner at joanneum.at
Sun Jun 12 23:23:20 CEST 2011
And here the call stack:
QtCored4.dll!qt_message_output(QtMsgType msgType, const char * buf) Line 2270 C++
QtCored4.dll!qt_message(QtMsgType msgType, const char * msg, char * ap) Line 2328 + 0x12 bytes C++
QtCored4.dll!qFatal(const char * msg, ...) Line 2511 + 0xf bytes C++
QtCored4.dll!qt_assert_x(const char * where, const char * what, const char * file, int line) Line 2035 + 0x1a bytes C++
QtGuid4.dll!QWidgetPrivate::init(QWidget * parentWidget, QFlags<enum Qt::WindowType> f) Line 1264 + 0x37 bytes C++
QtGuid4.dll!QWidget::QWidget(QWidgetPrivate & dd, QWidget * parent, QFlags<enum Qt::WindowType> f) Line 1170 + 0x1e bytes C++
QtGuid4.dll!QDialog::QDialog(QWidget * parent, QFlags<enum Qt::WindowType> f) Line 262 + 0xa8 bytes C++
> marblewidgetd.dll!Marble::TileCreatorDialog::TileCreatorDialog(Marble::TileCreator * creator, QWidget * parent) Line 40 + 0x59 bytes C++
marblewidgetd.dll!Marble::MergedLayerDecorator::initCityLights() Line 77 + 0x25 bytes C++
marblewidgetd.dll!Marble::MergedLayerDecorator::merge(Marble::TileId id, const QVector<QSharedPointer<Marble::TextureTile> > & tiles) Line 127 C++
marblewidgetd.dll!Marble::StackedTileLoader::loadTile(const Marble::TileId & stackedTileId) Line 220 + 0x37 bytes C++
marblewidgetd.dll!Marble::ScanlineTextureMapperContext::nextTile(double & posX, double & posY) Line 480 + 0x24 bytes C++
marblewidgetd.dll!Marble::ScanlineTextureMapperContext::pixelValueF(const double lon, const double lat, unsigned int * const scanLine) Line 68 C++
marblewidgetd.dll!Marble::SphericalScanlineTextureMapper::RenderJob::run() Line 273 C++
QtCored4.dll!QThreadPoolThread::run() Line 106 + 0xc bytes C++
QtCored4.dll!QThreadPrivate::start(void * arg) Line 317 C++
msvcr100d.dll!_callthreadstartex() Line 314 + 0xf bytes C
msvcr100d.dll!_threadstartex(void * ptd) Line 297 C
kernel32.dll!75f933ca()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
ntdll.dll!773b9ed2()
ntdll.dll!773b9ea5()
________________________________________
Von: Mülner, Helmut [helmut.muelner at joanneum.at]
Gesendet: Sonntag, 12. Juni 2011 23:12
An: Torsten Rahn; marble-devel at kde.org
Betreff: [Marble-devel] Re: Problem with map creation
Hi Torsten,
the problem with creating the TileCreatorDialog in a non-gui thread happens when I have selected the cun control with the Night Map, and the Night Map has to be created.
Best regards,
Helmut
________________________________________
Von: Torsten Rahn [tackat at t-online.de]
Gesendet: Sonntag, 12. Juni 2011 21:20
An: marble-devel at kde.org
Cc: Mülner, Helmut
Betreff: Re: [Marble-devel] Re: Problem with map creation
Hi Helmut,
I just removed all my tile data in my home directory and the Marble
configuration files.
Then I started Marble from master and
selected map themes which create tiles on runtime (such as Satellite,
Temperature, Precipitation, etc.).
Now all of this worked fine (and without a warning on the command line).
Usually the only problem with running stuff in a non-guithread is with
QPixmaps since they use the non-thread-safe XServer - at least if
true pixmaps are used (in graphicssystem "native" - since Marble is currently
using graphicssystem "raster" by default, I switched to "native" but still no
problems ... .)
The usage of pixmaps in a non-guithread is usually indicated by a warning on
the command line (which doesn't occur here). Also I checked the tile creator
for QPixmaps (but we are just using QImage in there which is threadsafe).
So what am I doing "wrong" ? :-) How can I reproduce your issue?
Best Regards,
Torsten
On Sunday, 12. June 2011 20:21:38 Mülner, Helmut wrote:
> The current master is worse: runtime tile creation is not possible because
> marble tries to create the TileCreatorDialog in a non-gui-thread.
>
> Best regards,
> Helmut
>
> ________________________________________
> Von: Mülner, Helmut [helmut.muelner at joanneum.at]
> Gesendet: Mittwoch, 01. Juni 2011 08:04
> An: Torsten Rahn; marble-devel at kde.org
> Betreff: [Marble-devel] Re: Problem with map creation
>
> Hi,
>
> I also tested with master: this problem still exists.
>
> Best regards,
> Helmut
>
> ________________________________________
> Von: Torsten Rahn [tackat at t-online.de]
> Gesendet: Dienstag, 31. Mai 2011 18:43
> An: marble-devel at kde.org
> Cc: Mülner, Helmut
> Betreff: Re: [Marble-devel] Re: Problem with map creation
>
> Thanks,
>
> That helps to find the root of the problems ...
>
> Best Regards,
>
> Torsten
>
> On Tuesday, 31. May 2011 18:27:03 Mülner, Helmut wrote:
> > Hi Torsten,
> >
> > I forgot to mention that I used marble-1.1 as code basis. I have already
> > compiled master, but had not yet time to test it.
> >
> > Best regards,
> > Helmut
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Torsten Rahn [mailto:tackat at t-online.de]
> > Gesendet: Dienstag, 31. Mai 2011 18:01
> > An: marble-devel at kde.org
> > Cc: Mülner, Helmut
> > Betreff: Re: [Marble-devel] Problem with map creation
> >
> > Hi Helmut,
> >
> > On Tuesday, 31. May 2011 17:27:58 Mülner, Helmut wrote:
> > > I am preparing a new edition oft he Geothek Schulatlas based on marble
> > > (http://techbase.kde.org/Projects/Marble/MarbleUsedBy#Ed._H.C3.B6lzel:_
> > > Ne u er_Kozenn-Atlas_-_Geothek_1.1). I discovered a problem with the
> > > map/tile
> >
> > > creation process:
> > Sounds great :-)
> > Are you using Marble-1.1 or Marble master (soon to be Marble 1.2) ?
> >
> > > - The map is not selected in the map view
> > >
> > > - The map is blurred (not displayed with the correct
> > > resolution)
> > >
> > > - If I switch to another map and then back to the newly
> > > created map by double-clicking in the map view, I get the expected
> > > quality.
> > >
> > > Is this a known bug/limitation?
> >
> > Not a known bug or limitation that is known to me. Bernhard Beschow has
> > done much work in master recently, so if it occurs in Marble master maybe
> > this is a regression?
> >
> > Best Regards,
> >
> > Torsten
> >
> > > Any ideas how to correct this – it looks like a signal is missing.
> > >
> > > Hoping for help
> > > Helmut Mülner
> >
> > _______________________________________________
> > Marble-devel mailing list
> > Marble-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/marble-devel
>
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel
_______________________________________________
Marble-devel mailing list
Marble-devel at kde.org
https://mail.kde.org/mailman/listinfo/marble-devel
More information about the Marble-devel
mailing list